iis

Get the metabase path for an IIS entry (Installation stopped because the specified path is not a valid web application)

I'm by no means a sysadmin so please correct me if I'm wrong. I want to run aspnet_regiis.exe -s. This requires the metabase path of my website. How do I find this metabase path? ...

Is it possible to forward all traffic to an IP Address?

we have a old and dying dedicated server. we want a new one at a new datacenter. we have a bunch of sites using the current server and don't have control of all their DNS. is there an easy way to redirect all the traffic from xx.xx.xx.xx to zz.zz.zz.zz without updating DNS records? Thanks. ...

Passing params in the URL when using HTTP POST

Is it allowable to pass parameters to a web page through the URL (after the question mark) when using the POST method? I know that it works (most of the time, anyways) because my company's webapp does it often, but I don't know if it's actually supported in the standard or if I can rely on this behavior. I'm considering implementing a ...

Image caching, HTTPHandler and FormsAuthentication

The Setup: I'm working on a website that uses Formsauthentication using cookies to store the login ticket. The site also has an HTTPHandler that manages images stored in the database. The handler caches the images to be public and expire in 20 minutes. We have noticed that since the images have the same lifecycle as a page the images...

Rename Virtual Directory in IIS?

Hi guys, How can I rename a Virtual Directory (Web Application) in IIS 6.0/7.0 using Vbscript? Thanks, ...

how to add new application mapping in iis

Hi, How can I add new application mapping in IIS using vbscript? Thanks, ...

basic iis 5.0 xml parsing error on local site

I'm starting a new job and am inheriting a asp .net web application on the 2.0 .net framework. The application works alright. It published successfully from vs 2005. I created a new virtual directory in IIS and pointed to the precompiled directory just published. When I load my application, I get an error that reads as follows: XML Par...

IIS API - Create virtual directories?

Just looking for the relevant documentation. An example is not necessary, but would be appreciated. We have a situation where we are having to create 100s of virtual directories manually, and it seems like automating this would be a good way to make the process more efficient for now. Perhaps next year we can rework the server env...

Removing Interdev from an IIS 5 (Windows 2000 Server) virtual directory and replacing with FTP

I've got a few sites on a Windows 2000 box that are still using Interdev/HTTP updates. I'd like to convert those to be FTP only and remove the Interdev update capability. How do I convert these with minimal disruption? I.E. How do I "remove Interdev" from these sites? ...

ASP.NET aspxerrorpath in URL

I have a site where I use CustomErrors in the web.config to specify a custom error page, and that's working just fine. The custom 404 page is also specified in the IIS configuration (because if it's not, I don't get my custom 404 page). But I have some logic that kicks in if a user gets a 404 that looks at their requested URL and make ...

Custom error page configured in IIS for code 400 (bad request) is ignored

For my website I configured some custom error pages. If I generate a 404, the redirect works fine. When hitting a 400, the "bad request" text shows up instead of the configured URl. As a test I copied the URL from 404 to 400. No change. Then I changed the redirect to a file. No change. Any ideas? ...

Error accessing the Cache in the Application_Start method of Global.asax

I am trying to access the Cache in the Application_Start method of Global.asax. I am trying to accdess Context.Cache. When I run the code from visual studio it works just fine but when I run it on the server from IIS I get: Session state is not available in this context. I want to seed some values in the cache when the application starts...

Take down website to public, but leave for testing... "We're Not Open"

We are rolling out a site for a client using IIS tomorrow. I am to take the site down to the general public (Sorry, we are updating message) and allow the client to test over the weekend after we perform the upgrade. If it is successful, I open it to everbody - if not, I rollback. What is the easiest way to put a "We're not open" si...

Set existing Web Service Extension to "Allow" using WiX

In IIS Manager under Web Service Extensions, ASP.NET v2.0.50727 is set to "Prohibited" by default. I would like to set this to Allow during the install. I am currently using WiX Version 2. I have tried using: <Component Id="Allow_WebServiceExtension_ASP.NET_2.0" DiskId="1" Guid="02247363-E423-41E1-AC15-BEF589B65A4D"> <WebServiceE...

Is it possible to make part of a site on IIS only viewable from localhost?

We've got a webserver running IIS. We'd like to run maybe a shared blog or something to keep track of information. Because of security issues, we'd like for that part to be only viewable from localhost so people have to remote in to use it. So, to repeat my question, can part of a website be made viewable from localhost only? ...

Using SSLv3 in IIS 6.0

I recently got a notification from a McAfee service (what used to be called HackerSafe) that my website is using SSLv2 and it should be using SSLv3. I don't know anything about the versions of SSL. My site is using IIS 6.0, is there a setting somewhere to turn on SSLv3 or do I need to install something to make this happen? Also, is there...

3rd Party Password Management with Complete Integration

I use C#, IIS, ASP.NET, SQL Server. Is there a third-party platform I can easily integrate into my system, to handle password management? It would have to integrate 100% (no OpenID), so that the users would not notice. ...

How would I go about figuring out the maximum load my server(s) can handle?

In Joel's article for Inc. entitled How Hard Could It Be?: The Unproven Path, he wrote: ...it turns out that Jeff and his programmers were so good that they built a site that could serve 80,000 visitors a day (roughly 755,000 page views) How would I go about figuring out the maximum load my server(s) can handle? ...

Is it possible to start a custom thread in an IIS hosted C++ application?

Hi all We host a C++ based WebServices application in IIS and we're finding that when we try to start our own C++ threads IIS has a fit and crashes. The threads are based on boost.thread which clearly dribbles down to the standard Windows threading API underneath. The reason I need to start the thread is to listen for multicasts fro...

GAC Problem: Keep getting old version

I've created a simple httpModule, registered it on GAC and added it to the global web.config. I've made some changes to the module, updated the version and changed it also on the web.config. What happens is that i keep getting the old version. I've restarted the computer, removed it from the GAC, deleted the consumer app .net temp file...