Solved

Exchange 2010

Posted on 2015-02-19
10
806 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Powershell Command for Distribution Lists 2 32
Mail Server IP address - part 2 1 20
controlling email signatures 3 18
exchange , office 365 2 11
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

735 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