Link to home
Start Free TrialLog in
Avatar of xmouser
xmouserFlag for United States of America

asked on

IIS7 and MOSS 2007

MOSS 2007
Server 2008
Sql 2005
Running virtually in VMWare

I've done a default install of Moss on Server 2008 with IIS7 and IIS6 compatibility mode as one of the roles.  The admin website came up fine with the only issue being I get an error: 'an unexpected error has occurred' with the correct address in the browser window.  If I select 'Go back to site' the admin site then opens fine.  I would like to solve this issue as well if possible.  

I was able to create the SSP without an issue.  I created a new site collection but when I go to this site I get a credential authentication window pop-up.  I enter the farm admin credentials in but they are not accepted.  The web browser displays Error 401.1 - Unauthorized.  I went to \inetpub\wwwroot\wsss\virtualdirectories and gave 'Everyone' Read permissions.  I still get this error.  I added iusr\<computername> to the above folder and gave it read permissions as well.  Same result.  Anonymous access is not selected as this is a test site and I am not expecting users from outside the domain to access it.  

I've done quite a few Moss installs with Server 2003/IIS6 but this is my first install using Server 2008 and IIS7.  

Any thoughts?

Avatar of Abhay Pujari
Abhay Pujari
Flag of India image

Avatar of xmouser

ASKER

I slipstreamed all my SP into my installation.  Installation and central admin went fine it's just the issue with APP/Site.
One more trouble to you, is it happening with all sites, or just a single site? If its a single sit issue then u can change the app.config file settings. I will update you the same or you can just get the info by googling for this error.
Avatar of xmouser

ASKER

I've only built the one site so far. I wil,l however, try and bring another one up. If that doesn't work I'm planning on deleting them and starting over to see if maybe I did something different from my usual steps.
Sure. and please post updates here.
Don't do that. An unexpected error has occured means that there was a timeout on your Central Admin page. If you then click go back to site the central admin actually did launch but not in time to prevent the unexpected error.

It's a bit of a cryptic message I know, but it's nothing to worry about. You can use a script to do a keepalive on your central admin, but it only uses resources and it isn't a real problem. What SharePoint does is that it shuts down your IIS application pool to keep resources available. When you browse to it, the application pool needs to "start up" again and if that takes too long you get the "an unexpected error has occured" message.
Avatar of xmouser

ASKER

MsShadow:
Two issues - deleting referred to the sites not CA.  
CA: Yes but this happens everytime I go to CA.  This can't be 'normal'.  I'm working from the SP server and I get no error messages in Event Viewer.
Does it happen if you go to CA, and then close the browser and then browse back to CA?
If that is the case, do as explained in this post to get a better idea on the error:
http://koenvosters.wordpress.com/2009/08/06/showing-the-real-error-message-in-sharepoint/
Avatar of xmouser

ASKER

I open CA > Error > Select 'go back to site '> CA opens > close browser > open browser > CA opens first time
Avatar of xmouser

ASKER

Deleted the website, application pool and databases.  Started over and created new app pool and site - still getting authentication box.
ASKER CERTIFIED SOLUTION
Avatar of MsShadow
MsShadow
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of xmouser

ASKER

LoopBack

CRAP!  I just went through this with S2003.  I got blindsided by having S2008 and IIS7.

Thanks.