windows-server-2003

How to remove index.php in codeigniter on Windows Server and IIS?

纵饮孤独 提交于 2019-12-09 09:28:35
问题 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 need index.php to run whre the web.config file must be add and is there any other step before i edit my web.config? 回答1: If URL Rewrite module is not installed, please install it from here http://www.iis.net/downloads/microsoft/url-rewrite Please check the complete web.config file. Place this in the same

Why would Process.WaitForExit throw a “no process” exception even when a process does exist?

半城伤御伤魂 提交于 2019-12-08 15:17:15
问题 I have a windows service containing this code: public static void ExtractTextInner(string source, string destination) { ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = EXTRACTOR_EXE_FILEPATH startInfo.Arguments = "\"" + source + "\" \"" + destination + "\""; startInfo.CreateNoWindow = true; startInfo.WindowStyle = ProcessWindowStyle.Hidden; Process process = new Process(); process.StartInfo = startInfo; process.Start(); process.WaitForExit(); int exitCode = process

Permission differences between windows service and console application

此生再无相见时 提交于 2019-12-08 12:39:29
问题 I'm developing an application with a smart card involved (digital signature). Let's assume that we have the same code in this two contexts: Console application, executed by Administrator user Windows Service, executed by Administrator user I suposed that if this two codes were executed by the same user they would have the same privileges. It seems that this is not true. When I try with the Windows Service (Executed with Administrator user) i receive TargetInvocationException

Mercurial & Windows Server 2003

这一生的挚爱 提交于 2019-12-08 07:06:32
问题 I just set up Mercurial on our main webserver, hosting repositories via hgwebdir.cgi. The problem I'm having now is when I run hg push from my local machine to the server's repository, it takes an absolutely ridiculous amount of time to push a very small directory, with only a single changeset. Is it possible that I've set something up wrong? I keep getting HTTP Error 502: Bad Gateway. Thanks! 回答1: Looks a bit like issue 2716 which suggests: Here's a workaround for the problem you are having,

Using a custom URL rewriter, IIS6, and urls with .htm, .html, etc

纵饮孤独 提交于 2019-12-08 06:28:21
问题 I have a custom site I'm building with automatic url rewriting using a custom engine. The rewriting works fine as long as the page url doesn't end in somehting like .htm or .html. For these pages it goes directly to the iis 404 page instead of hitting my rewriting engine first. I have the * wildcard handler in the "Home Directory" section of the IIS6 configuration of that website but these urls seem to be ignored by it (altho things like css, jpg, js, etc to get sent to the url handler in my

How do I run my app with large pages in Windows?

社会主义新天地 提交于 2019-12-08 03:36:54
问题 Large pages are available in Windows Server 2003 and Windows Vista . But how do I enable large pages for my application? 回答1: Martin's answer is correct on Windows Server 2003: You will have to assign the "Lock pages in memory" privilege to any user that runs your > application. This includes administrators Select Control Panel -> Administrative Tools -> Local Security Policy Select Local Policies -> User Rights Assignment Double click "Lock pages in memory", add users and/or groups Reboot

Is activemq reliable?

僤鯓⒐⒋嵵緔 提交于 2019-12-07 23:44:32
问题 We have put ActiveMQ on a fresh server. Configured it to use 'kahadb' (the preferred as we read) and set it to allow the file to expand to 2gb. Then when we put load on the queue (+- 500/sec), within a few minutes activemq crashes. When ActiveMQ tries to restart, it can't because the db is corrupt: 2010-11-29 13:00:50,359 | ERROR | Failed to start ActiveMQ JMS Message Broker. Reason: java.io.EOFException | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain java.io.EOFException at

Windows Service in .net cannot resolve tns service name

泪湿孤枕 提交于 2019-12-07 12:46:18
问题 I have moved a component of our application from a webservice to a Windows Service. It connects to oracle perfectly from the webservice but refuses to see the Tns names from the Windows service. I have given full control to the ORAHOME dir to the account the service is running under. I have also checked the service account permission to the registry by using runas regedit as the service account and it can see HKLM\SOFTWARE\ORACLE\HOME0 details and HKLM\SOFTWARE\ORACLE\ALL_HOMES. All the

How can I kill a process, using VBScript, started by a particular user

偶尔善良 提交于 2019-12-07 05:49:15
问题 I have multiple users running attachemate on a Windows 2003 server. I want to kill attachemate.exe started by user_1 without killing attachemate.exe started by user_2. I want to use VBScript. 回答1: You could use this to find out who the process owner is, then once you have that you can use Win32_Process to kill the process by the process ID. MSDN Win32_Process class details MSDN Terminating a process with Win32_Process There is surely a cleaner way to do this, but here's what I came up with.

iis: Integrated Windows authentication still pops up account info login

北战南征 提交于 2019-12-07 01:46:44
问题 I have a website running on a Windows 2003 server on IIS 6, serving pages for a LAN where everybody is working with a domain account. On other machines this works fine, no-one has to login to the website, the dynamic scripts pick-up the account-name from the HTTP request. Only, when browsing from the server itself (via remote desktop e.g.), Internet Explorer still pops up the domain-login-dialog when navigating to this site. (both the usual URL and http://localhost/). This was no problem on