Solved

Exchange 2010

Posted on 2015-02-19
10
534 Views
Last Modified: 2015-03-07
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
0
Comment
Question by:obaidoa
  • 4
  • 3
10 Comments
 
LVL 16

Expert Comment

by:Viral Rathod
ID: 40620575
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
 
LVL 53

Expert Comment

by:Will Szymkowski
ID: 40621140
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
 

Author Comment

by:obaidoa
ID: 40621704
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
 
LVL 53

Expert Comment

by:Will Szymkowski
ID: 40621711
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
Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

 

Author Comment

by:obaidoa
ID: 40635750
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
 
LVL 53

Expert Comment

by:Will Szymkowski
ID: 40635751
Can you please provide what resolved this issue for you?

Did any of the suggestions provide assistance to your findings?

Will.
0
 

Accepted Solution

by:
obaidoa earned 0 total points
ID: 40638612
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
 

Author Comment

by:obaidoa
ID: 40639618
I myself sorted out this issue

Thanks Everyone
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
how to add IIS SMTP to handle application/Scanner relays into office 365.

706 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now