iis

Does ASP.NET MVC require IIS?

Does ASP.NET MVC require IIS? Could I develop an application that uses the new ASP.NET MVC framework on a client machine that does not have IIS installed? ...

IIS Session State

Here's a story problem: I have website set up in IIS 6.0 (Win 2003) and has checked the "allow session state" setting the configuration in IIS. If a user navigates directly to a static html page on my site, (not an asp or aspx page), does IIS start a session for the user or not? ...

Configure Firefox 3.0.x to authenticate with Kerberos and not prompt

I have an Intranet http application running on several machines in our Windows domain; everything works when using IE 7 because I can configure it to use Kerberos authentication and I've figured out how to get one of the intermediate machines to be Trusted for Delegation. I have researched and tried to get Firefox 3.0.10 to use Kerbero...

Why IIS7 treat a specific XHTML page as XML page?

When I try to access a page, I got an error like below, but I can view the full source code, the source code has no problem, I have no idea why IIS7 tells my browser the XHTML page is an XML? (It's not my browser's problem, cuz I asked my friends to test and he got the same result) XML Parsing Error: not well-formed Location: htt...

Can you name an instance of w3wp.exe so it shows up in attach to process?

I run multiple processes under IIS and when debugging it can be tough to know which process I want to attach to. Can you programatically set the "Title" of a process so that it can be identified in Visual Studio's "Attach to Process" window? ...

ASP.NET Application Install - Strategy needed.

I've built an open source ASP.NET web application and now I'm moving towards release. I'm keen to offer an easy install for my users but I'm having real problems coming up with a solution. The app needs to have a site setup in IIS and a SQL Database installed. What is the easiest deployment process for my users you can think of? ...

Open New Window from aspx page from *any* URL

Is there any way to configure IIS or Web app to automatically open a new window when a hyper link is clicked? My issue isn't as trivial as it sounds, let me explain... I understand you can use javascript or target="_blank" in the anchor tag, but I don't always know when an anchor tag might be listed on the page... Reason is that its ...

Enforcing SSL connection

Hello, A) Can you, at the server side, enforce SSL connection ( via selecting Require Secure Channel option ) only per web application, or can you also enforce it per virtual directory or even only per web page? B) How exactly does enforcing SSL connection work? That if users specify http instead of https protocol ( in requested U...

IIS website size using DirectoryEntry

Hello, I am using the following code to loop through my websites in IIS: DirectoryEntry root = new DirectoryEntry("IIS://localhost/W3SVC"); foreach (DirectoryEntry directory in root.Children) { if (directory.SchemaClassName.Equals("IIsWebServer")) { // ... } } What I would like to do is use the available information ...

How to setup Mercurial and hgwebdir on IIS?

I've been looking all over for decent instructions on how to get hgwebdir working on IIS but I haven't found much of worth. There's this "step by step" on the Mercurial wiki, but it's not very good. There's also this and this, but again, I can't find good steps to lead up to where those get started. ...

How do I reset IIS programmatically?

Is there any alternative to the IIS Administrative UI that can be used to reset IIS from a program?.. now we have created a batch file if iis reset and scheduled it every hour...... i just wanted something so that we should not be able to reset iis.... ...

IIS 6.0 Debugging methods

I need some help from you about debugging high CPU usage (w3wp.exe) on server (Windows Server 2003 R2). I used debugdiag to anaylze but the problem is that this piece of software is not detecting any kind of problem. Have you ever met any problem with high CPU usage on w3wp.exe (100% all the time)? Have you got any tutorial how to debu...

IIS mod/extension to support eXtended Server-Side Includes (XSSI)?

I've been working with a designer that wants ot bring some content developed on Apache to IIS. The content however makes use of XSSI. I have not been able to find out if IIS can support such things. Perhaps its named something else on Windows/IIS? A sample of this is shown below: <!--#config timefmt="%Y%m%d" --> <!--#if expr="$DATE_LO...

Difference between specifying IP in host file vs using IP directly

Is there any difference between the following when a intranet URL in accessed in IE Add an entry in drivers/etc/host file for a name and IP vs Use IP directly e.g. it works with the following link if I have a host entry as (XYZ 10.0.10.200) http://XYZ/SiteDirectory/ABC/Default.aspx but when I tried to use IP instead of name http://1...

XML-parser error: no element found

I have a asp.net application which is located on a server. It was working but then I added a whole bunch of stuff and now I get: XML-parser error: no element found Address: http://www.dtm.se/payex/Default.aspx Row 1, Column 1: (I have translated this error message from Swedish so it might not be 100% accurate) The error occurs in Fire...

Clickonce deploy problem with IIS 7

I have a "ClickOnce" application that deploys without any problems from a Win2K3 server and IIS 6. But the same application fails to be deployed from a Windows Server 2008/IIS7, I receive a 404 file not found (on a .config file and not on one of the manifest files) during the installation on a client machine. In the IIS the mime types ...

Why is POST data lost when submitting from a Custom 404 page in IIS 6.0?

I built a Custom 404 CMS system in .NET 3.5, and while posting data works locally in IIS 5.1 and 6.0, it does not work on the production IIS 6.0 server. I compared the IIS 6.0 site settings item by item, and they are nearly identical, with the only differences not mattering. I verified that the form is POST-ing to "http://domain/folder...

Determine SSL Certificate Expiration Date IIS

I need to determine the expiration date of the SSL certificates on my IIS boxes programatically. Ideally I would want to do this in C#, but if VB script is the only way that is acceptable as well. Environment => IIS versions 6 & 7, .NET 2.0, Windows 2003 & 2008 Thanks ...

SerializationException Because of security restrictions, the type System.Runtime.Remoting.ObjRef cannot be accessed.

I have a remoting server hosted under IIS that is throws the following exception when I try and talk to it SerializationException Because of security restrictions, the type System.Runtime.Remoting.ObjRef cannot be accessed. If I host the server in my own exe I don't have any issues. Searching Google, the solution for most people is to se...

Correlate application logs (Coldfusion/J2EE) with IIS logs to debug client network problems

I've seen some clients complaining about slowness of my website lately and I'm pretty sure that the problem is related to their network. I'd like to be able to justify this to myself more thoroughly and also be able to more proactively reach out to clients that appear to be having network issues before they come banging on my door. If ...