iis

How do I automate access to an IIS website that has "require client certificates"?

Hi - I work on an IIS6/ASP.NET website that must "require client certificates" in the form of a smart card (specifically a Common Access Card). I need to create a few services to access various URLs on a timer to do things like update search indices, warm up Sharepoint pages, and other tasks. How can this be done, given that the sit...

Deploy WebApplication on localhost using IIS

Hi there, I am using Visual Studio 2010, Windows 7 and IIS. I have written a small WebApplication and I want to publish the WebApplication in the localhost. So I click on the project in Visual Studio => Publish => choose File Sytem => Local IIS. After that, I get an error: To access local IIS Web sites, you must install the follow...

Need help identifying a subtle bug.. in IIS? The Session? Elsewhere..?

I have a very subtle bug that I'm having trouble identifying. Background: We have 2 sites running off the same application on the same web server. SiteA -- accessed by www.SiteA.com SiteB -- accessed by www.SiteB.com When the request first comes in, the siteId is identified based on the Host and stored in the Session as follows:...

Extranet with Integrated Windows Authentication

Is it possible, safe and practical to use Windows Integrated Security on an Extranet? E.g. there is an IIS website on the intranet that can be used over the LAN with integrated authentication. When the user disconnects from the LAN he wants to be able to use the browser on his domain-joined-notebook to connect to the same website over t...

IIS incoming request

Hi, i have a IIS 6 server with clasic ASP and ASP.Net sites. I need that every incoming request to any clasic ASP sites be accesed only from a specific site, not that the user can access it directly.... is it possible ? Example: principal site other site 1 other site 2 other site 3 I need that only user can access to s...

How do you manage large web farms?

I have a quickly growing web farm running IIS 7 (30+ servers). All servers are identical copies of each other and all servers are physical. We update the software about once a month, and in the current process, we follow the following steps: 1) Disable server from pool on F5 load balancer. 2) Disable HTTP Keep-alives in IIS so connect...

How to NOT route files & directories to ASP.NET MVC

Does anyone know how to ensure that files and directories that exist do NOT get routed to .NET MVC if they exist in the root directory? With Zend Framework, this is done in the .htaccess like so: RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d How is this accomplished...

My IIS server won't serve SSL sites to some browsers

(This is cross-posted at http://serverfault.com/questions/164625/my-iis-server-wont-serve-ssl-sites-to-some-browsers, which is the more appropriate place, but StackOverflow gets so much more traffic that I had to put it here as well.) I've got an IIS 6.0 server that won't serve pages over SSL to some browsers. In Webkit-based browsers o...

Developing in Visual Studio 2010 with the new IIS Express web server?

Although this question isn't directly about code it's related to programming and seems better put here than, say, serverfault or superuser. -- I'm a developer with Visual Studio 2010. Microsoft's newest web server offering for developers is IIS Express. ScottGu indicated this combination is workable: IIS Express will work with VS 2...

How to Cause an HttpModule to be Invoked Before the First Request?

I have several applications I am deploying to a .NET/IIS environment. For these applications I have registered an implementation of IHttpModule in the system.web/httpModules section of web.config. In my implementation of IHttpModule I have an Init() method which starts up some daemon threads and logs that the application has been start...

using both basic and Integrated authentication

We would like to use Integrated Windows Authentication if a user accesses our SharePoint site from within our organization, and Basic Authentication (using SSL) when someone tries to authenticate from outside our organization. Reading, it seems IE will try Windows Auth no matter what and ignore Basic Auth from outside our organization. ...

coldfusion9 Htttp 404.2 error

Hi i have windows vista and Coldfusion9 when i try to access the http://127.0.0.1/inetpub/wwwroot/ I am getting the following error Server Error in Application "Default Web Site" HTTP Error 404.2 - Not Found Description: The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web ser...

web-based SQL management tool

Does anyone know of a web-based management tool for SQL server 2008? preferably open-source. ...

ASP.NET MVC: First access after some minutes slow, then every following request is fast

Hello, when I access any page of my ASP.NET MVC website first time, then this first request is slow. It needs about 4-5 seconds to load. But every following request to any page is fast. When I wait some minutes or a hour then every first request is slow again. Every following request is fast. I think that IIS 7 is compiling the code a...

In IIS, can I safely remove the X-Powered-By ASP.NET header?

Will this cause any harm? Does it serve any purpose other than tell browsers you have .net installed? I like this article about changing the header to Pure Evil. Genius! http://www.iishacks.com/index.php/2009/11/11/remove-x-powered-by-aspnet-http-response-header/ ...

Debuging 403's?

whats the best way to investigate why a server is returning a 403 for a http web request? Can an iis server be configured to provide a more detailed internal log for 403's? ...

Tempate not displayed on the page attribute section while adding or editing the pages.

Hi, I have used wordpress and there is a section page attributes which includes Parent, Template and order. What my problem is i am not being able to see the templates to select while adding the pages. One problem is that the current theme is not displayed and it shows nothing on Current theme. I have two themes and both listed as not u...

IIS Anonymous authentication for website and want to use active directory

I am having IIS Anonymous authentication set for website on server.However i want to use active directory group to validate user credentials.Here is the setting in web.config for folder "security". <allow users="Americas\ADgroup" /> <deny users="*" /> Can i gain this validation without manually changing the Anonymous authenti...

How can I prevent the direct call of an URL in an ASP.NET / IIS environment?

How can I achieve in an ASP.NET application, that a set of URLs/ASPX pages (parts of the application) cannot be called directly from the user in the Browser? These urls/pages may only be referenced in the application itself. ...

One application context for many virtual directories in an ASP.NET environment?

I have a bigger ASP.NET based webapplication, which is structured into subwebs (as described on http://weblogs.asp.net/scottgu/archive/2006/08/16/Tip_2F00_Trick_3A00_-Creating-Sub_2D00_Web-Projects-using-the-VS-2005-Web-Application-Project-Option.aspx). How can I share user specific information (user credentials, other informations) be...