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
-1 votes
1 answer
90 views

Nginx reverse proxy for multiple dotnet apps

I have a virtual server hosted out in the cloud running ubuntu 22.04, registered to one of my domains (myapp.com). I also have another domain (mycompany.com) and have pointed it to myapp.com in the ...
Paul Gibson's user avatar
0 votes
0 answers
457 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
-1 votes
1 answer
931 views

How can I reliably reload Web.config changes in IIS 10 from the command line?

First off, let me start by saying that I'm talking about a development server here. So with all due respect, please refrain from any "you shouldn't do that to your customers"-type of answers ...
Kenny83's user avatar
  • 103
0 votes
1 answer
643 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
1 vote
1 answer
306 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 ...
Jefferson's user avatar
-1 votes
1 answer
34 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....
Sheharyar Kehar's user avatar
1 vote
0 answers
38 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
0 votes
2 answers
1k 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 ...
newbie's user avatar
  • 101
1 vote
0 answers
406 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
2 votes
1 answer
3k 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 ...
Rahatur's user avatar
  • 155
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
-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 ...
yW0K5o's user avatar
  • 71
0 votes
2 answers
17k 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 ...
Ice Drake's user avatar
14 votes
1 answer
20k 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
0 votes
1 answer
668 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
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
0 votes
1 answer
226 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
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, ...
Miroslav Adamec's user avatar
1 vote
0 answers
467 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,144
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 ...
TheSmartWon's user avatar
-2 votes
1 answer
316 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 ...
Bassie's user avatar
  • 193
1 vote
0 answers
302 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
9 votes
1 answer
6k 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 ...
Nuno Linhares's user avatar
1 vote
0 answers
838 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
27 votes
4 answers
40k 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 "...
Ergwun's user avatar
  • 371
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 votes
1 answer
339 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 ...
user22785's user avatar
  • 189
0 votes
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
  • 103
1 vote
2 answers
817 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 ...
miki9009's user avatar
1 vote
1 answer
493 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
148 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
569 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
0 votes
1 answer
449 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. ...
Shaiju T's 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 ...
sudheshna's user avatar
0 votes
1 answer
356 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 ...
Legenda's user avatar
  • 89
0 votes
0 answers
725 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
2 votes
0 answers
158 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
-4 votes
3 answers
81 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 ...
JReam's 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 ...
SantLev's user avatar
  • 23
1 vote
1 answer
135 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 ...
Anders's user avatar
  • 163
1 vote
1 answer
383 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
2 votes
2 answers
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# ...
Dough's user avatar
  • 21
1 vote
1 answer
7k 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 ...
Zameer Ansari's user avatar
2 votes
1 answer
324 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
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
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 ...
Crudler's user avatar
  • 207
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
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
1 answer
431 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 ...
Francis B.'s 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 ...
Alexander Polyankin's user avatar

1
2 3 4 5