Accessing MSProject from ASP Page

Results 1 to 2 of 2

Thread: Accessing MSProject from ASP Page

  1. #1
    Join Date
    Dec 1969

    Default Accessing MSProject from ASP Page

    Hi,<BR><BR>I am facing the problem in accessing the information in MSProject file <BR>thru my asp page.I had written a small code snippet to verify it.It is as <BR>below<BR><BR>&#060;%<BR>Dim objPrjApp<BR>Dim objPrj<BR>Set objPrjApp=Server.CreateObject("MSProject.Applicati on")<BR>Set objPrj =Server.CreateObject("MSProject.Project")<BR>objPr japp.Visible = True<BR>objPrjapp.FileOpen Server.MapPath("/ims_nag/test/test.mpp")<BR>objPrjapp.Alerts "false"<BR>Set objPrj = objPrjapp.ActiveProject<BR><BR>Response.Write objPrj.Tasks.Count<BR><BR>Set objPrj=nothing<BR>Set objPrjApp=nothing<BR>%&#062;<BR><BR>The error is as Below:<BR><BR>Error Type:<BR>Server object, ASP 0177 (0x80010001)<BR>Call was rejected by callee. <BR>/ims_nag/test/msp.asp, line 10<BR><BR><BR>Can any body help me in resolving this problem with some suggestion,<BR><BR>Thanks in advance.<BR><BR>With Regards<BR>Nagaraj.A<BR>

  2. #2
    Join Date
    Dec 1969

    Default I found a few things

    just by putting the error into Google. Found this.<BR><BR>;EN-US;Q246018&ID=KB;EN-US;Q246018<BR><BR>Its about word, but maybe its for Project too.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts