Web application framework developed by Microsoft

learn more… | top users | synonyms

5
votes
2answers
5k 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
10answers
10k 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
6answers
12k views

Javascript Errors only on Production Server?

I am in the process of releasing a couple of asp.net websites from development to production. Everything seems to be working fine in development, but upon the release to production we get a number of ...
5
votes
1answer
992 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
12k 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
2k 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
1answer
140 views

Could a Microsoft security update make major changes to the IIS configuration like this?

I've recently noticed a number of significant changes to my IIS configuration, some of which have major implications. I've dug through the daily backups and found that the change coincides with the ...
5
votes
2answers
526 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 ...
4
votes
8answers
11k views

Cannot start IIS - how do I find what is running on port 80?

This is on a Windows Vista machine running IIS 7. Trying to start Default Web Site, but it says: "The process cannot access the file because it is being used by another process? If I change binding ...
4
votes
5answers
448 views

Do I really need Exchange Server?

My company got a app that we develop, a big part is the email function on it(sending only). So far we have been able to handle everything on just regular smtp service(in house so to speak) in the ...
4
votes
5answers
578 views

ASP.NET Future on linux?

I was wondering. What do you guys think about ASP.NET future on linux? I dont know much about IIS and i know some things about linux. I dont want to program anything in php and while searching for ...
4
votes
1answer
2k views

Why are 32-bit application pools more efficient in IIS? [closed]

I've been running load tests with two different ASP.NET web applications in IIS. The tests are run with 5,10,25, and 250 user agents. Tested on a box with 8 GB RAM, Windows 7 Ultimate x64. The same ...
4
votes
1answer
292 views

Backup database at certain intervals?

My client would like to have the database backed up several times per day, as well as the ability to backup the database manually. I've created a page to backup the database manually, it just calls a ...
4
votes
4answers
2k views

Multiple SSL certificates to access one ASP.NET application in IIS

1 Hi, I have an ASP.NET application that's currently accessible via a single domain name, with an SSL certificate. We'd like to be able to access the same application via a second domain name. The ...
4
votes
5answers
6k views

New Session Failed

We've started to see instances on our Intranet server where for any page the server just responds with the error page 'HTTP/1.1 New Session Failed'. It seems we can fix it by running IISRESET but this ...
4
votes
1answer
2k views

Even admin cant register ASP.NET 4

When I try running the following command, logged in as admin, I get the accompanying error: C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis -i An error has occurred: 0x8007b799 You ...
4
votes
1answer
4k views

How to check how many users are online?

I administer a ASP.NET website that has decent traffic. In the middle of the day, I sometimes would need to either redeploy the website, change the configuration in the web.config file or make some ...
4
votes
2answers
286 views

Secure IIS/MS-SQL [closed]

I have Windows Server 2008, with IIS 7.5 and SQL Server 2008. I want to install DotNetNuke which is an ASP.NET application. What are the necessary precautions to not to get pwn3d.
4
votes
7answers
925 views

Simple issue regarding date formats

We are hosting a website that when browsed to locally loads up fine but if you browse to it externally you get Conversion from string "1/15/2010 8:46:01 AM" to type 'Date' is not valid. What do I ...
4
votes
4answers
12k views

IIS on localhost is very slow

I am using IIS7 on Windows Vista dual core cpu. The first time hit on a WCF service or an ASP.NET webform sometimes takes way longer than a minute which is not really acceptable for me. I configured ...
4
votes
6answers
13k views

SQL Server 2008 login problem with ASP.NET application: Failed to open the explicitly specified database

I am running SQL Server 2008 Express Edition on Windows Server 2008 with an ASP.NET application which must access the server. The ASP.NET application is associated with an application pool that runs ...
4
votes
2answers
408 views

Disable .net completely in a IIS6 Application Pool

we're managing some web sites for our clients on our servers, some running Windows Server 2003 R2 and others running 2008 R2. In Windows Server 2008 R2, we can disable completely .NET framework usage ...
4
votes
1answer
2k views

The configSource file 'connections.config' is also used in a parent, this is not allowed.

Question: I face the following situation: A ASP.NET .NET 4.0 web-application deployed on machine "vmsomething". The web-application running on IIS 7.5 resides in d:\webs\myapplication on ...
4
votes
2answers
4k views

Requests in IIS' “SendResponse” state stuck for a long time; Slow IIS 7.5/ASP.NET 4.0 web application

I have a set of very beefy, very underutilized servers which are running a couple virtual machines with Windows Server 2008 R2 and IIS 7.5. The problem: Sometimes requests take a very long time to ...
4
votes
1answer
4k views

Getting 404.2 Error on IIS 7.0

I'm getting the following error when trying view my freshly deployed application on IIS 7.0 on a Windows Server Standard server with Service Pack 2: HTTP Error 404.2 - Not Found The page you are ...
4
votes
2answers
5k views

Should i use processModel autoConfig=“true” for my production server?

Should i use processModel autoConfig="true" for my production server or should i customize values for processmodel? Edit I do have slowdowns. The CPU is maxing out. The app itself is not that CPU ...
4
votes
8answers
10k views

Emails are being rejected by some email providers

I have this asp.net application that sends out emails. The SMTP server is iis6. The emails are being sent on behalf of our application users and they have different domain names. Most of the email ...
4
votes
1answer
1k views

