windows-server-2008-r2

Microsoft Visual Studio 2012 has stopped working

夙愿已清 提交于 2019-12-01 19:18:54
I have been using Visual Studio 2012 on Winodws Server 2008 R2 sp1, Although apart from a bit slow performance it seem to work fine. But whenever I close the application, I get following error- Microsoft Visual Studio 2012 has stopped working And prompts to restart or debug the program. I read here that deleting following registry key, would fix the issue on 64 Bit machine. [HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft\WindowsNT\CurrentVersion\AppCompatFlags\Layers] The issue is, I have not be able to locate the registry key beyond this path, on my machine. HKEY_CURRENT_USER\Software

NAudio in Windows Azure /Windows Server 2008 R2

折月煮酒 提交于 2019-12-01 14:37:55
I am using NAudio to merge a few mp3 files together for a Windows Azure product. It works fine in the dev environment but once i upload it to Azure, I get the "No Drive Calling acmFormatSuggest" error. Here's the list of things I have done so far on the Windows Azure Box, trying to fix the issue. (i) Enabled Windows Audio Service (ii) Installed the Fraunhofer IIS MPEG Layer-3 ACM Codec that is supported by Windows Media Player. (iii) Installed the Lame Mp3 Codec (iv) Installed the K-Lite Codec The process itself is a worker process and is running under full trust. The code itself reads the mp3

The remote host closed the connection Error, how fix?

依然范特西╮ 提交于 2019-12-01 13:47:47
问题 i am using elmah -> Elmah.axd in my project for finding errors. there is an error like this : System.Web.HttpException: The remote host closed the connection. The error code is 0x800703E3. Generated: Sun, 27 Nov 2011 13:06:13 GMT System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Web.HttpException (0x800703E3): The remote host closed the connection. The error code is 0x800703E3. at System.Web.Hosting.IIS7WorkerRequest

LDAP Search with winldap.h on AD Server

半腔热情 提交于 2019-12-01 12:19:14
I am trying to do a LDAP search and it is not working on my Active Directory Test Server. I use this code: #include <winldap.h> ... LDAP* ld = ldap_init("AD-servername", 389); int myVersion =LDAP_VERSION3; ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, &myVersion); ldap_connect(ld, NULL); //ldap_simple_bind_s(ld, NULL, NULL); I tried using this line too. but got the same error LDAPMessage *pMsg = NULL; int retVal = ldap_search_s(ld, "dc=myDomain,dc=extension", LDAP_SCOPE_SUBTREE, "(samAccountName=testaccount)", NULL, NULL, &pMsg); //retVal = 1 which is LDAP_OPERATIONS_ERROR What am I doing

What is the practical / hard limit on socket connections per server

我是研究僧i 提交于 2019-12-01 10:40:30
I have a number of client devices that open socket connection exposed by a service running on a Windows 2008 R2 server. I'm wondering if what is hard limit on the number of concurrent client connections. Len Holgate Assuming you select a sensible architecture for your server then the limit will be memory and cpu related. IMHO you'll never reach the hard limit that Martin mentions :) So, rather than worrying about a theoretical limit that you'll never hit you should, IMHO, be thinking about how you will design your application and how you will test it to determine the current maximum number of

What is the practical / hard limit on socket connections per server

*爱你&永不变心* 提交于 2019-12-01 07:57:46
问题 I have a number of client devices that open socket connection exposed by a service running on a Windows 2008 R2 server. I'm wondering if what is hard limit on the number of concurrent client connections. 回答1: Assuming you select a sensible architecture for your server then the limit will be memory and cpu related. IMHO you'll never reach the hard limit that Martin mentions :) So, rather than worrying about a theoretical limit that you'll never hit you should, IMHO, be thinking about how you

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

烈酒焚心 提交于 2019-12-01 06:51:15
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 once, it fails to include the App_Global.asax.compiled & App_Global.asax.dll in the bin directory. If it

Programmatically attaching a VHD to a remote Hyper-V VM

大憨熊 提交于 2019-12-01 06:26:49
Using Hyper-V Manager, I can connect to a remote VM host, go to the settings of a VM, and add an existing .VHD file as a new hard disk. If the VM host is running Server 2008 R2, and the disk is being attached to a SCSI controller, I can even do this while the VM is running (see What's new in Hyper-V R2 ). Doing this manually, everything works great. The trouble is, now I want to automate it so I can attach different VHDs on-the-fly during some automated tests. I already have C# code that connects to the remote VM host over WMI and starts/stops VMs by calling RequestStateChange , and I'd like

Accessing MSMQ via PowerShell

喜欢而已 提交于 2019-12-01 05:52:07
I have installed the MSMQ feature onto both server (win 2008 R2) and client machine (win 7) using the following Link . The Feature appears in the server manager and I am able to create a public or privet queue through the GUI. But when I come to try access the queue locally on the server through PowerShell (2.0) none of the Cmdlet's for MSMQ are recognized within the shell. Are there any further steps that I need to take to access MSMQ through PowerShell? Is there a MSMQ module that I need to load? Any advice on this would be appreciated. If you click up one level in the link you provided you

Accessing MSMQ via PowerShell

ε祈祈猫儿з 提交于 2019-12-01 03:48:36
问题 I have installed the MSMQ feature onto both server (win 2008 R2) and client machine (win 7) using the following Link. The Feature appears in the server manager and I am able to create a public or privet queue through the GUI. But when I come to try access the queue locally on the server through PowerShell (2.0) none of the Cmdlet's for MSMQ are recognized within the shell. Are there any further steps that I need to take to access MSMQ through PowerShell? Is there a MSMQ module that I need to