Link to home
Start Free TrialLog in
Avatar of Starquest321
Starquest321

asked on

Didn't prepare organization before install 2010

I overloooked the fact that I had to prepare the org for exchange 2010. I installed everything and now get the following errors:

VERBOSE: Connecting to exchange4.domain.com
[exchange4.domain] Connecting to remote server failed with the following error message : The WinRM client se
nt a request to an HTTP server and got a response saying the requested HTTP URL was not available. This is usually retu
rned by a HTTP server that does not support the WS-Management protocol. For more information, see the about_Remote_Trou
bleshooting Help topic.
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
   eption
    + FullyQualifiedErrorId : PSSessionOpenFailed
WARNING: No Exchange servers are available in the Active Directory site Default-First-Site. Connecting to an Exchange
server in another Active Directory site.
_AutoDiscoverAndConnect : No Exchange servers are available in any Active Directory sites. You can't connect to remote
Powershell on a computer that only has the Management Tools role installed.
At C:\Program Files\Microsoft\Exchange Server\V14\bin\ConnectFunctions.ps1:45 char:27
+             _AutoDiscoverAndConnect <<<<  $credential $Forest -useWIA:$useWIA
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,_AutoDiscoverAndConnect


What can be done now?
ASKER CERTIFIED SOLUTION
Avatar of npinfotech
npinfotech
Flag of United States of America 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
SOLUTION
Avatar of Glen Knight
Glen Knight
Flag of United Kingdom of Great Britain and Northern Ireland 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 Starquest321
Starquest321

ASKER

I had to go through the install checklist when you fireup the exchange 2010 install. Is this what you mean pre-req?
which version of Windows? Is it 2008 or 2008 R2?
2008r2
from Windows PowerShell (right click it and select Run as Administrator)

Run:

Import-Module ServerManager

Then:

Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart

After the restart, does the same problem occur?

Source: http://technet.microsoft.com/en-us/library/bb691354.aspx
The error I get is that :

No exchange servers are available in the active directory sites. . .

Seems like the server is not connected to AD. .
Have you disabled IPv6? If so, re-enable it.

What DNS servers is the network card configured to use? It should have only valid internal DNS servers listed.

What security software do you have installed? Can you remove it to eliminate it as the cause?
Did you re-run the script I posted above?
SOLUTION
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
I had to reconfigure the DNS to an internal server. I have no antivirus yet installed.  . .
But this is the error I get when I start windows powershell:
WARNING: ERROR INITIALIZING THE DEFAULT DRIVE. Unable to find a default server with Active Directory Web Services running
SOLUTION
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
The dns was internal and was received from the dhcp ... I just made it static. For some reason te exchange box is not in AD
The exchange 2010 is installed and can be seen in Programs and Features. . . the problem is that the machine is not recognized by AD>