iis-7

80040111 ClassFactory cannot supply requested class (Exception from HRESULT: 0x80040111 (CLASS_E_CLASSNOTAVAILABLE))

五迷三道 提交于 2020-01-21 14:40:51
问题 Retrieving the COM class factory for component with CLSID {0A80A563-28AE-11D3-9CD6-00C04F8B8EF1} failed due to the following error: 80040111 ClassFactory cannot supply requested class (Exception from HRESULT: 0x80040111 (CLASS_E_CLASSNOTAVAILABLE)) I've Searched for the entry in Registry I can Find Assembly with {0A80A563-28AE-11D3-9CD6-00C04F8B8EF1} at HKLM\Software\Classes\Wow6432Node\CLSID{0A80A563-28AE-11D3-9CD6-00C04F8B8EF1}\InProcServer32 I've Created Application By using embedded

Does IIS 7 have limit of simultaneous requests?

别说谁变了你拦得住时间么 提交于 2020-01-20 18:30:08
问题 Does IIS 7 have some limit of simultaneous requests? I'm using Windows Server 2008. Thanks in advance. 回答1: On Windows Server operating systems, IIS 7.0 has no request execution limit. Source 回答2: Yes, IIS 7 can have a limit of simultaneous requests, depending on the edition of Windows you're using. I see people often assert (as others have here) that somehow the limits have been lifted with IIS 7. It's just not always so, and depends on whether running 2008, 7, or Vista. Let's start with

IIS 7 Force Fresh Images

╄→尐↘猪︶ㄣ 提交于 2020-01-19 14:15:47
问题 How do I force IIS 7 to not cache images for a particular page? 回答1: In IIS7, you can do this either declaratively in your web.config, or programmatically. <location path="YourPath"> <system.webServer> <staticContent> <clientCache cacheControlMode="DisableCache" /> </staticContent> </system.webServer> </location> The programmatic solution requires a simple HttpModule that's registered to run for all requests in Integrated mode, where you look for the URLs that you're concerned about. Then

IIS 7 Force Fresh Images

Deadly 提交于 2020-01-19 14:14:59
问题 How do I force IIS 7 to not cache images for a particular page? 回答1: In IIS7, you can do this either declaratively in your web.config, or programmatically. <location path="YourPath"> <system.webServer> <staticContent> <clientCache cacheControlMode="DisableCache" /> </staticContent> </system.webServer> </location> The programmatic solution requires a simple HttpModule that's registered to run for all requests in Integrated mode, where you look for the URLs that you're concerned about. Then

Running an ASP.NET MVC app from a virtual directory in IIS7

你说的曾经没有我的故事 提交于 2020-01-19 10:07:55
问题 Is it possible to run an MVC application from a virtual directory in IIS7? I have built an open source utility app in ASP.NET MVC3 and wondering if that was a mistake; it likely is if the site cannot be run from a virtual directory. Take a simple default route of /home/index if running from a virtual directory named /app , will actually be /app/home index. Which kind of messes things up for routing. I don't want a user to have to change routes and recompile the project to use the app in a

Remove HTML or ASPX Extension

人走茶凉 提交于 2020-01-18 06:15:36
问题 In a hosted IIS7 environment, I am looking for the simplest way to use extension-less file names. Simply I have the following pages: index.html (or .aspx) --> domain.com gallery.html --> domain.com/gallery videos.html --> domain.com/videos etc... I only have a handful of pages, I have no dynamic code, nothing special. All the examples I have found or methods I use in other sites I've developed revolve around dynamic content, pages, etc. I am simply looking for the simplest solution, ideally

Remove HTML or ASPX Extension

别等时光非礼了梦想. 提交于 2020-01-18 06:14:55
问题 In a hosted IIS7 environment, I am looking for the simplest way to use extension-less file names. Simply I have the following pages: index.html (or .aspx) --> domain.com gallery.html --> domain.com/gallery videos.html --> domain.com/videos etc... I only have a handful of pages, I have no dynamic code, nothing special. All the examples I have found or methods I use in other sites I've developed revolve around dynamic content, pages, etc. I am simply looking for the simplest solution, ideally

Remove HTML or ASPX Extension

最后都变了- 提交于 2020-01-18 06:12:01
问题 In a hosted IIS7 environment, I am looking for the simplest way to use extension-less file names. Simply I have the following pages: index.html (or .aspx) --> domain.com gallery.html --> domain.com/gallery videos.html --> domain.com/videos etc... I only have a handful of pages, I have no dynamic code, nothing special. All the examples I have found or methods I use in other sites I've developed revolve around dynamic content, pages, etc. I am simply looking for the simplest solution, ideally

Where can I find the IIS logs?

一曲冷凌霜 提交于 2020-01-18 03:48:49
问题 I'm trying to set up an application from a third party, which requires a supporting website hosted in my local IIS. I've created a website exactly as explained in their install guide, but am having some problems, and would like to see what the IIS log has to say. Embarrassingly enough, the problem is I can't find the log files! So my question is: Where does IIS7 store logs by default? 回答1: I think the default place for access logs is %SystemDrive%\inetpub\logs\LogFiles Otherwise, check under

Setting up 2 factor authentication

人盡茶涼 提交于 2020-01-17 14:02:10
问题 We are in the process of building a new website which we want to lock down to specific computers to only allow access, then once the pc is authenticated we will do our in built user authentication. Also, when a pc is known, we dont really want anything on the pc which can be easily transfered (by the client) onto another pc in order to gain access to the website. Please can anyone give us an idea on the best way to achieve this 'lock down', we dont really want to go down the AD route and have