• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 418
  • Last Modified:

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?

0
xmouser
Asked:
xmouser
  • 6
  • 3
  • 3
1 Solution
 
Abhay PujariCommented:
0
 
xmouserAuthor Commented:
I slipstreamed all my SP into my installation.  Installation and central admin went fine it's just the issue with APP/Site.
0
 
Abhay PujariCommented:
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.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
xmouserAuthor Commented:
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.
0
 
Abhay PujariCommented:
Sure. and please post updates here.
0
 
MsShadowCommented:
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.
0
 
xmouserAuthor Commented:
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.
0
 
MsShadowCommented:
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/
0
 
xmouserAuthor Commented:
I open CA > Error > Select 'go back to site '> CA opens > close browser > open browser > CA opens first time
0
 
xmouserAuthor Commented:
Deleted the website, application pool and databases.  Started over and created new app pool and site - still getting authentication box.
0
 
MsShadowCommented:
Are you using a hostname for your ssp?

In that case you need to disable the loopbackcheck on iis
http://koenvosters.wordpress.com/2009/06/15/access-denied-when-using-hostname-search-and-site-on-moss-2007/
0
 
xmouserAuthor Commented:
LoopBack

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

Thanks.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 6
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now