iis

IIS Integration testing: remove X-Powered-By: ASP.NET header

I want to have a test that testing the inexistent of this http headers, using NAnt and NUnit: X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET Edit: I'm asking hot to actually test this rule: "don't have asp headers". so, I can have this test in each new website that I'm doing, so it make it easier no to forget this simple step. ...

Service Unavaiable - ApplicationPool won't start

I have a WCF Web Service which is kept under an Application Pool on IIS. Lately I've been getting "Service Unavaiable" when I'm trying to make calls to this Web Service. The first thing I tried to do was restarting the Application Pool. I did it and after a couple of seconds, it crashed and stopped. Looking at the Event Viewer, I found...

Asp.net 4.0 site fails because no handler mapped with Classic appPool

When I create a Asp.net app and flip the appPool to "ASP.NET v4.0 Classic" it fails with the following error: HTTP Error 404.17 - Not Found The requested content appears to be script and will not be served by the static file handler. After some searching it seems to be the handler not mapping correctly for the Classic mode but I can't ...

What is ClixSmart+ServiceMonitor from my IIS log?

(Cross post from serverfault) Hi, Our IIS6 log (W3SVC1) is showing entries with suffix ClixSmart+ServiceMonitor 200 0 0. There are over 10 of them per second and it lasts about 20 seconds when happened. Is our server being hacked? TIA ...

Can I deploy a Ruby on Rails webapp to an IIS webserver?

Can I deploy a Ruby on Rails webapp to an IIS webserver? Is there any solid support for this somehow? ...

asp.net - session - multiple browser tabs - different sessions?

I'd like to maintain a session state per browser tab. Is this easy (or even possible) to do in ASP.NET? Example: A user hits Ctrl-T in firefox 5 times and visits the site in each tab. I'd like each tab to have its own session state on the server Thanks ...

Creating a file in wwwroot

Hi, I have a website hosted in IIS at location C:/inetpub/wwwroot/sample and there is a folder in sample C:/inetpub/wwwroot/sample/work I can neither read nor write a file in this work folder. I am using C# to read and write. I have set the NTFS permissions to full access, yet the problem. Please Help Thanks ...

Detect session hang and kill it

Hi all, I have an asp.net page that runs certain algorithm and returns it's output. I was wondering what will happen and how to handle a case where the algorithm due to a bug goes into infinite loop. It will hog the cpu and other sessions will be served very slowly. I would love to have a way to tell IIS, if processing Algo.aspx takes ...

What is the recommended approach to add static subdomains to a website?

I would like to create a few static subdomains like: mycategory.mydomain.com in a rather small website and would like it to point to the folder: mydomain.com/mycategory without showing such redirection in browser address bar. What is an easiest way to achieve it? I can do it in either IIS settings, asp.net, C# code, etc I ...

Microsoft IIS 7.5 ftp ssl problem

Hello! I have configured IIS 7.5 ftp service to use SSL. I have two environments (one for testing purposes, without ssl). When we activate SSL users can logon and list and get files maybe one time if there lucky, then the host (service?) becomes unreachable for some reason. I have no idea what happens or why the FTP "locks" it self. Wh...

IIS Web Garden advantages / disadvantages

When do you need IIS Web Garden feature. What's pro's and con's? ...

Symbols taking very, very long time to load when hosting ASP.NET app in IIS

Hi, I'm hosting my project using IIS, running from Visual Studio. Whenever I recompile, on the first run it takes several minutes (on a not awful machine) to load all the symbols. Please see http://joshz.com/so/symbols.html for a list of the symbols that are loaded. At the bottom there is a ThreadAbortException, I'm not sure if this i...

WCF Service doesnt run on IIS!

Hi, I have a WCF service hosted at local IIS. I created a ASP.NET website that consumes this service hosted at IIS. While running it from Visual Studio WebDev Server, everything works fine, but as soon as i run the same website [after hosting in IIS] from the browser, the website doesnt seem to be communicating with the Service! The...

In IIS6, how to set a mime type besides text/html for files that are processed using ssinc.dll?

I'm trying to use the ssinc.dll handler to process my css files, so I can put my various #include statements right in the CSS file and therefore have 1 master css that is generated from my various other css files. The problem i run into is that I can't get the mime type to be anything but text/html when i use this handler! I have tried...

Debugging hanging website

We have a problem with an asp.net website we part build and host for a client. About a week ago the website would just failed to respond to requests, no error was returned. No code was deployed by us but the client does upload non compiled pages from time to time. Restarting the app pool the site runs on fixes the problem but in 1-8 h...

Do I need to replace localhost in the IIS://localhost/MimeMap when reading the Mimemap

I'm reading out the mime types from IIS's MimeMap using the command _mimeTypes = new Dictionary<string, string>(); //load from iis store. DirectoryEntry Path = new DirectoryEntry("IIS://localhost/MimeMap"); PropertyValueCollection PropValues = Path.Properties["MimeMap"]; IISOle.MimeMap MimeTypeObj; foreach (var item in PropValues) { ...

virtual directory not being configured as an application in IIS.

hi i am comletly new to iis and asp.net i am trying to setup bugNET on a godaddy server. i created a virtual directory and once i tried to launch the site i get this error: Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a v...

Changing the date on my web server stops my ASP.NET app from working

Hi all, I'm trying to write some code that checks the number of days between two dates, when I set the date on my IIS7 server to anytime in the future I get the standard "Internet Explorer cannot display the webpage" screen. This happens if I comment out all my date checking code, with todays date it loads with any future date it doesn'...

Installing ImageMagick extension with php/windows

Running PHP Version 5.2.5 on Windows Server 2003 with IIS. Have virtually an identical server where we were able to install ImageMagick with no issues. It's running exactly the same version of php. Used the following steps to install, but it just won't seem to work on this server. ImageMagick itself is installed but php won't load the e...

IIS v6.0 IP Restriction using a range of IPs

Hello all, I need to apply IP restrictions to a site in IIS v6.0 using a range of IPs. So for example i only want the below RANGE of IPs to be able to access the site: From 123.111.22.3 --> 123.111.66.234 Has anyone got any idea on how this can best be achieved? Hope this all make sense and all help is massively appreciated. Thanks...