iis-7.5

IIS FTP 7.5 Extensibility (IFtpLogProvider and logging FTP failures to the event log)

时光怂恿深爱的人放手 提交于 2019-12-01 22:44:43
Anyone pretty familiar with FTP 7.5 extensibility in IIS know what I might be doing wrong? I am having serious trouble getting an implementation of IFtpLogProvider to work correctly for custom logging. All I want to do is log failures beyond a static threshold to the event log, and have garbage collection every so often. I've tried working with a generic dictionary and the provider with no luck, and now even this simple bit of code I can't get working. The provider is not even creating the event log in the code stub below (or using it if I create it beforehand). So now I am deeply confused. I

IIS returns 404 not found for .mp4 files

被刻印的时光 ゝ 提交于 2019-12-01 19:12:58
问题 I used hmtl video tag to play video . In my localhost video plays but when I published . It is not played.I have created project based on in ASP.NET. I locally use like this method. http://localhost:41563/files/Just.mp4 and When I published the url give me an error like this: http://111.111.22.22:41563/files/Just.mp4 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. How can I solve this. 回答1: Check

mvc mini profiler (1.4) & IIS

左心房为你撑大大i 提交于 2019-12-01 19:09:34
The solution works great with cassini but as soon as I make it run into IIS (7.5 on Windows 7 / 64), it stops working. All js & css file are never downloaded and the script fails. I looked into the MiniProfilerHanler , the GetHttpHandler method is called for each required js & css but the ProcessRequest method never runs. The same behavior is observed using the sample.mvc project that goes along with the mini profiler sources. this is an older question but if you are still trying to get this to work try adding this to your web.config <system.webServer> <modules

IIS 7.5 Can't load custom HTTP Handler with codebehind file

半腔热情 提交于 2019-12-01 19:03:57
问题 For the past 2 days I'm trying to get my custom HTTP handler to work, but no result. I get the following error: Could not load type 'AlarmHandler'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Could not load type 'AlarmHandler'. Source Error: An unhandled exception was generated during the

IIS 7.5 Can't load custom HTTP Handler with codebehind file

馋奶兔 提交于 2019-12-01 18:52:37
For the past 2 days I'm trying to get my custom HTTP handler to work, but no result. I get the following error: Could not load type 'AlarmHandler'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Could not load type 'AlarmHandler'. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be

Receiving The remote server returned an error: (403) Forbidden message

假如想象 提交于 2019-12-01 18:17:14
I am receiving "The remote server returned an error: (403) Forbidden" error message on the block of code below. Specifically this line is failing: var response = (HttpWebResponse)(request.GetResponse()); The code works perfectly on my dev machine, but not in production. I am using IIS 7.5 in both environments. Both machines are fulling patched (all Windows updates installed). Using 4.0 .Net Framework. Not sure why it works on one machine and not other other. Code: var uri = new Uri(url); var request = (HttpWebRequest)WebRequest.Create(uri); request.KeepAlive = false; request.ProtocolVersion =

Do I need to install Node.js on Production Server to host Angular 2?

被刻印的时光 ゝ 提交于 2019-12-01 18:03:30
问题 I am trying to deploy my 1st Angular 2 app on our live server (Windows 2008R2 IIS 7.5 server) The MVC part is running fine. I could see the login username and showing the frame of MVC layout. But it's redirecting me to the Error.cshtml all the time. I tried to turn on the DebugLog feature and I am getting the following error logs. An unhandled exception has occurred: Failed to start Node process. To resolve this:. [1] Ensure that Node.js is installed and can be found in one of the PATH

Static compression in IIS does not work for htm, js files

筅森魡賤 提交于 2019-12-01 18:01:15
I'm trying to configure IIS 7.5 to compress static htm and js files. Does anyone know why it does not work for me? Here is my web.config for the web site: <httpCompression> <dynamicTypes> <add mimeType="text/*" enabled="true" /> <add mimeType="message/*" enabled="true" /> <add mimeType="application/x-javascript" enabled="true" /> <add mimeType="*/*" enabled="false" /> </dynamicTypes> <staticTypes> <add mimeType="text/*" enabled="true" /> <add mimeType="message/*" enabled="true" /> <add mimeType="application/x-javascript" enabled="true" /> <add mimeType="*/*" enabled="false" /> </staticTypes> <

WebDav troubles for restfull WCF web service

只愿长相守 提交于 2019-12-01 17:37:49
I created a WCF restfull service in .NET 4 and I published it under IIS 7.5/windows 7 x86. The verbs GET and POST worked fine, but the DELETE and PUT gave an error: Error: The remote server returned an error: (405) Method Not Allowed. After googling (a lot), I've found out that the problem is caused by WebDav module which is installed (automatically? dunno) in IIS. The only approach that worked for me was the one found here . However, removing the webdav module from the entire web site is somewhat too intrusive, in my opinion. Does anyone know another approach to inhibit the filtering action

Static compression in IIS does not work for htm, js files

南笙酒味 提交于 2019-12-01 16:54:57
问题 I'm trying to configure IIS 7.5 to compress static htm and js files. Does anyone know why it does not work for me? Here is my web.config for the web site: <httpCompression> <dynamicTypes> <add mimeType="text/*" enabled="true" /> <add mimeType="message/*" enabled="true" /> <add mimeType="application/x-javascript" enabled="true" /> <add mimeType="*/*" enabled="false" /> </dynamicTypes> <staticTypes> <add mimeType="text/*" enabled="true" /> <add mimeType="message/*" enabled="true" /> <add