iis-7.5

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

WCF using Reverse proxy

感情迁移 提交于 2021-01-27 06:28:31
问题 My apologize for long post... We have a WCF service written in .Net 4.0 used internally within the organization. Recently there was a requirement to make this service available outside the organization network. So the network guys used reverse proxy to make this service available outside the organization. Here is the picture how it is set up. As you can see in the picture..the service http://mywebservice.com/readd.svc is hosted on WIndows 2008 R2 which has a internal IP address as XXX.YYY.ZZZ

Process exists with ExitCode 255

旧时模样 提交于 2021-01-27 05:34:45
问题 [IIS 7.5 / Windows 7 / Visual Studio 2012] I am trying to have my MVC app run an external command line tool located on the same machine. I gave execute permissions to IIS_USRS to the whole folder that contains the tool. I invoke it with: ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.WindowStyle = ProcessWindowStyle.Normal; startInfo.FileName = myPath; startInfo.Arguments = myArguments; PartialRunProcess = Process.Start(startInfo); No exceptions (path is right), but the

Do web.config header size limits override http.sys limits in the registry?

霸气de小男生 提交于 2021-01-01 04:28:45
问题 I have an ASP.Net 4.0 application using Windows Integrated Authentication on IIS7.5 on Windows 2003. Some users are reporting errors with this message: Bad Request - Request Too Long HTTP Error 400. The size of the request headers is too long. Others succeed in loading pages but have errors loading other resources and performing AJAX calls. One of the users experiencing intermittent errors has a Kerberos Authorization header of about 5700 characters. This user is a member of 250 AD groups. My

Do web.config header size limits override http.sys limits in the registry?

一个人想着一个人 提交于 2021-01-01 04:27:06
问题 I have an ASP.Net 4.0 application using Windows Integrated Authentication on IIS7.5 on Windows 2003. Some users are reporting errors with this message: Bad Request - Request Too Long HTTP Error 400. The size of the request headers is too long. Others succeed in loading pages but have errors loading other resources and performing AJAX calls. One of the users experiencing intermittent errors has a Kerberos Authorization header of about 5700 characters. This user is a member of 250 AD groups. My

Do web.config header size limits override http.sys limits in the registry?

我们两清 提交于 2021-01-01 04:26:47
问题 I have an ASP.Net 4.0 application using Windows Integrated Authentication on IIS7.5 on Windows 2003. Some users are reporting errors with this message: Bad Request - Request Too Long HTTP Error 400. The size of the request headers is too long. Others succeed in loading pages but have errors loading other resources and performing AJAX calls. One of the users experiencing intermittent errors has a Kerberos Authorization header of about 5700 characters. This user is a member of 250 AD groups. My

“Unable to open the database file” (warning: Wide error)

你。 提交于 2020-08-23 09:52:07
问题 I cannot seem to get anything out of SQLite other than "Unable to open the database file" on IIS. I'm convinced SQLite's error messages are as brusque as Oracle's. Pre-deployment in Visual Studio 2010/IIS Express I can both read and write to the file. When I tried to read/write it with the same VS2010 project deployed to IIS7.5, all "create", "read" and "write" commands fail. The same occurs when I deploy the database file through the project and try to read it. I've given Full control access

Compilation Error: [No relevant source lines]

你说的曾经没有我的故事 提交于 2020-08-22 05:02:31
问题 I'm getting this error when trying to view a page in my localhost. Web site worked before. The code files are not pre-compiled. I've cleaned asp.net temporary folders and gave full control permission to IIS_IUSRS account for wwwroot and Temporary ASP.NET Files folder but no change. I also get Access Denied error while try to execute C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -i Description: An error occurred during the compilation of a resource required to service this