Cannot get IIS7 to send cookies to IE

I have a web application that I have created that uses the basic asp.net authentication. The authentication systems are working fine code-wise, however I cannot get IIS7 to send the cookies to IE web ...
4
votes
8answers
3k views

How to calculate web server traffic?

We have an asp.net web server application and web service,which will be hosted in the same server. Customer's IT team has asked us what is the expected no.of traffic on the web server. How do I ...
4
votes
1answer
88 views

Is ASP.NET debug mode a security risk?

Turning off debug mode in ASP.NET is one of the things that's mentioned even in the most beginner tutorials on ASP.NET security. Unfortunately, in website projects debug mode is the only way to obtain ...
4
votes
1answer
980 views

Two application pools or root virtual directories under one site

This might sound like a very dumb question, so let me first say what I want to achieve and then proceed to my question on how I'd envision something like this working. I am trying to achieve ...
4
votes
1answer
55 views

What is this user name for and how did it get created?

When I created a website named Portal on my IIS 7.5 on the website permissions->security I got this user. What is its purpose? From what I have read the ApplicationPool runs under NetworkService ...
4
votes
1answer
2k views

IIS 7.5 truncating POST body containing JSON data with ASP.NET MVC 3

I'm facing a problem which I hope is a configuration thing with IIS but is right now giving a lot of trouble. Basically I have a controller that accepts a JSON and does some processing. While it ...
4
votes
2answers
4k views

ASP.NET app eating memory. Application / Session objects the reason?

So we're stress testing an ASP.NET application developed by an external company. We're doing roughly 50 requests per second, and after about half an hour each of the 48 worker process (w3wp.exe) is up ...
4
votes
1answer
2k views

How much memory w3wp.exe consume

I have 32 gb ram on my server, And my w3wp.exe process crashes when it reaches around 1gb of memory. I monitored it through task manager. It is a 64 bit machine (Browser Requests are not responded ...
4
votes
4answers
226 views

App Pool limitations

We currently have about 600 .net sites in a single app pool. We're starting to get out of memory exceptions and have to recycle the app pool to fix the problem. I know it's generally a good idea to ...
4
votes
3answers
231 views

Best Practice: Using Asp.net and Microsoft SQL 2005 what is the best way to load balance/achieve high availability accross two physical sites?

I asked this on StackOverflow when serverfault was in beta. Giving it a second shot. I have 4 Servers in two physically separate locations. Each server is running Windows Server 2003 Standard and ...
4
votes
2answers
262 views

What permission is needed for my SQL Server 2005 DB for a WebUser?

I have a connection string in my asp.net code that looks at a SQL Server 2005 database. I created a UserName called WebUser and granted him db_datawriter and db_datareader in SQL Server 2005. Both ...
4
votes
8answers
2k views

Why won't IIS execute my custom 404 page? It tries to serve up the raw source code instead

I'm trying to configure Custom Errors in IIS6. I select the 404 error, set the dropdown to "URL," then enter this as the URL "/404.aspx" When go to: http://mysite.com/no-page-here It finds ...
4
votes
0answers
179 views

IIS - CPU Usage Gradually Increases Over Several Days Until 100%

The picture explains it all. We have had a problem with an IIS MVC 5 website hosted on Microsoft Azure over the last several months. The site appears to continually eat up CPU over a few days until ...
4
votes
2answers
4k views

SQL Server Connection Timeout after load brought onto IIS web server

We have MSSQL 2008 R2 running on windows 2008 r2 it's being hit by 2 server 2008 r2 webservers running asp.net. Both are joined to an active directory domain and use integrated authentication to ...
4
votes
0answers
294 views

Error during GENERAL_REQUEST_ENTITY for POST results in ASP .NET session state never getting unlocked

I have been trying to chase down the root cause of a condition where ASP .NET session state remains locked after a web request has been terminated due to an unexpected error. We use the SQL Server ...
4
votes
0answers
103 views

Corrupt General Tab in Event Viewer

Whenever ASP.NET reports a dangerous query string value to the Application log and the request contains a certain combination of characters; the event viewer will not show the error information and ...
3
votes
3answers
6k views

IIS7 application pool Framework version 3.5 missing

I'm just trying to create a new application pool in IIS7 and specify 3.5 for its framework version. However it only has "v2.0.50727" or "no managed code" as options in the framework version drop ...
3
votes
8answers
3k views

MemCached on Windows x64

This question has previously been asked, but that was a year ago and I wanted to know if there had been any developments since then. Basically we'd like to use a MemCached Server on a Windows Server ...
3
votes
4answers
232 views

“Catch All” Server-Side Load Profiling

If I have an infrastructure with some Web Servers (Windows 2003 and IIS) and a Database (SQL Server 2005) and ASP.net, I wonder if there is a catch-all tool that simply allows me to say "Ok, I now ...
3
votes
2answers
1k views

how does NewRelic work by simply installing .Net agent?

Yesterday, I decided to give NewRelic a try. I signed up for a free account, and installed the .Net agent, and restarted IIS as instructed. Immediately, this agent started showing up a wealth of ...
3
votes
2answers
1k views

Setting Up Login for ASP.NET Application on SQL Server 2008

I have 2 Windows 2008 Servers. One is a web server (IIS7). The other is a database server (SQL Server 2008). The instance of sql server 2008 is configured to use mixed mode authentication. Neither are ...