How to make IIS7 stop serving a folder?
I know that by defualt IIS won't server App_Data or bin folders content to the public. How to set one more folder to don't server to public? ...
I know that by defualt IIS won't server App_Data or bin folders content to the public. How to set one more folder to don't server to public? ...
Let's say I have an IIS web site. And within it I have another web application defined as application folder not just as a virtual folder (which runs it under same process). Basically I can access my apps like http://localhost/ http://localhost/subapp Is it possible for my subapp to use master pages of the parent app? ...
So I have an ASP.net application, with an ActiveX Control which brings up a pop up When I point to the application directly through IP there is no problem with the pop up eg. xxx.xxx.xxx.xxx/MyApp (under Default Website in the IIS -- IIS 7) Problem arises when I set up the IIS to point it to a domain xxx.xxxxx.com which points to the...
Hi, The following code samples produce the same error when I perform the SAVEAS: Microsoft.Office.Interop.Excel.Application excelApp = new Microsoft.Office.Interop.Excel.Application(); filePath = (string.Format("{0}.{1}", Path.GetTempFileName(), "xls")); ...do some stuff to the workbook ... excelApp.DisplayAlerts = false; excelApp.A...
Hello all, One of my clients refers people to a certain URL. She prints the URL on physical letters, and the recipients have a few weeks to visit the URL and complete the task. Let's say that the URL she gives is: www.department-a.domain.com/folder/important-page.html The problem is that I am switching Content Management Systems so ...
As best I can tell when a worker process recycles: a) a new one spins up before the old one shuts down b) the old one shuts down once all the active requests its servicing completes Is the above accurate? If so, I have data that I store in SQL once Application_End() fires from the global.ascx file. I pull this data back in when Applic...
I have 2 websites connecting to the same instance of MSSQL via classic ASP. Both websites are similar in nature and run similar queries. One website chokes up every once in a while, while the other website is fine. This leads me to believe MSSQL is not the problem, otherwise I would think the bottleneck would occur in both websites simu...
I have a WCF-service who uses a dll placed in the GAC. This dll uses another native dll. The native dll is by default placed in a installation folder under c:\program files\bla bla.. After installting my service in IIS 7.5 it wont run. I get an error saying that my the managed dll dont find the native dll. If I move the native dll to Sys...
Hi StackOverflow, I am developing an application in ASP.NET 3.5 and IIS 7. I have written an HTTP Module to perform URL Rewrite, for instance, I want to rewrite a username to an Account ID "~/Profiles/profile.aspx?AccountID=" + account.AccountID.ToString(); See below: using System; using System.Collections.Generic; using System.Data;...
We enabled static resource caching in our ASP.NET application like this: <system.webServer> <staticContent> <clientCache cacheControlMode="UseExpires" httpExpires="Thu, 29 Oct 2020 00:00:00 GMT" /> </staticContent> </system.webServer> Using a sniffer, we can confirm that the Expires tag is actually being placed on the ...
I have published a website on my windows server using IIS 7.0 and visual studio 2010. Its an asp.net project. While publishing it I chose the option "Allow this precompiled site to be updatable" But what I do not know is how to update it when I change my templates/pages/IP address etc in my visual studio project files? I have to rem...
I've got an ASP.NET MVC application running in shared hosting. Recently the site got munged when the application pool was accidentally switched from integrated back to classic mode. We had to change the routes until tech support got the app pool reconfigured. It would be great if there was a way to detect the application pool mode in co...
I am having problems setting up gzip on an IIS7 server via the web.config. The following is the setup <httpCompression minFileSizeForComp="0" doDiskSpaceLimiting="false" staticCompressionDisableCpuUsage="98" staticCompressionEnableCpuUsage="95" dynamicCompressionEnableCpuUsage="30" dynamicCompressionDisableCpuUsage="...