windows-server-2008

HTTP.SYS Kernel mode driver

左心房为你撑大大i 提交于 2019-12-03 16:01:55
What is the big deal with HTTP.SYS in IIS 7? From what I understand, it is low level which is good for security. Why? There is no context switching which could be expensive. Why? Please explain. Thanks! Lex Li The benefits are already well documented, http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/a2a45c42-38bc-464c-a097-d7a202092a54.mspx?mfr=true By using HTTP.sys to process requests, IIS 6.0 delivers the following performance enhancements: Kernel-mode caching. Requests for cached responses are served without switching to user mode. Kernel-mode request queuing.

Disable “application has stopped working” window

泪湿孤枕 提交于 2019-12-03 15:44:23
We got a .NET WCF service that should be 100% uptime ideally. But sometimes we have a memory leaking issues in our application that caused by 3rd party DB connectivity component. We configured nnCron to watch for process existence and when the process of that service is exited, it should start it again. But when the app is crashing down windows pops up an noisy window informing that app has crashed. Here it is: And only when we click on dumb "Close the program" button, the process really disappearing from system. And only after that nnCron restart service. We don't want to monitor this window

Why won't my MVC project work after publishing it?

好久不见. 提交于 2019-12-03 14:26:43
I recently published my first MVC 2 project to a commercial web server, running Windows 2008, and which purportedly supports other MVC sites without issue, but have been experiencing some problems. Here is the high-level structure of the project. As you can see, it is very simple: But, after the site is published, and I navigate to the URL, I get "HTTP Error 403.14 - Forbidden: The Web server is configured to not list the contents of this directory." So, I contacted the web host about it and was told I had to include a default landing page, such as Default.aspx, Index.aspx, etc. I doubted this

Installing Oracle 10 ODP.NET on Microsoft Windows 2008 Server 64bit

两盒软妹~` 提交于 2019-12-03 14:11:11
问题 I've tried to install " Oracle10g Release 2 ODAC (64-bit) 10.2.0.3 for Windows x64 " from: http://www.oracle.com/technology/software/tech/windows/odpnet/64-bit/index.html on Windows 2008 server 64bit , but it crushes right after i run the setup.exe with the following error: Problem signature: Problem Event Name: APPCRASH Application Name: javaw.exe Application Version: 5.0.40.5 Application Timestamp: 42a019e4 Fault Module Name: StackHash_5c81 Fault Module Version: 6.0.6001.18000 Fault Module

ASP.net C# requires IIS restart when new DLL copied to BIN directory

荒凉一梦 提交于 2019-12-03 13:48:07
We are receiving a problem whereby every time we copy a dll to the bin directory, our main domain on the website grinds to a halt and the only way to bring it back up is by restarting the "WWW Publishing Service". We run a website which contains a number of IIS applications running off a single server where each of these applications are configured to run off different application pools. We have a large codebase which contains over 280 aspx pages across the site. Our main domain contains about 100 aspx pages whilst the subdomains contain 15 or 20 each. When we do a build we are currently

Word Interop Not Working In A Scheduled Task

半腔热情 提交于 2019-12-03 12:57:52
问题 I'm currently developing a script that takes a Word document, opens it up in Word, and then prints the Word file as a PDF. Everything works great when run manually either on my machine or the server. The problem comes in when I attempt to run it as a scheduled task. One of the requirements is that this should be done nightly without any intervention. When I set up a schedule task to do this and set the security options to "Run only when user is logged on" everything works fine. Problem is,

.NET Ionic.Zip : Compressed or Uncompressed size, or offset exceeds the maximum value

最后都变了- 提交于 2019-12-03 12:33:56
I have the following set up: Win2008 server Ionic.zip reference module A seperate drive for building the zip files .NET 4.0 The web app builds zip packages, on the fly, and allows the client to download the package. This system has worked wonderfully... until now. Recently we added some larger files (2GB to 11GB) that all need to be wrapped up in a package before downloading to the client. Originally I had this system set up to happen all on the C: (a mistake). Right away, especially with the larger sized files, I started getting "There is not enough space on the disk" errors. The first thing

The MSDTC transaction manager was unable to pull the transaction from the source transaction manager due to communication problems

≯℡__Kan透↙ 提交于 2019-12-03 12:24:51
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 mentioned that it is the issue of DTC(Distributed Transaction) I enabled DTC on server2(DB server) and made an exception of it in Firewall. But still same error. Here is the full stack trace Message: System.Transactions.TransactionManagerCommunicationException: Communication with the underlying transaction manager has failed. ---> System.Runtime.InteropServices.COMException: The MSDTC transaction

My script won't run under the task scheduler. Why?

北战南征 提交于 2019-12-03 09:08:42
问题 I have a vbscript script that I runs fine when I am running it myself. For some reason, when I run it under the task scheduler as an administration user, it runs, but doesn't even write to my log file. It shouldn't be permissions, as the user I run it under is adminstrator. Its a script calling 32 bit dlls on a Win2008 64 bit machine. C:\windows\SysWOW64\cscript.exe Bob.vbs I also set the local directory to where I run it from. Ironically the task scheduler says that "successfully finishes"

Redis server can't run more than 1024M maxheap

…衆ロ難τιáo~ 提交于 2019-12-03 08:49:20
问题 I am running Redis 2.8.19 on Windows Server 2008. I get an error saying that I have insufficient disc space for my Redis heap. (The memory mapping file instead of fork()). I can only get Redis running, if I have 'maxheap 1024M' in the cfg, even though I have ~50GB of free space on the directory I have set 'heapdir' to. If I try to run it with higher maxheap, or with no maxheap, I get this error (PowerShell): PS C:\Users\admasgve> cd D:\redis-2.8.19 PS D:\redis-2.8.19> .\redis-server.exe [7476