S
Shaun D. Burton
I am writing a .NET windows application that needs to read task data from a
Project Plan stored in MS Project Server.
PJOLEDB.dll supplied with MS Project Pro / Project Server 2003 seems to only
support connections to server data when it is invoked locally on the server.
Since my application runs on a client PC elsewhere on the LAN, I decided to
try and use RDS by specifying
Provider=MS Remote;
Remote Provider=Microsoft.Project.OLEDB.11.0;
in my OLE connection string.
However - no matter what I try and do - I get an error message saying that
the webserver denied access to the remote handler. I have tried editing
C:\WINDOWS\msdfmap.ini on the server to allow all RDS connections, and have
also ensured that the IIS anonymous user account has access to the
appropriate DLL in System/Common Files/msadc ...
My only other thought maybe that my server specification is wrong ... (with
MS Remote typically you specify the server as http://servername or
http://servename.domain.com) I was wondering if I needed to specify the
virtual directory or even one of the login pages ?
Has anyone managed to get this to work or is it simply not possible (which
means I have to resort to connecting to SQL server directly, which I wanted
to avoid if at all possible) ?
Regards
Shaun Burton
IS Solutions Consultant
Alipro USA LLC
Project Plan stored in MS Project Server.
PJOLEDB.dll supplied with MS Project Pro / Project Server 2003 seems to only
support connections to server data when it is invoked locally on the server.
Since my application runs on a client PC elsewhere on the LAN, I decided to
try and use RDS by specifying
Provider=MS Remote;
Remote Provider=Microsoft.Project.OLEDB.11.0;
in my OLE connection string.
However - no matter what I try and do - I get an error message saying that
the webserver denied access to the remote handler. I have tried editing
C:\WINDOWS\msdfmap.ini on the server to allow all RDS connections, and have
also ensured that the IIS anonymous user account has access to the
appropriate DLL in System/Common Files/msadc ...
My only other thought maybe that my server specification is wrong ... (with
MS Remote typically you specify the server as http://servername or
http://servename.domain.com) I was wondering if I needed to specify the
virtual directory or even one of the login pages ?
Has anyone managed to get this to work or is it simply not possible (which
means I have to resort to connecting to SQL server directly, which I wanted
to avoid if at all possible) ?
Regards
Shaun Burton
IS Solutions Consultant
Alipro USA LLC