Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm new to SharePoint.

I know once you create a web application and do a good iisreset /noforce

You should be able to see the Application Pool and Website in IIS that you just created in Central Admin. However, it doesn't show up in IIS.

Furthermore, to make this bug even more bizarre.

The database from the wizard creation is attached to the correct database engine as expected.

And, I can go in and create a site collection as if the web application does exist.

But, when you go to the URL after you create the site collection for that app you get a HTTP 502 Error, because technically it doesn't exist.

Suggestions?

share|improve this question

2 Answers 2

You don't need to do an IISRESET after creating a webapplication. Maybe you did it to soon while it still was creating the web application so an error occured. I would suggest to delete the old web application and creating it again. And DON'T do an iisreset. Just start creating the sitecollection after the webapplication was created.

share|improve this answer
1  
That didn't work. I did find out that the user account I used to create the Application Pool did not have administrative rights on the box. A quick change from this and I received the expected results. –  Carl Finch Nov 18 '11 at 15:47
2  
Please put that in as an answer so it can be accepted. –  PirateEric Nov 18 '11 at 17:46
    
When a web application is provisioned a bunch of timer jobs kick off which finish off the creation of the web application on all the web front ends. Do an IISReset and it will interrupt this process. –  James Love Aug 4 '12 at 17:58

In this type of situations, my first step is to always check the logs (ULS logs, Windows Event Logs, IIS logs). Check at the time of the Web application creation what is logged.

In your case, it looks like there was a permission issue. That would have been logged in the log files.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.