iis

First request fails with HTTP 400 (Bad Request) after reading HttpRequest.InputStream

I develop an asmx web service (i.e. ASP.NET 2.0). There's a piece of code that may read the contents of the HTTP request (via HttpContext.Current.Request.InputStream) while processing it. I realise that InputStream may only be read once for a request, and I make sure I never try to read it more than once. The problem seems to be that i...

ISAPI REWRITE ON IIS

I am workin on a aspx site hosted on shared hosting on appliedi.com with isapirewrite enabled. The site structure is WWWROOT->WEBSITE->FILES If i am right, all rewriterules go in to htaccess file. Now one such file is present in WWWROOT Folder, one in WEBSITE My questions, 1. which htaccess actually works 2. When i see both files there...

How to enable SSL with a IIS 6 + FastCGI + Django setup?

Hi folks, I have successfully setup FastCGI/Django on a IIS 6 Server. What I don't know how to do, is to enable SSL connections. Any tips or ideas to get me started? I'm not an IIS expert, so this is quite confusing for me. :) ...

Log WCF Data Services POST contents

What is the best way to log the contents of anything POSTed to a WCF Data Service? I have tried using the service trace viewer but only see WebHeaders? Thanks ...

open_basedir won't let me write file, but directory seems correct?

Short story: I'm getting an open_basedir restriction in my php script - a simple "test writing a new file to disk" script. It SEEMS to me that I've got the open_basedir settings correct and the file is in the right location - but no luck, just the same error every time. I've searched for similar open_basedir problems on this site, but...

Error 101 (net::ERR_CONNECTION_RESET) When running asp.net page in Visual Studio 2008

Well i have problems running any project in visual studio, even if it's a new website i get this error. If i see the website in internet explorer and localhost/project it work's but i can't debug in visual studio Any ideas? thx ...

Coldfusion / Railo paths question for live server

Hi My website files are located with the folder structure as such: * Webroot ** mydomain ** sharedimages In IIS, my website is setup with www.mydomain.com pointing to Webroot->mydomain as it's home directory. In my site, I need to somehow display images located in the 'sharedimages' folder. Obviously though, I can't go ww...

Does changing scheme from gzip to deflate fix ie6 incompatibility?

Internet explorer 6 VS1 doesn't support gzip compression correctly. It does however understand deflate. Is it sufficient to change the scheme name in applicationhost.config from gzip to deflate to fix this issue? Are there any downsides to using deflate instead of gzip? <!-- c:\windows\system32\inetsrv\config\applicationhost.config --> ...

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

Frames caching issue on IIS

Hi, some time ago I had an entry point for application in index.aspx with following content: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <HTML lang="en"> <HEAD> <TITLE>xxx</TITLE> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> </HEAD> <frameset rows="68,*" border="0" frameborder=...

What is the best PHP developer setup for Windows 7 64bit?

What is the best PHP developer setup for Windows 7 64bit? I just purchased PhpStorm and what to get a developer env setup on my Win 7 laptop. ...

How to architect ASPX, IIS & business data that is processed / loaded once a day: DLL or Service?

Anyone have suggestions how to architect the following setup: ASPX, IIS, 100s of transactions coming through the web pages and data which changes once a day & has to be processed at start-up (would be slow to reload & calculate from the database 100 times a day) Currently we have: ASPX pages running on IIS, communicating with A window...

Why is base64_encode so slow on PHP on IIS6 via FastCGI?

I'm trying to encode a PDF to attach is to an email, and the script I'm using requires the following lines of code: $headers .= "Content-Transfer-Encoding: base64\r\n"; $headers .= "Content-Disposition: attachment; filename=\"".$license_filename."\"\r\n\r\n"; $attachment = chunk_split(base64_encode(file_get_contents($license...

WCF Server Application Unavailable - how to run application written in .NET4.0 (IIS6+)

Hello, I am trying to run simple application (e.g. generated from template by VS.NET 2010) on IIS6. I changed it to run with .NET 4.0 (its application pool) and checked with regiis (this pool has 4.0). I also changed all possible httpHandlers (svc etc), to run with NET4.0. All possible rights are checked (i think so). Almost every requ...

Why does my ASP.Net site running under IIS7 take so long to load after a period of inactivity?

An ASP.NET webpage will take maybe 10 seconds or so the first time the page is loaded, which is understandable since stuff is getting JIT'ed and app domains being loaded, etc. The next requests take only half a second or so. However, if no one hits the site for a few hours, the first request after such a period of inactivity will take ...

IIS: Unable to load DLL "<dllName>": The specified module could not be found. (Exception from HRESULT: 0x8007007E)

I have an application that uses .Net remoting. The remotable calls our unmanaged dll that is a client to a Versant database. The previous release of our app communicated with an earlier release of Versant in exactly the same way. We now have 2 different dlls to communicate with the different versions of the database. The new dll resides...

How do I stop IIS mangling my error codes for Soap faults

We provide a webservice to a third-party that expects a 500 error when an application level error occurs. When this happens we construct a piece of custom XML with the error details (eventcode etc) and return this as the synchronous response. However, it seems that IIS is intercepting the 500 error and replacing our custom XML with a "...

Default Website, Sharepoint Apps and SSL conflict.

I have an internal facing webserver with various apps running inside the default website on port 443 (SSL). I wanted to install MOSS 2007 on the same server and rum a portal/collaboration app using the same port 443. I was under the impression that if you use host headers, you can do that. It turns out it is not the case. Sharepoint ins...

IISReset and application pools

I have 2 app pools one for asp.net 2.0 one for asp.net 4.0 does doing an iisreset recycle these pools? or do I have to recycle them by hand? ...

Why am I often getting error 0x8007000e when debugging a project in Visual Studio?

I have a Visual Studio 2008 project that is proving difficult to debug. I need to attach to IIS 7 to debug it. At least 50% of the time I get the following error shortly after attaching to w3wp.exe: --------------------------- Microsoft Visual Studio --------------------------- A fatal error has occurred and debugging needs to be termi...