Web application framework developed by Microsoft

learn more… | top users | synonyms

31
votes
4answers
33k views

How to remove IIS/ASP.NET Response Headers

I have a couple IIS/6.0 servers that security is asking me to remove a couple of response headers that are sent to client browsers on requests. They are concerned about divulging platform information ...
23
votes
3answers
13k views

Is there any harm in disabling the idle timeout for an application pool?

I'm currently fighting an issue with ASP.Net taking minutes to load a page for the first time. Through playing with settings I've found that disabling "Shutdown worker processes after being idle for ...
20
votes
15answers
3k views

HELP! Production DB was SQL INJECTED! [duplicate]

Possible Duplicate: My server's been hacked EMERGENCY Geeze, I'm desperate! A few hours ago our production DB was sql-injected. I know we have some big holes in the system... because ...
20
votes
7answers
11k views

After Windows 7 SP1 IIS errors with “Invalid application path”

I'm getting this new, strange error message in IIS after updating Windows 7 (x64) with SP1. Open the IIS Manager Browse to an exisiting Virtual Application (or create a new one) Open its Basic ...
17
votes
6answers
21k views

IIS 7 + ASP.NET 4

I have an ASP.NET application that I am trying to convert to an ASP.NET 4 application. The application is fairly simple. I have created a new web application in IIS 7.5 pointing to the directory that ...
16
votes
10answers
1k views

How to Slow Down a Hacker

Some script kiddie in Delhi, India has been trying to hack our site since last night. He wrote a browser script that makes requests of our server in massive nested loops, trying everything under the ...
15
votes
4answers
18k views

Why does IIS refuse to serve ASP.NET content?

My Windows Server 2003 Std server refuses to server ASP.NET content. It serves regular html just fine but anything .net, even a one line html file with an ASPX extention fails silently. Things I've ...
13
votes
11answers
3k views

Chinese Hacker-Bots attempting to exploit our systems 24/7

Our sites our constantly under attack from bots with IP addresses resolving to China, attempting to exploit our systems. While their attacks are proving unsuccessful, they are a constant drain on our ...
13
votes
3answers
15k views

IIS7 - Lock Violation error, HTTP handlers, modules, and the <clear /> element

I have an ASP.NET site that uses its own set of HTTP handlers and does not need any modules. So, in IIS6, all I had to do was this in my web.config: <httpModules> <clear /> ...
12
votes
3answers
15k views

How to Grant IIS 7.5 access to a certificate in certificate store?

In Windows 2003 it was simple to do and one could use the winhttpcertcfg.exe (download) to give "NETWORK SERVICE" account access to a certificate. I'm now using Windows Server 2008 R2 with IIS 7.5 ...
12
votes
4answers
528 views

IIS7 ASP.NET application - 2 identical apps in 2 identical app pools, 1 is responsive and 1 is not

I have an ASP.NET (v4.0) web app that is installed in a virtual directory (as an application) and is hosted in it's own app pool. This is repeated for each instance of the app (i.e. per customer). ...
11
votes
2answers
2k views

Zero downtime uploads / Rollback in IIS

I'm not sure if this is the right way to ask this question, but here's basically what i'd like to do: 1.) Push a changeset to a site in IIS. 2.) Don't interrupt the users. 3.) Be able to roll back ...
11
votes
2answers
4k views

What does the “.NET Framework Version” setting in IIS actually do?

This seems like an obvious question, but I'm trying to determine what the "Change .NET Framework Version" button on the top level IIS configuration panel actually changes. On all of my servers, it has ...
9
votes
3answers
5k views

Do you use performance counters on production IIS web sites?

Do you keep the counter ON during heavy production loads Which performance counters do you find useful for ASP.Net/IIS 6.0 websites?
9
votes
1answer
21k views

IIS 7 Application Pool Identity permissions

In the vein of this question. Other questions have touched on this, but let's get a complete answer down: What specific permissions are necessary for a generic IIS 7 site with a domain user as the ...
9
votes
1answer
6k views

Load-Balanced IIS 7.5 Web Server ASP.NET Session State problem

we have a problem with an ASP.NET website where the users' sessions are behaving oddly - session data appearing, disappearing and re-appearing. I think I know what the problem is: Our setup is 2 x ...
8
votes
2answers
5k views

IIS does not load custom HTTP module from web.config

