473,320 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

app. on server problem

2
Hi all,
I'vw written an asp.net web application that works just fine on my personal machine but when i moved it to the server folder there is this exception i'm getting while using export method of an OWC11 object.

there are 2 things i don't really understand,
1. why do i get this exception on the server and not on my personal machine ?
2. in the Exception details, the error pointing the page located on my machine
(when the application running on the server..) i don't know why the server points to the page located on my machine. (notice that it direct me to "c:\inetpub\wwwroot\qsc\webform1.aspx.cs" which this path located on my machine)

Thanks,
P.

code caused the error: (the export method)
OWC11.SpreadsheetClass xlsheet = new OWC11.SpreadsheetClass();
string path = Server.MapPath(".")+"\\"+ "query.xls";
xlsheet.Export( path, o1, o2);

Exception:
System.Runtime.InteropServices.COMException (0xE004002A): Exception from HRESULT: 0xE004002A. at OWC11.SpreadsheetClass.Export(String Filename, SheetExportActionEnum Action, SheetExportFormat Format) at qsc.WebForm1.Button2_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\qsc\webform1.aspx.cs:line 1123
Aug 20 '06 #1
1 2439
Hi all,
I'vw written an asp.net web application that works just fine on my personal machine but when i moved it to the server folder there is this exception i'm getting while using export method of an OWC11 object.

there are 2 things i don't really understand,
1. why do i get this exception on the server and not on my personal machine ?
2. in the Exception details, the error pointing the page located on my machine
(when the application running on the server..) i don't know why the server points to the page located on my machine. (notice that it direct me to "c:\inetpub\wwwroot\qsc\webform1.aspx.cs" which this path located on my machine)

Thanks,
P.

code caused the error: (the export method)
OWC11.SpreadsheetClass xlsheet = new OWC11.SpreadsheetClass();
string path = Server.MapPath(".")+"\\"+ "query.xls";
xlsheet.Export( path, o1, o2);

Exception:
System.Runtime.InteropServices.COMException (0xE004002A): Exception from HRESULT: 0xE004002A. at OWC11.SpreadsheetClass.Export(String Filename, SheetExportActionEnum Action, SheetExportFormat Format) at qsc.WebForm1.Button2_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\qsc\webform1.aspx.cs:line 1123

Hey I am getting the same problem. Did you Fix It? Please Let me know If yes.

Thanks in Advance
Jul 5 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
2
by: epaetz | last post by:
I'm getting Not associated with a trusted SQL Server connection errors on a .Net windows service I wrote, when it's running on my application server. It's not a problem with mixed mode...
0
by: AlessanBar | last post by:
Hello Friends !! I have a strange problem, and I need to know what would be the source of this. I have a laptop computer with the following configuration: Pentium III Brand : Toshiba Speed :...
3
by: Michael | last post by:
Dear All I have problem with my database server which running SQL server 2000. The server running very slow. The worst case, to save a record required more than 20-30 seconds. Since this...
2
by: Helge Kalnes | last post by:
We are running an ASP.NET application on a cluster of 3 web-servers, using the Network Load Balancing feature of Application Center. We have synchronized the machineKey in machine.config on the 3...
2
by: Brian | last post by:
NOTE ALSO POSTED IN microsoft.public.dotnet.framework.aspnet.buildingcontrols I have solved most of my Server Control Collection property issues. I wrote an HTML page that describes all of the...
6
by: Daniel Walzenbach | last post by:
Hi, I have a web application which sometimes throws an “out of memory” exception. To get an idea what happens I traced some values using performance monitor and got the following values (for...
22
by: EP | last post by:
When running my asp.net hosting service (asp.net without IIS), on server 2003 with IIS not installed, I get the following when trying to process a request. "System.DllNotFoundException: Unable to...
1
by: sherifbk | last post by:
Problem description ============== - I have 4 clients and 1 server (SQL server) - 3 clients are Monitoring console 1 client is operation console - Monitoring console collects some data from...
39
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.