|
 |
asp_components thread: Accessing MSProject from ASP Page
Message #1 by "nagaraj" <aenugula_nagaraj@r...> on Fri, 5 Jul 2002 07:40:35
|
|
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
Message #2 by "Adrian Forbes" <adrian.forbes@n...> on Fri, 5 Jul 2002 09:09:21 +0100
|
|
It could be many things
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q257757&ID=KB;EN-US;
Q257757
-----Original Message-----
From: nagaraj [mailto:aenugula_nagaraj@r...]
Sent: Friday, July 05, 2002 7:41 AM
To: ASP components
Subject: [asp_components] Accessing MSProject from ASP Page
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
%%email.unsub%%
Message #3 by "nagaraj" <aenugula_nagaraj@r...> on Mon, 8 Jul 2002 05:24:57
|
|
Hi,
This Page had not helped much.Can you give any other addresses which can
help in creating the asp page or vb components helping me to interact
with MSProject 2000.
Thanks for you kind help.
With Regards
Nagaraj.A
> It could be many things
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q257757&ID=KB;EN-
US;
Q257757
-----Original Message-----
From: nagaraj [mailto:aenugula_nagaraj@r...]
Sent: Friday, July 05, 2002 7:41 AM
To: ASP components
Subject: [asp_components] Accessing MSProject from ASP Page
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
%%email.unsub%%
|
|
 |