Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [asp.net-mvc]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
84 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 ...
user avatar
0 votes
0 answers
12 views

IIS: Make multiple applications available from same IIS

I am using a VM as a staging server. I have hosted my Sitecor applications there. They are basically 2 websites, abc.local and xyz.local. I wanted my testing team to access abc.local for testing ...
user avatar
  • 101
1 vote
1 answer
140 views

IIS stop bogus API

In IIS can it stop bogus API calls? Yesterday I got flooded with something that was trying to see if a page is on the site. They got the 404 but the application still had to check to see if that was a ...
user avatar
-1 votes
1 answer
27 views

Error on deployment web api mvc4 on azure server

The requested VM tier is currently not available in Southeast Asia for this subscription. Please try another tier or deploy to a different location here is my api code: using System; using System....
user avatar
1 vote
0 answers
24 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 ...
user avatar
0 votes
2 answers
620 views

How can I run an app that works on IIS 10 in IIS 7 or IIS 8.5?

I tested the default MVC template that visual 2017 provides, and tested it on IIS 10,in my local machine, and works great. When I test it on Windows server 2012 R2 (IIS 8.5) or in Windows server 2008 ...
user avatar
  • 101
1 vote
0 answers
200 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 ...
user avatar
1 vote
1 answer
2k views

On app pool recycle user sessions are lost if application pool identity is set to 'custom account' but not when it is set to ApplicationPoolIdentity

On IIS 8.5 we have an web application running with application pool's identity set to ApplicationPoolIdentity. When we switch to Custom account instead of the ApplicationPoolIdentity then web ...
user avatar
  • 145
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 ...
user avatar
  • 1
-1 votes
2 answers
2k views

How to configure multiple Apache subdomains for .NET CORE 2.0 on UBUNTU?

I found this post and updated my config. I have this reverse proxy configuration on Apache. <VirtualHost *:80> ServerName a123.com ServerAlias www.a123.com RewriteEngine On ...
user avatar
  • 61
0 votes
2 answers
13k views

How to configure IIS 10 to read from local SQL database file?

I have been trying to deploy original ASP .NET Web Application using MVC template with authentication via a local SQL database file. So far, I am able to get it to work on my computer. When I publish ...
user avatar
13 votes
1 answer
13k 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 ...
user avatar
0 votes
1 answer
487 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 ...
user avatar
  • 115
0 votes
1 answer
2k 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 ...
user avatar
  • 207
0 votes
1 answer
144 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/...
user avatar
  • 101
1 vote
0 answers
1k 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, ...
user avatar
1 vote
0 answers
386 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 ...
user avatar
  • 1,094
2 votes
2 answers
1k views

Shibboleth 404 when upgrading to ASP.net CORE

I managed to get Shibboleth with SecureAuth working on an IIS server hosting a simple index.html and later a simple ASP.net MVC 4 app, both of which work great. Today, though, I tried simply making ...
user avatar
-2 votes
1 answer
195 views

Queries execute faster when hosted on laptop than on server

I am experiencing a strange issue when publishing an ASP MVC application to Windows Server 2012. The app is fairly simple, and on most of the pages visited it will query an Access database which is ...
user avatar
  • 183
1 vote
0 answers
241 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 ...
user avatar
8 votes
1 answer
5k views

Is there a supported way to run post-deploy scripts on AWS Elastic Beanstalk?

I'm deploying a Windows / .NET MVC app on Elastic Beanstalk, and managed to get through most of the challenges except for one. The webapp in question creates a local cache for binary assets in a ...
user avatar
1 vote
0 answers
779 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 ...
user avatar
25 votes
4 answers
33k views

Difference between "Start application pool immediately" and Start Mode AlwaysRunning

In IIS Manager, an application pool has checkbox for "Start application pool immediately" in the basic setting dialog, and an advanced setting called "Start Mode" which can be set to "OnDemand" or "...
user avatar
  • 351
1 vote
0 answers
53 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 ...
user avatar
  • 188
-1 votes
1 answer
205 views

Configure apache to display external error page on errors

let me start by prefixing my knowledge of apache is basically non existent and that I am trying work with something that was here before me. My problem is that we are hosting an ASP.net MVC web site ...
user avatar
  • 189
