Questions tagged [asp.net-mvc]

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

67 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
14 votes
1 answer
21k views

Parallel Redo Is Shutdown

When looking in Windows event logs, i'm seeing the following messages on an almost continuous basis - Starting up database 'Database'. Parallel redo is started for database 'Database' with worker ...
Gavin Coates's user avatar
5 votes
0 answers
3k 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 ...
Shane's user avatar
  • 243
5 votes
0 answers
778 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 ...
JK01's user avatar
  • 338
3 votes
0 answers
2k 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 ...
Zac's user avatar
  • 163
3 votes
0 answers
395 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 ...
user avatar
2 votes
1 answer
3k views

Application pool recycling takes high time

We have problem with Application pool recycling process. We have our production site with hosted in IIS version 10. We have used separate application pool for our production site. This application ...
Karthik's user avatar
  • 227
2 votes
0 answers
168 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 ...
Dan Champagne's user avatar
2 votes
2 answers
3k 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# ...
Dough's user avatar
  • 21
2 votes
1 answer
348 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. ...
Boas Enkler's user avatar
2 votes
1 answer
7k 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 ...
SpaceCowboy74's user avatar
2 votes
0 answers
2k 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" ...
GETah's user avatar
  • 121
2 votes
1 answer
936 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 ...
vipul dumaniya's user avatar
2 votes
1 answer
1k 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 ...
Jed Grant's user avatar
  • 121
2 votes
1 answer
1k 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 (combination ...
Bart Jedrocha's user avatar
2 votes
1 answer
703 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 --...
usr-local-ΕΨΗΕΛΩΝ's user avatar
2 votes
1 answer
43 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, ...
sukhjeet's user avatar
2 votes
1 answer
2k 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 ...
user1684007's user avatar
2 votes
0 answers
2k 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 ...
Jaxidian's user avatar
  • 283
1 vote
0 answers
40 views

How to establish requirements for a virtual machine for running a kind of MES system

I want to upgrade my existing VM to (Windows Server, more RAM, better CPU, etc) - but I do not know how to evaluate current needs. I am not a software engineer :) and I need your help in defining the ...
Lucian Bumb's user avatar
1 vote
0 answers
444 views

asp.net core deployment to IIS, navigation omits application alias from URL

When I've set up IIS Applications in the past, I've set them up looking like this: When navigating it might look like this (in the browser): http://MY-SERVER/VistaThemeTest/main.aspx And If I click ...
JustLooking's user avatar
1 vote
0 answers
2k views

IIS impersonate 401 Unauthorized (2x asp.net MVC)

I have IIS website with windows auth (only) enabled (lets say site.domain.com). My site calls HTTP rest API on it's subsite (lets say site.domain.com/api). It is different application. It works OK, ...
Miroslav Adamec's user avatar
1 vote
0 answers
489 views

IIS 8.5 becomes unresponsive until iisreset, no indication of issue

I have a web app which is load balanced across two Windows 2012 R2 servers with IIS 8.5. Sometimes, it seems the IIS process gets "stuck" on one web server but there is no indication of an issue ...
blizz's user avatar
  • 1,154
1 vote
0 answers
311 views

IIS with ARR as reverse proxy for ASP.NET WebAPI randomly escape newlines differently

We're running an asp.net Web API appliction in production, using IIS and ARR for SSL-offloading and reverse proxy. We're seeing some weird issues requesting xml from a webapi endpoint. Randomly every ...
Erik Arenhill's user avatar
1 vote
0 answers
862 views

Page cannot be displayed - .net core on IIS8

Im trying to deploy a simple hello world .net core app on iis8. It runs fine in local dev env. When deployed to iis I get "This page cannot be displayed". After deploy, I run dotnet .\TestApp.dll ...
Martin Smith's user avatar
1 vote
0 answers
56 views

ASP.NET MVC App Redirects Break in Azure

Info I'm developing a web application in ASP.NET MVC. It works great running locally (or even on a test server on my network). The moment I push it up to Azure, a couple of the redirects break ...
trademark's user avatar
  • 188
1 vote
0 answers
1k views

IIS Setting Response header makes loading site very slow

My site loads very slow. I have enabled Failed Request Tracing to trace status 200 pages. When I view the trace, I notice that following setting the response header takes a long time: ...
Martijn's user avatar
  • 113
