iis-8

Azure 4 min timeout in web app

怎甘沉沦 提交于 2019-12-06 03:06:05
问题 My project is an ASP.NET MVC 4 project. While in localhost it works fine when I host it in Azure I get a timeout in ajax calls that take more than 4 minutes. I am sure that the problem is with azure because it doesn't matter what I'm doing in the server. even just set Thread.sleep(300000) I get a timeout. I read in: https://azure.microsoft.com/en-us/blog/new-configurable-idle-timeout-for-azure-load-balancer/ That a common practice to keep the connection active for a longer period is to use

Cannot instantiate delphi written application.exe using IIS, MVC4, C# and COM

可紊 提交于 2019-12-06 03:01:41
My web application is a web interface for a desktop application called MyApplication.exe. My web application is written in C# (MVC4) that communicates with the MyApplication.exe (written in delphi) via COM-Objects. When 16 clients invoke the web app via the browser, 16 MyApplication.exe instances will be created on the server: My Problem: if client number 17 invokes the web application, I get the following exception in my eventlog: "System Error. Code: 8. Not enough storage is available to process this command." The process explorer indicates, that the worker process w3wp.exe consumes ~600 MB

HTTP Error 500.19 in IIS 8 when system.web configuration is present in apphost config

☆樱花仙子☆ 提交于 2019-12-05 20:51:45
问题 We have a utility that automatically sets up ASP.NET web applications upon install on customer servers. This utility traditionally adds a number of configurations to the Location path for the new app in applicationHost.config. We do this programmatically using the Microsoft.Web.Administration configuration classes. This works fine in IIS 7.0 and IIS 7.5, but when we try to install the identical configuration in IIS 8 (Server 2012), we start getting 500.19 server errors for everything hosted

.Net MVC custom error page not working in IIS8

余生长醉 提交于 2019-12-05 16:18:56
I have an .NET MVC app which I'm having trouble getting my custom error pages working on a server with IIS 8. Throughout my application, I'm catching and throwing exceptions appropriately and displaying an message on my error page which is customized to their infraction. This is all working great locally when running the app through VS in debug and also when I config a site on my localhost in IIS (6.1). I then deployed it to a server with IIS 8 installed. Initially I was getting the nasty, default 500 error page: default 500 error page http://img202.imageshack.us/img202/1352/b8gr.png After

machine.config processModel autoConfig=“true or false” for Explicit values in .net 4.0

為{幸葍}努か 提交于 2019-12-05 15:09:57
Hi I want to update processModel of my Server's machine.config file. Currently its value is as below: <system.web> <processModel autoConfig="true"/> </system.web> I want to update it with below new changes: <system.web> <processModel autoConfig="true" maxWorkerThreads = "100" maxIoThreads = "100" minWorkerThreads = "50" minIoThreads = "50" /> </system.web> I want to use other values of processModel (see default values at: msdn.microsoft.com/en-us/library/7w2sway1(v=vs.100).aspx) as Default with the values i have Explicitly defined above. I have a Question here: what will be the value of

Got HTTP Error 404.17 while setting up asp.net project onto IIS 8.0

浪子不回头ぞ 提交于 2019-12-05 04:27:26
I am trying to set up an existing asp.net application onto IIS 8.0 on my windows 8 machine and it giving me the following error message. HTTP Error 404.17 - Not Found The requested content appears to be script and will not be served by the static file handler. I googled for a while and trying to solve this problem with several solutions such as registering asp.net manually. However,it is still not working. Most of the solutions are for IIS 7.5 and the problem is the same or not. Any idea! really appreciate. As the blogger that Gearhart refers to points out, the problem may be that .NET 3.5 is

Can not access virtual directory under virtual dotnet core api application on IIS 8

眉间皱痕 提交于 2019-12-04 21:40:22
I am trying to add a virtual directory to my dotnet core API. But it gives me a 404. This api.project.nl page can’t be found No web page was found for the web address: https://api.project.nl/v1/uploads/profiles/profile.jpeg I have set up my api as v1 under the main IIS website as you can see in my IIS project configuration below. The api works fine and I can even reach the /docs folder in my wwwroot whichs serves a index.html (for the custom swagger ui docs). I can reach the uploads folder under the the Projects - Api folder https://api.project.nl/uploads/profiles/profile.jpeg but it cannot

Problems switching .NET project from unmanaged to managed ODP.NET assemblies

与世无争的帅哥 提交于 2019-12-04 17:37:17
I'm trying to switch my .NET project over to the manage oracle to make deployments easier. However I'm getting the following error in my test Win Server 2013 environment: Unable to determine the provider name for connection of type 'Oracle.ManagedDataAccess.Client.OracleConnection'. Steps I've taken so far: Removed all Oracle.DataAccess dll's and references from the solution Added the Oracle Data Provider for .NET (ODP.NET) Managed Driver in the NuGet package manager Switched all Imports Oracle.DataAccess statements over to Imports Oracle.ManagedDataAccess I'm not getting any build errors, and

Application Tier Configuration Failed For TFS 2010 on Windows Server 2012 R2

故事扮演 提交于 2019-12-04 13:48:13
I have installed TFS for Visual studio 2010 on Windows Server 2012R2. ISS is already configured with IIS 6 compatibility, Static content compression and Windows authentication. But the application tier configuration failed with the following errors Error [ Application Tier ] TF255120: Compatibility mode for Internet Information Services (IIS) 6.0 is not enabled. Team Foundation Server requires this on this operating system. Error [ Application Tier ] TF255456: You must configure Internet Information Services (IIS) to use the Static Content component. Team Foundation Server requires the Static

How can I use MVC5 attribute-based routes with a dot/period in them?

戏子无情 提交于 2019-12-04 13:36:53
问题 I have basically an out-of-the box MVC 5.2 app, with attribute-based routes enabled (calling routes.MapMvcAttributeRoutes(); from the provided RouteConfig.RegisterRoutes(RouteCollection routes) method). The following is in HomeController: [Route("hello.txt")] [Route("hellotxt-testing")] public ActionResult ShowFile() { return Content("Hello world"); } I can successfully access /hellotxt-testing (proving attribute-based routing is working correctly): But I get a 404 page if I access /hello.txt