iis7

WordPress url error on IIS 7

Hello I have install WordPress as a web application at IIS 7 but i have ont problem. When i access the site like this: http://foo.com/wordpress/ it works grate. But when i write http://foo.com/WordPress/ it give me a 404 error. but http://foo.com/WordPress/index.php works, but that don't give any posts from the database. So can i do a...

WCF service consuming another WCF service hosted in IIS7

Hello, We are having some problems deploying our WCF services into IIS7. We have two services: DataAccess and BusinessLogic (example names). Clients connect to the BusinessLogic which then connects to the DataAccess. The WCF test client allows us to consume the DataAccess service without errors. However, when we try to call the same fun...

ASP.NET app using lots of memory - Leak?

Hi All, I have an ASP.NET website that seems to be using a lot of memory. I left it for 7 hours on Sunday and it reached 3.2gb. I thought .NET handled all it's own garbage collection / free'd objects and so on, so I am not really sure where to start looking for a solution. The website uses XML's heavily so I thought this could be the ...

IIS7: AppDomain isn't recycling when it should?

Hi there, got a weird question for you based on some weird happenings on our site. We have four .DLLs in our ASP.Net solution (ie. managed code in the /bin folder). This morning we updated all four of them, the site was tested and worked fine. This afternoon I uploaded a new version of one of the DLLs, and it took the whole site down, m...

X-Sendfile or X-Accel-Redirect equivalent for IIS/.NET 3.5

I have an ASMX web-service which creates a file given a few paramaters, instead of serving it as Base64 encoded XML I would like IIS to serve the file to free my worker for the next job. The serialization is pretty expensive and totally unnecessary. ...

IIS 7 Application Pool - Can't connect to WCF Service

Greetings, I have to following problem. I have a WCF Service which runs under IIS7. Application connects to it and WCF Service makes some requests to DB. I have notice in activity monitor in SQL Server 2005 that after there are exactly 102 active connections, the application pool in IIS7 hangs. After this I can't connect to my WCF Serv...

IIS7: Possible causes of 'Unrecognized configuration path' error

After setting up an ASP.NET website in IIS7 I get an Internal Server Error (500.19) that says: 'Unrecognized configuration path'. What are possible causes of this error? (Setting up other ASP.NET websites works OK, but for a particular website it does not work and I cannot figure out the difference.) Detailed error description: ...

Changing response type in aspx page breaks in IIS7

I have a custom implementation of Application_PreRequestHandlerExecute which is applying a deflate/gzip filter to the response. However, on IIS7, this is failing on my "script generator" pages. These aspx pages take in Query String values and return a custom bit of script, changing the response type to text/javascript. I think it is fail...

How do I pass windows credentials to an ADO.NET Data Services call from Silverlight 4 when running out of browser (OOB)?

I have a Silverlight 4 client application that is calling out to an ASP.NET Data Services service hosted inside IIS 7, restricted to Windows Authentication. Both are hosted in the same location in IIS. When running the application within the browser, I am prompted for credentials via the browser, and when provided everything works fine. ...

XABP and WCF wsHttpBinding

How can I use WCF wsHttpBinding on my WPF Browser application? ...

IIS URL Rewrite RegExp to not match a directory

Have a IIS7 URL rewrite rule which uses friendly url so for example regEx is ([A-Za-z]+)/([A-Za-z]+) www.mysite.com/genetics/overview gets rewritten to www.mysite.com/genetics/default.aspx?a=overview Now I need to change the RegEx so it excludes the Content folder and any subdirectory in this folder. Been trying a few examples with ...

ASP error Server.CreateObject with new server IIS7/WS2008

Getting an error when migrating an old ASP script to a new box. The old server was IIS6, Windows Server 2003. The new server is IIS7, Windows Server 2008. Here's the error: Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /img.asp, line 39 800401f3 The offending line is set download = Server.CreateObject("csFil...

Server cannot set status after HTTP headers have been sent IIS7.5

Hi, Sometimes I get exception in my production environment: Process information Process ID: 3832 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception information Exception type: System.Web.HttpException Exception message: Server cannot set status after HTTP headers have been se...

Should I switch to IIS7 URL rewriting?

I'm using Intelligencia url rewriting currently but have just leased an IIS 7.5 server to put my asp.net 3.5 site on. I installed the IIS URL rewriting module and was amazed at how easy it was to create rules. Creating rules with the Intelligencia url rewriter is complicated (at least for me). Are there any downsides to switching? I...

How can I turn on DynamicCompression feature of IIS programmatically?

I'm making an installer program for my web application. My web application uses CSS and JS heavily, so I want to enable both Static and Dynamic HttpCompression for IIS7/7.5. It needs 2 steps: I can modified the web.config, put <httpcompression> tag, it's ok. DynamicContentCompression must be turned on in Windows Feature to make httpC...

ASP.NET- using System.IO.File.Delete() to delete file(s) from directory inside wwwroot?

I have a ASP.NET SOAP web service whose web method creates a PDF file, writes it to the "Download" directory of the applicaton, and returns the URL to the user. Code: //Create the map images (MapPrinter) and insert them on the PDF (PagePrinter). MemoryStream mstream = null; FileStream fs = null; try { //Create the memorystream stor...

Curved Quotes and other Characters becoming ? in IIS7

Recently moved some web sites to new hardware running MS Server 2008. After the move, all of my "curved quotation marks" and other "different" characters are now displaying as question marks. I can do a simple find and replace, changing curved marks with normal ones, but as new content is added, I'm finding this stuff everywhere. I mu...

flash video not working in aspx files

i have a .swf and .flv file and they work perfectly when i open them by double clicking on the swf file. But when i call it inan aspx page, it doesnt open. i checked IIS7 and in MIME types i have .flv and video/x-flv inherited. why wont it work? ...

iis7 website application not working

i have a website of aspx on IIS7 and inside it is one directory which i have created into an application. It is the exact same setup as in another computer. the same code works fine there. it does not open the application here. i get a 403.1 error when i browse application by itself. what are the palces that i can check that it is going ...

REST on *just* IIS7 (without a web framework)

Hi, I want to upload files directly to IIS7 (in this case I am using the WebRequest object in .NET). Thus I need IIS7 to accept POST, PUT, and DELETE verbs such that I can upload and delete files on the server directly. Is it possible to have IIS accept files without a a web framework like ASP.NET? Essentially I want to be able to use I...