How to solve System.IO.FileNotFoundException?

G

Guest

I wrote a ASP.NET program which can generate a Excel Report, that I using
WindowXP and Oiffce XP to develop. It is work, but after I deployed to Window
Server 2003 with Office 2003. It occur the error as following,
File or assembly name Office, or one of its dependencies, was not found.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: File or assembly name
Office, or one of its dependencies, was not found.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

How can solve it?
 
G

Guest

See if one of the files and or commands changed.

The best thing to do would be to develop on a similar environment as you
will be running on in production.

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top