iis

IIS: How to get the Metabase path?

i'm trying to get the list of mime types known to an IIS server (which you can see was asked and and answered by me 2 years ago). The copy-pasted answer involves: GetObject("IIS://LocalHost/MimeMap") msdn GetObject("IIS://localhost/mimemap") KB246068 GetObject("IIS://localhost/MimeMap") Scott Hanselman's Blog new DirectoryEntry("IIS:...

Visual Studio 2010 is not allowing me to debug my code

So, this interesting issue has been plaguing me for the past couple of hours. Visual Studio 2010 Ultimate no longer attaches the debugger and lets me debug my code. If I use the built in development server, then everything works fine. If I switch to Use Local IIS Web Server (http://localhost/), then all it does it attach to w3wp.exe, b...

DirectoryServices auth problem asp

Hello, I'm getting the following error IIS://networth-web6/W3SVC/AppPools/netbasistest errorSystem.Runtime.InteropServices.COMException (0x80020006): Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME)) at System.DirectoryServices.DirectoryEntry.Invoke(String methodName, Object[] args) at ASP.nb_test_...

IIS 6.0 .htaccess

You can 'fake it' .php being a .html file using .htaccess: AddType application/x-httpd.php .html .htm how can i do this in using IIS 6.0? ...

IIS + PHP url rewrite

Is there any way to rewrite an url of a php app on iis? If yes, how ...

Execute javascript on IIS server

I have the following situation. A customer uses JavaScript with jQuery to create a complex website. We would like to use JavaScript and jQuery on the server (IIS) for the following reasons: Skills transfer - we would like to use JavaScript and jQuery on the server and not have to use eg VB Script. / classic asp. .Net framework/Java et...

DCOM problems building a VB6 app in CruiseControl.net

Hi there, I can successfully build a VB6 application that relies upon several DCOM settings on the build machine, no problem. However. The second time I try to run the same build process, it fails, as DCOM and/or IIS have locks on the output files that I'm trynig to rebuild. Currently, if I log onto the build machine and reset iis (us...

ASP session variables leak

Hi folks, How can i look every user session variable on IIS Application Server. This issue is to find a biggest session variable on my application to find a leak because my session timeout requirement is too high. ...

Safe deployment of ASP.Net applications

Duplicate Question Hi All, I have an asp.net app that I want to deploy safely (with as little down time possible). I would love to do something like blue green deployment but without the need for a second web server. So, I know I can use load balancing, etc but I need a quick and cheap approach. I was thinking of doing something lik...

Deployed ASP.NET application reverts to old code base?

We have an ASP.NET application running on a webfarm. When we release a new version and copy it to the production servers, occasionally it happens that after a few hours the application reverts to a an earlier code base. Have anyone else experienced something like this? Would sharing an application pool between two applications running d...

How do I test how my client program will react to a web server error?

I have a client program based on LibCurl. I have run into a situation where on some occasions a program on the server runs longer than the configured IIS timeout. IIS then terminates the program and returns a 502 error status to the client. I have added code to the client to capture this issue. Now, I need to find a way to prove that...

ASP.NET MVC thinks my virtual directory is a controller

I have a virtual directory under my MVC website in IIS called "Files". This directory is at the same level as my Views directory. When I link to a file from my MVC app to a file under my Files directory, I get the following error: The controller for path '/Files/Images/1c7f7eb8-5d66-4bca-a73a-4ba6340a7805.JPG' was not found or do...

How to detect if a file is PDF or TIFF ?

Please bear with me as I've been thrown into the middle of this project without knowing all the background. If you've got WTF questions, trust me, I have them too. Here is the scenario: I've got a bunch of files residing on an IIS server. They have no file extension on them. Just naked files with names like "asda-2342-sd3rs-asd24-ut57" ...

WIX: How can I uninstall an ISAPI filter using WIX?

In WIX, I can install an ISAPI filter using the iis:WebFilter element: <Component Id='C.Filter1' Guid="6781xxxx-xxxx-4893-xxxx-aaaabbbbdddd"> <!-- CreateFolder - included to avoid problem with missing KeyPath --> <CreateFolder/> <iis:WebFilter Id="WebFilter1" LoadOrder="first" Name="My Custom ISAP...

Does an HttpHandler require an aspnet_isapi.dll mapping

Hi, If I configure (via web.config) an httphandler to handle all .gif requests for a specific folder, is it absolutely essential for me to map .gif requests to aspnet_isapi.dll in IIS? Is there any other way of ensuring that the .gif http request will be handled by aspnet_isapi.dll? I have a server configured where the virtual dir tha...

classic .net app pool + iis 7.5 + compression modules

I have windows 2008 r2 installed on my server, so iis 7.5 is. I am not able run any of the class.net applications on iis. one of the compression modules throws exception. Detailed Error Information Module DynamicCompressionModule Notification SendResponse Handler StaticFile Error Code 0x8007007e Requested URL http://localhost:8081/a...

Disk-based caching of dynamic images in IIS 7

I'm writing an image server which needs to handle a relatively large number of concurrent requests (~5,000). The images being served are dynamically scaled down and cropped based on per-image specifications, which are queried from a database. The number of images is rather large, so an in-memory cache isn't viable (thrashing would most ...

IIS ASP.NET Windows authentication logined user name letter case

Hello everybody. I use windows authentication and have one trouble: letter case of user name in User.Identity.Name is incorrect. For example, my user name is FOO-SERVER\Borovsky_D, but User.Identity.Name shows FOO-SERVER\borovsky_d. What is trouble? Does anybody have ideas? ...

How to work different .net versions in IIS 6.0

How to work different .net versions in IIS 6.0 without creating two application pools? ...

Global workaround for random non-specific include file being included?

I'm dealing with an outdated PHP4 IIS server which has odd settings and I absolutely cannot update PHP or modify any server settings. This legacy site on the server basically has subdirectories which have an includes directory so there are multiple includes directories, and in my root I do something like include 'includes/nav.php'; T...