Questions tagged [asp.net-mvc]
The ASP.NET MVC Framework is a Microsoft web application framework that implements the model-view-controller (MVC) pattern.
226
questions
0
votes
0
answers
325
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 ...
-1
votes
1
answer
512
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 ...
0
votes
1
answer
474
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 ...
1
vote
1
answer
253
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 ...
-1
votes
1
answer
31
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....
1
vote
0
answers
37
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 ...
0
votes
2
answers
983
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 ...
1
vote
0
answers
347
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 ...
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 ...
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 ...
-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
...
0
votes
2
answers
16k
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 ...
14
votes
1
answer
18k
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 ...
0
votes
1
answer
587
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 ...
1
vote
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 ...
0
votes
1
answer
208
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/...
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, ...
1
vote
0
answers
436
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 ...
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 ...
-2
votes
1
answer
293
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 ...
1
vote
0
answers
282
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 ...
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 ...
1
vote
0
answers
818
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 ...
27
votes
4
answers
37k
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 "...
1
vote
0
answers
55
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 ...
-1
votes
1
answer
297
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 ...
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:
...
1
vote
2
answers
808
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 ...
1
vote
1
answer
468
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 ...
1
vote
0
answers
145
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:
$....
1
vote
0
answers
535
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 ...
0
votes
1
answer
443
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.
...
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 ...
0
votes
1
answer
278
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 ...
0
votes
0
answers
718
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 ...
2
votes
0
answers
155
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 ...
-4
votes
3
answers
79
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 ...
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 ...
1
vote
1
answer
113
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 ...
1
vote
1
answer
331
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 ...
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# ...
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 ...
2
votes
1
answer
283
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. ...
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 ...
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 ...
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 ...
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 ...
1
vote
1
answer
412
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 ...
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 ...
0
votes
1
answer
3k
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-...