iis6

Object Reference not set in GetRouteData (System.Web.Routing)

This is driving me mad. I've implemented the Web.Routing on a Web Forms application. The application works fine and then inexplicably (at least at the moment) the following error message is thrown: Object reference not set to an instance of an object. at System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContex...

IIS6 caches a renamed folder - can this be flushed/reset?

On a Windows2003 server I have two folders: Forum Forum_dev The Forum folder is live and actively used. The dev folder contains a number of changed ASP files. Renaming Forum to something else and changing Forum_dev to Forum seems to ignore the changed files. Is there a way to force IIS to clear its cache? I think I can go through th...

Windows Authentication and Forms Authentication together for ASP.NET

I am developing an internally-facing application that needs to automatically authenticate users via Windows Authentication and fall back to Forms authentication. The fall back would occur in situations where the user on a computer logged in as a group account (such as an operations center). I'm concerned about security where a user cou...

How to debug ASP permission problems with WScript.Shell object?

I have to run command line operation from some legacy ASP application. Here is my code: <% cmd = "%comspec% /c echo Hello" set wsh = CreateObject("WScript.Shell") ireturn = wsh.Run(cmd, 0, true) set wsh = nothing %> And here is result I am receiving: Microsoft VBScript runtime error '800a0046' Permissi...

Why does my IIS virtual directory work with http://localhost but not http://computername?

I have been given the task of adding functionality to an existing IIS 6.0 website. To do it, I have built an ASP.NET MVC application. It works fine when deployed as it's own site, but doesn't seem to work when I try to deploy it as a virtual directory on the actual site where it needs to live. The server name is CWEBSERVER, and the IP ...

IIS Aplication Pool not When The Server is Turn On?

Hi i have a problem with one server, and the problem is that the server iis does not start automatically one of the app pools that we have for one of our applications, but if you go to the iis and make right click on the app pool and click start the app pools starts fine. Any Idea Jean ...

URL authorization failed for the request

Hi Guys I am in the process of moving some sites over to a new windows 2003 installation running IIS6. However I am running into problems with forms authentication. The sites in question run fine on the old box which is the same OS and IIS version. When I try to login to the website I get a event log "URL authorization failed for the ...

Unhandled Exception CachedRawResponse asp.net

Unable to cast object of type 'System.Web.Caching.CachedRawResponse' to type 'System.Web.Caching.CachedVary'. I'm getting this on an AJAX call to an aspx page, and can find no information about it in webland. CachedRawResponse isn't even on MSDN. Does anyone know anything about it, or maybe point me in the right direction? ...

Controlling access to a website with IIS/Active Directory

I need to secure a legacy help site on our network that points out to the world. Ideally, I want to have people authenticate with their active directory logins, because everybody in the company is already there, and they already know that stuff. Ideally, I'd need to set the default domain so people don't have to type that. I have an e...

Internal SMTP relay

internally, our organization limits what servers and applications can send emails. I would like to be able to have scripts that could be run on any server send an email when done. Is it possible to install IIS SMTP on a single server and have that relay all mail the servers send to our standard relay servers? All the advice I see on t...

Changing IIS 6 Application Pools for a Web App Project

Following recent hardware problems, I attempted to switch a couple of our websites to use new, individual application pools. A test run on our staging server worked fine, and has had no visible negative consequences. Unfortunately, trying the same operation on our live machine left one of our key applications struggling - my best guess ...

Techniques for securing a pure HTML site

I have been tasked with securing a pure HTML website for someone, and I'm not entirely sure how to approach the problem. Here are the constraints: All logins must link in with our current Active Directory domain. (Optional, but desired) The solution must whitelist requests coming from inside our intranet - that is, if someone attempts...

Configuring IIS 6.0 to execute cgi(.exe)

Hi guys... I already create a virtual directory (cgi-bin) with permission : Scripts and Executable... When I test : http://localhost/cgi-bin/mapserv.exe, I got 404 error, The page cannot be found Am I supposed to Add a EXTENSION mapping to .exe files ? Which executable ? Thanks! ...

Programatically removing etag suffix (change number) from the metabase IIS6

IIS 6.0 generates eTag values in the format of "hash:changenumber". The changenumber goes up every time IIS resets, so your eTag is only valid for the lifetime of your IIS process. Restart, number goes up, hash:changenumber != hash:changenumber+1. The fix for this is to hard-code the changenumber, which is possible using the Metabase E...

Unable to browse some pdfs and docs.

I have a web site that uses Microsoft Indexing Service to index and query a directory that holds various documents of type pdf, rtf, mht, and doc. The indexing and querying works well (for the most part); however, some files will load while others will not. This is a Windows Server 2003 box running the site using IIS 6. The indexed ...

Difference between IIS 6.0 vs IIS 7.0

We are using Windows 2003 server with IIS 6.0 and thinking of migrating to Window Server 2008 with IIS 7.0 to host our .Net applications Is anyone aware what are the benefits or drawbacks of it? ...

How can I determine the cause of an IIS Crash on a 64-bit Server

I have a .net 2.0 web application that is running on Windows server 2003 Standard x64, using IIS 6. The application pool for our website started crashing recently and I can't determine why. It started happening on a weekend, and the latest release of the website was several days earlier. I have determined that no other changes were made...

Parse errors are not displayed

Hi all, I want PHP to display parse errors on screen. What I get instead is a blank page. Nothing gets written to server's error log file. My setup: PHP5.2.9/IIS 6 (not Apache!). My PHP.INI: error_reporting=E_STRICT display_errors = On display_startup_errors = On log_errors = On error_log = "C:\Program Files\Zend\ZendServer\logs\php_...

Using ProcessModelInfo with IIS 6.0

I want to use the information obtained by calling System.Web.ProcessModelInfo.GetCurrentProcessInfo(). But MSDN says this method can only be used with IIS 5 or IIS 6 with IIS 5.0 isolation mode. I do not want to use IIS 5 isolation mode. Is reading from Performance Counters the only way around? ...

Require client certificates appropriate for Directory Service Mapping (Active Directory)?

My MOSS 2007 instance (IIS 6) uses Windows Authentication and IIS' Directory Service Mapping (against Active Directory), allowing the user to authenticate using only her smartcard client certificate, without any username/password, and regardless of what (if any) domain the client workstation is joined to. The IIS instance is set to requ...