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

learn more… | top users | synonyms

22
votes
7answers
32k 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 ...
11
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 ...
8
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
1answer
6k 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 ...
6
votes
1answer
10k 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
7k 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 ...
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
3answers
5k 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. ...
4
votes
4answers
15k 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
1answer
11k 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
5answers
6k 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
622 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
4answers
226 views

Use PC as Web Server

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
2answers
7k 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
335 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
2k 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
708 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
545 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 ...
3
votes
1answer
619 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
5k 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
565 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
2answers
451 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
1answer
1k 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
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
2answers
489 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 ...
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
55 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
1answer
547 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
372 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
371 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
24 views

Redirecting old pages of asp.net webiste to new pages of new website designed

I have a website in asp.net, and about 27,000 pages of its are indexed in Google. I want to redirect all the pages of this site to the new site that i have made in the same platform. The problem is, ...
2
votes
0answers
311 views

Creating a seperate static content site for IIS7 and MVC

With reference to this serverfault blog post: A Few Speed Improvements where it talks about how static content for stackexchange is served from a separate cookieless domain... How would someone go ...
2
votes
0answers
214 views

ASP.MVC website production server configuration best practice

When creating a new website on a production windows 2008 r2 server which requires connection to SQL Express should I create a custom identity for the application to run under or leave it as ...
2
votes
2answers
2k views

DELETE method not allow in IIS (7)?

some how im developing ASp.net mvc application, the DELETE method work fine in VS server, but however, when i test it in an IIS. it's not working and absolutly return a 405 Error.. and currently, I ...
1
vote
1answer
82 views

Changing the user IIS runs over

I am trying to change the user IIS runs over. I read that IIS might run using IUSR_computer_name user but I am not sure if this rule applies to IIS 7.0 The question is, trying to map the whole ...
1
vote
2answers
2k views

IIS HTTP Error 403.18 - ASP.NET MVC 3 (with PHP 5.3 installed?)

I am getting this error when I am setting up a ASP.NET MVC3 application onto an IIS server. HTTP Error 403.18 - Forbidden The specified request cannot be processed in the application pool that is ...
1
vote
2answers
108 views

using win7 pc instead of windows 2003 server

Simple question, in terms of hosting an Asp.net-mvc/SQL Server 2008 R2 Express based app, will a powerful Windows 7 PC do? I just wonder if there is anything I'm missing here, being an App Dev and not ...
1
vote
1answer
547 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. ...
1
vote
1answer
398 views

IIS 7.5 selectively overwrites my error response page

Using Windows 2008r2, IIS 7.5, I have an application using Windows Integrated Authentication (WWW-Authenticate: NTLM, Negotiate). In my ASP.NET MVC code, I am overwriting the IIS error page ...
1
vote
1answer
1k views

IIS 7: Redirecting from non existing subdomains to a subfolder

I'm working on an ASP.NET MVC Multi Tenancy app. Right now I managed to create dynamic subfolders, for instance some one registers with username "bob" and gets the following website: domain.com/bob ...
1
vote
3answers
392 views

Domain and subdomain - using same ip and ssl certificate with san for both domans?

I have a site with a SSL certificate. Now I need to add another site, also using HTTPS. It seems it is possible to do by creating the binding for the new site using another port for the HTTP and ...
1
vote
1answer
457 views

Trouble Publishing an MVC4 site on HostGator

I have been working on a C# MVC4 website and trying to publish it to a Host Gator shared Windows hosting account. They are running both MSSQL 2008 and mySql. We have run into some trouble when trying ...