iis

IIS HttpModule unable to set Session

I am trying to set Session values using a IHttpModule. I have set the HttpModule to be used for all requests, not just managed/ASPX pages. I found however, that when a request for a non-ASP.NET page came in (such as gif) the Session member of the HttpApplication would throw an exception or be null. I found the following SO post for the...

How to map a domain to another domain's subfolder?

I have a very fast web server (IIS6, ASP.NET) that I want to use for several sites. Now, I already have a domain that maps directly to the IP address of the server, but how can I get another domain to map to a subfolder (i.e., a separate ASP.NET application) on that same computer? Is it theoretically possible? (note: only port 80 is open...

Apache (xamp) and IIS cannot work together

I have XAMP 1.6.8 and IIS 5.0 installed on my PC(Windows XP SP3). I'm unable to run them simultaneously. If IIS service is running, Apache throws the following error: (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 no listening sock...

How to determine installed IIS version

What would the preferred way of programmatically determining which the currently installed version of Microsoft Internet Information Services (IIS) is? I know that it can be found by looking at the MajorVersion key in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters. Would this be the recommended way of doing it, ...

Is there any way to run both PHP and ASP in the same server running IIS?

Very direct question, i need to know if its possible and maybe where to start reading about that. Im a programmer with zero experience in windows servers and a client is asking if we can deliver in their windows boxes(and no they wont let us use any kind of virtualization in them). Thanks guys, i know its not 100% programming related bu...

IIS Service Disruption: What all causes them?

I haven't found a definitive list out there, but hopefully someone's got one going or we can come up with one ourselves. What causes disruptions for .NET applications, or general service disruption, running on IIS? For instance, web.config changes will cause a recompilation in JIT (while just deploying a single page doesn't affect the wh...

Page only posts back with Fiddler attached?

I have Reporting Services set up with Forms Authentication. Our app is sitting over Reporting Services and uses it's authentication extension as a Single Sign On. We have a simple logon page that we've got working in the past but on this one machine it refuses to post back when the logon button is clicked. I have Trace information inser...

Flush cache in iis6

For some magical reason ii6 started to cache pages on the server. Even if I remove the page, it is still displayed. I tried to follow couple suggestions but no luck. That's what I did so far: Deleted \WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files Unchecked 'cache ISAPI extensions' in the IIS configuration. Added...

Alternatives to IIS for windows to run ASP.NET

Are there any alternatives to IIS for windows to run ASP.NET? CassiniEx seems pretty old? ...

Measuring CPU load for specific IIS websites on same server

I have a IIS server running on Windows Server 2003. The server hosts multiple websites. Occasionally the CPU load peaks in long durations of time, such that the server stops responding or responds with lag. The problem is that we don't know which of the multiple websites is creating the high load - I have tried looking around in Perfor...

'NT AUTHORITY\NETWORK SERVICE' not inheritting local group permissions?

We are deleting images that have been uploaded to our server using an ASP.NET web page. The site is running under 'NT AUTHORITY\NETWORK SERVICE' in IIS. On the IIS server we have created a local group 'Full_Access' that we have added the 'NT AUTHORITY\NETWORK SERVICE' to. This group has NTFS Modify permission enabled on the file. When ...

what user account does my IIS hosted wcf service run under?

Hi, what user account does my .net wcf service run under when I am hosting it in iis 7? Is it the IUSR_machine account? What is the easiest way for me to run under a different account? (just for this service, don't want other things hosted in my IIS to be effected). ...

Dynamically Load HTTP Modules, Possibly with Unity?

Has anyone seen any how-to, documentation, or otherwise about how to load HTTP Modules dynamically for IIS? Basically what I am trying to do is to load HTTP Modules, which I'll call HTTPModuleA, HTTPModuleB, and HTTPModuleC. The modules however could be changed out at any time with HTTPModuleD, HTTPModuleE, or HTTPModuleF. I basically...

Hosting website subfolder on separate domain

We have 2 web applications what we want to be installed on different IIS servers. But we want what user can access one by address www.test.com and second by www.test.com/directory Is it possible? ...

How to detect IIS version using C#?

How to detect IIS version using C#? Update: I meant from a winapp (actually the scenario is developing a custom installer that wants to check the version of the installed IIS to call the appropriate api's) ...

What permissions are needed to administer IIS without being 'administrator'?

Is there a way to set up a user group that has permissions to administrate IIS services (use the IIS plugin in MMC) without being a 'Administrator' on the box? ...

ASP .NET and IIS

Most of the developers i work with test their web apps by running them from visual studio, and use the built in web server of VS to display the pages. My question is when these apps are deployed to a IIS server would they behave any differently? ...

How to prevent unauthorized spidering (ASP.NET, IIS)

I want to prevent automated html scraping from one of our sites while not affecting legitimate spidering (googlebot, etc.). Is there something that already exists to accomplish this? Am I even using the correct terminology? EDIT: I'm mainly looking to prevent people that would be doing this maliciously. I.e. they aren't going to abide b...

How many users is too much when using session variables?

I'm currently using session variables as a cache to cut down the calls to the database. I'm wondering at about how many concurrent users does this stop working at? 1,000, 10,000 ....100,000??? Also will iis start flaking out at a certain load? And are there any alternatives? I know it depends on how much data I'm storing per user, but...

set up website on local machine

I have a fast dedicated internet connection and a static IP address at my office. I also have a web site that I want to host on my server machine (win server 2003). I know how to setup a web site through IIS but have no clue how to point my domain to my site and configure my server to serve for that domain. Can anyone point me to a prefe...