?
Solved

Exchange 2010

Posted on 2015-02-19
10
Medium Priority
?
1,285 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
8 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Eseutil Hard Recovery is part of exchange tool and ensures Exchange mailbox data recovery when mailbox gets corrupt due to some problem on Exchange server.
This article will help to fix the below errors for MS Exchange Server 2016 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
In this video we show how to create an email address policy 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 Mail Flow…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
Suggested Courses
Course of the Month16 days, 20 hours left to enroll

862 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