windows-server-2008-r2

Python: get output from a command line which exits with nonzero exit code

别来无恙 提交于 2019-12-21 02:41:58
问题 I am Using Python 2.7.1 on a Windows Server 2008 R2 x64 box. I'm trying to get the output of a command line process which gives a nonzero exit status after outputting the information I need. I was initially using subprocess.check_output , and catching the CalledProcessError which occurs with nonzero exit status, but while the returncode was stored in the error, no output revealed this. Running this against cases which give output but have an exit status of 0 works properly and I can get the

Missing IUSR account on Windows Server 2008 R2 / IIS7.5

家住魔仙堡 提交于 2019-12-20 10:30:05
问题 I've been given the job of installing PHP5.4 on this machine. One of the manual installation steps is to configure the IUSR account to have specific permissions. The problem is, I see the IIS_IUSRS group, but no IUSR account. The only users listed are the Admin user, a Guest account, and a user for the security software. I'm not really the Windows server type, more of a *NIX guy - so this is getting a little frustrating. I've searched everywhere and haven't found a suitable answer, but I have

Communication with the underlying transaction manager has failed.MSDTC

百般思念 提交于 2019-12-19 12:04:14
问题 I ve two systems one is windows 7 Enterprise in which my application is installed and I've Windows server 2008 R Sp1 machine where database is intsllaed. Getting below error when accessing database ommunication with the underlying transaction manager has failed. The MSDTC transaction manager was unable to pull the transaction from the source transaction manager due to communication problems. Possible causes are: a firewall is present and it doesn't have an exception for the MSDTC process, the

Communication with the underlying transaction manager has failed.MSDTC

僤鯓⒐⒋嵵緔 提交于 2019-12-19 12:03:03
问题 I ve two systems one is windows 7 Enterprise in which my application is installed and I've Windows server 2008 R Sp1 machine where database is intsllaed. Getting below error when accessing database ommunication with the underlying transaction manager has failed. The MSDTC transaction manager was unable to pull the transaction from the source transaction manager due to communication problems. Possible causes are: a firewall is present and it doesn't have an exception for the MSDTC process, the

Issue to use TLS 1.2 in .NET Framework 4.0

纵然是瞬间 提交于 2019-12-19 10:20:13
问题 I got TLS 1.0 disabled. So we are trying to use TLS 1.2 in our .Net application which is using .Net Framework 4.0. I have added the code for this at the start System.Net.ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072; It works perfectly on my local system. But i am not sure why its not working when I deploy the code on server (Windows Server 2008 R2). I checked everything. .Net framework is present on server. But still its giving the same issue on server only. Is there

Issue to use TLS 1.2 in .NET Framework 4.0

蓝咒 提交于 2019-12-19 10:19:33
问题 I got TLS 1.0 disabled. So we are trying to use TLS 1.2 in our .Net application which is using .Net Framework 4.0. I have added the code for this at the start System.Net.ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072; It works perfectly on my local system. But i am not sure why its not working when I deploy the code on server (Windows Server 2008 R2). I checked everything. .Net framework is present on server. But still its giving the same issue on server only. Is there

App_Global.asax.compiled and App_Global.asax.dll missing? WebApi .NET 4.5 project

霸气de小男生 提交于 2019-12-19 09:16:14
问题 During our adventures of building a 'simple' API using WebAPI we've had our fair share of issues as any project does, however I am unable to find any such resource that can explain the following behavior: Details : Visual Studio 2013 with Update 2 (however, before updating, this was the same) Windows Server 2008 R2 Web API 5.1.2 The issue seems to be related to the "Publish" command, specifically the "Precompile" option. When running via IIS Express, we see no issues at all. If we publish

Start-Process -wait doesn't work when script is launched from command prompt opened with runas or as a scheduled task

北战南征 提交于 2019-12-19 05:47:25
问题 I've got a script that's I want to run as a scheduled task, but it's not doing the thing it's supposed to. I'm trying to call an executable with Start-Process and the -Wait switch before continuing. Line is Start-Process -FilePath "C:\Pfx Engagement\Admin\Utilities\Backup Restore\BackupRestoreUtil.exe" -ArgumentList "/f "$backup_directory "" -Wait If I call it from a command prompt, ie: powershell .\script.ps1 it works. It runs the command and waits for it to finish before moving on. There's

What are the causes and solutions of exception code c0000005 in mscorwks.dll?

依然范特西╮ 提交于 2019-12-17 20:50:31
问题 The exception code C0000005 is thrown from mscorwks.dll when the application is run on Windows Server 2008 R2 launched using test complete. Other platforms (Windows XP, Server 2003 R2, Windows 7 32-bit and 64-bit) do not present this exception. The event log from a single execution has many of the following event with event ID 1023 raised by the .NET Runtime: .NET Runtime version 2.0.50727.4952 - Fatal Execution Engine Error (7383851A) (80131506) The application itself makes use of a SOAP

Classic ASP : C0000005 Error on execution

风流意气都作罢 提交于 2019-12-17 14:03:12
问题 I'm trying to execute classic ASP pages on a windows 2008 64 bit R2 box. Initially the problem was with registering dlls : That's now fixed. Register DLL file on Windows Server 2008 R2 Now when I try to access the page I get this error Active Server Pages error 'ASP 0241' CreateObject Exception index.asp The CreateObject of '(null)' caused exception C0000005. Server object error 'ASP 0177 : c0000005' When I change the code from Server.CreateObject to CreateObject .. I end up with this error