windows-server-2008

java getRuntime().exec an exe that requires UAC

我与影子孤独终老i 提交于 2019-12-19 04:55:51
问题 So we have a java process that runs as a windows service. It needs to execute a command with Runtime.getRuntime().exec(command) . The command it executes requires UAC. This is on windows server 2008 and sounds like you cannot disable UAC for a single executable so is there any other way to make this work? 回答1: If your Java application runs as a windows service, it most likely runs under one of the system accounts: SYSTEM (most probable), LOCAL SERVICE, or NETWORK SERVICE. Thus if the service

Windows Server 2008 as development machine - step by step

折月煮酒 提交于 2019-12-18 10:36:18
问题 I have found many tutorials about using Windows Server 2003 as a development machine, and very little information about Windows Server 2008 for the same purpose. For a nicer experience, I have followed the steps from Convert your Windows Server 2008 to a Workstation. I am searching for the requirements and installation order for IIS 7 with IIS 6 compatibility mode, .NET Framework 3.5 SP1 (does it require the installation of .NET Framework 3.0 feature, or can be installed directly), SQL Server

Error setting up Mercurial on Windows Server 2008

那年仲夏 提交于 2019-12-18 05:02:55
问题 I want to set up a Mercurial SC server and have been following the instructions found here: http//stackoverflow.com/questions/818571/how-to-setup-mercurial-and-hgwebdir-on-iis I have checked all my settings multiple times and cannot seem to get passed this error after completing the configuration. Any advice would be helpful. Thank you. Server Error in Application "DEFAULT WEB SITE/HG"Internet Information Services 7.5 Error Summary HTTP Error 502.2 - Bad Gateway The specified CGI application

Ruby on Rails on IIS?

陌路散爱 提交于 2019-12-18 03:06:09
问题 I'm writing a Ruby on Rails app that normally runs on Heroku or a Linux Box, but I'd need to deploy it to a Windows Server as well. The Server is a 64-Bit Win2008 Server with IIS 7.0 installed, so normally I'd prefer using IIS instead of setting up an Apache next to it. I just don't know if Ruby/Rails works with IIS? Do Gems work? Is 64-Bit an issue? I'm thinking of using Ruby 1.9.1 and Rails 2.3. 回答1: you must like pain because this deployment is going to hurt. I don't know if this is a

Applicationhost.config not showing changes

孤人 提交于 2019-12-17 20:24:00
问题 We have a webserver hosted in Microsoft Azure. It's a Windows Server 2008 R2 Datacenter edition, 64 bit. For a website hosted on this machine, I need to make changes to the applicationhost.config file. However, changes I made to IIS recently are not shown in the config. I've added a new application pool and added this specific website to that application pool. I restarted the website, the 'Date Modified' of the file is updated, but the application pool is not present. Right now I'm editing

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

三世轮回 提交于 2019-12-17 20:22:48
问题 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 server 2008). And I have to run it in both the platfrom . So any help please. Thanks a lot. 回答1: If you have IIS 7 installed on your Win 7 machine, then: Open you project in VS.NET Right click on your project's node in solution explorer and choose "Properties" Switch to the "Web" tab. Select the radio

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

筅森魡賤 提交于 2019-12-17 17:37:03
问题 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 of the process did not change the IO priority. Is there any way to get a scheduled task to have a normal IO priority? 回答1: Create the task Right click on the task and "export" it Edit the task.xml file that you just exported You will find a line

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

一个人想着一个人 提交于 2019-12-17 16:44:42
问题 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 this by typing ver into a command prompt 回答1: GetVersionEx. There is a chart of the version numbers and their associated editions here. Notice that the product type is different between 2008 R2 and Windows 7. 回答2: This works, and correctly detects many Windows Product Editions, including Windows XP,

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

我只是一个虾纸丫 提交于 2019-12-17 13:57:14
问题 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 the log files, comparing this to the times the user entered and collecting based on the outcome of these comparisions. Here is a small code snippet: DateTime logFileEnd = File.GetLastWriteTime(matchingActiveLogFile); However I noticed my tool didnt collect some log files I thought it should have

website using fluorine fx borken during migration

泪湿孤枕 提交于 2019-12-14 04:09:51
问题 we have asp.net website that has started giving following error after migration from win2k3 to win2k8r2 (mx.messaging.messages::ErrorMessage)#0 body = (Object)#1 clientId = (null) correlationId = "4D9A6C96-03CB-3175-FFB4-2CF0D4C4D6FE" destination = "" extendedData = (null) faultCode = "Client.Error.MessageSend" faultDetail = "Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: 'http://subdomain.domain.org/fluorinefx/gateway.aspx'" faultString = "Send failed" headers = (Object)