iis-7

Difference between idleTimeout and ShutdownTimeout

て烟熏妆下的殇ゞ 提交于 2020-01-04 14:21:43
问题 I am trying to relax my website's session expiration policy so that the users may specify the session timeout interval. I need to figure out what website related settings should I specify in order not to limit the users too much. For example, one might want a 1 day interval. I will be using tickets to accomplish that. Now, I know I can specify the idleTimeout and shutdownTimeout in my website's web.config file (I prefer this method as it's damn easy to adjust it without the whole deployment

Microsoft.Web.Administration: System.UnauthorizedAccessException

徘徊边缘 提交于 2020-01-04 14:09:13
问题 I use the Windows.Web.Administration dll in a C# program to manage IIS 7 (I use only the method Recycle ). The first problem was: System.UnauthorizedAccessException: Filename: redirection.config Error: Cannot read configuration file due to insufficient permissions And later I have added NETWORK SERVICE with full control at the folder C:\Windows\System32\inetsrv ". Now I have this message error: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E

Unobtrusive Oracle Deployment on Windows Server 2008

别说谁变了你拦得住时间么 提交于 2020-01-04 11:47:06
问题 I have a .NET 4.0 Web Forms app that I am running with the beta Oracle EF-aware data provider, and I want to perform "unobtrusive" Oracle deployment to a Win2K8 box, as shown in many SO solutions. There is an existing Oracle Instant Client installation on the Win2K8 box, which I can neither work with nor remove, and it has an entry in the PATH environment variable on the Win2K8 box. According to this SO answer, I do not need to set PATH for my Oracle DLLs, since I have DllPath set in the web

Unobtrusive Oracle Deployment on Windows Server 2008

三世轮回 提交于 2020-01-04 11:46:09
问题 I have a .NET 4.0 Web Forms app that I am running with the beta Oracle EF-aware data provider, and I want to perform "unobtrusive" Oracle deployment to a Win2K8 box, as shown in many SO solutions. There is an existing Oracle Instant Client installation on the Win2K8 box, which I can neither work with nor remove, and it has an entry in the PATH environment variable on the Win2K8 box. According to this SO answer, I do not need to set PATH for my Oracle DLLs, since I have DllPath set in the web

Unobtrusive Oracle Deployment on Windows Server 2008

房东的猫 提交于 2020-01-04 11:44:47
问题 I have a .NET 4.0 Web Forms app that I am running with the beta Oracle EF-aware data provider, and I want to perform "unobtrusive" Oracle deployment to a Win2K8 box, as shown in many SO solutions. There is an existing Oracle Instant Client installation on the Win2K8 box, which I can neither work with nor remove, and it has an entry in the PATH environment variable on the Win2K8 box. According to this SO answer, I do not need to set PATH for my Oracle DLLs, since I have DllPath set in the web

401 Unauthorized when custom IHttpHandler tries to read from virtual directory

ぐ巨炮叔叔 提交于 2020-01-04 11:04:03
问题 I have a custom IHttpHandler, specified in web.config as follows: <httpHandlers> <add verb="*" path="*.html" validate="true" type="PipingRedirectHandler" /> <add verb="*" path="*.htm" validate="true" type="PipingRedirectHandler" /> </httpHandlers> In IIS 7 (on Win 2008 R22) I added handler mappings with Path: *.html/*.htm and executable: %windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll . I also have a virtual directory mapped to a windows share on another machine, Alias:

.NET Web Api - 404 - File or directory not found

狂风中的少年 提交于 2020-01-04 10:36:10
问题 In short words, everything works on local machine but doesn't when deployed to server "A". I'm sure someting is missing in server "A", but I don't know what it is, and I don't have access there to make changes or proper testing. So I'm here to aks for help and ideas of what the problem may be so that I can advise the person in charge of server "A", or whatever changes I need to make on my project to make it work there. That being said, lets talk about my project... I'm using Web Api, and a

What are the proper permissions for ColdFusion 9 on IIS 7.5 with Windows Authentication

和自甴很熟 提交于 2020-01-04 09:05:18
问题 We are running ColdFusion 9 on IIS 7.5. Our intranet website uses Windows Authentication with the Negotiate provider. We have set up an Active Directory user group (Web Developers) and assigned the permissions to the web source directory. Everything works fine for one particular user group. We created a new group (General Staff) and assigned the permissions to the source directory. After restarting all of the services involved we end up with 401.3 errors which are Authenticated but Access is

Debug Classic ASP via IIS 7

回眸只為那壹抹淺笑 提交于 2020-01-04 04:29:25
问题 I'm having a problem showing detailed errors for classic ASP pages. Initially it just showed default 500 error page, we then followed the instructions here but now it only shows: An error occurred on the server when processing the URL. Please contact the system administrator. Any ideas? 回答1: Inside IIS, select ASP, and then change Send errors to browser to Yes alt text http://img198.imageshack.us/img198/6749/capturets.png 回答2: Eduardo, we did have Send Errors To Browser set to True for the

How can I grant my ASP.NET MVC Application Read Access to a registry key?

大憨熊 提交于 2020-01-04 03:49:51
问题 I have read other posts about how to accomplish this but to no avail. When I deploy my application to the server (2008) I get the following exception at runtime: Access to the registry key 'HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\TeamFoundation\Servers' is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: