windows-server-2012

WCF Service stop responding unexpectedly with error “client authentication scheme 'Anonymous'.The remote server returned an error: (403) Forbidden.”

五迷三道 提交于 2019-12-24 01:25:45
问题 we developed a WCF service ( running on windows server 2012) and client API which are connected each other with client certificate authentication. They were running cool up to we made a stress test on system. We try to load system with giant data then the system responds so slowly. So we interrupt the process and try to clear DB. The clearing and reindexing DB took more than 6 hours. After that the WCF service stoped responding! But we did not change any code block! Therefore, I think that

Missing Help Files in Powershell V5.0

家住魔仙堡 提交于 2019-12-23 21:58:39
问题 Powershell Version: 5.0.10586.494 I just began working with powershell this weekend and I discovered that I cannot find any help files when using the shell, for example, I was looking to read the about_Comparison_Operators help file but it seems as though the console cannot find it. When doing: Get-Help About_* the only result I get is About_CimSession ... it seems like there are no other help files? This TechNet article suggests that in Powershell v3 the module must be imported, To download

'System.Net.Mail.SmtpException: Failure sending mail from remote mail server

我只是一个虾纸丫 提交于 2019-12-23 05:19:49
问题 i tried to send mail from a VPS windows 2012 & IIS 8 server using a remote mail server , i couldn't sent mails,and got the error send Faild - System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <Ip

OWIN and ASP.net membership in IIS 8.5 not working

[亡魂溺海] 提交于 2019-12-23 02:34:57
问题 I created an ASP.NET MVC project in visual studio 2015. I used the Windows Identity Foundation based template for individual accounts available in visual studio. Then I configure it for facebook and Google. It works perfectly when i run it from Visual Studio or IIS 7.5. I Could redirect to Google or Facebook page and I was able to register using email and I could see the records saved in the database. However, when i deploy the app on IIS 8.5 running on windows server 2012 R2, on clicking the

Start VPN from SSIS package?

霸气de小男生 提交于 2019-12-22 12:18:34
问题 Using SSIS I need to retrieve data from a server outside my network/domain. I can only get to this server through a VPN. I created 2 packages: StartVPN - using some VB this package starts the VPN. Works great. :) Import Files - This package is called from StartVPN and should import some data. When I run package 2 directly with the VPN already started this package runs great. When I run package 2 from package 1 without the task that starts the VPN but with the VPN manually started this package

Prevent direct access to files on IIS server

耗尽温柔 提交于 2019-12-21 20:14:10
问题 I have two servers, one for my mvc application and the other one as a storage for large files like images etc, both running on Windows Server 2012 R2. How can I prevent direct access to the files on storage server? say, mvc is on IP1/ and storage is on IP2/ . Link to a file would be like: IP2/MediaFiles/2015/12/image0001.jpg . I need only GET requests from IP1 have access to the link above. How? UPDATE server1 on IP1 needs to be free of file sharing since media server is on IP2 and we don't

How can I run Docker in a AWS Windows Server environment?

落爺英雄遲暮 提交于 2019-12-21 10:55:11
问题 Thing I'd tried: Toolbox on Windows Server 2012 R2. Disabled Hyper-V to allow virtualbox. I cannot enable virtualization as it's on the physical bios. Installed Docker EE on Windows Server 2016 w/Containers EC2. Installed correctly. Daemon is running. BUT, I can't pull a single image beside the hello-world:nanoserver. So I hunted down the windowsservercore and nanoserver, still doesn't work because they are out of date. The repo from the the frizzm person at Docker.com doesn't work when you

IIS 8.5: Virtual Account for App Pool (IIS AppPool\{Application Pool Name} is not available

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-21 07:55:50
问题 I am running IIS 8.5 on a Windows 2012 R2 Core box. I created a new application pool called "MyNewAppPool". I have a website instance, called "MyNewWebsite.com" running in the "MyNewAppPool" application pool. The Identity used for "MyNewAppPool" is "ApplicationPoolIdentity". It is my understanding that I can assign security permissions for application pools in IIS 8.5 by using the auto-generated local virtual accounts, which will be named "IIS AppPool\{Application Pool Name}". So, in Windows

PHP 5.5 and MSSQL driver: Installing ODBC Driver 11 in Windows Server 2012 R2

南笙酒味 提交于 2019-12-21 04:06:13
问题 I have a Windows Server 2012 R2 with IIS 8.5, and another server with MSSQL 2012. I must install PHP in IIS and connect to MSSQL, and I don't have Internet available for Web PI. I managed to install PHP 5.5 and I'm able to run phpinfo() , and I also assured that php.ini is being loaded from C:\php\php.ini . I was also able to load sqlsrv driver, it reports in example sqlsrv.ClientBufferMaxKBSize 10240 10240 . But when I execute a php file that connects to DB, I get a message This extension

CORS issue IIS 8 Windows Server 2012

拟墨画扇 提交于 2019-12-20 04:50:28
问题 SCENARIO: I have two applications, one is "SPA web application" and the other one is "Web API 2.0" which is deployed on IIS 8.0 on Windows Server 2012. ERROR: Website is accessible and working fine on the same machine but not from outside, web page is loaded properly but on ajax call to the API generates the following error... Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at . This can be fixed by moving the resource to the same domain or enabling