You are here
Home > Operating System > Windows

IIS: Solution for HTTP 404 of WebService api after ssl integration

All the end point are getting HTTP 404 after ssl is integrated in IIS. To fix that issue, following the steps   1.  Add new binding <binding name="uploadBindingSSL" sendTimeout="00:05:00" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" transferMode="Streamed"> <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> <security mode="Transport"> <transport clientCredentialType="None"/> </security> </binding> 2.  Add another endpoint in service <endpoint address="" behaviorConfiguration="web" binding="webHttpBinding" bindingConfiguration="uploadBindingSSL" contract="Services.IService1" />    

IIS: Solution for error code CS0016 on IIS 10

If the following error is generated after deployed in IIS CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64\v4.x.xxxxx\Temporary ASP.NET This could be a fix: Step 1: Give modify permission to IIS_IUSRS on "c:\Windows\Microsoft.NET\Framework64\v4.x.xxxxx\Temporary ASP.NET" folder Step 2: Give modify permission to IIS_IUSRS on "c:\Windows\Temp" folder Step 3: Restart IIS ( may required)

Windows Cheatsheet

Creating Symbolic link: Step 1: Open command prompt Step 2: mklink /d SymbolicLinkPath TargetPath example: mklink /d C:\testfolder\SymbolicLink d:\testfolder\folderorfiletobelinked   Networking related commands: Find Your IP Address: Step 1: Open command prompt Step 2: ipconfig DNS can be flushed using following command: Step 1: Open command prompt Step 2: iipconfig /flushdns Following might be helpful for checking whether the connectivity between your pc