MVC :: How To Integrate ASP.NET MVC Into MOSS 2007
Jun 29, 2010May i know how to integrate ASP.NET MVC into MOSS 2007? Normally web part to be created from web form frameowork and upload into MOSS.
View 1 RepliesMay i know how to integrate ASP.NET MVC into MOSS 2007? Normally web part to be created from web form frameowork and upload into MOSS.
View 1 RepliesWe are building an intranet portal not built on Microsoft SharePoint (MOSS) but on DotNetNuke 5.6.1. However, one of the pieces of functionality that is desired is the ability for staff members to view corporate calendars, their inbox, contact lists and Global Address list on the site. The backend for this data is Microsoft Exchange Server 2007. There are some web parts that come with MOSS 2007 that provide this sort of functionality, or at least appear to based on their names: "My Inbox", "My Calendars", "My Contacts", etc. I have been looking for some equivalent third party controls and have not been able to find anything. Does anyone know of anything out here that would suit our needs?
View 1 RepliesI am using the below code to Export DataTable to Word,Excel,CSV format & it's working fine. But problem is that this code export to MS Word 2003,Excel 2003 & CSV version. I need to Export my DataTable to MS Word 2007,Excel 2007 & CSV because I am supposed to handle more than 100,000 records at a time and as we know Excel 2003 supports for only 65,000 records.
how to export DataTable or DataSet to MS Word 2007,Excel 2007 & CSV.
[Code]....
I'm working on a web app and need to stream various files. I can do pdfs, images, and older Office documents. However, when I try to do with 2007 documents, it breaks. Here is my code:
Response.Buffer = true;
Response.Clear();
Response.ClearContent();
Response.ClearHeaders();
switch (FileExtension.ToLower())
{
case "pdf":
Response.ContentType = "application/pdf";
break;
case "doc":
Response.ContentType = "application/msword";
break;
case "docx":
Response.ContentType = "application/vnd.ms-word.document.12";
break;
case "xls":
Response.ContentType = "application/vnd.ms-excel";
break;
case "xlsx":
Response.ContentType = "application/vnd.ms-excel.12";
break;
default:
Response.ContentType = "image/jpeg";
break;
}
Response.BinaryWrite(buffer);
The error that I get is:
An invalid character was found in text content. Error processing resource 'http://DomainName/GetFile.aspx.
I am using the below code to Export DataTable to MS Word,Excel,CSV format & it's working fine. But problem is that this code export to MS Word 2003,Excel 2003 version. I need to Export my DataTable to Word 2007,Excel 2007,CSV because I am supposed to handle more than 100,000 records at a time and as we know Excel 2003 supports for only 65,000 records.
how to export DataTable or DataSet to MS Word 2007,Excel 2007.
[Code]....
In .net framework. what are libraries available for working in sharepoint and their uses
View 1 RepliesI have asp.net page running under MOSS2007 and there is Access Denied error at signing (signedXml.ComputeSignature()). The code works as normal .net web application but it does not work under MOSS.
Access is denied.
We want to implement MSMQ in windows 2007, is it possible? tell me the prerequisites for MSMSQ?
View 1 Repliesi want to know how to connect asp.net with access 2007. i need to add, update and delete data in a data grid. can you please help me out? im new and i need full instructions to do it. its really urgent
View 2 RepliesI'm working on a project that I'm trying to export data from textboxes in asp.net website project to a powerpoint file. I writing ofcourse in C#.The whole concept is to use the data the a user inserts to the text boxes and they are sent after clicking a OK button directly to a powerpoint file. I'm using OFFICE 2007 so I'm using powerpoint 2007 for this.A similar concept that I'm already using in the website project is doing the same thing but exporting to a WORD format file. I bumped against this following site a software to perform this and it's called: SoftArtisans. There website is http://www.softartisans.com/ .
Now, if somebody has a clue or a tutorial how I can do this, Export to a powerpoint file I'll be very thankful. I am also using Microsoft SQL Server 2008 R2 to save the data in the database, so if maybe someone knows how to export the data from the textboxes from the website TO the database and then TO the powerpoint file
My customer has a sharepoint 2007 server installation where they show a simple GUI. They want me to develop a webpart for displaying the top 10 most critical service arrends and add this to their "start" sharepoint webpage. The data is available through a stored procedure, and the gui could be as simple as a repeater. BUT, how do I make this as a webpart in sharepoint. This means I want to drag and ppsition it anywhere I want on the sharepoint GUI. I have worked with asp.net for 5 years, but never touched sharepoint.
I did some googling on the topic but what i found was very cumbersome, they said I needed to have sharepoint installed locally. Thats just not possible in the current environment. Surely its not that difficult. Can't I just develop a standard webpart and import it somehow into sharepoint?
I am trying to manipulate the XML of a Word 2007 document in C#. I have managed to find and manipulate the node that I want but now I can't seem to figure out how to save it back. Here is what I am trying:
// Open the document from memoryStream
Package pkgFile = Package.Open(memoryStream, FileMode.Open, FileAccess.ReadWrite);
PackageRelationshipCollection pkgrcOfficeDocument = pkgFile.GetRelationshipsByType(strRelRoot);
foreach (PackageRelationship pkgr in pkgrcOfficeDocument)
{
if (pkgr.SourceUri.OriginalString == "/")
[code]...
I want to create a very simple WebService, which will be deployed on SharePoint Farm 1 and will be accessed by SharePoint Farm 2. The WebService will be responsible for querying all the ContentTypes and returning the result to the Farm 2. I don't know the basics of creating the WebService in SharePoint.
View 1 RepliesI am trying to export grid view data into excel 2007 i.e. xlsx format. but its giving error.
i am using following code
protected void Button1_Click(object sender, EventArgs e)
{
Response.Clear();
Response.Buffer = true;
[Code]....
but not working properly and on opening the file it gives following error "Excel cannot open the file 'ChangeRequestList[2].xlsx' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file"
Is a sharepoint 2007 webpart likely to work on 2010 without any modification? If not, what are the main areas that would require modification?
View 3 RepliesI am having text formatting problem with Outlook 2007 since it is taking different rendering engine i.e word 2007. In our application, we are sending mails to different clients who have Outlook 2003 and Outlook 2007. We have used CSS in our application for formatting.
1. Since I have created Tables and given width in Percentage to every <TD> but while rendering in outlook 2007, every table taking different widths depending on the no. of the columns. Due to this reason, formatting is getting distored. Outlook 2003 shows proper output.
2. In our aspx page, I have created DIV tag with Style attributes having Property as Display:none. But in Outlook 2007, DIV tag is visible. Due to this, unwanted Warning messages also getting displayed in the outlook 2007.
I have generated the the vCard from asp.net + c# application. While ending up. browsers pops up for "open with /Save as" box. I don't want to appear this box. rather than that , I want to directly set the generated .vcf file to open with outlook 2007 or 03.
My code is:
[code]....
How to Access 2007 data driven website SELECT Article, ArticleContent, Category
View 3 RepliesI have a web page with links to various files including an Access 2003 .mdb and an Access 2007 .accdb. Both are about 1 mb in size. Both are in the same directory. The hyperlink for both is coded the same except for the database name. Users are instructed to right click on the links and choose "Save Target As..." to download the application to their computer. Currently, users and myself can download the .mdb trouble free. The .accdb will not. The error message states that the site cannot be found or is unavailable. This happens with any .accdb I put in the directory.
View 7 RepliesI'm using Access 2007 for a project and I'm trying to run the following parameterized query:
string sql = "DELETE * FROM participants WHERE participant_id = @participant_id"
OleDbCommand command = DataAccess.NewCommand(sql);
command.Parameters.Add("participant_id", 1);
command.ExecuteNonQuery();
The really weird thing is that it will work if I hard code the value:
string sql = "DELETE * FROM participants WHERE participant_id = 1"
On Previous version of my application, if I want to export my data from SQL Server to Excel 2003 file, I just retrieve data from the SQL server and then straight away show "Open, Save, Cancel" dialog box to get the data on Excel 2003 Format. Here is the existing code in C#.
public void ExportToExcel(string StrFileName, DataTable dt)
{
if (dt!= null && dt.Rows.Count > 0)[code]....
but when I want to Export to Excel 2007 format with the same. I don't have any Idea to export it.
I m trying to install ASP.NET 2.0 Ajx Extensions 1.0 on Windows 7.But i not able to complete setup. i m getting the error as
"Microsoft ASP.NET 2.0 Extensions 1.0 Setup Wizard ended prematurely because of an error.Your system has not been modified."
I tried installing Administrator privilages...
I am attempting to read data from an uploaded spreadsheet using ACE.OLEDB. The code, which is running fine on dev and test machines for XL2003/2007 reports "Exernal table is not in the expected format" error on connecting on the production server for XL2007 only.The code is
Dim connectionString As String = "provider=Microsoft.Ace.OLEDB.12.0;" _ & "Data Source='" & ImportData.FullName & "';Extended Properties=Excel 12.0;" LogWebActivity.LogThis("Entering POPSUKD, ConStr=" & connectionString, LogWebActivity.LogDetailLevel.DetailAndData) Dim con As New System.Data.OleDb.OleDbConnection(connectionString) LogWebActivity.LogThis("Dimmed con", LogWebActivity.LogDetailLevel.Debugging) Try Dim cmdSelect As New System.Data.OleDb.OleDbCommand("SELECT * FROM [" & WorksheetName & "$]", con) Dim adapter As New System.Data.OleDb.OleDbDataAdapter(cmdSelect) Dim dS As New Data.DataSet LogWebActivity.LogThis(cmdSelect.CommandText, LogWebActivity.LogDetailLevel.Debugging) con.Open() LogWebActivity.LogThis("Opened Connection", LogWebActivity.LogDetailLevel.Debugging) adapter.Fill(dS, WorksheetName) LogWebActivity.LogThis("Filled DataAdapter", LogWebActivity.LogDetailLevel.Debugging) _SKUS = dS.Tables(WorksheetName) LogWebActivity.LogThis("Set SKUS", LogWebActivity.LogDetailLevel.Debugging)
I'm really stuck tryign to figure this out. Converting XLS to CSV is no big deal or at least it seems that way. However, trying to go xlsx to csv seems to be more difficult. For grins, I grabbed some code that is supposed to read a sample xlsx file and convert that into a gridview called GridView1. I figure it can't be much different to turn that into CSV.
[Code]....
The application should let them send an html-email containing a survey, that people who have contacted the servicedesk with a problem could fill out to improve service. The email must of course contain form tags to be able to send it back to the application to treat the answers of the survey. The problem as i understand it is that outlook 2007 can't handle form-tags in html-emails, is there a workaround for this or is it a lost cause. I know i could always send an email containing a link to a webpage with the survey and let the user fill it out in their browser, but as people are lazy the response rate tend to get very low if the user has to click a link to open a webpage and then fill out the survey. If we managed to get the survey directly in the mail we think that the reponse rate should go up (at least a bit )
View 5 Replies