iis-7

How do I disable caching of an individual file in IIS 7 using weserver config settings

孤者浪人 提交于 2019-12-28 05:36:30
问题 Is there any way to diable the caching of a single javascript file in my ASP.NET applicaiton without disabling the caching of any other files in the application? It is running on IIS 7 in Azure, so to me it seems that my only options of controlling this are within the webserver tags. I currently use the folowwing config, but this is disabling cache on all files. <modules runAllManagedModulesForAllRequests="true"/> <staticContent> <clientCache cacheControlMode="DisableCache"/> </staticContent>

what is the global.asax Application_Start equivalent when using WAS in IIS7

前提是你 提交于 2019-12-28 03:46:05
问题 I'd like to use the netTcpBinding for my WCF application which is currently hosted in IIS7, which means configuring it to use WAS instead. This is fairly straight forward however, my application previously made use of the Application_Start event in the global.asax file. I do not require access to the httpContext(which I understand access has been removed in IIS7), however I would still like to hook into the start or init methods? Does an equivalent exist when hosting an application in WAS as

How to set Date and time format in IIS 7

那年仲夏 提交于 2019-12-28 03:41:50
问题 I have date format in my local machine : (d/M/yyyy h:mm tt) ==> (23/6/2011 4:30 PM) when i publish my website on IIS server it converts date format to (M/d/yyyy H:mm) i changed the date and time formats of the server but it's not affected . i changed the culture of the website to English US time format solved but date not. (M/d/yyyy hh:mm tt) i changed the culture of the website to English UK date format solved but time not. (d/MM/yyyy H:mm) what is the solution to make it's format like my

How to set Date and time format in IIS 7

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-28 03:41:14
问题 I have date format in my local machine : (d/M/yyyy h:mm tt) ==> (23/6/2011 4:30 PM) when i publish my website on IIS server it converts date format to (M/d/yyyy H:mm) i changed the date and time formats of the server but it's not affected . i changed the culture of the website to English US time format solved but date not. (M/d/yyyy hh:mm tt) i changed the culture of the website to English UK date format solved but time not. (d/MM/yyyy H:mm) what is the solution to make it's format like my

How do I create a user account for basic authentication?

佐手、 提交于 2019-12-28 02:33:29
问题 I'd like to add basic authentication to my website. I followed the instructions in the MSDN article on Configure Basic Authentication (IIS 7) To use the UI Open IIS Manager and navigate to the level you want to manage. For information about opening IIS Manager, see Open IIS Manager (IIS 7). For information about navigating to locations in the UI, see Navigation in IIS Manager (IIS 7). In Features View , double-click Authentication . On the Authentication page, select Basic Authentication . In

Nested ASP.NET 'application' within IIS inheriting parent config values?

≡放荡痞女 提交于 2019-12-28 01:56:33
问题 I currently have 2 x ASP.NET 3.5 web applications in IIS7 (lets call them WebParent and WebChild). WebChild is nested within the WebParent listing in IIS7 and is set up as an application (rather than just a virtual directory within WebParent). Both currently use their own (Classic) application pool. Both WebParent and WebChild have their own fully defined web.config files in their own root directories. I had assumed that seeing as WebChild is defined as an 'Application' within IIS, that it

How do I enable upload of large files in classic ASP on IIS 7?

霸气de小男生 提交于 2019-12-28 01:55:59
问题 Recently I had to get an old ASP application working in IIS 7.5 on a W2K8 server. Almost everything works fine, except that I can't seem to get it to accept uploads larger than ~200kB. I did find a setting, that from what I can understand should to the trick, in the applicationHost.config, I set the max request size to 100 MB like this: <location path="TheNameOfMySite"> <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="104857600" /> </requestFiltering> <

Server cannot set status after HTTP headers have been sent IIS7.5

萝らか妹 提交于 2019-12-27 16:50:50
问题 Sometimes I get exception in my production environment: Process information Process ID: 3832 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception information Exception type: System.Web.HttpException Exception message: Server cannot set status after HTTP headers have been sent. Request information Request URL: http://www.myulr.pl/logon Request path: /logon User host address: 10.11.9.1 User: user001 Is authenticated: True Authentication Type: Forms Thread account name: NT

HTTP Error 500.19 - Internal Server Error

给你一囗甜甜゛ 提交于 2019-12-27 16:08:06
问题 I am migrating my application from cloud sites to dedicated server. The dedicated server is running on Windows 2008 server 64 bit with IIS 7. My application pool in the new server is in integrated mode. I have a default.htm page as the start page and it works fine. I cannot access any other pages and encountering the error "HTTP Error 500.19 - Internal Server Error" The configuration source showing as error is as follows. {system.webServer} 68: {httpErrors errorMode="DetailedLocalOnly"

HTTP Error 500.19 - Internal Server Error

十年热恋 提交于 2019-12-27 16:06:42
问题 I am migrating my application from cloud sites to dedicated server. The dedicated server is running on Windows 2008 server 64 bit with IIS 7. My application pool in the new server is in integrated mode. I have a default.htm page as the start page and it works fine. I cannot access any other pages and encountering the error "HTTP Error 500.19 - Internal Server Error" The configuration source showing as error is as follows. {system.webServer} 68: {httpErrors errorMode="DetailedLocalOnly"