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

The maxAllowedContentLength controls how much data is allowed to be sent in a response. However you want to control how much can be accepted in a request. This is handled by the maxRequestEntityAllowed attribute of the limits element in the asp section of the config file. An example might look like:- <system.webServer> <asp> <cache diskTemplateCacheDirectory=”%SystemDrive%\inetpub\temp\ASP … Read more

Using makecert for Development SSL

Here are my scripts for doing this: Create Certificate Authority Create a self-signed certificate (-r), with an exportable private key (-pe), using SHA1 (-r), for signing (-sky signature). The private key is written to a file (-sv). makecert -r -pe -n “CN=My Root Authority” -ss CA -sr CurrentUser ^ -a sha1 -sky signature -cy authority … Read more

“405 method not allowed” in IIS7.5 for “PUT” method

Often this error is caused by the WebDAV module that try to handle this kind of requests. An easy solution is to remove it from modules and from handlers of the system.webServer section just inside your web.config file. Here a configuration example: <system.webServer> <modules> <remove name=”WebDAVModule” /> </modules> <handlers> <remove name=”WebDAV” /> </handlers> </system.webServer>

How to redirect a URL path in IIS?

Format the redirect URL in the following way: stuff.mysite.org.uk$S$Q The $S will say that any path must be applied to the new URL. $Q says that any parameter variables must be passed to the new URL. In IIS 7.0, you must enable the option Redirect to exact destination. I believe there must be an option … Read more