The ASP.NET MVC Framework is a Microsoft web application framework that implements the model-view-controller (MVC) pattern.

learn more… | top users | synonyms

29
votes
7answers
40k views

How can you know what is w3wp.exe doing? (or how to diagnose a performance problem)

I'm having a performance problem in a site we've made, and I'm not exactly sure how to start diagnosing it. The short description is: We have a very small site (http://hearablog.com) with very little ...
12
votes
2answers
4k views

IIS is overriding my response content, if I manually set the Response.StatusCode

Problem when I manually set the HTTP Status of my response stream to, say, 404 or 503, IIS renders up the stock IIS content/view, instead of my custom view. When I do this with the web development ...
10
votes
2answers
35k views

How to diagnose a 500 Internal Server Error on IIS 7.5 when nothing is written to the event log?

I've just deployed an update to an existing ASP.NET MVC3 site (it was already configured) and I'm getting the IIS blue screen of death stating HTTP Error 500.0 - Internal Server Error The page ...
8
votes
3answers
9k views

IIS7 returns blank when static content requested

I am trying to configure a demo machine which is EEEPC with Windows 7 Home Premium edition all the drivers properly loaded (don't ask me why it's Home edition) with IIS7 installed. I've deploy the ...
8
votes
2answers
14k 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 ...
8
votes
1answer
11k views

Why isn't IIS serving my static CSS / JS files?

I added an ASP.NET MVC3 site to ISS (which was working fine in the debugger). When viewing the site in a browser, everything appeared to be working fine except that all of the CSS and JS files were ...
7
votes
1answer
11k views

Problem running MVC3 app in IIS 7

I am having a problem getting a MVC 3 project running in IIS7 on a computer running Windows 7 Home-64 bit. Here is what I did. Installed IIS 7. Accessed the server and got the IIS welcome page. ...
6
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
3answers
6k views

Intermittent high CPU (100%) on production webserver

X-Post from StackOverflow: http://stackoverflow.com/questions/9465123/intermittent-high-cpu-100-on-production-webserver We have a web cluster with 3 web-servers, each with 24 cores & 24GB mem. ...
5
votes
4answers
21k views

How do you configure IIS 7 to use a subdirectory as the default document?

So I have a website running on a discount asp.net account, and I put an asp.net mvc app in a subdirectory. If my url is 'www.website.com' and my app is in directory 'sample', then ...
4
votes
6answers
2k views

How SSD hard drive affected speed of your website (asp.net/linq/ms sql database)

I have a small database (<1G) But we have a lot of complex logiс in website and client complains on render time, which is 3-5 seconds. We are not google, and thousands of users a day is our dream, ...
4
votes
2answers
3k views

First Request to IIS Express Fails with 503 Service Unavailable, Second Succeeds

Each time I start my ASP.Net MVC 3 app from Visual Studio 2010, IIS Express launches and IE spins waiting. The request fails with HTTP 503 Service Unavailable. I hit Refresh in IE, and the request ...
4
votes
2answers
12k views

IIS 8 asp.net mvc HTTP Error 500.19

Hello i have just moved server, for my asp.net mvc framework. but now i get the following error message, and to be honest i do now know what is wrong? Module IIS Web Core Notification ...
4
votes
1answer
14k views

IIS 7 can't run ASP.NET MVC application due to missing System.Web.Helpers

I've set up IIS 7 on my Windows 2008 R2 server according to this guide and deployed my ASP.NET MVC application on it via the one-click publishing method in Visual Studio 2010, but the IIS server fails ...
4
votes
2answers
705 views

Using ASP.NET MVC3, how can I have IIS not redirect 302 on case-sensitive routing?

