Questions tagged [windows-server-2003]
Windows Server 2003 (sometimes referred to as Win2K3) is a server operating system produced by Microsoft, introduced on 24 April 2003.
1,219
questions
657
votes
34
answers
574k
views
How do I measure execution time of a command on the Windows command line?
Is there a built-in way to measure execution time of a command on the Windows command line?
534
votes
13
answers
2.3m
views
How do I determine if a port is open on a Windows server? [closed]
I'm trying to install a site under an alternative port on a server, but the port may be closed by a firewall. Is there a way to ping out or in, on a specific port, to see if it is open?
183
votes
19
answers
207k
views
How do I 'svn add' all unversioned files to SVN?
I'm looking for a good way to automatically 'svn add' all unversioned files in a working copy to my SVN repository.
I have a live server that can create a few files that should be under source ...
151
votes
17
answers
135k
views
How can a windows service programmatically restart itself?
I need to write robust code in .NET to enable a windows service (server 2003) to restart itself. What is the best way to so this? Is there some .NET API to do it?
90
votes
27
answers
311k
views
Error message: (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)
I am trying to deploy my website on windows server 2003.
Am i missing something or what is wrong from the following error message, how can I correct it? Thank
I am having the error message:
A ...
60
votes
3
answers
373k
views
Multiple -and -or in PowerShell Where-Object statement
PS H:\> Invoke-Command -computername SERVERNAME { Get-ChildItem -path E:\dfsroots\datastore2\public} | Where-Object {{ $_.e
xtension-match "xls" -or $_.extension-match "xlk" } -and { $_....
56
votes
4
answers
130k
views
What possibilities can cause "Service Unavailable 503" error? [closed]
we have a asp.net MVC application deployed to a server, and but when there is too many request to the server, the client will just get a "503 service unavailable" error.
But if I deployed the ...
50
votes
5
answers
205k
views
how to get list of port which are in use on the server [closed]
How to get list of ports which are in use on the server?
48
votes
9
answers
187k
views
Apache and IIS side by side (both listening to port 80) on windows2003
What are some good ways to do this? Is it even possible to do cleanly?
Ideally I'd like to use packet headers to decide which server should handle requests. However, if there is an easier/better way ...
42
votes
10
answers
97k
views
The name 'ViewBag' does not exist in the current context
I have a Windows 2003 R2 server. I have to run a .NET MVC3 website.
I already installed all the Runtimes (1,2 and 4), i have installed all the MVCs frameworks (3 and 4) but this error doesn't go away.
...
41
votes
1
answer
137k
views
Batch file to restart a service. Windows [closed]
How can I restart a windows service using a .bat file?
I am on windows server.
33
votes
6
answers
38k
views
What might be causing the "The client disconnected" ASP.NET exception?
My .NET 3.5 application sporadically throws the following exception System.Web exception:
The client disconnected
Why is this exception occurring? My application is running on a load balanced ...
30
votes
8
answers
22k
views
Cannot get Remote Debugging working with VS2010
I have a server and a workstation on the same corporate domain. My user is a local administrator on both machines. I have Installed the VS2010 version of MSVSMON and set it to run as a service on the ...
27
votes
12
answers
162k
views
Windows command to get service status?
I need to know the status of a service at the end of my batch script which restarts services using "net stop thingie" and "net start thingie".
In my most favorite ideal world, I would like to e-mail ...
24
votes
1
answer
36k
views
How can you get a .NET 4.5 website to run on IIS6?
I've got an old Windows 2003 server running IIS 6, and I chose .net 4.5 for my latest web app. Problem is I can't get it to run on the server...
.NET 4.0 framework is installed. I've run ...
24
votes
1
answer
58k
views
Does .NET Framework 4.5 work on Windows Server 2003?
Can anyone tell me if Microsoft .NET Framework 4.5 is compatible with Windows Server 2003 or not?
23
votes
4
answers
30k
views
Should SQL Server be on the same machine as your IIS installation? [closed]
I'm listening to podcast #19 and Joel and Jeff are arguing about running SQL Server on the same machine as your IIS installation. I have to say that it sounds like Jeff folded to Joel, but then again ...
23
votes
2
answers
5k
views
how to allow files starting with period and no extension in windows 2003 server? [closed]
How can I create this file in a directory in windows 2003 SP2:
.hgignore
I get error: You must type a file name.
22
votes
2
answers
77k
views
Is LDAP a TCP or a UDP protocol?
I have got some wireshark captures, and it shows that it is UDP. But in theory it says that it uses both TCP and UDP. So I m confused. And what is the difference b/w LDAP and CLDAP? Are they both UDP ...
21
votes
9
answers
11k
views
Sed creates un-deleteable files in Windows
I'm trying to run the following command in Windows Server 2003 but sed creates a pile of files that I can't delete from the command line inside the current directory.
for /R %f in (*.*) do "C:\...
20
votes
7
answers
79k
views
How to restart program automatically if it crashes in Windows? [closed]
How can I start my program automatically if it crashes on windows 2003 server? Sometimes my program just crashes, is there a way in windows or settings that I can set?
19
votes
10
answers
78k
views
Batch Script to Install or Uninstall a .NET Windows Service
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 ...
19
votes
7
answers
57k
views
The MSDTC transaction manager was unable to pull the transaction from the source transaction manager due to communication problems
I have hosted my WebApp on server 1 and my database on server 2
But I'm getting following error
Communication with the underlying transaction manager has failed.
I googled and found a post which ...
17
votes
7
answers
115k
views
C# System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send
I'm getting this error on just one server running Windows Server 2003:
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send.
Here's my code... Any ...
16
votes
10
answers
33k
views
Installing ImageMagick extension with php/windows
Running PHP Version 5.2.5 on Windows Server 2003 with IIS.
Have virtually an identical server where we were able to install ImageMagick with no issues. It's running exactly the same version of php. ...
15
votes
5
answers
39k
views
How do you tell IIS 6 to set the .NET version to 2.0 (not 1.1) When New sites are created?
We create new sites in IIS 6 (Windows Server 2003) using IIS Manager. When these sites are created in IIS 6, the ASP.NET version defaults to ASP.NET 1.1. We would like it to default to ASP.NET 2.0. ...
15
votes
1
answer
30k
views
Access to the registry key 'Global' is denied
While giving permissions to the 'defaultAppPool' user I am getting the message 'There is no such global user or group: DefaultAppPool.' Can anyone help me here!
However, using command 'net localgroup "...
15
votes
8
answers
117k
views
ODBC Administrator Can't Find Oracle TNS Names File
With a new Oracle Installation when I go to Configuration Management Tools > Microsoft ODBC Administrator > System DSN > Add > [new installation] it does not have the TNSNAMES.ora ...
15
votes
1
answer
868
views
Client collation and SQL Server 2005
We're upgrading an existing program from Win2k/SQL Server 2k to Windows 2003 and SQL Server 2005 as well as purchasing a new program that also uses 2k3/2k5. The vendor says that for us to host both ...
14
votes
1
answer
14k
views
Why would Process.WaitForExit throw a "no process" exception even when a process does exist?
I have a windows service containing this code:
public static void ExtractTextInner(string source, string destination)
{
ProcessStartInfo startInfo = new ProcessStartInfo();
...
13
votes
2
answers
8k
views
Is it safe to delete the 3 default databases created during a PostgreSQL install?
I installed a default installation of PostgreSQL 8.4 on Windows 2003 Server, using the one-click installer provided. Running psql -l for the first time, I noticed there are three databases installed ...
13
votes
10
answers
58k
views
Starting a windows service fails with error 1053
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 ...
13
votes
1
answer
18k
views
Integrated Windows Authentication for Multiple Domains
I have Asp.net website for domain A users with the Integrated Windows Authentication.
Now users from domain B need to access the website.
But Domain B users receive pop-up window to input the ...
12
votes
2
answers
17k
views
Visual Studio Web Deploy to IIS 6
Has anyone successfully used the new Web Deploy feature of VS2010 to deploy a web site to IIS 6 running on Windows Server 2003?
When I try I get the following error:
Web deployment task failed. ...
12
votes
9
answers
166k
views
Domain Account keeping locking out with correct password every few minutes
I have user whos account is keeping locking out every 30 minutes. Done all the checks, remove any cache passwords, created new profile, delete password from IE.
It locks out even when user is using ...
12
votes
3
answers
18k
views
Where do I get resgen.exe to use with NANT?
I am simply trying to run NANT with resgen, but I can't seem to find what I need to download to have it available in 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin\resgen.exe' on my server.
...
12
votes
3
answers
8k
views
NT Eventlog single message size
Can anybody tell me what is maximum size of a windows NT log message? I know that it is possible to reset the maximum log size of event log from 32 MB. I am interested about the memory a single ...
12
votes
3
answers
10k
views
Performance counter created but not working until windows restart
I have a strange problem creating new counters in existing group. I have a windows service, which does some work and allow me to monitor its state via performance counter. I have performance counters ...
12
votes
2
answers
10k
views
Max Outgoing Socket Connections in .NET/Windows Server
I have a slightly unusual situation where I'm needing to maintain CLIENT tcp connections to another server for thousands of mobile users on my servers (basically the mobile devices connect to my ...
12
votes
1
answer
5k
views
Can't connect to server over HTTPS which uses a SHA2 certificate using MSXML2.ServerXMLHTTP
We updated our SSL certificate to SHA2, but the intermediate certificate was SHA1. Chrome and other browsers have decided that the entire chain must be SHA2. Our customers were calling concerned about ...
11
votes
6
answers
117k
views
ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
I created a Windows 2003 R2 Virtual Machine running on VirtualBox and I installed Oracle (10201_database_win32).
I assigned a static IP on the Virtual Ethernet too.
Everything worked great right ...
11
votes
1
answer
12k
views
Running Windows native commands (e.g. VOL) from Cygwin
I have a CentOS box able to access a Windows box's Cygwin via ssh. I want to run ssh me@windowsbox 'vol F:' in a script to capture the name and serial number of a plugged-in USB drive, but I get:
...
11
votes
4
answers
17k
views
Configuring Ruby On Rails App in a subdirectory under Apache
I've got apache2.2 on windows. I'm trying to serve both subversion (/svn) and redmine (/redmine). I have svn running fine with this config:
<Location /svn>
DAV svn
SVNParentPath C:/...
11
votes
3
answers
11k
views
Why does my c# Windows service stop running without any messages being written to the application event log?
I am fairly new to Windows services. I created an installer for my c# Windows service and the installation on the server (Windows Server 2003) appears to have worked. When it's started, it writes ...
10
votes
3
answers
10k
views
Reproducing the blocked exe "unblock" option in file properties in windows 2003
When I download my program from my website to my windows 2003 machine, it has a block on it and you have to right click on the exe, then properties, then select the button "Unblock".
I would like to ...
10
votes
5
answers
52k
views
Exporting ODBC System DSNs from a windows 2003 machine?
Is there a way to export all the ODBC System DSNs from a windows 2003 machine?
10
votes
6
answers
47k
views
Application Pools not starting after iisreset
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 ...
10
votes
4
answers
11k
views
How to remove index.php in codeigniter on Windows Server and IIS?
How to remove index.php in codeigniter on Windows Server and IIS?
I found this when i search for answer
How to rewrite the index.php of Codeigniter on Windows Azure
but when i try my CI still ...
9
votes
7
answers
61k
views
Why is IIS not serving aspx pages?
I'm deploying an ASP.NET application to Windows Server 2003 under IIS
IIS is serving html pages fine but I get a page not found when I try and serve IIS pages
9
votes
4
answers
11k
views
Disable debug prompt on application crash
Question:
I need to disable the console application's crash debug prompt.
Background:
We've got an application that syncs info with a third party that crashes due to connectivity problems with the 3rd ...