iis

How to perform specific task in IIS

Hi there... I got kind of a weird question... I want my IIS server to automatically show a specific page if there's a specific file present on the server... Basically, if there is something wrong or whatever, the file will exist and a safe page will be displayed. I know that this exists by I don't remember how it's called and can't fin...

Can I configure environment specific content?

In the same way that you can generate specific content based on browser type is there a way to generate specific content based on the server running PHP without reference to the server or site name? For example, a way for PHP to automatically detect the environment it was in and configure things like DB connections, ini_set for errors e...

How do I force windows authentication with local asp.net development server?

I'm developing an ASP.NET application which needs Windows Authentication. I have the web.config set up to deny anonymous users and use Windows mode for authentication, but my local development version still lets me pass right through to the site. In order to test different user set-ups, I need to force authorization so I can change use...

Are the programs included in the Web Platform Installer all free?

Are the programs included in the Web Platform Installer all free? I was under the impression that it was all open-source, free software. But it looks like at least nService isn't: http://www.avensoft.com/nservice.html ...

Global.asax Application_Error doesn't work with Integrated Mode

Application_Error doesn't work with Integrated Mode but does work with Class Mode. I would to transfer request to error page using both Integrated Mode and Class Mode. Can this be done or I have to use HTTP module in order to support both modes? protected void Application_Error(object sender, EventArgs e) { if (Context != null && Co...

Any reason why an ASP.Net 2.0 application with no code would take 2 minutes to load on first run?

Hi all, I've asked this on server fault already but to no avail. So I'm hoping another ASP.Net Developer would have come across my issue. I've got a Windows VPS running II6 and I'm migrating my ASP.Net applications across to the server. When I navigate to one of those applications it takes approximately 2 minutes to do anything. I creat...

Is it possible to start / stop an application pool or website in IIS programatically?

I'm trying to find a way to stop, start, restart/recycle websites and application pools from within a web interface on the same server. Ideally this would be something I could do with .Net without having to execute shell commands. (I see other related quesitons have been asked but I don't want to do this from the command line unless th...

generate graphs for website?

i need to generate graphs and equations for a website. the webserver runs on IIS and windows. I was looking at mathplot but wasn't sure if it can be used in a web environment .net is preferred your help is appreciated ...

Merging/inheriting web.config files but without having site to be a child site

I'd like to have the functionality of merging/inheriting the web.config of one site with that of a shared web.config, but without having the site being a child site of the site with the shared web.config. Is there a way to implement similar functionality? What I'm trying to do have a shared web.config in any folder (could be outside of...

Architecture ideas for static resource (images) web server?

We're looking at removing all of the static resources (mainly images) in our ASP.NET 2.0 web app, and moving them to their own separate server. The main design requirements are for speed (so caching will be important) and a minimal level of security (so that people can't just directly download or rip off the images). Using a plain .net 2...

Caching not working with IIS?

All, I have an ASP.NET(C#) that functions as expected with the integrated debugger/web server. However when I move it over to a IIS server it appears as though the cache object is not being set. Can anyone offer any help? Here is the class that sets the cache and subsequent cookie. class globals { public NameValueColl...

Ingres connection on an IIS deployed site

Hey all, I have a .net 2.0 app being hosted on IIS, that connects to a Ingres DB. The connection uses iBatis with an ODBC driver to connect to an ingres database being protected behind an installation password. For some reason, when I'm debugging my code, everything runs fine. It establishes the connection without any problems. However...

Cassini service keeps crashing

I'm running XP home which doesn't support IIS. Therefore i'm running Cassini. It usually works well. How ever i've notice in the last 2 weeks it crashes. I'm guessing there is some conflict. Perhaps something i've installed recently tho i can't work out what. How can i work what is conflicting, also i've read about running it on a di...

Is there a way for a VS2008 Web App Project to work on Windows 2008?

I have some web application projects in my solution that are set with the web tab in the project properties to use the local IIS server and create the web there. This works fine for windows XP, windows 2003. I want to open the project on Windows 2008 but the project gets the following popup when loading each of the projects with this t...

How do I tell which account is trying to access an ASP.NET web service?

I'm getting a 401 (access denied) calling a method on an internal web service. I'm calling it from an ASP.NET page on our company intranet. I've checked all the configuration and it should be using integrated security with an account that has access to that service, but I'm trying to figure out how to confirm which account it's connectin...

"Dcom Server Process Launcher" starts IIS Admin with VS 2008 installed, XP SP2

Wondering why "DCOM Server Process Luancher" starts up IIS Admin even when it's set to manual. Is this a factor of my Visual Studio 2008, SQL Server 2005, or something more nefarious involved? ...

Visual Studio 2003 vs. Visual Studio 2005

I am personally only familiar with VS 2005 and am working on a project using VS 2003. So I've downloaded the solution to my local drive, opened it and had to fiddle with IIS a bit before it would run and now I also have the website in the inetpub folder. Can someone just explain using an overall picture what's going on. Am I editing th...

Global.asax's Application_BeginRequest is not being hit

I have a Website that is using .NET 1.1 app pool and then I also have a Virtual Directory within that website that is .NET 3.5. This Virtual Directory's contents are built with Visual Studio 2008 as a separate project. When testing, everything works fine and all Global.asax events are hit and the app goes through the execution pipe lin...

Check whether IIS is installed or not?

Hi all, I am trying to create a Local IIS Website using ASP.NET. When I click on New -----> Website and select the type as HTTP and from the dialog box if I select the option as LOCAL IIS WEBSITE I am getting a message as "IIS not installed on this computer" When I checked in the ControlPanel---->Add or remove programs ---->Add or rem...

Problem with WCF Service - The protocol 'http' is not supported. How to resolve?

I'm after setting up a WCF service on my dev box but I'm getting an error when accessing it. I've set the service up as per this guide. It's is written in VS2008 / C# / .NET 3.5 and my dev box is Vista SP2 with IIS 7. At the moment the service is nothing more than the default structure since I am literally after testing a connection to i...