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