Failed To Connect Error 1312
Support Home © 2003-2016 McAfee, Inc.
(עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) HomeWindows Server 2012Windows Server 2008 R2Windows Server 2003LibraryForums Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: SSL Certificate add failed, Error: 1312 Windows Server > Windows Server General Forum Question 0 Sign in to vote I'm trying to connect a SSL cert to my http listener application. I'm running on Windows Server 2008 SP2. I'm using the netsh http commandsuch as the followingto do this. add sslcert ipport=10.0.0.1:443 certhash=somelongcerthash appid={somelongappid} When I use the command I get the following error message. SSL Certificate add failed, Error: 1312 A specified logon https://kc.mcafee.com/corporate/index?page=content&id=KB58747&pmv=print session does not exist. It may already have been terminated. I'm logged onto the server as a domain admin when I run the command. I previously had this application setup to use SSL on a different port with the same cert, the application ran fine for a few weeks. I was in the process of switching the application onto port 443 when this error started https://social.technet.microsoft.com/Forums/windowsserver/en-US/68452008-a89b-40ba-9927-472efcfafc99/ssl-certificate-add-failed-error-1312?forum=winservergen to occur. As part of the switch I found the cert was also defined for a web site. I undefined the SSL and port binding for the web site. I reconnected to cert to the old Port and successfully test the application again, then deleted the binding using the "delete sslcert" command and attempt to use the same "add sslcert" command with port 443 and got the failure. Now I can't use the add sslcert command no matter what port I specify without getting the failure message. Microsoft has a fix for this error message for Windows 7 and Windows Server 2008 R2, but not Windows Server 2008 SP2. Googling around I see a number of other people that have run into this issue but don't see any remedies that work for me. --Mark Friday, August 06, 2010 4:59 PM Reply | Quote Answers 0 Sign in to vote Hi Mark, This KB might help you http://support.microsoft.com/kb/981506 Marked as answer by Tim QuanModerator Monday, August 30, 2010 9:21 AM Monday, August 23, 2010 11:29 AM Reply | Quote 0 Sign in to vote I tried a new certificate and it worked fine. I exported t
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about http://stackoverflow.com/questions/35437586/windows-machine-file-copy-i-am-getting-system-error-1312-for-powershell-while-d hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Windows Machine File Copy: I am getting system error 1312 for powershell while deployment process through TFS up vote 1 down vote favorite I have installed TFS on my webserver, failed to I have configured the build process in TFS to copy files to IIS directory on checkin. I am getting below error. Is it because my TFS server and webserver is same? Failed to execute the powershell script. Consult the logs below for details of the error. Failed to connect to the path \{ipaddress} with the user Administrator for copying.System error 1312 has occurred. A specified logon session does not exist. It may already have been terminated. For more failed to connect info please refer to http://aka.ms/windowsfilecopyreadme please help, I have tried googling this first but couldn't get solution. tfsbuild share|improve this question asked Feb 16 at 16:17 girish kolte 61 This is a terrible idea. TFS should live separate from any target web application server. Why would you do this? –chief7 Feb 16 at 17:12 why is it so please? I have backup service in place in case of server crash so I don't see any problem here –girish kolte Feb 17 at 8:06 What if you want to deploy to two servers or to Azure? You can't install TFS on each server. –chief7 Feb 17 at 11:31 Agree, I won't need to do so for now, but my concern is with above issue. –girish kolte Feb 17 at 12:49 add a comment| 2 Answers 2 active oldest votes up vote 0 down vote It seems your task host requires a specified logon session, you need to add domain username. Try to modify the Admin Logon to