T
tggonzox
I have seen a number of posts, but I have yet to see an answer to the
ubiquitous 401 error.
Here is my situation...
I have a web page that consumes the project web service. I have the
following code...
_project.Credentials = new NetworkCredential(username, password);
This works fine so long as I am accessing the website from within the
same domain as Project Server. When doing so, it will use the higher
credentials rahter than my own as desired. However, If I try to
access the web page from the internet or from a different domain, I
get a 401: Unauthorized error.
The server is behind a firewall with SSL.
I'm not a network guy, and I am sure not 'getting it'. Ideas?
TIA,
Pat
PS Just for kicks, I tried the Project Server Logon demo in the SDK.
In the same situation, it will connect using Windows Auth, but not
forms. Once I leave the domain, I cannot access either leading me to
believe that PWS is not "Forms Enabled".
ubiquitous 401 error.
Here is my situation...
I have a web page that consumes the project web service. I have the
following code...
_project.Credentials = new NetworkCredential(username, password);
This works fine so long as I am accessing the website from within the
same domain as Project Server. When doing so, it will use the higher
credentials rahter than my own as desired. However, If I try to
access the web page from the internet or from a different domain, I
get a 401: Unauthorized error.
The server is behind a firewall with SSL.
I'm not a network guy, and I am sure not 'getting it'. Ideas?
TIA,
Pat
PS Just for kicks, I tried the Project Server Logon demo in the SDK.
In the same situation, it will connect using Windows Auth, but not
forms. Once I leave the domain, I cannot access either leading me to
believe that PWS is not "Forms Enabled".