Creating MSProject application class

L

Lukas Madron

Hi,
I need help with folowing line of code:
Microsoft.Office.Interop.MSProject.ApplicationClass projectApp = new
Microsoft.Office.Interop.MSProject.ApplicationClass();

It is causing the following error:
Vytváření instance komponenty modelu COM s identifikátorem CLSID
{36D27C48-A1E8-11D3-BA55-00C04F72F325} z rozhraní IClassFactory se nezdařilo
vzhledem k následující chybě: 80010001.

Does anyone know what is wrong?
 
S

Stephen Sanderlin

I assume that this translates to "Creating an instance of the COM
component with CSSID {36D27C48-A1E8-11D3-BA55-00C04F72F325} from the
IClassFactory failed due to the following error: 80010001".

Are you running Vista? If so, do you have UAC on? If so, you need to run
Project and/or Visual Studio as an Admin (High IL) in order for it to be
permitted to spawn process threads.

--
Stephen Sanderlin
VP of Technology
MSProjectExperts

For Project Server Consulting: http://www.msprojectexperts.com
For Project Server Training: http://www.projectservertraining.com

Read my blog at: http://www.projectserverhelp.com
Join the community at: http://forums.epmfaq.com
 

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