1 vote
1 answer
505 views

IIS WordPress site on alternative port and rewrite rules

I had 2 websites running on a server with 2 different hostnames. Lets call them 1 - hostname1.host.com 2 - hostname2.host.com hostname1.host.com was bound to a WordPress site and hostname2.host.com ...
Carel's user avatar
  • 131
1 vote
0 answers
150 views

High percentage of ajax errors

My company's website uses jQuery ajax to submit forms. A high percentage (5% - 10%) are failing, causing the ajax's error handler to run in the client's browser. The error handler looks like this: $....
wezten's user avatar
  • 113
1 vote
0 answers
581 views

IIS 8.5, Win Srvr 2012 R2 - CustomError mode=Off does not work, Blank page

We have an MVC ASP.net app on IIS 8.5, Win Server 2012 R2. When we set web.config to: <customErrors mode="Off" defaultRedirect="~/error" ></customErrors> The site shows completely blank ...
user1013388's user avatar
1 vote
1 answer
420 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 ...
bjelleklang's user avatar
1 vote
0 answers
3k 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 ...
Jake's user avatar
  • 205
1 vote
0 answers
965 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 ...
Tri Q Tran's user avatar
1 vote
2 answers
2k views

Bad IIS 7.5 performance on webserver

I have a webpage (ASP.NET 4.0 / MVC 4). On my development machine (i5-2500 3.3 8GB Win7 VS2010 SP1 Fujitsu Esprimo P700) the page performs with 160 requests/sec on devenv webserver on my machine. The ...
Robert P.'s user avatar
  • 119
1 vote
1 answer
456 views

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

I am having a very similar problem to this: https://stackoverflow.com/questions/11023923/how-to-fix-this-mvc-website-error-could-not-load-file-or-assembly-system-web-h same exact error message: ...
user avatar
1 vote
0 answers
141 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 ...
Grummle's user avatar
  • 161
1 vote
1 answer
215 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 ...
Martin at Mennt's user avatar
1 vote
0 answers
302 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 ...
TPR's user avatar
  • 285
0 votes
0 answers
502 views

local IIS asp.net mvc web application using windows authentication keep prompting for credentials

I'm using windows 10 enterprise. localhost/mywebapp even not hitting home controller rather stuck on windows authentication prompt and no matter if I enter correct credential or bad credential it keep ...
kneethan's user avatar
0 votes
1 answer
711 views

Hosting .NET Core Razor Application on Ubuntu 20.04 with NGINX

I have started trying to self host some projects to get a better understanding of the Networking/Hosting principles and I have been having an issue with hosting a .NET CORE app in Visual Studio ...
user258738's user avatar
0 votes
0 answers
2k views

ASP .NET CORE 2.0 web application on IIS showing sqlite error 14 "unable to open database file"

So I had run into a problem when I attempted to host a web application. Everything works fine in visual studio and when I use IIS express for debugging, but when I publish it and upload it to my ...
M W's user avatar
  • 1
0 votes
1 answer
712 views

Windows Authentication not working on root site of an IIS 8.5 based web site

I have a intranet web site that is using Windows Authentication. When it is the root web application of the site I get a 403.14 error. When I have a sub-application on the same server Windows ...
John S's user avatar
  • 125
0 votes
1 answer
234 views

IIS - Request filtering - 2 Domain Pointing to same physical path

Is it possible to have different request filtering rules for two domain pointing to same site(Physical folder)? Example - I've an Umbraco site and I want to point two domain to same physical folder/...
Brijesh's user avatar
  • 101
0 votes
0 answers
727 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 ...
progrAmmar's user avatar
0 votes
0 answers
1k 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 ...
Jack's user avatar
  • 119
0 votes
1 answer
737 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 ...
user243770's user avatar
0 votes
1 answer
768 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 http://www....
Slinky's user avatar
  • 1,047
0 votes
1 answer
2k 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 ...
Yoav's user avatar
  • 101
0 votes
1 answer
3k 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 that....
OzrenTkalcecKrznaric's user avatar
0 votes
0 answers
5k 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 ...
J86's user avatar
  • 431
0 votes
0 answers
8k 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 ...
user179585's user avatar