0 votes
0 answers
945 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: ...
user avatar
  • 103
1 vote
2 answers
799 views

Cannot connect to Azure Database

I'm having difficulties with connecting to my deployed database on Azure. I'm new to Azure, currently trial license. I have a web application created in ASP.NETCore C# with Visual Studio 2015 (still ...
user avatar
1 vote
1 answer
402 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 ...
user avatar
  • 131
1 vote
0 answers
141 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: $....
user avatar
  • 113
1 vote
0 answers
477 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 ...
user avatar
0 votes
1 answer
430 views

limitations of migrating an existing ASP.NET MVC application to Windows Azure

We are trying to migrate our web app hosted in go daddy to Azure. And i am concerned about feautures not avalibale in azure after reading this post about Top 7 Concerns Migrating to Windows Azure. ...
user avatar
  • 101
0 votes
1 answer
2k views

Windows server 2012, unable to access site in some ports from outside

We have our website hosted in a windows server 2012 server. Some staging sites are also hosted on same server in different port numbers like 5015, 5014. Now I wanted one more site to be added and ...
user avatar
0 votes
1 answer
193 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 my ...
user avatar
  • 87
0 votes
0 answers
698 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 ...
user avatar
2 votes
0 answers
147 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 ...
user avatar
-4 votes
3 answers
77 views

Do I need to purchase an SSL Certificate? [closed]

First time I'm setting up a external web application for a family member. I have a Domain Name purchased through GoDaddy setup to point at my Azure website. I've added the requires SSL filter so that ...
user avatar
  • 101
2 votes
1 answer
5k views

ASP.NET MVC Getting Error 504 after 10 minutes of File Upload

I have an ASP.NET MVC2 Web application, working with SQL Server 2008 R2, running with IIS 6.2. I have a functionality where one particular admin needs to upload about 5000 documents, which then get to ...
user avatar
  • 23
1 vote
1 answer
88 views

IIS Rewrite using IIS Manager

Hi there I am attempted to do a proper IIS rewrite utilizing the IIS manager credentials my hosting provider has given me. I have no experience with this and the articles I have read online so far ...
user avatar
  • 163
1 vote
1 answer
254 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 ...
user avatar
2 votes
1 answer
2k 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# ...
user avatar
  • 21
1 vote
1 answer
6k 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 ...
user avatar
2 votes
1 answer
208 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. ...
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 ...
user avatar
  • 119
0 votes
2 answers
3k views

IIS application Alias

I have an application loaded on my default website http:///AppName now I have received a request for the exact same app, but to have the url "customised" for a specific customer . There is no actual ...
user avatar
  • 207
2 votes
1 answer
6k 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 ...
user avatar
1 vote
0 answers
2k 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 ...
user avatar
  • 205
1 vote
1 answer
290 views

Windows Authentification with IIS and domain groups

We have a web application (ASP.NET MVC) installed on IIS for one of our clients with Windows Authentication enabled. The authentication is working perfectly but the problem is at the authorization ...
user avatar
1 vote
1 answer
2k views

IIS 8.5 cold start

I have a small ASP.NET MVC 5 web application hosted on VDS. VDS has following config: 2.6 Gz CPU, 1 Gb RAM, 20 GB SSD, Windows Server 2012 R2, IIS 8.5. There are maximum 5 concurrent users who can ...
user avatar
  • 113
0 votes
1 answer
2k views

ServerManager.OpenRemote error 80040154 CLSID {2b72133b-3f5b-4602-8952-803546ce3344} in ASP.NET MVC 4

I have a console app, which is using Microsoft.Web.Administration to remotely manage IIS on remote server (I used this https://stackoverflow.com/questions/22458410/credentials-for-servermanager-...
user avatar
0 votes
1 answer
2k views

Images not Rendering on IIS7 Running ASP.NET MVC App

The site 63.208.1.26/FreightRateCentral is not rendering images. Chrome reports HTTP 404 for each of them. This is a fresh install of Windows 2008 R2 and IIS 7. At first, I thought that it was a ....
user avatar
  • 369

1
2 3 4 5