Minnesota Web Developer | A little something about everything...

Minnesota Web Developer

A little something about everything...

Exchange 2010 / 2013 Powershell Error: A specified logon session does not exist. It may already have been terminated.

Error: Exchange 2013 Failed to connect to an Exchange Server in the current site. Anyone ever run into this with exchange 2013 enterprise AD and exchange are separate servers.

I checked firewall, reinstalled .net, reset IIS, etc... really stumped on this one.


Error:
New-PSSession : [exchangeserver.domain] Connecting to remote server exchangeserver.domain failed with the following error
message : WinRM cannot process the request. The following error with errorcode 0x8009030e occurred while using
Kerberos authentication: A specified logon session does not exist. 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
use 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.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : 1312,PSSessionOpenFailed
Exception calling "FindAll" with "0" argument(s): "Unknown error (0x80005000)"
At D:\Exchange\bin\ConnectFunctions.ps1:253 char:2
+ $search.FindAll()
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : COMException

_AutoDiscoverAndConnect : No Exchange servers are available in any Active Directory sites. You can't connect to remote
Powershell on a computer that only has the Management Tools role installed.
At D:\Exchange\bin\ConnectFunctions.ps1:45 char:4
+ _AutoDiscoverAndConnect $credential $Forest -useWIA:$useWIA -ClientApplicatio ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,_AutoDiscoverAndConnect

Failed to connect to an Exchange server in the current site.
Enter the server FQDN where you want to connect.:

 

Solutions:

  • Verify that you are logging into the domain user and not the system user account.
  •  

Microsoft SQL Server Management Studio Maintenance Plans error: 'Agent XPs' componet is turned off

If you did not set the ..

Full Error:

'Agent XPs' component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'Agent XPs' by using sp_configure. For more information about enabling 'Agent XPs' see "Surface Area Configuration" in SQL Server Books Online. (Object Explorer)

Fix Options:

  1. if using GUI open services, locate SQL Server Agent, double click and set startup type to automatic then click start.
  2. if you prefer to use command line you can just do the following on the master database:
    EXEC sp_configure 'show advanced', 1; 
     RECONFIGURE; 
     EXEC sp_configure 'allow updates', 0; 
     RECONFIGURE; 
     EXEC sp_configure 'Agent XPs', 1; 
    RECONFIGURE; 
    GO

What is time?

Theory:

Time in its basic form is the flow of energy throughout space.

In order to reverse the flow, dark matter(negative) would need to be in excess of positive charged energy.

You can have matter and dark matter, positive and negative energy. In order to reverse time we would need to harness negative energy of an object to reverse it's flow in space.

HTC ONE (M7) back and home button issues, work intermittently

Several solutions exist because their can be several causes to this issue:

  1. recalibrate your keyboard, be sure not to touch close to the back or home keys. To do this touch and hold the "," key while the keyboard is open then go to Advanced and click the calibration option.
  2. Do a software update
  3. Turn off the power save mode
  4. Make sure the screen cover is not covering the back ad home buttons.

If none of these work call HTC and get a replacement.