iis-7.5

Use HTTP POST to send file to IIS 7.5 virtual directory

China☆狼群 提交于 2019-12-07 23:45:35
问题 Is it possible to allow HTTP clients to USE HTTP POST (with Content-Type: multipart/form-data) to upload image files to an IIS 7.5 virtual directory without writing server-side code? 回答1: Without server-side code, that is not possible. If HTTP POST is a requirement, you need to write code. Otherwise, configure an FTP site on your IIS installation. If you really need HTTP, consider WebDav: http://www.windowsnetworking.com/articles_tutorials/webdav-iis.html http://learn.iis.net/page.aspx/350

Using application pool identity results in exceptions and event logs

北战南征 提交于 2019-12-07 23:17:19
问题 I recently switched my applications from using ASP.NET impersonation to actually specifying the identity in the application pool. The reason for this was to make future use of async easier so the threads run as my service account. Since making the change the site has been experiencing some issues. On the day I made the change I am now seeing these event logs show up much more often (used to be 2-3 times per day, now it's 8-10 times per day): Windows detected your registry file is still in use

Why am I getting a “Security Error” from plupload on IE8/IE9 when uploading over HTTPS?

两盒软妹~` 提交于 2019-12-07 21:00:45
问题 I'm using plupload to upload files to an ASP.NET WebAPI service. It works fine in Chrome, and it works fine in IE8/IE9 on my development machine. When I connect to the website on the actual server, however, uploading a file causes plupload's error handler to fire with an error code of -400 and an error message of "Security Error." Looking at the response and request headers everything looks ok. The response even contains the correct return value! I'm guessing this has something to do with

IIS 7.5 throws sc-win32-status: 995 after 60 seconds on web service (ASMX) request

∥☆過路亽.° 提交于 2019-12-07 18:48:02
问题 I have a Web Application in .NET 4.0 Integrated mode calling a web service (ASMX) in .NET 2.0 Integrated mode on the same server via localhost. 9 out of 10 times all works fine, but occasionally the Web Application get's a "Request timed out" and "Thread was being aborted" error during the call. It gives the error on the last line of this code example: Dim Service As New localhost.Service Dim Input As New localhost.InputProduct Dim Ret As New localhost.OutputProduct Try Ret = Service

Rewrite rule not filtering referral spam correctly (anymore)

可紊 提交于 2019-12-07 15:32:53
问题 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\

How to prevent cookieless URLs?

自闭症网瘾萝莉.ら 提交于 2019-12-07 14:24:32
问题 As far as I know, I have disabled cookieless URLs in all places in web.config: <system.web> <sessionState cookieless="UseCookies" /> <authentication mode="Forms"> <forms cookieless="UseCookies" loginUrl="~/loggain" timeout="2880" /> </authentication> <anonymousIdentification enabled="false" cookieless="UseCookies" /> <system.web> I still get the cookieless URLs from time to time, browsing our site. the path can look something like this: /(F(5wpzvCsOC[...snip...]9NXal01))/About/ The problem is

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

左心房为你撑大大i 提交于 2019-12-07 11:59:00
问题 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

Resolve “Maximum request length exceeded” and FileUpload single upload

你。 提交于 2019-12-07 10:40:41
问题 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>

Is it possible to use .NET Remoting + TLS 1.2 (or 1.1)?

余生颓废 提交于 2019-12-07 10:34:47
问题 Recently our PCI DSS scan failed, and requires that we disable TLS 1.0 (and enable TLS 1.1 or 1.2). I found the instructions on how to do so on our Windows Server 2008 R2 box, but we have a legacy application that is using .NET Remoting (its a .NET 2.0 windows forms app/IIS hosted CSLA 1.5 data portal), which doesn't communicate with the new settings. I am getting the following exception: I have attempted various configurations of combinations of TLS settings in both client and server to no

VS2010 TFS Build Failure-Could not complete the request to remote agent

二次信任 提交于 2019-12-07 09:34:15
问题 I received this error when trying to run a build from within VS2010. C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets (3588): Web deployment task failed.(Could not complete the request to remote agent URL 'https://http//[serverName]:8172/msdeploy.axd?site=Default Web Site'.) Could not complete the request to remote agent URL 'https://http//[serverName]:8172/msdeploy.axd?site=Default Web Site'. The remote name could not be resolved: 'http' I'm not sure