windows-server-2008

How to index Word 2003, 2007 and 2010 documents using Lucene.NET

I am writing a custom Lucene.NET indexer to enable indexing of MS Word documents. The indexer must be capable of handling last three releases of MS Word: 2010, 2007 and 2003. The plan is to use VSTO interop assemblies that are installed as part of VS2010 to extract text content from the documents. Is there a better way to implement Wor...

Searching for thread start parameters at top of stack

I've inherited some code that worked on Windows 2000 thats using a small piece of assembly code to locate the base address of the stack, then it uses an offset to grab the parameter value passed to the thread start function. However this doesnt work in Windows 2008 Server. The offset is obviously different. #define TEB_OFFSET 4 DWO...

w3wp.exe has high cpu usage on every request

I'm running a Windows 2008 server (a VPS with 1GB of RAM), with SQL Server Express and IIS 7 installed. On it I'm hosting a NopCommerce 1.7 website, with a database of around 26 000 products. Right now I'm the only user of the website (it's in development) and I'm getting rather bad performance from it. To be more specific every time I...

How to not wait to load a page while another one is not loaded

Hi, there is two files on a site. domain.com/1.asp domain.com/2.asp 1.asp takes at least 5 minutes to load (because it does too much thing) while 1.asp is doing its job, i try to open 2.asp (it monitors how 1.asp is going) but 2.asp doesnt load unless 1.asp is loaded. so how can i connect multiple files on a site i think this is abo...

How to use a 32 bit COM object on Windows Server 2008 (works on 2008 R2 but non 2008)

I am using the default DllSurrogate to enable automation of a 32bit COM object in 64bit. This works perfectly in Windows7 64 bit and Windows Server 2008 R2. However; regular flavor Windows Server 2008 (pre R2) completely ignores the DllSurrogate entry in the registry. I've researched this for days and found documentation that classic ...

Set server wide enviroment/server variable on IIS 7.5

As a unified way for our applications to detect downtime and server maintenance we'd like to know if there is a way to set a variable that can be set per application pool (or server) and read by PHP and ASP.NET. I know that it's possible to set FastCGI environment variables, but those aren't read by ASP. Any ideas? ...

Create a new file and write text in Javascript

Hello, I have a website on my own Windows Server 2008 R2. On it a user can write a text on a textarea, hit "Create file" and then: function myFunction() { var s=""; var dict = {}; var data = (s + "").split(""); [...] // More Javascript stuff here } There is a default file on my server called default.js which content ...