Solved

Exchange 2010

Posted on 2015-02-19
10
941 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
10 Comments
 
LVL 17

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
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
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
 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
To show how to generate a certificate request 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 Servers >> Certificates…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

717 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