iis-8.5

Tips for running IdentityServer4 in a web farm

自闭症网瘾萝莉.ら 提交于 2021-01-27 07:27:23
问题 Does anyone have experience with running IdentityServer4 in a web farm (multiple IIS servers) behind a load balancer? We've had some issues getting 2 servers to work together. I didn't see a deployment guide for IdentityServer4. There is one here for IdentityServer3. https://identityserver.github.io/Documentation/docsv2/advanced/deployment.html We have implemented the DataProtection in the Startup.cs. StackExchange.Redis.ConnectionMultiplexer connectionMultiplexer = RedisConnectionFactory

Hanging TuesPechkin after initial conversion

妖精的绣舞 提交于 2020-06-27 08:00:50
问题 I am attempting to create a Web API that can convert a styled HTML file into a PDF. I am using TuesPechkin and have installed my application into IIS (as a 32-bit app: I have modified the application pool to run in 32bit mode). IIS 8.5 is running on Windows Server 2012 R2. PDFConversion class in C#: using System.Drawing.Printing; using System.IO; using TuesPechkin; namespace PDFApi { public class PDFcreator { public void convert(string path, string uri) { IConverter converter = new

Hanging TuesPechkin after initial conversion

萝らか妹 提交于 2020-06-27 07:59:31
问题 I am attempting to create a Web API that can convert a styled HTML file into a PDF. I am using TuesPechkin and have installed my application into IIS (as a 32-bit app: I have modified the application pool to run in 32bit mode). IIS 8.5 is running on Windows Server 2012 R2. PDFConversion class in C#: using System.Drawing.Printing; using System.IO; using TuesPechkin; namespace PDFApi { public class PDFcreator { public void convert(string path, string uri) { IConverter converter = new

Compiler Error Message: The compiler failed with error code -532462766

ⅰ亾dé卋堺 提交于 2020-05-09 18:27:14
问题 This one seems to be originated after upgrading from vs2015 to vs2017. The error is Compiler Error Message: The compiler failed with error code -532462766. Some notes.. It works great on localhost. The target framework is 4.5.2 I removed and re-installed all the nuget packages Whie tracing i have ModuleName AspNetInitializationExceptionModule Notification BEGIN_REQUEST HttpStatus 500 HttpReason Internal Server Error HttpSubStatus 0 ErrorCode The operation completed successfully. And the full

ASP.NET Process.Start not working on IIS8 (Windows 8.1)

拜拜、爱过 提交于 2020-02-08 08:51:13
问题 I've been trying to get this working for the past couple of days and tried every solution suggested including the one here: System.Diagnostics.Process.Start not work from an IIS This code (ASP.NET MVC Web Application) works perfectly on IIS7 (Windows 7). The code just print a PDF file using Adobe Reader in a local printer (intranet) from the server: // print receipt ProcessStartInfo psInfo = new ProcessStartInfo(); psInfo.FileName = acrobatReaderPath; psInfo.WorkingDirectory = System.IO.Path

Cannot get authentication working in IIS 8.5

心不动则不痛 提交于 2020-01-16 07:39:31
问题 We have installed Basic and Windows authentication for IIS 8.5 on our Windows 2012 server but cannot get the server to prompt the client for credentials. Under the "Authentication" feature we have only 2 options (despite restarting IIS numerous times): Anonymous Authentication: Disabled ASP.NET Impersonation: Disabled When we set anonymous to Disabled we get a 401 but no Authenticate headers. When we Enable it we get a 200 but are anonymous. We've tried all sorts of settings in web.config and

Visual studio debug access to external database

夙愿已清 提交于 2020-01-06 16:29:30
问题 I have a question as to how the Visual Studio 2013 debug emulator for Web API works. I had built a Web API project in Visual Studio 2013 to access a database on an external server. The code was built using VS2013's ASP.NET Web Application project template for a Web API application. Once built, running debug opened a browser window for localhost port 56618, which allowed access from Fiddler to test Http requests. Once I had the project finished, I published it to a website using Web Deploy to

HTTP Error 403.14 - Forbidden (simple Web Form)

笑着哭i 提交于 2020-01-06 02:21:10
问题 I am writing a simple web form app that retrieves data from xml. It seems like I tried everything that was recommended as shown in the picture but error still exists. Used IIS Express to solve the problem but it just doesn't work. Please help. 回答1: Update Actually it is possible that you just need to set a default page for your application. You can right-click at a page in your application then select Set As Start Page First Answer Try to run in c:\Windows\Microsoft.NET\Framework64\v4.0.30319

Inno Setup CreateOleObject('IISNamespace') throws exception on Windows Server 2012

怎甘沉沦 提交于 2019-12-30 10:38:13
问题 I am trying to create IISSetup in the Windows Server 2012 (IIS version 8.5) through the below install script but throws error "Invalid class string". code: var IIS, WebSite, WebServer, WebRoot, VDir: Variant; ErrorCode: Integer; begin { Create the main IIS COM Automation object } try IIS := CreateOleObject('IISNamespace'); except RaiseException( 'Please install Microsoft IIS first.'#13#13'(Error ''' + GetExceptionMessage + ''' occurred)'); end; end; 回答1: I had the same issue on a Windows

Inno Setup CreateOleObject('IISNamespace') throws exception on Windows Server 2012

我是研究僧i 提交于 2019-12-30 10:37:35
问题 I am trying to create IISSetup in the Windows Server 2012 (IIS version 8.5) through the below install script but throws error "Invalid class string". code: var IIS, WebSite, WebServer, WebRoot, VDir: Variant; ErrorCode: Integer; begin { Create the main IIS COM Automation object } try IIS := CreateOleObject('IISNamespace'); except RaiseException( 'Please install Microsoft IIS first.'#13#13'(Error ''' + GetExceptionMessage + ''' occurred)'); end; end; 回答1: I had the same issue on a Windows