iis

Error 5021 creating a “Managed Service Account”

拥有回忆 提交于 2021-01-28 05:35:14
问题 I have spent several days trying to get a "managed service account" set up on Windows Server 2012 for a .NET web app. Let's start with the error and work backwards. I get the following events ever time I try to access a page on the web site where * is the name of my app pool: Warning 5021 - The identity of application pool * is invalid. The user name or password that is specified for the identity may be incorrect, or the user may not have batch logon rights. If the identity is not corrected,

Deploy plotly dash on IIS

核能气质少年 提交于 2021-01-28 02:00:27
问题 I am trying to deploy a plotly dash to IIS. First I followed the instructions in the link: Flask on IIS - James Polera then when i use this script it is works: from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello from FastCGI via IIS!" if __name__ == "__main__": app.run() but when i use this script it doesn't works for dash: import dash import dash_core_components as dcc import dash_html_components as html app = dash.Dash() app.layout = html.Div(children=

.Net Core 2.2 and IIS Session Data

﹥>﹥吖頭↗ 提交于 2021-01-28 00:33:57
问题 I'm trying to deploy a .NET Core 2.2 app on IIS. The IIS server is configured for SSO with ADFS (SAML). That is working, and after successful authentication IIS stores the user's login attributes as session variables and uses a cookie for session id. When I deploy a simple ASPX template to display the attributes, it works fine: <% @ Page Language="C#" %> <% Response.Write("<h3>Session Variables</h3>"); Response.Write("User Id = " + Request["userId"] + "<br>"); Response.Write("Email = " +

How to increase size limit for HTTP header value in request for Azure IIS?

蹲街弑〆低调 提交于 2021-01-27 23:28:42
问题 Token is passed in Authorization header in GET request like this: Authorization: Bearer <token here> Using trial and error I figured out that header value limit must be around 2048 , because requests with tokens smaller than that are passed to my ASP.NET app without any changes and requests with larger tokens have Authorization header removed triggering 401 in my app. App is published to Azure. It doesn't seem to matter whether request is GET or POST. Limit looks similar to querystring limit

increase php max_execution_time in IIS 7.5

寵の児 提交于 2021-01-27 21:54:56
问题 I'm trying to increase the max_execution_time value in PHP(5.5) running on IIS 7.5 (Windows Server 2012). phpinfo() shows max_execution_time=300 regardless of what I tried. Some Internet sources mentioned that this value is overridden by something in IIS. Based on Internet searches, I've tried the following: Edited max_execution_time in php.ini to 1200 then restarted server - no effect Changed CGI->Behavior->Time-out to 1200 then restarted server - no effect Put "ini_set('max_execution_time',

In IIS rewrite rules, is it possible to return a CustomResponse statusCode with a URL?

泄露秘密 提交于 2021-01-27 21:50:08
问题 We are planning a maintenance window for some of our sites (say at a.b.com, b.b.com and c.b.com). What we would like to do is to return a 503 return code for a holding page sitting on our main site (which is powered by a Tridion CMS database) (say at www.b.com/maintenance.html) as that site is not undergoing maintenance. Is that possible? We know you can create an app_offline.htm file in the root of each of the applications undergoing maintenance, but that would require us to build a

Visual Studio 2013.2 can't build because IIS is locking an assembly

雨燕双飞 提交于 2021-01-27 21:14:39
问题 My ASP.NET MVC 5 application is using my local IIS (Windows 7) which worked great until I had to start using the Microsoft.SqlServer.Types NuGet package. Because the package has native assemblies they have to be specialty loaded at runtime. The problem I'm running into though is that after I rebuild the application and access it through the browser IIS loads and locks the native assemblies. If I make the change and rebuild again, Visual Studio fails and says the assemblies are locked by

Azure App Service IIS “maxRequestLength” setting

一曲冷凌霜 提交于 2021-01-27 18:35:32
问题 I have a NodeJS application deployed on a Azure App Service. Doing a post with a file of 38 MB I obtain a 404 error but under the hood there is a IIS problem "Request filtering is configured on the Web server to deny the request because the content length exceeds the configured value." To set ' maxAllowedContentLength ' I have to edit ' web.config ' file. This is not good because if I do some change on the Azure Portal App Settings my local version of web.config ' goes in conflict with the

ASP.NET UDP socket code works in development, but not in production on IIS

折月煮酒 提交于 2021-01-27 14:46:06
问题 I have the following UDP broadcast listener running as a static component in a seperate thread on an ASP.NET web application. Why I would do this is really, unimportant, but the reason why this wont work when deployed baffles me. I do have several console applications sending UDP broadcasts, and I've coded tested and confirmed this thread and its code working when running under Visual Studio on the VS2005 development web server, but the moment that I compile the code and deploy it to another

ASP.NET UDP socket code works in development, but not in production on IIS

不羁岁月 提交于 2021-01-27 14:00:12
问题 I have the following UDP broadcast listener running as a static component in a seperate thread on an ASP.NET web application. Why I would do this is really, unimportant, but the reason why this wont work when deployed baffles me. I do have several console applications sending UDP broadcasts, and I've coded tested and confirmed this thread and its code working when running under Visual Studio on the VS2005 development web server, but the moment that I compile the code and deploy it to another