iis

Using IP Addresses or Host Headers in IIS

I was wondering about the best practices regarding this? I know there are two ways to use IIS and host multiple websites. The first is to have an IP for every website The second is to use host headers, and a single IP Address for IIS I was wondering which was the best practice, and why one should be preferred over the other? Thank...

Pros and cons of having dedicated application pools over keeping web applications in one default app pool

Hello! What are pros and cons of having dedicated application pools over keeping web applications in one default app pool? Thanks in advance ...

IIS 6.0 Integrated authentication : 401.1 with IE7

Today I changed the application pool identity of our ASP.NET application from "Network Service" to a domain user. I added the user to the local group "IIS_WPG", done a iisreset just in case, and everything works fine with IE6 and Firefox 3.0 But when I go to the website with IE7, an authentication popup appears, I type my credentials,...

Is it possible to point a local instance IIS to a shared windows file server as the home directory?

Hi everyone, I'm just beginning work with IIS, .NET, etc. so I apologize if any of this is unclear. I recently installed a local instance of IIS and it's up and running just fine. I'm wondering if it's possible to point IIS to a shared windows folder that exists on another server, and have that folder serve as the root directory for IIS...

Setting up SMTP under IIS 7 on Windows Server 2008

Website started life originally under IIS 6 and the site worked great there. Now after relocating to a new server running W2K8S, everything but mail delivery from the website now works great under IIS 7. Researched briefly on the Web to see if anybody had a good resolution, but no avail... Not even a glimmer of hope on Microsoft's own s...

install ASP.NET + SQL Express in a script

Hi Guys, I need a little help on this subject. I have a Web application written in ASP.NET plus I have the .bak file of the SQL Express database, my question is: How can I install this in a simple click and go way in the client? how can I write a script that will create a new database, restore the bak file into that database, set up I...

url rewrite in IIS

Hello This question is related to another question which I asked yesterday! http://stackoverflow.com/questions/220796/list-all-links-in-web-site I think renaming all the .html files to .asp and changing the links is not good for SEP purposes. Some one told me that isapi plug-in can be used to redirect(301) all .html files to .asp fil...

Do MOD_Rewrite rewrites invoke a second run through the rewrite rules?

When a RewriteRule is executed by MOD_Rewrite will all the MOD_Rewrite rules be executed again for the newly generated request? Specifically in the following example, will this cause a loop? RewriteCond Host: (?:www\.)?mysite\.com RewriteRule ^(.*)$ $1 [QSA,L] ...

What's the difference between recycling an app pool manually vs automatically?

I've noticed that you can manually recycle an application pool via IIS and that doing so seems to slow down my web app significantly less than making changes to files in App_Code or the web.config file. Is this because recycling the application pool via IIS doesn't force a recompilation of the temporary internet files, but changing App_...

Is there any way to configure multiple SSL sites on the same server without a wildcard certificate?

I've set up multiple ssl sites on iis using Servier Bindings as per this article: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/8d9f2a8f-cd23-448c-b2c7-f4e87b9e2d2c.mspx?mfr=true I have two different ssl certs for the two sites installed but when I browse to either site I get the same certificate. Is there a...

Is there a solution for deploying IIS websites that's similar to Capistrano?

Capistrano is a great solution for building scripts that automatically deploy a website and/or a database. But, it's also very *nix centric, and from I've read it would probably be more trouble than it's worth to get it working with a Windows server. Is there a similar solution that would allow me to deploy an ASP.Net website to an IIS s...

App Domain per User Session in IIS

Hello, This question is about App domains and Sessions. Is it possible to have IIS run each User Session in a seperate App Domain. If Yes, Could you please let me settings in the config file that affect this. Regards, Anil. ...

How can I setup iis with an ssl cert?

Is there a way to programaticaly install a ssl cert for iis 6 and 7? ...

ASP.NET 2.0 IIS Setup

Good afternoon, This should be an easy one. I've done the cookie-cutter default ASP.NET 2.0 installation, but I have a couple of programming errors in my application. When I access the webpage on the server itself, I get a detailed ASP error message. However, when i try to run the same thing from a client machine, I just get a no-des...

Can you programmatically change session time out in ASP.NET?

Can it be done or the only way is to configure it on IIS? ...

How to configure IIS 6.0 to use both default content page and wildcard application maps

In the filesystem I have /file.aspx /directory/default.aspx I want to configure IIS so that it returns the appropriate file (add the aspx extension) or directory (default content page) as follows: /file -> /file.aspx /directory -> /directory/default.aspx /directory/ -> /directory/default.aspx I have configure...

How to host multiple webapps using only 2 Virtual Directories

my shared hosting only allows me to create 2 virtual directories. and i want to host multiple webapps... say an asp.net mvc blog, a forum, a personal site etc... isnt there any other way of doing this? cant i simply just ftp the blog folder to one of my virtual directories and then access it online?? ...

WCF variable lifetime/state

I'm hosting my first WCF service in IIS. I have two methods, 1 to set a string variable on the WCF Service, and the other to retrieve it. The interface used is: [OperationContract] string ReturnText(); [OperationContract] void SetText(string s); BasicHttpBinding is used. Stepping through the service with the debugger from the client ...

Can I configure SMTP in IIS, so it relays to a remote SMTP server?

I want to configure SMTP on my web server, so that any email sent through the SMTP server is relayed to a remote SMTP Server. The IIS SMTP server would have to use SMTP authentication, and use the host name, username and password (as if configuring a normal email client). Does anybody know if this is possible? ...

"HTTP status 401: Access Denied" error for web service even when the virtual directory allows Anonymous access

i have a web service hosted on another server with the Anonymous Access CheckBox in IIS is already checked. when my local web application is trying to access the web service, i still get the "The request failed with HTTP status 401: Access Denied." error. my web application is calling the web service like the following: MyObject.WebSer...