PWA 2007 Default.aspx Login Error

H

Hector Gomez

Hi everyone.

I have a weird error trying to access my PWA/default.aspx page. This are the
scenarios:

a) When I access my PWA home page at my local network using the server name
(http://ProjectServer/PWA/default.aspx) I can access normally without any
problems, the page display the information correctly.

b) When I access my PWA home page at my local network same PC but using now
the I.P. address (http://192.168.XX.XX/PWA/default.aspx), after typing the
user and pswd I got the Error "An unexpected error ocurrs..." I set the trace
on and the Error that I got is the next one:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an
object.]
Microsoft.Office.Project.PWA.PJContext.AuthenticateUserForPWA(Boolean
validateUser, String username, Boolean checkTimebomb) +988
Microsoft.Office.Project.PWA.PJContext.AuthenticateUserForPWA(Boolean
newCookie) +877
Microsoft.Office.Project.PWA.PJContext.GetContext(Boolean
isWebServiceCall, Boolean newCookie, Guid siteId, Nullable`1 zone) +369
Microsoft.Office.Project.PWA.PJBaseWebPartPage..ctor() +273
ASP.DEFAULT_ASPX_1878359186..ctor() +10


--------------------------------------------------------------------------------------------

The same thing happens if I try to access on the Internet using
http://projectserver.mydomain.com/PWA/default.aspx.

The weird thing here is that I can access some page content without any
problem.
For Example, if I access
http://projectserver.mydomain.com/PWA/_layouts/recyclebin.aspx, there's no
problem at all. Same thing using
http://192.168.XX.XX/PWA/_layouts/recyclebin.aspx.

So in a few words, using the server name, no problems to access all. Using
the IP and the Internet to access I only can access a few things.

I was looking at some blogs but no answers obtained yet.
Anybody has a clue about it? I have a lot of people over me waiting for
access the PWA page on the Internet.

Thanks Hector Gomez
 
H

Hector Gomez

I have more information.

I added the IP to my host archive and now I can to connect to all PWA using
the http://projectserver/pwa/default.aspx page.
That's on a PC being on the network and not belonging to the domain, but not
at Internet.
I added too to the host the prosejectserver.mydomain.com but didn't work.

Any clues?
 
H

Hector Gomez

AI finally solved.

I'm sure this gonna help some users with the same problem that I had.

There was a SharePoint configuration.
For solving this problem do the following:

1.- Go to your sharepoint central administration page and go to operations
tab.
2.- Go to Global Configuration and click on Alternate Access Mappings.
3.- At the Alternate Access Mapping Collection dropdown (default is
ShowAll), select your Sharepoint page that contais the PWA (SharePoint - 80
at my case)
4.- Once selected the SharePoint - 80, click on edit Public URLs.
5.- Note that at the Default space is your server name (http://projectserver
at my case). At your Intranet you can place the IP (http://192.168.XX.XX),
and the most important for watch your PWA at the Internet, place your web
address at the Internet Option (http://projectserver.mydomain.com).

That solved the problem, and now all users can access the page on the
Internet.

Hector Gomez




Hector Gomez said:
Hi everyone.

I have a weird error trying to access my PWA/default.aspx page. This are the
scenarios:

a) When I access my PWA home page at my local network using the server name
(http://ProjectServer/PWA/default.aspx) I can access normally without any
problems, the page display the information correctly.

b) When I access my PWA home page at my local network same PC but using now
the I.P. address (http://192.168.XX.XX/PWA/default.aspx), after typing the
user and pswd I got the Error "An unexpected error ocurrs..." I set the trace
on and the Error that I got is the next one:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an
object.]
Microsoft.Office.Project.PWA.PJContext.AuthenticateUserForPWA(Boolean
validateUser, String username, Boolean checkTimebomb) +988
Microsoft.Office.Project.PWA.PJContext.AuthenticateUserForPWA(Boolean
newCookie) +877
Microsoft.Office.Project.PWA.PJContext.GetContext(Boolean
isWebServiceCall, Boolean newCookie, Guid siteId, Nullable`1 zone) +369
Microsoft.Office.Project.PWA.PJBaseWebPartPage..ctor() +273
ASP.DEFAULT_ASPX_1878359186..ctor() +10


--------------------------------------------------------------------------------------------

The same thing happens if I try to access on the Internet using
http://projectserver.mydomain.com/PWA/default.aspx.

The weird thing here is that I can access some page content without any
problem.
For Example, if I access
http://projectserver.mydomain.com/PWA/_layouts/recyclebin.aspx, there's no
problem at all. Same thing using
http://192.168.XX.XX/PWA/_layouts/recyclebin.aspx.

So in a few words, using the server name, no problems to access all. Using
the IP and the Internet to access I only can access a few things.

I was looking at some blogs but no answers obtained yet.
Anybody has a clue about it? I have a lot of people over me waiting for
access the PWA page on the Internet.

Thanks Hector Gomez
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top