Exchange 2010

Hi Folks
When ever i try to open Exchange 2010 EMC ,am keep on getting this error

" Initialization failed
The  following error occured while searching for the on-premises Exchange Server:
You cannot call a method on a null-valued expression. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError $true -CurrentVersion 'Version 14.3(Build 123.4) "

AND Whenever i try to connect through Exchange PowerShell am getting following errors


VERBOSE: Connecting to INKSG-SVR04.sg.esubstance.com
[] Connecting to remote server failed with the following error message : WinRM cannot proc
ess the request. The following error occured while using Kerberos authentication: A specified logon session does not ex
ist. It may already have been terminated.
 Possible causes are:
  -The user name or password specified are invalid.
  -Kerberos is used when no authentication method and no user name are specified.
  -Kerberos accepts domain user names, but not local user names.
  -The Service Principal Name (SPN) for the remote computer name and port does not exist.
  -The client and remote computers are in different domains and there is no trust between the two domains.
 After checking for the above issues, try the following:
  -Check the Event Viewer for events related to authentication.
  -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or us
e HTTPS transport.
 Note that computers in the TrustedHosts list might not be authenticated.
   -For more information about WinRM configuration, run the following command: winrm help config. For more information,
 see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
   eption
    + FullyQualifiedErrorId : PSSessionOpenFailed
Exception calling "GetComputerSite" with "0" argument(s): "Logon failure: unknown user name or bad password.
"
At C:\Program Files\Microsoft\Exchange Server\V14\bin\ConnectFunctions.ps1:164 char:92
+     $localSite=[System.DirectoryServices.ActiveDirectory.ActiveDirectorySite]::GetComputerSite <<<< ()
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

Exception calling "FindAll" with "0" argument(s): "Unknown error (0x80005000)"
At C:\Program Files\Microsoft\Exchange Server\V14\bin\ConnectFunctions.ps1:253 char:17
+     $search.FindAll <<<< ()
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

You cannot call a method on a null-valued expression.
At C:\Program Files\Microsoft\Exchange Server\V14\bin\ConnectFunctions.ps1:146 char:33
+                 $siteName = $siteDN.ToString <<<< ().SubString(3).Split(",")[0]
    + CategoryInfo          : InvalidOperation: (ToString:String) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
"

Any one have any idea why this is happening  or how to sortout this problem

Thanks
obaidoaAsked:
Who is Participating?
 
obaidoaAuthor Commented:
I resolved this issue  myself ,because i was trying  login with insufficient permissions  ,when i tried to login with correct user permission i get through, i think was basically kerberos issue  .
Thanks everyone for response.
0
 
Viral RathodConsultantCommented:
Hi,
Run whoami in Powershell or CMD and make sure that you are logged on to the domain. The error you get indicates that you logged on locally.
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
Does this happen on any machine that you try and open the EMC or EMS on? Make sure that your DNS settings are set properly. I would also be checking the services on Exchange and the virtual directories as well.

Will.
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.

 
obaidoaAuthor Commented:
Hi Will
thanks for response,i think you are right ,because my DNS start giving problems as well ,when ever i try to join any computer  to the domain, am getting errors.when i go through  event log i find this

"the machine attempted to join the domain but failed . The error code was 1359

Log Name: System  
Source : Netlogin
Event ID: 4097

And i noted that both DC are not replicated as well .
Any idea about this?

Thanks
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
Take a look at the following link for further troubleshooting.
https://social.technet.microsoft.com/Forums/windowsserver/en-US/3d80878f-cdca-40bf-87b6-943ab95aad61/event-id-4097-netjoin

It does in fact look like a DNS issue you are having.

Will.
0
 
obaidoaAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for obaidoa's comment #a40621704

for the following reason:

i sorted out myself
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
Can you please provide what resolved this issue for you?

Did any of the suggestions provide assistance to your findings?

Will.
0
 
obaidoaAuthor Commented:
I myself sorted out this issue

Thanks Everyone
0
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.

All Courses

From novice to tech pro — start learning today.