iis6

IIS 6 Application mapping default settings

This is related to another question I asked last week, but the current issue is more IIS-centric. As a workaround to correct the issue, I removed the wildcard mapping for the web application (which was set to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll) I would like to be able to add back this wildcard setting (as th...

ASP.NET MVC / Castle Windsor / IIS6 / Modified MapRoute {controller}.aspx

Hi, I've written a web application with ASP.NET MVC. The default ControllerFactory has been replaced with Castle Windsor's Controller ControllerBuilder.Current.SetControllerFactory(new WindsorControllerFactory()); The problem is that I'm using shared hosting which runs II6 so in order to get the MVC working I've had to replace the de...

Deploying mvc project to iis 6.0

I am trying to deploy my mvc project on windows server 2003 IIS6. I have enabled the wildcard mapping .net framework 3.5 sp1 and mvc 1.0 is installed on the machine I am still getting 404 when I try to access the site What other steps should I debug to solve this problem? Ps: Other non-mvc .net project is running fine on the machine...

Mapping not being recognised in IIS 6 for HTTP Handler

I've created a HTTP Handler to prevent users from accessing unauthorized streaming ".flv" files. It implements the IHttpHandler interface, is referenced in the Web.Config and works when I map an extension to ".pdf", but when I add the ".flv" the mapping in IIS, the app still seems ignored it (even though everything else is the same as i...

How to configure website guest access?

I finished creating my C#/SQL web application in VS 2008 on an XP Pro OS. It builds and executes successfully. Using the same code, I developed a website in VS 2008. Although this website builds and executes successfully, when I deploy it from my computer, it does not display the data grid. I think this is because the internet user d...

Session Issue only in IE for an ASP .NET application

We have migrated our Asp .NET application from Windows 2000 server to Windows 2003 Server when we access the site from Internet explorer we are facing some cache issues like when we click on logout its redirecting to homepage instead of login page but when i try to navigate inside its not allowing me i.e. its throwing me the user id and...

Programatically create a web site in IIS using C# and set port number

We have been able to create a web site. We did this using the information in this link: http://msdn.microsoft.com/en-us/library/ms525598.aspx However, we would like to use a port number other that port 80. How do we do this? We are using IIS 6 Thanks Shiraz ...

IIS 6.0 DirectoryEntry properties list

Hi I'm new to accessing IIS 6.0 using C# code. I'm using DirectoryEntry to set properties in IIS, but would like to have better understandig of what properties that I can access, and how. So if any of you have experiance using DirectoryEntry to access IIS 6.0, and know of a propertie list or a good staring point, can you help a new guy...

ASP 3.0 Application object

I need to know if the application object in ASP 3.0 is shared between all the web site in the same application pool in IIS or it's one application object by site in the same application pool in IIS. Thanks ...

IIS 6.0 DirectoryEntry ScriptMaps property and set .Net version

Hi After creating a web site, i notice that it sets the asp.net version to 1.1. I would like to in code change this to version 2.0.50727. I found that in the ScriptMaps property there are string list of all the file extensions and code mapping. But I have not figured out how to change all of the values that are connected to .net? Or is ...

ASP.NET MVC global redirect

Most of our projects are short term and of a promotional nature. As a result, our clients often want to put up some sort of "end of program" or "expired" page when the promotion is over. How do I do a blanket redirect of all controller actions to one specific controller action without modifying each controller and its methods? Is this ev...

Easiest setup of email form on IIS 6 using PHP or ASP

Hey, I've tried several variations of ASP & PHP native & 3rd party mailer programs. I have hit a wall at almost every point between setting ini parameters from within the scripts to permission denied/transport fails. I would be wasting time to show my examples for what I've tried so far. All my searches produce too many results with t...

Using IIS6 as ASP.NET development host in Visual Studio 2008 on Win7

I've inherited a ASP.NET 1.1 webapp that runs in production on win2k3 under IIS6. I'd like to closely match this environment during development and testing. For reasons I won't go into, using Cassini/VS Development Server isn't ideal so I'm trying to set up my Visual Studio environment to use IIS6. I do my development on VS 2008 on Win7,...

What kind of performance loss can I expect when using Wildcard Mapping for ASP.NET MVC in IIS6 for images/videos?

I'm currently looking at server prices and IIS6 is looking cheaper then IIS7. I want to try out some ASP.NET MVC w/ extensionless URL's and from what I see, I can use an ISAPI or a Wild Card Mapping option. I'm planning to stream quite a lot of media and I'm curious how the Wild Card Mapping option would affect my performance. Has a...

msdeploy IIS 6 to 7 migration issue

I am trying to view the dependencies of my website on IIS 6.0 running on windows server 2003. When I type the following command, msdeploy -verb:getDependencies -source:metakey=lm/w3svc/1 I got the following error: C:\Program Files\IIS\Microsoft Web Deploy>msdeploy -verb:getDependencies -source :metakey=lm/w3svc/1 Error: Object of t...

ASP.NET 2.0 cannot open SqlConnection

Using: IIS 6; Anonymous Authentication (with a user that belongs to the administrators group); SQL Server 2005; .NET 2.0 Web.config: <system.web> <securityPolicy> <trustLevel name="Full" policyFile="internal" /> </securityPolicy> </system.web> <identity impersonate="true"/> I have this exception when I try to Open a ...

Is there a way to tell when googlebot/bingbot/yahoobot is crawling my site in asp.net 2005 IIS6?

I want to know when google is crawling the site, preferably by sending myself an email. Is there any way to do this that won't adversely effect performance? ...

ASP.NET Cache object issues after migration from IIS 5 to IIS 6

I'm experiencing an issue where the ASP.NET Cache objects are cleared out every minute or so. The proper behavior is that the cache objects should last 24 hours. This issue started recently when our public web servers were recently upgraded from IIS 5 to IIS 6. The site in question gets about 15,000 page views/hour during peak times. Th...

What software tools to use to debug "paused" response times on IIS6?

Adrian Tools was excellent for Sun, but what do you use to troubleshoot a Microsoft 2003 Web server running IIS6 extreme slow downs? It is a 64 bit system with 8 gig of RAM, and an 8 hard drive Dell PERC raid. CPU never usually goes above 25 percent, having two physical CPUs with two cores each. It's not a consistent slowness; it is v...

IIS6 Virtual Directory 500 Error on Remote Share

We have our servers at the server farm in a domain. Let's call it LIVE. Our developer computers live in a completely separate corporate domain, miles and miles away. Let's call it CORP. We have a large central storage unit (unix) that houses images and other media needed by many webservers in the server farm. The IIS application poo...