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

learn more… | top users | synonyms

2
votes
1answer
271 views

Classic asp site, randomly slow DB connection

We are running a site with classic asp and ASP.NET MVC 4 (C#) side by side. During high traffic, database queries are running really slow in the asp pages. At the same time, in the same site, C# ...
2
votes
1answer
57 views

.net web application in IIS Swapping Folder without appdomain reload

I've a asp mvc application running on IIS and windows. Now I want to configure some kind of staging functionality without requiring an additional server. My simplified plan is to have 2 folders. ...
2
votes
1answer
473 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
479 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 ...
2
votes
1answer
29 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
1answer
747 views

ASP.NET 4 IIS 7 web server timeout

I have 3 applications on the same web server. Two of them are configured in separate ASP.NET 4 application pools and and one of them is on an ASP.NET 2 application pool. I'm experiencing intermitent ...
1
vote
1answer
32 views

Send IIS http error code without sending stacktrace

I have an ASP.NET based API that needs to send http error codes from the server to the client as they occur. I do not wish to send the entire detailed stock error message containing the stacktrace to ...
1
vote
1answer
593 views

How does azure memory usage work?

I have a windows azure website. In the dashboard it shows me that I have used 1.51 GB of the 2GB available per hour. I keep increasing the number of instances available in the shared node so the site ...
1
vote
1answer
437 views

Dependency issue when upgrading my computer to mvc4, and trying to deploy mvc3 applications

I am having a very similar problem to this: How to fix this MVC website error: Could not load file or assembly 'System.Web.Helpers, Version=2.0.0.0 same exact error message: Could not load file ...
1
vote
1answer
548 views

System.Data.SqlClient.SqlException: Failed to generate a user instance of SQL Server due to a failure in impersonating the client

i have published my asp.net MVC 3 web application locally using IIS 7 express and visual developer express 2010, but when i tired to login to the application and after i insert the user name and ...
1
vote
1answer
195 views

Umbraco CMS 5.0 CTP 1 installation skip some steps and does not populate DB

I wish to try Umbraco CMS 5.0 CTP 1 since it has a good reputation. Since im into ASP MVC 3, I thought I would try to install the preview of V5. I know this might be buggy, but I did expect that I ...
1
vote
1answer
2k views

IIS7 500 error on asp.net MVC web application

I have published my asp.net mvc application to my Server 2008 machine running IIS7. When trying to view the site from another machine I just get a 500 internal server error. The application runs just ...
0
votes
1answer
11 views

How to host two web applications with different “domains” in IIS 8

I have setup to entries in my hosts file: 127.0.0.1 mymvcapp.dev www.mymvcapp.dev 127.0.0.1 mywebapi.dev www.mywebapi.dev In the first I want to host my mvc app and the second entry is for ...
0
votes
1answer
433 views

IIS 7.5 returning a 404 for one MVC route, but only when deployed

I have a site that is working fine on my local dev machine. When I run everything in IIS Express, the site is working fine. However, when i deploy my app to production, everything but one route is ...
0
votes
1answer
424 views

Building a bulk email messaging solution

I code with c sharp asp.net. I have a business app. I need to send emails in large mass. But when I look at the existing email marketing solutions using them would increase my cost overhead. I intend ...
0
votes
1answer
302 views

Granular Redirects in IIS and ASP.NET MVC

The marketing people decided that they want us to change the URL of a page. So anything like: http://www.boyscouts.org/NewClubOpening/ http://www.boyscouts.org/NewClubOpening?c=16 ...
0
votes
1answer
293 views

azure website restart and take old dll version

One of my site is hosted on windows azure and when azure restart site from manage windows azure panel. then it take old version dll and site is down until we restart the site by deploying global.asax ...
0
votes
1answer
817 views

Access a web application with a port number iis

I have an ASP.NET application that I'm trying to upload to a server. the server is Windows Server 2008 R2 Standard with IIS 7.5. The server IP address is like so: 212.199.xxx.yyy:zzz and is ...
0
votes
1answer
381 views

IIS site blocks internet connection

I'm fighting this problem for some time. When my ASP.NET MVC4 website starts to get served on my locally installed IIS (runs on port 8081, not 80!), internet connectivity gets blocked. Just like ...
0
votes
1answer
640 views

Mono 3.0 not intercepting requests on Apache2/CentOS

I have Mono 3.0.6 up and running on a CentOS 6/Apache 2 setup. I have published an ASP.NET 4.5/MVC4 website on the server. However, when I try to reach the website I get a status code 503 (Service ...
0
votes
1answer
236 views

MVC4 publishing error - Start Page empty

Just finished an MVC4 project and plubished it to a local folder. I´ve uploaded it to my hosting but nothing happes. Localy works fine: open the home.cshtml page, acess database, etc. But published ...
0
votes
1answer
685 views

IIS 7 Impersonate - ASP.NET MVC 3 Application

I've developped an application under ASP.NET MVC 3 (C# / Razor) framework and everything works fine so far. Yesterday, I've decided to install IIS 7 (7.5 I think?) on my developpement machine (Windows ...
0
votes
1answer
729 views

IIS6 Application Pool: App breaks until recycled

I've been experiences some problem with website that use ASP.net MVC or Webform. Problem: Sometime the website isn't showing. If I go to the website, I'll get the Directory Browsing is not permitted ...
0
votes
1answer
130 views

Site hanging under IIS when calling through interop

I have a website written using MVC3 where the backend is a 3rd party system written in Cobol. The webserver should starts the Cobol runtime through an interop dll and thereafter performs a call to the ...
0
votes
1answer
798 views

Exception has been thrown by the target of an invocation

Line 54: <providers> Line 55: <clear/> Line 56: <add name="RolesProvider" type="Eacademy.Library.Membership.CustomRoleProvider, Eacademy" ...
0
votes
1answer
342 views

Error when deploying an mvc2 application in an IIS

We are deploying an MVC2 based app on IIS at production environment floating in Internet. An error occurs and this is the process to raise it: The user clicks on a link to display a web form The ...
5
votes
0answers
532 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
13 views

IIS returning 401.0 when accessing MVC app

I have an MVC5 site that has been running in an IIS8 server for a couple months now. Suddenly, the server is returning 401.0 errors for some people. Not everyone, just some. And there's no real ...
2
votes
0answers
324 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
0answers
1k 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
0answers
286 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 ...
1
vote
0answers
1k views

What is optimal IIS threading settings for a Win2012 server that does lots of slower web service calls?

We have a Windows 2012 Server that communicates to lots of other services via SOAP based web services using ASP.Net and .NET 4.5. These services tend to have higher latency (i.e. 2-6 seconds to ...
1
vote
0answers
659 views

ASP.NET + MVC 4 + IIS 7 + MSSQL slow response

I have recently deployed an ASP.NET MVC4 application to a IIS 7 server, but something is not quite right. I have a log-in action that access the user credentials stored in a MSSQL 2008 R2 server, and ...
1
vote
0answers
86 views

Issue with MVC4 site on Windows Server 2003 causing the server to disconnect from network

I have a fairly beefy MVC4 site running on a Server 2003 box (32 bit). This box is also running our companies main ERP system (including it's SQL Server instance), so it's a pretty taxed box. ...
1
vote
0answers
102 views

Extract Distinct restful MVC routes from IIS logs

This is a cross post from StackOverflow that after some consideration I believe can be asked here (not getting anything on SO). My shop is using MVC3/FUBU on IIS 7. I recently put something into ...
1
vote
0answers
1k views

ADFS acting like it has a Relying Party Identifier blacklist?

In our development environment, we're having a problem with our configured Relying Parties in ADFS 2.0 that is baffling me. It's acting as though there is a blacklist of identifiers. We have 3 ...
1
vote
0answers
1k views

Custom error screen for 404 errors w/ MVC3 and IIS 7.5

In my MVC 3 app, I'm trying to show custom 404 pages. I've got the 403 pages to work, by returning a HttpStatusCodeResult. However, 404's are handled by MVC, and evidently, something is being done ...
1
vote
0answers
284 views

asp.net mvc - membership provider

For my ASP.NET MVC app, I just find dealing with unique-identifiers harder, so I have added my own field to ASPNET_USERS table - UserIdInt (which is actually a bigint!) So most of user operations use ...
0
votes
0answers
14 views

Can Windows Nano Server host an MVC 5 (or older) application?

I know that Nano Server is improved to host an ASP.NET 5 MVC6 application, but I would like to know if I can also host an MVC5 application with IIS running
0
votes
0answers
53 views

Windows update Microsoft.NET Framework 4.6.1 for Windows Server 2012 R2

I have a Windows 2012 server where I am getting this update as an important update. "Microsoft .NET Framework 4.6.1 for Windows Server 2012 R2 for x64 (KB3102467)". I have a .NET MVC application on ...
0
votes
0answers
27 views

What is the benefit of the RDS Environment Variables being set for EC2 instances?

Background I am running an ASP.NET MVC website running from Elastic Beanstalk. I have an Windows EC2 instance running IIS and an RDS instance in an Elastic Beanstalk environment. The Problem I've ...
0
votes
0answers
14 views

How to deploy database and blob storage in sql express 2014

this is my first time deploying my application (ASP.net MVC 5) in local environment and I had a lot of problems doing so. My first problem is deploying the database, I used entity framework which ...
0
votes
0answers
24 views

unable to force my cron job expression inside Hangefire tool to run on a specific hours

I am working on an asp.net MVC-5 web application. and i am using HangeFire tool to run background jobs. now i want my background job to run at 17 & 18 & 19 & 21 & 22 & 1. so i am ...
0
votes
0answers
275 views

How to enable incoming and outgoing world wide web traffic in IIS

Goal: Access website hosted on a remote cloud's IIS via web-browser. Case: I wanted to open my IIS server (Windows server 2012 virtual machine hosted on Google compute engine) so that the website ...
0
votes
0answers
192 views

web.config rewrite rule from subdomain to folder using root web.configs connection string

We have a rewrite rule in place to forward demo.website.com to the subfolder which contains the Demo website (website.com/Demo). The problem is that it is still using the root web.configs db ...
0
votes
0answers
539 views

IIS 8.5 Instant 404.0 error on MVC site

I have an MVC site which I have published to my server. It has two different roles for internal and external users. Externally (using www.oursite.com) the site works fine. when we try to access it ...
0
votes
0answers
917 views

IIs 7.5 Error Detailed error 404.0 Not Found

HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Module :IIS Web Core Notification :MapRequestHandler Handler ...
0
votes
0answers
2k views

“You do not have permission to view this directory or page.” on IIS 7.5 with WinServer 2008 R2

I have just uploaded my ASP.NET MVC 4 website through Visual Studio 2012 (FTP method). I login to my Windows Server and can see the files have been uploaded. I've checked all bindings ... etc. But ...
0
votes
0answers
3k views

.NET SocketException - The requested name is valid, but no data of the requested type was found

I've been scouring the web looking for someone who has had the same kind of error that I am experiencing but have come up dry. I deployed a new ASP.NET web application to IIS and when I try to access ...
0
votes
0answers
413 views

Weird IIS 302 then 404

When I access our site URLs from a browser they work fine. When I try to fetch as GoogleBot or via a cURL command this happens: I am coming from a Linux/Apache background so any guidance for ...