Using ASP.NET MVC3, how can I have IIS not redirect 302 on case-sensitive routing? For example, I create an application folder under my site called "Admin" in IIS. The javascript (there are hundreds ...
4
votes
1answer
882 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
1k 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
5answers
7k views

IIS 7.5 Siteminder is not protecting ASP.net MVC requests

We are trying to use ASP.Net MVC with Siteminder for Single Sign on. This is on Windows Server 2008 R2 with IIS 7.5. Siteminder Agent version 6QMR6. Problem : Siteminder protects physical ...
3
votes
3answers
640 views

Multiple websites with SSL one application

I have written an ASP.NET MVC application that allows the user to specify their own custom domain. I have IIS configured to send all requests to the default website so I do not need to use host ...
3
votes
1answer
3k views

How can I warm up my asp.net mvc webapp after an app pool recycle?

I am running an ASP.NET MVC webapp in IIS 8.0. My application needs to be warmed up before taking requests. We already have a process to warm up the application automatically when we deploy new code. ...
3
votes
4answers
236 views

Use PC as Web Server [closed]

How can I use my own PC (Win 7 Home Premium, SQL Server 2008 Express,IIS 7.5) as web server for my ASP.NET MVC Website? [Update] : I know how to run IIS in Win 7 and locally I can host my web. My ...
3
votes
3answers
667 views

Is it ok to just copy necessary dll files to a server instead of installing dependencies?

I deployed ASP NET MVC 3 application on server (win2008/iis7.5). Somehow i desided not to install MVC 3 package and devexpress( necessary for app). Instead I have just copied dlls of mvc and ...
3
votes
2answers
8k views

What differences are between IIS 7.0 and IIS 7.5?

I thought that IIS 7.0 and IIS 7.5 have (from the application developer point of view) nearly same features. Then, I found that certain features are not working on IIS 7.0. Are there more features ...
3
votes
1answer
556 views

IIS 6 Denies access to the default document

I've got Windows Server 2k3 with IIS6 hosting a couple ASP.NET MVC 2 applications (.NET 4), all in the Default Web Site. Most of them simply use Integrated authentication, but a couple use forms as ...
3
votes
3answers
2k views

Accessing static content of an ASP.Net MVC project with IIS7

I've pointed my local IIS 7 to my local ASP.Net MVC project and everything is working fine except for the static content. Going to http://localhost:8080/Content/Site.css gives me a 404. I can see the ...
3
votes
1answer
3k views

ASP.NET MVC incorrect connection string when connecting to mssql server

I built my website on ASP.NET MVC4 using mssql database, I deployed it on my local IIS 7 server and it works fine, but when I do to the exactly the same thing on virtual server hostgator.com it throws ...
3
votes
2answers
1k views

How to configure IIS 7.5 without restart + call a batch file on every ASP.NET restart

Query 1 - Is it possible to change "IP Address and Domain Restrictions" on IIS 7.5 without restarting IIS? Query 2 - How to invoke some batch file (or executable) every time an ASP.NET worker process ...
3
votes
1answer
759 views

Should .NET MVC 3 actions trigger w3wp.exe to generate Process Monitor “PATH NOT FOUND” and “NAME NOT FOUND” errors?

I asked this on Stack Overflow, but it was suggested that I also ask it here, since it could be related to IIS: If I create an out-of-the-box ASP.NET MVC 3 Web Application (non-empty, Razor, no unit ...
3
votes
1answer
782 views

Upgrading MySQL Connector/Net

I am trying to publish a website with our hosting provider. I am getting error due to the fact that they only allow a medium trust and the MySQL Connector/Net that I am using requires reflection to ...
2
votes
5answers
6k views

ASP.NET MVC Error

I have an MVC application in .NET 3.5 framework which is hosted in IIS 7. I have created the application in the root of the IIS 7. My application works fine when i try to access the by the path ...
2
votes
3answers
745 views

Why am I getting random 500 errors on my MVC and ASP websites on iis7?

It seems to happen on almost every site and does not matter if it is an ASP or .NET website. if you refresh right after you get that error it goes away and won't come back by just hitting refresh a ...
2
votes
4answers
2k views

To DMZ or not-DMZ on new web site

We are about to release a web application for our users, and are trying to figure out if others put their servers in a DMZ, or just keep it off the domain behind the firewall and greatly restrict ...
2
votes
1answer
2k views

Running a ASP.Net MVC Application on Windows Server 2008

I have just installed a ASP.Net Mvc application on a windows server 2008. When I try to use the application I see that IIS 7 tries to use the static file handler, I therefore get a 403 or 404 error. ...
2
votes
2answers
492 views

Is customer data in SQL Azure safe?

We're looking into the idea of moving an ASP.NET MVC app into Windows Azure, but I'm interested to hear if SQL Azure is safe enough for me to store customer data, such as their home addresses, etc. ...
2
votes
2answers
3k views

Extension-less URLs on IIS6 with ASP.NET MVC

I remember attempting to use an extension-less URL format in a CMS I wrote way back when .NET 2.0 first came out. The problem was deploying to an IIS6 server. It made it practically impossible. I ...
2
votes
1answer
3k views

Can't get MVC3 running on IIS 7.5

I have a development laptop with Visual Studio 2010 and MVC2 and MVC3 installed. I deployed an MVC3 application to a local inetpub location and set it up to run under IIS 7.5. At first I couldn't get ...
2
votes
1answer
108 views

Can ADFS access other user's information?

I need to implement a company website that would be accessed from the outside of the company. It is required that the users are able to login with the same credentials as they access the company ...
2
votes
1answer
3k views

Win Server 2008 + IIS 7 + MVC3: what to install to deploy applications

I'm newbie at deployment. I have OS Windows Server 2008 R2 on my server with IIS 7. I have folder with .Net MVC3 web application. I created new pool, set Framework 4.0 for it. I created new website, ...
2
votes
1answer
1k views

asp.net mvc 2 web application inside a Web site?

I have a Asp.Net Web Site deployed as a WebSite inside IIS 7.5. http://localhost/WebSite Then I have a second Asp.Net MVC 2 web application which is deployed as Sub Application inside the above ...
2
votes
2answers
153 views

Use PC as Web Server

How can I use my own PC (Windows 7 Home Premium, SQL Server 2008 Express,IIS 7.5) as web server for my ASP.NET MVC Website? [Update] : I know how to run IIS in Win 7 and locally I can host my web. I ...
2
votes
2answers
3k views

Nginx on Windows with ASP.NET and the Microsoft .NET framework?

Question: Is it possible to use nginx on Windows to serve ASP.NET / ASP.NET MVC pages using the Microsoft .NET framework ? I know one can do it with mono-fastcgi, but I was wondering if it is ...
2
votes
2answers
122 views

Easy way to reload multiple applications under a single IIS Website after AppPool Recycle?

I'm not sure where to begin or even if my thinking is in the right direction. Hopefully someone here can tell me what to do or at least give me a direction to start travelling. I work on a Intranet ...
2
votes
1answer
618 views

ASP.Net MVC 1.0 on IIS 7.5

G'day, I am trying to move an application from windows server 2003 R2 to Server 2008 R2. It uses MVC 1.0 and to make it work I added a wildcard handler and then unchecked the "check file exists" to ...
2
votes
1answer
388 views

How can I install ASP.NET MVC 1 on a new Windows Server 2008 R2 server?

I have a new Windows Server 2008 R2 box that is successfully running several applications built for ASP.NET MVC 2. I now am trying to run an older application that was build for ASP.NET MVC 1. The ...
2
votes
3answers
3k views

ASP.NET MVC Resource not found

I am working on an MVC project in Visual Studio 2010 with .NET Framework 4.0 + MVC2 and everything works if I set the target framework to .NET 4.0. However, my host does not offer .NET 4.0 in order to ...
2
votes
0answers
103 views

IIS 301 permanent redirect goes into infinite loop

I would like to replace my old domain (oldsite.com) with (newsite.com) and permanently redirect my users. I have the following in my application web.config file: <rule name="Redirect to new site" ...
2
votes
1answer
193 views

IIS 7 - Single Page Application URL issues when aliased

A client of ours has the following setup under IIS Sites - applications (binds to http://applications.domain.com) - app1 - app2 app1 and app2 are both .NET Single Page Applications ...
2
votes
1answer
657 views

IIS 8.5 long compilation and high memory peak on first access

I have MVC 5 ASP.NET application which is precompiled on built server. There is no compilable elements in deployment package. This web application when deployed on IIS 7/7.5 is starting within 5 ...
2
votes
0answers
715 views

ASP.Net/ASP.Net MVC Sites Hanging Indefinitely on IIS 8 on Windows 8

Environment I have recently been experiencing weird behaviour in my development environment when running ASP.Net websites locally on my Windows 8 development computer via IIS8. I have observed the ...
2
votes
1answer
393 views

“mod_mono and xsp have different versions” error

I'm trying to start a test MVC4 application on Mono 2.10 $ xsp --version xsp2.exe 2.10.2.0 Copyright (C) 2002-2011 Novell, Inc. Minimalistic web server for testing System.Web $ mod-mono-server4 ...