iis-7.5

HTTPS URL Rewrite Rule for Specific Page Using IIS 7.5

本小妞迷上赌 提交于 2019-12-06 04:42:59
问题 I am trying to get URL rewrite in IIS 7.5 to redirect to HTTPS for a "single page". The rest of the domain should remain HTTP. To do this, I am editing my Web.config file. Can somebody tell me what I am doing wrong in the below rule: <system.webServer> <rewrite> <rules> <rule name="SpecificRedirect" stopProcessing="true"> <match url="^register.aspx$" /> <action type="Redirect" url="https://mail.domain.org/register.aspx" /> </rule> </rules> </rewrite> </system.webServer> Below is what my URL

In our IIS logs, why do requests last 5 min and longer when executionTimeout is 110 seconds?

倖福魔咒の 提交于 2019-12-06 04:36:18
We're having some trouble with our server performance and while analyzing our IIS request logs we see lots of requests that take several minutes to complete. How is this possible when the default value for executionTimeout in the ASP.NET httpRuntime settings element is 110 seconds ? From the docs say about executionTimeout [emphasis mine]: Specifies the maximum number of seconds that a request is allowed to execute before being automatically shut down by ASP.NET. This is exactly the behavior we would like to see but below log entries make us believe that something is wrong and those requests

Access Database already exclusively opened by another user

喜欢而已 提交于 2019-12-06 04:28:20
问题 I have an access database that sits on server x iis is running on server y. One of my web pages access data from the access database. If someone has the access database open say a end user on our network the web pages fail with a ...already opened exclusively by another user error message. I created a local access database and used linked tables in order to access the tables that way. Even still I get the already opened exclusively by another user error. If I go through windows explorer and

404 Handler Hanging on ColdFusion 10, works perfect on ColdFusion 8

本小妞迷上赌 提交于 2019-12-06 01:21:59
I'm having an odd intermittent issue with the 404 handler pages on our ColdFusion 10 server. Here's the backstory: We have been running 2 load-balanced ColdFusion 8 servers for ages without issue. We have upgraded one of these two servers to ColdFusion 10 in order to soft-launch our ColdFusion 10 upgrade. I've installed Update 8 on the CF10 server, and have removed and re-added the connectors. Both servers are running Windows 2008 R2. I've read several forum posts stating issues with people getting connection reset issues with their 404 pages, but I'm not seeing that particular issue. What I

How can I get more detail about ASP.NET app restarts than HostingEnvironment.ShutdownReason?

人走茶凉 提交于 2019-12-05 23:38:17
I'm troubleshooting restarts in an ASP.NET application. The application is restarting about 20 times a day. I'm logging using the log4net library. Following advice from this question , I have the application logging the reason for the shutdown from HostingEnviornment.ShowdownReason inside the Application_End() event in Global.asax. I also log when the application starts up in the Application_Start() event. After running the logs for several days, I've found that when a shutdown is actually logged, the reason for the restart is always HostingEnvironment . But the shutdown is not always logged.

Rewrite rule not filtering referral spam correctly (anymore)

浪子不回头ぞ 提交于 2019-12-05 20:21:37
I've added below rewrite rule to my web.config. It has worked perfectly, blocking all mentioned referral spam sites. However, today suddenly I noticed that social-buttons.com popped up in my Google Analytics. How is this possible with the rule I have defined below? <rule name="abort referer spam requests" stopProcessing="true"> <match url=".*" /> <conditions> <add input="{HTTP_REFERER}" pattern="(semalt\.com)|(buttons\-for\-website\.com)|(simple\-share\-buttons\.com)|(darodar\.com)|(social\-buttons\.com)" /> </conditions> <action type="AbortRequest" /> </rule> I had the same problem. social

SharePoint 2010 / IIS 7.5 Byte-Range Request Responds With Entire File

旧城冷巷雨未停 提交于 2019-12-05 19:51:58
I'm having problems getting SharePoint 2010/IIS 7.5 to respect byte-range requests. I'm developing a SharePoint 2010 Web Part using Silverlight, and am trying to retrieve part of a document stored inside SharePoint. When I request a byte range of a file in SharePoint, the server responds with the entire file. However, if I request the same byte range from a file sitting on an Apache server, everything works as expected. Below are the http headers observed with Fiddler. Any help would be really appreciated! Thanks. Sent: GET http://example.com/file.abc HTTP/1.1 Accept: */* Accept-Language: en

Resolve “Maximum request length exceeded” and FileUpload single upload

﹥>﹥吖頭↗ 提交于 2019-12-05 19:07:10
I basically had an ASP.NET FileUpload control, for which I needed to cater the exception thrown for the following message: Maximum request length exceeded. The limitations are that I need to just restrict the user to upload one file in all because I have save the other details from some text-boxes into DB. The maximum file size setting is set in the web.config as follows: <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="41943040" /> </requestFiltering> </security> </system.webServer> <system.web> <httpRuntime maxRequestLength="40960"

ASP.NET MVC 3 Intranet site on IIS7.5 w Windows Authentication gives 401.3 and File authorization failed for the request when trying to log in

左心房为你撑大大i 提交于 2019-12-05 18:38:49
问题 I have made an ASP.NET MVC 3 Intranet site with Windows Authentication enabled: in the Visual Studio project file properties in the web.config, i.e. <authentication mode="Windows"/> on the site properties in the IIS 7.5. server Anonymous access is disabled for all these three above, the web.config says <deny users="?"/> . Impersonation is disabled in the web.config by identity <impersonate="false"/> and on the site properties in the IIS 7.5 server. And finally, the NETWORK SERVICE is set to

Application_Error not fired for 404 in MVC 3 when url contains 4 or more path segments

大兔子大兔子 提交于 2019-12-05 18:26:30
I am trying to create a custom error page for 404 errors. I have implemented the Application_Error method in Global.asax.cs. For the most part this works great, but the method isn't getting called for URLs with 4 or more path segments. The specific URL that I'm having trouble with is: http://localhost/Area/Controller/Action/ID If I remove the ID, my custom 404 age loads fine. The problem seems to be having 4 levels in my path (/Area/Controller/Action/ID). Any ideas? Hector Correa I suspect your routes don't account for a URL with 4 parts. Try adding a catch all route as your last route to test