iis-7.5

single sign on iis 7.5 multiple application pools

旧巷老猫 提交于 2019-12-13 21:30:35
问题 I have a webapp in two parts (website and webdav part). Both are running in a seperate application pool in IIS 7.5 due a different framework. I want to use single sign on for both parts. For the first part (website) its running fine but for the webdav part single sign on doesn't work with a windows 7 client. When I try with application users (no single sign on), everything works fine for both parts. Both application pools are running with the same service account. I searched on the internet

IIS 7 - URL Rewrite - do I include the http or https protocol in the regex?

空扰寡人 提交于 2019-12-13 20:38:17
问题 In IIS 7.5 (Win2k8 R2) I'm trying to create a new rule for these requests: http://www.domain.com/userprofile https://www.domain.com/userprofile http://domain.com/userprofile https://domain.com/userprofile rewriting to: http://www.domain.com/users/?username=userprofile (or whatever the protocol/domain is) The regex that I wrote is: ^(http|https)://(www\.domain.com|domain\.com)/([a-zA-Z0-9-]{6,35}) and the rewrite is: {R:1}://{R:2}/users/?username={R:3} But this is not working. Is it because I

Pages do not load correctly only when click Refresh on Win7+IIS7.5

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 18:04:20
问题 I recently migrate my development website from old computer (WinXP with IIS5.1) to new computer (Win7 with IIS7.5). The application developped using ASP.NET with bunch of javascript and CSS files. On the new computer, the virtual directory is created under Default Web Site with default configuration but enable ASP.NET Impersonate and Windows Authentication (Anonymous disable) The application used the Classic Pipeline on Classic .NET AppPool (.NET 2.0) that comes with IIS7.5. With above

Prioritise Windows Authentication over Anonymous Authentication in IIS

旧城冷巷雨未停 提交于 2019-12-13 16:40:38
问题 I've seen other answers saying how to secure virtual folders for Windows Authentication only. I would like to allow both anonymous AND Windows Authentication in IIS, but prioritise Windows Authentication over Anonymous Authentication. The reason for this is that the web app I am building needs to support anonymous access as well as privileged. Is this possible? I.e. if Windows Authentication cannot authenticate against the domain, it will fall back to a generic identity, as opposed to the way

IIS 7.5 404 Error for .PDF files

情到浓时终转凉″ 提交于 2019-12-13 16:31:40
问题 I am running into an issue where I am re-directing a .pdf extension url using IIS 7.5. Here is what is weird happening: When my URL does not contains .pdf in it like: http://mySite/documents/forms/test the pdf (test.pdf) opens up perfectly. However, when I am opening through like this: http://mySite/documents/forms/test.pdf it is showing me HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. I browse through

asp.net site takes a while to load after restart

社会主义新天地 提交于 2019-12-13 14:28:56
问题 I have an asp.net 2.0 website running on IIS 7.5. The default page page_load event takes a while to load after a restart in iis 7.5. In the bottom it says "waiting for....". If I hit the default page after without restarting iis it loads very quickly. I cant really post the exact code here. What could be the cause? Is it recompiling the whole website? If so how can I prevent this? 回答1: You can prevent it by increasing the length of the application pool's life cycle. In IIS, go the Application

Cannot add duplicate collection entry of type 'filter' with unique key attribute 'name' set to 'ASP.Net_4.0_64bit'

会有一股神秘感。 提交于 2019-12-13 12:56:37
问题 I have been running into this issue for quite some time. It occurs when I open up an asp.net page pointing to my localhost. I am running windows 2008 r2 with visual studio 2012 and iis 7.5. The config source that it shows is this. : 1451: <remove name="ASP.NET_4.0.30319.0" /> 1452: <filter name="ASP.Net_4.0_64bit" path="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll" enableCache="true" preCondition="runtimeVersionv4.0,bitness64" /> 1453: <filter name="ASP.Net_4.0_32bit"

Request.URL always returns http even though SSL is enabled

随声附和 提交于 2019-12-13 12:05:26
问题 I have prepared an ASP.NET web application (ASP.NET V2.0) and I configured it in my IIS (V7.5). I used Request.Url.AbsoluteUri in my application and it works fine in my server. I deployed the web application on my client's server machine (2008 R2 Server). But in my client's environment Request.Url.AbsoluteUri always return http url even though they enabled SSL. Whether any IIS settings configured on my client's server machine? Please guide me 回答1: I have seen this before. The reason was that

IIS 7.5 App Pool write permissions denied

强颜欢笑 提交于 2019-12-13 07:15:42
问题 I have a web application that is running on IIS 7.5 and is having some permission issues. The site will read/serve files, but will not write to any file location under any circumstances. Ideally, I'd be writing to a non-local share, but I'm currently just trying to get the application to write to a local share/drive. I've tried setting the identity to a domain service account set up specifically for this application, the built in Network Service account, and the ApplicationPoolIdentity with

IIS serves a compressed (gzip) response to Chrome Postman but not to .NET HttpClient

岁酱吖の 提交于 2019-12-13 05:25:35
问题 I have created a REST web service using Web API 2.2 on a Windows Server 2008 R2 box running IIS 7.5. The problem that I'm having is that the web service is returning a compressed response (Content-Encoding: gzip) when I make the request through the Google Chrome Postman application. But when I make the same request using the .NET 4.5.1 HttpClient, the server does not return a compressed response (the Content-Encoding header is blank). Here is my C# code: var handler = new HttpClientHandler();