iis
Can’t use WAMP , port 80 is used by IIS 7.5
I had lot of problems with this error (Thanks to Microsoft — Grrr!!) Finally found the solution ….. I am sharing this solution There are couple of ways to stop IIS 7.5 Best one is: Open a CMD prompt (as Admin) and type this: iisreset /stop Here is a snapshot: Next option if you still … 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
Allow loading of JSON files in Visual Studio Express 2013 for Web
After some more googling, and experimenting I found out, that you have to define IIS settings in the Web.config. After adding the following configuration: <system.webServer> <staticContent> <mimeMap fileExtension=”.json” mimeType=”application/json” /> </staticContent> </system.webServer> it works like a charm. Full setup file example: <?xml version=”1.0″?> <configuration> <system.web> <compilation debug=”true” targetFramework=”4.0″/> </system.web> <system.webServer> <staticContent> <mimeMap fileExtension=”.json” mimeType=”application/json” /> … Read more
How to assign a SSL Certificate to IIS7 Site from Command Prompt
The answer is to use NETSH. For example netsh http add sslcert ipport=0.0.0.0:443 certhash=”baf9926b466e8565217b5e6287c97973dcd54874″ appid='{ab3c58f7-8316-42e3-bc6e-771d4ce4b201}’
IIS redirect preserve QueryString?
Go into the IIS site properties for the domain you’re moving from. In the “Home Directory” tab, click the option “A redirection to a URL” In the Redirect to box, enter the domain you wish to move to (no trailing slash), plus $S$Q – for example, http://www.YourDomain.com$S$Q Next, check the options that state the client … Read more
Applying SSL certificate in IIS manager and “The process cannot access the file because it’s being used by another process” error
Have you tried the Microsoft Support Article that mentions this process error occuring when you try to start a Web site in the Internet Information Services MMC snap-in
Classic ASP on IIS7: refusing to send errors to browser on 500 Internal Server Error
Try : Internet Information Services (IIS) Manager —> Default Web Site —> Click Error Pages properties and select Detail errors
IIS 7.5 + enable PUT and DELETE for RESTFul service, extensionless
To get PUT and DELETE to be accepted by IIS 7.5 for a PHP 5.4 fast-CGI driven REST API I had to disable the WebDAV-module. Otherwise the WebDAV module intervenes the HTTP requests using PUT or DELETE. To get this working was however a bit confusing and I might have missed some steps or done … Read more
Cannot read configuration file ‘ trying to read configuration data from file ‘\\?\’, line number ‘0’
If you recently installed the Windows 10 Fall Creators Update, this problem and a solution for it may be covered in this Microsoft knowledge base article. The solution: Open an Administrator Command Prompt (not a Powershell prompt) Run: net stop WAS /y Run: rmdir /s /q C:\inetpub\temp\appPools Run: net start W3SVC Thanks to @weir for … Read more