I have a custom HTTP module for an ASP.NET MVC3 website that I'm loading from web.config: <system.web> <httpModules> <add name="MyModule" type="MySolution.Web.MyHttpModule, ...
8
votes
5answers
20k views

Windows Authentication kept asking for username/password

I am deploying my web application on iis6. I kept receive this "windows security" pop up to enter user name and password.. I have already disabled anonymous user, and checked integrated windows ...
8
votes
2answers
689 views

ASP.NET performance decrease between 32bit/64bit server

We are currently in the process of upgrading our 32bit production server to a more powerful 64bit server whilst upgrading to ASP.NET 4. However, upon doing some light load testing we seem to be having ...
8
votes
2answers
723 views

How to install mono in Linux server?

I would like to install mono in Linux server.I don't know Linux.I have to work in .net application which will run in Linux server.I would also like to know how can i run my first asp.net application ...
8
votes
2answers
6k views

Setting up Mono/ASP.NET 4.0 on Apache2/Ubuntu: Virtual hosts?

I'm attempting to setup Mono/ASP.NET 4.0 on my Apache server (which is running on Ubuntu). Thus far, I've been following a few tutorials/scripts supplied here, and here. As of now: Apache 2.2 is ...
7
votes
7answers
3k views

What are the main benefits of Windows 64-bit over 32-bit for ASP.Net apps?

