Improve company productivity with a Business Account.Sign Up

x
?
Solved

Cannot open Exchange Console or Exchange Shell

Posted on 2011-09-02
6
Medium Priority
?
595 Views
Last Modified: 2012-05-12
Hello experts i have an exchange 2010 server. Everything was find on it until one day i decided to install the asp feature on it and it blew everything up (basically couldn't navigate to owa etc). Then i rebuilt the directories from Exchange 2010 console. This worked okay until all of a sudden EWS's and OWA's app pool in IIS started to crash. I tried many things (4 hrs) to resolve this with no success. Finally restored to reinstall the CAS role. So i removed the CAS role removed IIS and reinstalled. It seemed to rebuild everything and i don't notice that those app pools crash any more.

Now, i have a new problem. After the reinstall, the CAS role does NOT install the Powershell Virtual Directory.  I cannot open up the Exchange Console or the Shell as it states the error Kerberos authentication failed or winrm is not working. Connected to remote server failed. I have scoured the internet and have tried many things to resolve this including:

- Again removing and reinstalling iis and CAS role no success.
- Manually creating the Powershell application virtual directory in IIS with all settings specific to what should be in there no change.
- Uncheck SSL security no change
- I tried the new-powershelldirectory but cannot get this to work as i cannot connect to exchange with the shell because iis requires this (cmon microsoft really iis required to work on exchange just sounds scary to me).
- Running the winrm quickconfig but that did nothing
- Tried everything in this article http://support.microsoft.com/kb/2028305, both native modules are in there

Outlook and OWA appear to work just fine. Only issues in outlook is when trying to open Out of office it comes up with an error cannot connect to server. I have heard this could be an auto discovery thing but of coarse if i can't get into console or shell i cannot try to fix.

Thanks for help.
0
Comment
Question by:jeepr94
  • 5
6 Comments
 
LVL 12

Expert Comment

by:FarWest
ID: 36477090
dod you check the DNS, run dcdiag on all DCs and fix any errors,
also verify the server is exchange servers group in your AD
0
 
LVL 1

Author Comment

by:jeepr94
ID: 36477119
Update:
-Dcdiag passed on two dc servers
- no noticeable dns issues all resolving with fully qualified name.
-mail server is in the exchange servers group
-I was able to get to run the new-powershelldirectory command. I found a way through powershell and doing add-pssnapin *exchange* I have rebuilt all virtual directories which has made no change. I know setitngs are correct
- Still getting the app pool crashes with OWA and EWS

At this point i am pretty sure this install is hosed. Whats best way i can reinstall this you guys think?

Thanks,

0
 
LVL 1

Author Comment

by:jeepr94
ID: 36477124
Also when app pool bombs and you try to get to OWA or EWS it will show http error 503 service unavailable. I can restart the app pool but only login once or twice before it bombs again.
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.

 
LVL 1

Author Comment

by:jeepr94
ID: 36477172
I just restored the applicationHost file from a day i know server was working. I also restore the whole ClientAccess folder in program files from that same period with no luck. This has to be something with Windows i think just don't have a clue what.
0
 
LVL 1

Accepted Solution

by:
jeepr94 earned 0 total points
ID: 36477245
Got it! Compared to another test exchange server ihad. I had hit asp.net impersonate on the root of website. That is what started all of this.

Ugh. So FYI don't enable this on exchange box :) and then what i did to fix what that broke was to disable impersonation warnings or something. Anyway i have seen lots of articles on this stuff online hopefully this helps someone
0
 
LVL 1

Author Closing Comment

by:jeepr94
ID: 36494144
Got it! Compared to another test exchange server ihad. I had hit asp.net impersonate on the root of website. That is what started all of this.

Ugh. So FYI don't enable this on exchange box :) and then what i did to fix what that broke was to disable impersonation warnings or something. Anyway i have seen lots of articles on this stuff online hopefully this helps someone
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In a Cross Forest, the steps to migrate users are quite complicated and even in the official articles of Technet there is no clear recommendation on which approach to take .. From an experience, I mention and simplify which way to go and how to use …
Importing Outlook PST contacts to Exchange Server can become a complicated task. Situations arise where an Exchange user is not able to import contacts from PST to Exchange Mailboxes in an efficient manner. Try SysTools Exchange Import to move conta…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question