How to rebuild IIS 7

In the past week a tech from the software company we use moved all the virtual directories around in iis and I need to restore all to the default.  After he made all the changes he found out that the software was not compatible with our version of sbs.
Now Exchange management console won’t open and gives me an error code that it was refused.  After doing a little digging i found that you can rebuild through exchange shell but im not able to log into that too.  
I was wondering if I could reinstall just exchange and IIS 7 without having to reinstall the server software.  

Any suggestions?
avswaneyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
You can try but it is probably not going to be correct. Restore from backup is the optimal solution ..   That service tech unfortunately isn't very competent and should have experimented on one of their similarity configured computers... computer techs should follow the Hippocratic oath (do no harm!)
0
Simon Butler (Sembee)ConsultantCommented:
Which version of Exchange is this? IIS7 or 7.5 ?

If IIS is actaully working ok, then you could start a regular PowerShell session, load the Exchange extensions and rebuild the virtual directories that way.
However if is SBS 2008 then you will have to put them in to the special virtual web site, if SBS 2011 they can go in to the default.

Simon.
0
avswaneyAuthor Commented:
its sbs 2011 with iis 7.  what happened was the software company added a application pool then added all applications into that pool.  I was looking at another customers iis with the same exact setup and and was going to put the applications back into each pool 1 by 1.  I cant log into the powershell so thats not an option.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Simon Butler (Sembee)ConsultantCommented:
You should be able to use regular Powershell. Exchange Management Shell will not work, but the normal PowerShell will because that doesn't have to login to anything.

As it is SBS 2011 (so IIS 7.5) that makes life a lot easier, because everything goes in to the default web site.

This article gives the Application pools for each virtual directory:
http://technet.microsoft.com/en-us/library/dd577064.aspx

Simon.
0
avswaneyAuthor Commented:
ok i placed all the applications in their correct place but im still getting this error

Error while opening Exchange console
0
Simon Butler (Sembee)ConsultantCommented:
You are on Exchange 2010 SP1.
I would suggest that you install Exchange 2010 SP3, which will effectively reinstall the product and in many cases clean up a lot of issues like this.

Simon.
0
avswaneyAuthor Commented:
i installed service pack 2 and 3 and still have same issue.
0
Simon Butler (Sembee)ConsultantCommented:
Does EMS start correctly?
If so you can recreate everything. If not then you are looking at a more serious problem.

Although personally if this was damage done by an external contractor I would be getting them to fix it, or pay for it to be fixed with a call to Microsoft support.

Simon.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.