Questions tagged [windows-server-2008]

Windows Server 2008 (sometimes abbreviated as "Win2K8") is one of Microsoft Windows' server line of operating systems. Released to manufacturing on February 4, 2008, and officially released on February 27, 2008, it is the successor to Windows Server 2003, released nearly five years earlier. A second release, named Windows Server 2008 R2, was released to manufacturing on July 22, 2009. Like Win Vista and Win 7, Win Server 2008 is based on Windows NT 6.x.

2769 questions
40
votes
7 answers

Specifying the running directory for Scheduled Tasks using schtasks.exe

I have an application which gets called by a scheduled task. It moved from Windows Server 2003 to Windows Server 2008. On 2003, the app ran in the directory where the executable was located. On 2008 Environment.CurrentDirectory (C#) reports that…
38
votes
8 answers

Import-Module : The specified module 'activedirectory' was not loaded because no valid module file was found in any module directory

I am having trouble doing an import-module ActiveDirectory on a Server 2008 SP2 (64 bit). NET Framework 3.5 SP1 is installed I download the Windows6.0-KB968934-x86.msu (for ADWS) This file did not install saying that "The update does not apply to…
KidBomba
  • 431
  • 1
  • 5
  • 8
36
votes
4 answers

Build Visual Studio project through the command line

I am running an ASP.NET website from a Windows Server 2008 installation, and I like to edit the pages through the command line since I ssh into the server. I installed Vim on the server so that I can edit the files easily. If I edit HTML and CSS and…
user708774
  • 493
  • 1
  • 4
  • 7
36
votes
2 answers

Turn IIS7 HTTP Error Handling Off?

I just got setup on my first Windows Server 2008 / IIS7.5 server for a contest I am participating in. I can't for the life of me figure out how to turn OFF error handling COMPLETELY. The only options I see are: Custom Detailed Detailed Local,…
Vance Lucas
  • 2,688
  • 1
  • 23
  • 21
35
votes
12 answers

ActiveX component can't create object

I have just installed a third party app on my Windows Server 2008 server and I get the ActiveX Component can't create object message when I try to access using a CreateObject in VBScript. It is definitely installed and exists under "Programs and…
GordyII
  • 6,597
  • 16
  • 48
  • 68
35
votes
8 answers

How to get current user who's accessing an ASP.NET application?

To get the current logged in user at the system I use this code: string opl = System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString(); I work on an ASP.NET application where I need this information. So I've put my application on a…
Tassisto
  • 8,589
  • 27
  • 91
  • 140
34
votes
2 answers

Is there any way for a win2k8 scheduled task to have normal priority IO?

I have a scheduled task that is very IO intensive (deleting hundreds of thousands of files). For disk space reasons, this job has to be performed reasonably quickly. On win2k8, scheduled tasks always have a low IO priority. Raising the priority…
Jason Mathison
  • 1,003
  • 1
  • 9
  • 17
34
votes
13 answers

The FastCGI process exited unexpectedly

I am trying to run PHP via FastCGI on a Windows 2008 server. I followed this installation doc http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis7/ and have checked I completed the steps correclty numerous times.…
Hamamelis
  • 1,777
  • 8
  • 22
  • 38
33
votes
1 answer

How to stop/start IIS 7 application through command line?

I would like to create a batch file to start one IIS application, and stop another one. How it can be done using command line? How to combined it in batch file?
Eugene
  • 977
  • 2
  • 11
  • 19
32
votes
6 answers

Getting 404.0 error for ASP.NET MVC 3 app on IIS 7.0 / Windows Server 2008

I am attempting to deploy an ASP.NET MVC 3 application to a Windows 2008 x64 server (running IIS 7.0 obviously), and IIS does not want to seem to serve up the content properly. All requests are resulting in a 404.0 error, because the requests are…
29
votes
5 answers

TortoiseSvn and Windows Server 2008 user account control

Here is the question: Can TortoiseSvn work on Windows 2008 without turning off User Account Control? Here is the story: I just moved my test server to Windows 2008 and I am having problems with TortoiseSvn. I am logged on as an administrator, but…
Mark Arnott
  • 1,966
  • 3
  • 17
  • 28
28
votes
7 answers

A process crashed in windows .. Crash dump location

A windows process got crashed for some reason. I need to analyse the crash dump. In Windows 2003 PC health helped us to find the crash dump file. How to get the crash dump file location in Windows 2008?
suresh
  • 3,854
  • 9
  • 40
  • 54
28
votes
3 answers

SC Delete Not Deleting Service

So I'm running Windows Server 2008 R2 Standard and am trying to delete a service with 'sc delete ' and the command seems to execute without complaint, however, when I check the services list after running the command, the service is…
Drew
  • 2,417
  • 4
  • 34
  • 51
28
votes
1 answer

What are practical limits on the number of FileSystemWatcher instances a server can handle?

I have a windows service that is currently instantiating about a dozen FileSystemWatcher instances to monitor shared folders across the corporate network for files to be processed. I am looking into adding more instances so I'm wondering if anyone…
Dean Kuga
  • 11,160
  • 7
  • 52
  • 102
27
votes
5 answers

How to enable "World Wide Services (HTTP)" in the firewall using command line?

I'm trying to share my site in the local network. I want to use command line tool to perform this action. Manually: To enable http access through Windows Firewall on Windows 7. From the start menu begin typing "Allow a program through Windows…
NieAR
  • 1,345
  • 6
  • 18
  • 30