Besides the advantages of 64-bit memory allocation (> 4 GB - see this question on StackOverflow for why 32-bit +4 GB solutions won't work for me), what other reasons do I have for recommending that we ...
7
votes
2answers
12k views

Where is ASP.NET Server Log File is Located?

My ASP.NET MVC application on my development box is running wild; I can't even connected to localhost. In order to know what is the problem, I want to find the log file and examine it. Where is the ...
7
votes
3answers
586 views

Record load time of web pages

I have been asked to investigate a way of record how long it a full page request is on our website. i.e. how long it takes from when a user clicks on a link till the page has finished loading. Now ...
7
votes
5answers
461 views

ASP.NET High CPU Bringing Servers to their Knees

Ok, our new build is having 100% cpu spikes on each server at random intervals. For long durations it make the site totally unresponsive - this will be at peak times as people in different countries ...
7
votes
1answer
251 views

Scaling out within a VMware host - add vCPUs or VMs?

We have an ASP.NET MVC site hosted on two VMware ESX hosts. Each host has two sockets with quad core CPUs (8 logical cores per host). We have two VMs on each host. Initially, only one vCPU was ...
7
votes
3answers
780 views

Creating cookieless application on development machine with asp.net

I am thinking about setting up a new domain to host static content on my website and have it cookieless just like Stackoverflow with their static domain. So before going ahead and buying the domain ...
7
votes
1answer
179 views

How to virtualise a SharePoint ASP application

I have noticed the occasional article that mentions virtualising a site on sharepoint so that the site appears as if it is replicated among several site collections. I have a requirement to deploy a ...
6
votes
5answers
13k views

404 when page exists - IIS 5, ASP.NET 4.0

I have a webserver running Server 2003 Datacenter and IIS 5 which is hosting a variety of ASP.NET 2.0 websites. I'm attempting to add an ASP.NET 4.0 website which I wrote via the VS2010 Beta, and I ...
6
votes
8answers
19k views

Performance of IIS+ASP.NET vs (NGINX + FastCGI + Mono or XSP)?

How much requests each can handle? How many RAM needed? As I remember FastCGI are opened initialized processes, each can handle one request. What about multithreading?
6
votes
2answers
8k views

Login failed for “IIS AppPool\ASP.NET v4.0” - SQL Server Web

I'm trying to migrate a website from SQL Server 2008 Express to SQL Server Web, and the website is having trouble accessing the database. In truth, Express was only ever used by running the website ...
6
votes
3answers
6k views

Asp.net 4.0 Handler Mappings Missing in IIS7

I have two Windows 2008 R2 Servers running an asp.net 4.0 app. The server that is having problems actually loads asp.net pages just fine, but if there are any ajax calls they don't work. I noticed ...
6
votes
3answers
800 views

Vanilla Windows vs Windows Server

I probably should have asked this question a LONG time ago and I expect to be laughed out of this forum, but I NEED find the answer to this seemingly rudimentary question... If I intend to host a ...
6
votes
1answer
1k views

Is the serviceAutoStartProvider attribute required to auto-start an ASP.NET application?

I've been reading Scott Guthrie's post on Auto-Start ASP.NET Applications, which provides examples on how to setup an ASP.NET 4.0 application to auto-start. <applicationPools> <add ...
6
votes
2answers
6k views

IIS 7 returns 304 instead of 200

I have a strange issue with IIS 7. Sometimes it seems to return a 304 instead of a 200. Here is a sample request captured with Fiddler: (Note that the file requested is not located in my browsers ...
6
votes
1answer
620 views

Is it safe to set validateIntegratedModeConfiguration=false in order to continue using identity impersonate=true?

We have upgraded an ASP.NET web application from IIS6 to IIS7 integrated mode. Our application uses: <identity impersonate="true"/> and therefore we have had to set: <validation ...
5
votes
4answers
14k views

w3wp.exe hogs memory

On a Small Business Server 2011 installation a whole number of w3wp.exe processes appear to be using a disproportional lot of memory. The SBS out-of-the-box installations comes with a total of 7 sites ...
5
votes
3answers
8k views

IIS 7.5 doesn't load static html pages

There is an IIS 7.5 freshly installed on a dedicated server. ASP.NET 4.0 Web app copied to its folder, new website is created on its own IP on post 80, IIS_IUSR and IUSR accounts have read/execute ...
5
votes
3answers
3k views

Block access to subdirectory using Web.config

I have a subdirectory in my ASP.NET project that contains utility files. They're needed by the code at run time, but I don't want them to be visible over the web. What is the syntax in a Web.config ...
5
votes
3answers
3k views

How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?

I want to be able to set the IIS account for new websites to have modify permissions. I have the following script: function Set-ModifyPermission ($directory, $username, $domain = 'IIS APPPOOL') { ...
5
votes
2answers
4k views

Windows Server 2008 - IIS 7 - ASP.NET - Does my web server go to sleep? How do I keep it awake?

It seems that my asp.net sites on my web server are very slow to load if they have not been accessed in a while. Does the ASP.NET processor go into suspend or sleep mode if it has gone unused for a ...
5
votes
5answers
3k views

How to show a maintenance page for website when our network is down

We host our ASP.NET web sites internally (within our DMZ). When we are doing network maintenance, etc we would like to have our sites display a maintenance page, but our network is down so our hosting ...
5
votes
1answer
4k views

What are the key performance metrics to monitor for a deployed ASP.NET web application?

I have full logging ( using log4net) throughout the application. What are the key WMI variables etc that should be monitored. If you had to pick 10 things that you would look at everyday what would ...
5
votes
10answers
8k views

IIS6: How to troubleshoot a 404 error in an ASP.NET application?

I have an ASP.NET application on a Windows Server 2003/IIS6 that refuses to run for some reason (it's the Xerox Centre, if that info helps). It has been working flawlessly before though on this ...
5
votes
1answer
923 views

Is ASP.NET's Membership system secure enough?

Is the Membership system included in ASP.NET secure enough to use in a real-world web site? Since I'm not interested in creating my own providers, I'm only interested in the providers Microsoft built ...
5
votes
3answers
9k views

Mailbox unavailable, client does not have permissions to send as this sender - only the first time

Our users can send emails from our ASP.NET Web application on the click of a button. In our testing environment, there is a strange thing going on. The first time the application tries to send the ...
5
votes
1answer
1k views

Perfmon: which counter identifies that threads are waiting?

While load testing an ASP.NET app, we find that the pages are taking 20-30 sec under heavy load. We suspect this is because the pages are waiting for database calls or web services. Is there a ...
5
votes
2answers
415 views

How do I secure a .NET (MVC) website prior to launch?

I have a .NET (MVC2) website that is in development. I have deployed it to some production infrastructure, and tested it over the internet with anonymous access (as it will be once it is live) and it ...
5
votes
1answer
1k views

Installing mod_mono on Ubuntu: handler doesn't seem to get registered

I'm trying to install mod_mono on Apache 2 (Prefork MPM). I'm using Ubuntu Karmic, and just want an auto-hosting setup (so that any .aspx files are executed, similar to how PHP is normally setup). I ...
5
votes
2answers
2k views

IIS aborts request thread with status 995

We have a site where we have trouble on our production server, but not on my dev machine with request beeing aborted (hence, zero response). It fails after exactly 1:19 minutes each time, and the ...