windows-server-2003

The underlying connection was closed: An unexpected error occurred on a receive

ぃ、小莉子 提交于 2020-01-03 18:42:08
问题 When I try my program on my win2k8 machine it runs fine but on win 2k3 it gives me this error that error message here's the code that' generating the error WebClient wc = new WebClient(); wc.DownloadFile("ftp://ftp.website.com/sample.zip"); there's the weird part. if i disable the firewall on the server completely. the error goes away. but it still errors if i add the program to the exception list and turn on the firewall. have search the web for days, couldn't find any solution. 回答1: You

Application Pools not starting after iisreset

做~自己de王妃 提交于 2020-01-01 03:15:06
问题 Before I start, I know using iisreset is considered bad practice, but this shouldn't happen anyway.. What we have: Several machines with IIS6 on Windows Server 2003 R2 (both 64 and 32 bits) Several WCF webservices (.NET runtime 2.0) deployed in several applications, each with it's own application pool, each application pool running under an other windows account. What happens: All appPools are started, all services operational IISReset is executed (or the machine is rebooted) IIS comes back

Batch Script to Install or Uninstall a .NET Windows Service

耗尽温柔 提交于 2019-12-31 08:48:13
问题 I have no experience writing batch scripts, but I was wondering if there was a way to install a .NET Windows service using installutil.exe using such a script, or uninstall the service if it is already installed, ideally with some kind of confirmation that I actually would like to perform the uninstall (e.g. press y to uninstall). Here are some details: The .exe for the service is located in the C:\Program Files\Data Service directory The script should be in the same directory as the .exe for

how to get list of port which are in use on the server [closed]

落花浮王杯 提交于 2019-12-31 08:42:54
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . How to get list of ports which are in use on the server? 回答1: Open up a command prompt then type... netstat -a 回答2: There are a lot of options and tools. If you just want a list of listening ports and their owner processes try. netstat -bano 回答3: TCPView is a Windows program that will show you detailed listings

how to get list of port which are in use on the server [closed]

北城以北 提交于 2019-12-31 08:42:37
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . How to get list of ports which are in use on the server? 回答1: Open up a command prompt then type... netstat -a 回答2: There are a lot of options and tools. If you just want a list of listening ports and their owner processes try. netstat -bano 回答3: TCPView is a Windows program that will show you detailed listings

Restart a WCF service after a server reboot

喜夏-厌秋 提交于 2019-12-31 03:54:19
问题 Is there some mechanism in WCF that can be used to "pre-start / warm-up" WCF services that are hosted in IIS ? - something like the warm-up scripts for SharePoint sites I have the situation where servers are re-booted over night and next day there is a long delay while the WCF services spin-up. I can't change the time-out in various applications that use the services, so the first users are reporting errors in the morning when they go to use their applications This is on Windows 2003 Server

Managing remote DACLs on fileshares: Win32_ACE to Win32_Share

China☆狼群 提交于 2019-12-31 03:04:07
问题 Goal: Add a local user account share-level Read/Write permissions to an existing file share. I'm hitting a roadblock in developing this. Apparently Microsoft wants you to add your user's ACE to the DACL and then back into the security descriptor of the share. (1). (No, NET SHARE /ADD is not available for existing shares, I was surprised.) In theory that should be simple enough, but my main fear is doing it wrong and losing the existing share permissions (lots of network users, specific groups

Application pool identity in IIS and Integrated security to SQL Server

人走茶凉 提交于 2019-12-30 11:01:13
问题 If I have an ASP.NET web app using impersonation and a SQL Server connectionstring with Integrated Security = true, does the identity of the IIS application pool of the app play any role? Does the identity need to be set to some specific user (LocalSystem, NetworkServices or a domain user)? This is on Windows 2003. 回答1: If the SQL Server is on a different box than IIS then the identity of the IIS application pool has to be trusted for constrained delegation. See How To: Use Protocol

Starting a windows service fails with error 1053

本秂侑毒 提交于 2019-12-28 17:31:45
问题 I have a windows service that is failing to start, giving an error "Error 1053: The service did not respond to the start or control request in a timely fashion". Running the service in my debugger works fine, and if I double click on the the service .exe on the remote machine a console window pops up and continues to run without problem - I can even see log messages showing me that the program is processing everything the way it should be. The service had been running fine previously, though

Configure SQL-SERVER without running service

余生颓废 提交于 2019-12-25 03:14:01
问题 Is it possible to change the location of the temp.mdf or other files without starting SQL-Server? I wanted to reactivate an old server but one of it's USB hard disk was been already used somewhere else. Now i'm unable to start the SQL-Server service in Configuration Manager. The event log has following entry: Event Type: Error Event Source: MSSQLSERVER Event Category: (2) Event ID: 17207 Date: 30.08.2011 Time: 15:53:10 User: N/A Computer: SQLSERV Description: FCB::Open: Betriebssystemfehler 3