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 ...

107
votes
7answers
181k views

How to set a JVM TimeZone Properly

I am trying to run a Java program, but it is taking a default GMT timezone instead of an OS defined timezone. My JDK version is 1.5 and the OS is Windows Server Enterprise (2007)Windows has a ...
110
votes
14answers
202k views

Gradle proxy configuration

I need web access from Gradle through a proxy server to use the Gradle/Artifactory integration for Jenkins. To reduce possible causes for issues, I manually add the Artifactory plugin in build.gradle ...
79
votes
5answers
195k views

IIS7 folder permissions for web application

I am using windows authentication without impersonation on my company's intranet website with IIS7.Under IIS7, what account is used to access the folder which contains my web app using these ...
51
votes
9answers
89k views

ASP.NET 4.5 MVC 4 not working on Windows Server 2008 IIS 7

Clearly I'm missing something, I'm unable to deploy a simple ASP.NET MVC 4, .NET 4.5 app on a Windows Small Business Server 2008 on IIS 7..NET framework 4.5 is installed.Should I be supposed to ...
21
votes
4answers
18k views

Automating Office via Windows Service on Server 2008

We have a Windows Service which runs on 2003 Server. It opens a source Word document using the Word Interop and then does some stuff with it. It also does likewise with Excel and PowerPoint files. ...
18
votes
5answers
14k views

How do I run a Play Framework 2.0 application as a Windows service?

I have a Play Framework 2.0 application that I want to deploy (production) on Windows Server 2008 R2. How do I get it to run as a service?
19
votes
6answers
12k views

Capture screen on server desktop session

I have developed a GUI test framework that does integrationtesting of our company website on a scheduled basis. When something fails, it'll take a screenshot of the desktop, among other things. This ...
18
votes
7answers
159k views

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 ...
27
votes
4answers
41k views

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 ...
32
votes
7answers
55k views

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 ...
3
votes
2answers
6k views

I've been hacked. Evil aspx file uploaded called AspxSpy. They're still trying. Help me trap them‼

I'm also putting up the contents of the .aspx file that was uploaded. When I try to access it, I get prompted for a password, looking at the code, there's a harcoded password but it looks like some ...
12
votes
2answers
33k views

Need to execute *.exe in server from ASP.net

My current situation is that I need to execute an exe(which creates a local .txt file) in remote server with IIS hosting an ASP.net/C# API. I created a local user(say userA) as admin to run the web ...
7
votes
2answers
5k views

File.GetLastWriteTime seems to be returning 'out of date' value

I have written a tool to collect log files within a time window specified by the user of the tool. Up until now I was basing the collection of log files by using the File.GetLastWriteTime method on ...
48
votes
8answers
69k views

How do I overcome the “The symbolic link cannot be followed because its type is disabled.” error when getting the target of a symbolic link?

Following on from a previous question, I am creating a symbolic link on a Server 2008 from a Vista machine using UNC paths. I can create the link just fine. I can go to the Server 2008 box and double ...
32
votes
11answers
184k views

ActiveX component can't create object

I have just installed a third party app on my Windows Server 2008 serverand I get the ActiveX Component can't create objectmessage when I try to access using a CreateObject in VBScript.It is ...
32
votes
2answers
18k views

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 ...
8
votes
3answers
10k views

Windows 2008 RenderFarm Service: CreateProcessAsUser “Session 0 Isolation” and OpenGL

I have a legacy Windows server service and (spawned) application that works fine in XP-64 and W2K3, but fails on W2K8. I believe it is because of the new "Session 0 isolation" feature.Consequently, ...
10
votes
2answers
16k views

create local user account

i have this code to create a local windows userpublic static bool CreateLocalWindowsAccount(string username, string password, string displayName, string description, bool canChangePwd, bool ...
38
votes
5answers
88k views

ASP.Net which user account running Web Service on IIS 7?

I want to know which account running my Web Service/Application so that I can assign the read/write access to that account. I have researched and see most of the sources mentions about ASPNET account, ...
10
votes
5answers
29k views

How to check in delphi the OS version? Windows 7 or Server 2008 R2?

I always used to check the windows versions by their major/minor build numbers. Strangely enough, Windows 7 and Server 2008 R2, both return the same major/minor version number combination.Confirm ...
37
votes
6answers
43k views

Windows service app.config location

I have installed a C# Windows Service on Windows Server 2008. I installed it with InstallUtil. The service reads some data from the app.config file and it is doing it fine. Can you tell me where this ...
31
votes
2answers
17k views

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 ...
23
votes
2answers
22k views

How to start git daemon on Windows

How do I start the git daemon on Windows in order to allow it to begin serving requests? Seems like msysgit is supposed to install it as a Windows Service or something but I don't see one.
21
votes
5answers
11k views

How do you get WatiN to work on Windows Server 2008 with IE8?

My problem is that I cannot get a simple WatiN test to reliably work on my development machine which is running Windows Server 2008 and IE8.I have seen a couple of good posts on this, but am still ...
16
votes
1answer
20k views

WCF .NET 4.5 on Windows Server 2008 R2

In Windows Server 2008 R2, I cannot activate WCF Http/Tcp Activation windows features for .net 4.5 from Server ManagerServer manager in Windows Server 2008 R2 does not support .net 4.5, even though ....
7
votes
3answers
2k views

IIS7 Impersonation doesn't work to access TFS repository

I'm trying to build an ASP.NET page that adds a work item in TFS.I have enabled impersonation and Windows authentication:<authentication mode="Windows" /><identity impersonate="true" ...
5
votes
2answers
28k views

How to run ASP.NET C# web application locally?

For a web application I am using ASP.NET C# (OS- Windows7, .NET 4) and the task has done. But I don't know how to run it locally in Windows7 as well as in Server 2008(.NET 4 and IIS installed in ...
5
votes
7answers
65k views

Batch runs manually but not in scheduled task

I don't generally write batches, but I currently have a batch that uses forfiles to copy my FLVs from one folder to another. When I run the batch manually it works every time, but from a scheduled ...
235
votes
10answers
289k views

Create directory if it does not exist

I am writing a PowerShell script to create several directories if they do not exist.The filesystem looks similar to thisD:\D:\TopDirec\SubDirec\Project1\Revision1\Reports\D:\TopDirec\SubDirec\...
31
votes
3answers
47k views

Add writing permission to PHP on IIS 7

I need a PHP script to have writing permission in a directory. PHP 5.3 is running as FastCGI under IIS 7 with windows server 2008 as OP. On my php error logs, I got "permission denied" when the script ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,