Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open excel file error in an ASP.NET (EventID 2001)
Hello everyone
I need to integrate a server side application to generate documents in Excel with VS2005 and ASP.NET 2.05, Office 2003(SP3), VSTO. step 1 : set data to CachedDataItem to a template excel file step 2 : open the excel file to set fonts size & color etc. unit test run fine. but i delopy to IIS & ASP.NET. I had a event error. excel.exe process is created . EventID: 2001 Source: Microsoft Office 11 Description: Rejected Safe Mode action : Microsoft Office Excel. ----------------- ProcessStartInfo info = new ProcessStartInfo(); info.WindowStyle = ProcessWindowStyle.Hidden; info.CreateNoWindow = true; info.WorkingDirectory = @"C:\Temp"; info.FileName = @"C:\Temp\abc.xls"; Process proecess = System.Diagnostics.Process.Start(info); ----------------- i configurated 1..Net Framework Configuration 2. Dcom auth for Excel application. Can anybody help me to solve this problem ? Thanks ! Kin. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Open Excel file get error with file names that have spaces in the | Setting up and Configuration of Excel | |||
EXCEL:Can't open any file without error saying it's ALREADY open??? | Excel Worksheet Functions | |||
Need to create an ".iif" file from Excel for QuickBooks Pro 2001. | Excel Worksheet Functions | |||
how can I turn a spreadsheet from excel 2001 to into a xml file | New Users to Excel | |||
Excel 2003 Workbooks.Open with CorruptLoad=xlRepairFile fails on Excel 5.0/95 file due to Chart, with Error 1004 Method 'Open' of object 'Workbooks' failed | Excel Programming |