Automation with Project 2003 and .NET

J

Jake Ropar

I am trying to automate Project 2003 with and ASP/VB .NET Web App. I know
that this is not recommended, but it is required. The web application is
supposed to open an existing project .mpp file and then add task and resource
information, then save as a new file. The trigger is an ASP.NET web page
running VB.NET code behind. I have successfully done this on my development
machine, but when I deploy to the server, I keep getting the following error
"Server Execution Failed".
I have read all the support articles about permissions and I am running the
application impersonating an administrator account. It works fine local, but
not on the server. I checked the installation files and they are not
corrupt. Is there a permission or setting I am missing? Any suggestions
would be helpful. Below is the line of code that throws the error.

Dim oMSApp As New Microsoft.Office.Interop.MSProject.Application
 
D

DonL

Sorry for having to ask..., but Is MS Project loaded on the server, or in a
path where your program can access it?
 
Z

Zirc

Could U please post me some links where U found documentation about
automating Project via .Net? I'm going to try your same way...

Thanks for help
 
C

Cory K. Walker

This is a COM interop problem. There is an enormous amount of information on
these types of problems. Here is what you need to succeed:

+ The Project Object Model (COM)
+ Documentation on unmanaged code from .NET.
 

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