iis

Separate application pools for ASP.net applications in IIS

I've read recommendations that we should create separate application pools for each asp.net application on our Win2008 server. We have about 20 apps that would be on the same server. I know this would create 20 separate worker processes which seems very wasteful. Is it good practice to create separate application pools for each applic...

How to write my own Server Logging script?

I need to log the hits on a sub-domain in Windows IIS 6.0 without designating them as separate websites in the IIS Manager. I have been told this is not possible. How can I write my own script to do this? I'm afraid google analytics is not an option due to the setup, I just need access (i'm guessing) to the file request event and its pr...

Can NerdDinner be run on XP with IIS5?

I'm slowly modernizing: Can I run the ASP MVC example NerdDinner on my XP Pro system? I know there is a possible issue with IIS5.1 being too old. ...

How to enable TCP keep Alive for IIS?

All, I have a web site that produces reports based upon user inputs in to a web page (queries a backend DB) using classic ASP and crystal reports. If the report takes over 30 minutes to run the firewall that sits in between the client and the web server drops the connection as it has been sat idle, so the report never gets displayed t...

Asp.Net: Debug website in iis

Is it possible to debug an Asp.Net website running on iis? I am able to debug an Asp.Net web application project, but not a web site, and wanted to know if this is by design or am I missing something. ...

IIS 6.0 recycle overlapping delay

Hi, Is it possible to add delay in overlapping iis 6.0 recycling? for example iis does not shutdown the old pool for 2 hours even the new app pool is live and processing requests. I`ve got sometimes a long running request. I thought that 'shutdown time limit' property is right one for that but it`s not. IIS is still shutdown the old poo...

What is a good way to set about diagnosing ASP.NET connection issues?

Whilst on the surface this question looks like it should be on serverfault.com I have a reason for posting here first. I developed an ASP.NET 2.0 web application. Just recently with heavier usage there have been errors whilst (Cannot connect to server) in the middle of an post back or AJAX call. However the errors are intermittent and...

CodeIgniter Error

Hi, I am currently developing a site with codeigniter that uses paypal standard payments. When a payment is made paypal sends the information back to the site using an IPN notification and returns the user to the site along with the info as a PDT. I use both because I am giving digital downloads. Both PDT and IPN verify that the inform...

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...

How to specify guest access to C#/SQL internet site?

I just created a website in ASP.NET and C# and am hosting it now at this URL below. This URL is working now: http://96.0.101.66/Default.aspx However, currently this website does not list the SQL tables, which should be on the left-hand side of this window in a gridview. I think this is because I disabled anonymous access from IIS...

response size limitaiton of a WCF web serivces

I am hosting a WCF service in IIS using basicHttpBinding. The WCF web services queries back end SQL Server 2008 by using ADO.Net and return a DataTable to client side of WCF service. I find when the returned DataTable is big, there will be exception said http connection is closed by IIS. Any ideas what is wrong and how to set bigger res...

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 ...

How can I get my webapp's base URL in ASP.NET MVC?

How can I quickly determine what the root URL is for my ASP.NET MVC application? I.e., if IIS is set to serve my application at http://example.com/foo/bar, then I'd like to be able to get that URL in a reliable way that doesn't involve getting the current URL from the request and chopping it up in some fragile way that breaks if I re-ro...

ASP.Net URL Encoding

I am implementing URL rewriting in ASP.net and my URLs are causing me a world of problems. The URL is generated from a database of departments & categories. I want employees to be able to add items to the database with whatever special characters are appropriate without it breaking the site. I am encoding the data before I construct t...

Cannot remote debug IIS -- w3wp.exe is grayed out

I am trying to debug an IIS Web Service using remote debugging. Because of our domain configuration (which we CANNOT change) I get an Access is denied when remote debugging via the Default option. The only solution I've found is to switch to Remote (Native only with no authentication) option in VS 2008. The problem is that when I co...

Handle mobile email uploads on Windows

I am working on a project in ASP.NET MVC and a requirement is that users are able to upload images (using their mobile device) via email. I have an idea but I wanted to know if there is a better way of doing this. My plan: The user picks (or is assigned) a mobile email address to upload to. ([email protected]) The user takes a ...

Canonical name redirects in Godaddy?

I have a website "mywebsite.com" and I would like to do a 301 redirect of "http://mywebsite.com" to "http://www.mywebsite.com" (for the usual SEO purposes). I am running IIS7, however there is an ISA server firewall in front of the site, which seems (as per this article, though his solution did not work for me -- http://mrvirtual.de/200...

WCF cannot find base address for http using REST service

Hi all, I'm seeing the following error coming from WCF when trying to hit my REST WCF service on IIS 6.0: Could not find a base address that matches scheme http for the endpoint with binding WebHttpBinding. Registered base address schemes are []. My web.config looks like: <system.serviceModel> <serviceHostingEnvironment> <baseAddres...

Can the IIS network-user account call a WCF service running under a different account?

I'm currently looking into using WCF to communicate between a server and a program that acts as a facade for a legacy system. Quick overview: user <-> ASP .NET web pages <-> WCF <-> facade program <-> legacy system I don't want to run IIS with the rights required to run the facade program so I was thinking about using WCF to communicat...

IIS 7 Backup Strategy

Hey all, I did notice this post but am looking for more specifics. I have 2 servers running Windows 2008 Server Web Edition and am running websites on both of them. I would like to be able to mirror IIS settings onto each box from the other so that, in event of a 'server 1' crash, I can log into 'server 2' and quickly get all sites th...