iis-7

How to grant identity ApplicationPoolIdentity read rights to folder within my site

微笑、不失礼 提交于 2019-12-21 04:31:25
问题 On our Windows 2008 R2 server I have a site running under the default ASP.NET v4.0 application pool. The identity of ASP.NET v.4.0 app pool is set to "ApplicationPoolIdentity" (I guess this is default). How do I grant this identity access to read from a custom folder within my site. I have tried "Application Pool Identity" and "ApplicationPoolIdentity" but both gives me: An object named "Application Pool Identity" cannot be found. Bonus question = should I instead forget about all this and

How to grant identity ApplicationPoolIdentity read rights to folder within my site

一世执手 提交于 2019-12-21 04:31:12
问题 On our Windows 2008 R2 server I have a site running under the default ASP.NET v4.0 application pool. The identity of ASP.NET v.4.0 app pool is set to "ApplicationPoolIdentity" (I guess this is default). How do I grant this identity access to read from a custom folder within my site. I have tried "Application Pool Identity" and "ApplicationPoolIdentity" but both gives me: An object named "Application Pool Identity" cannot be found. Bonus question = should I instead forget about all this and

How to override HttpErrors section in Web.Config - ASP.NET MVC3

房东的猫 提交于 2019-12-21 03:58:22
问题 I am trying to add custon 404 pages as per answer of this question ASP.NET MVC 404 handling and IIS7 <httpErrors> by adding <httpErrors existingResponse="PassThrough" /> under <system.webServer> tag in my Web.Config file. But I am getting following error Module: CustomErrorModule Notification: SendResponse Handler: System.Web.Mvc.MvcHandler Error Code: 0x80070021 Config Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level.

What is “IIS 7 Recommended Configuration” in Web Platform Installer 3.0?

不打扰是莪最后的温柔 提交于 2019-12-21 03:56:27
问题 Just installed the new IIS Express today and saw that the Web Platform Installer also has the option to install "IIS 7 Recommended Configuration". But I couldn't actually figure out anywhere what it does? Anyone using it? 回答1: quote site The IIS 7 Recommended Configuration in WebPI v3 is the equivilent of the IIS 7 components that were installed automatically in WebPI v2 when you installed an application. For example, in WebPI v2 and on a clean Win7 machine, if you selected to install

Internet Explorer 11 Session Issue with Asp.Net 4.0

≡放荡痞女 提交于 2019-12-21 03:29:13
问题 I am experiencing a strange problem i have developed a website in asp.net 4.0, it works fine on all the browsers as i am handling sessions as well so user has to login to use the site. On Internet Explorer 11 when you go the the website url it appends strange string in the url. When you logs in to the website, and click an link inside it logs you out. I am not sure why this is happening, as i have tested this on locally it works fine, but when the files are uploaded to server and you open the

How to use gmail account for ssrs email subscription

孤者浪人 提交于 2019-12-21 03:16:07
问题 I have a report using SSRS 2008 R2 , I want to subscribe to this report using the "email" option. I have configured the settings in the reporting services manager to use server as "smtp.gmail.com" and sender address as my gmail ID. I also tried using the SMTP virtual server and relay it using smart host as "smtp.gmail.com". But I get the following error while sending email : Failure sending mail: The transport failed to connect to the server. I am using IIS 7 and Windows Server 2008 .

How to get Custom Error Pages working for Classic ASP with IIS 7 Integrated Pipeline

我们两清 提交于 2019-12-21 02:46:16
问题 I'm working on a website with legacy Classic ASP pages (being converted to ASP.NET on an as needed basis) and new ASP.NET pages. Use of IIS 7 Integrated Pipeline has been very helpful with our configuration. For example, we were able to get forms authentication working auto-magically with the classic ASP pages simply by configuring the appropriate sections of the web.config file (i.e. no changes were required to the Classic ASP pages, for more info see this). A colleague of mine believes that

Exclude HttpModule from running for static content on IIS7

主宰稳场 提交于 2019-12-21 02:41:44
问题 I have a problem with my Authentication HttpModule. The problem is that it obviously runs for every single request I get on my web server (IIS7). Because it also uses Session variable, it fails to work properly on CSS, JS files and similar. I tried to use: <add name="AuthModuleName" type="..." preCondition="managedHandler" /> but to no avail. It still runs on every request regardless of its extension or mime type. I should also add, there's a setting <modules

Is it possible to tell IIS 7 to process the request queue in parallel?

人盡茶涼 提交于 2019-12-21 02:36:16
问题 Currently we are developing an ASMX, ASP 2.0, IIS 7 web service that does some calculations (and return a dynamically generated document) and will take approx. 60 seconds to run. Since whe have a big machine with multiple cores and lots of RAM, I expected that IIS tries its best to route the requests that arrive in its requests queue to all available threads of the app pool's thread pool. But we experience quiet the opposite: When we issue requests to the ASMX web service URL from multiple

HttpHandler fire only if file doesn't exist

烂漫一生 提交于 2019-12-21 01:59:06
问题 I'm trying to create a HTTP handler to handle all requests to a folder but I only want it to fire if the files requested don't exist (EG: Request comes in for file X, if X exists I'd like to serve the file, otherwise the handler should deal with it). The files will only be static content, not scripts themselves, which I assume makes it a bit easier but I can't seem to find anything that will do the trick... Anyone have any ideas? I assume it can be done since the IIS7 rewrite module can