How to create a self-signed certificate for a domain name for development

Using PowerShell From Windows 8.1 and Windows Server 2012 R2 (Windows PowerShell 4.0) and upwards, you can create a self-signed certificate using the new New-SelfSignedCertificate cmdlet: Examples: New-SelfSignedCertificate -DnsName www.mydomain.example -CertStoreLocation cert:\LocalMachine\My New-SelfSignedCertificate -DnsName subdomain.mydomain.example -CertStoreLocation cert:\LocalMachine\My New-SelfSignedCertificate -DnsName *.mydomain.example -CertStoreLocation cert:\LocalMachine\My Using the IIS Manager Note that IIS certificates use SHA-1 hashing, which isn’t … Read more

Can the web deploy agent run on a port other than 80 on IIS6?

There’s a couple of ways to do this: Option 1: Uninstall and re-install Specifying a different port: msiexec /I WebDeploy_x86_en-US.msi /passive ADDLOCAL=ALL LISTENURL=http://+:8172/MsDeployAgentService The command line installs the MsDeployAgentService and configures it to listen on port 8172 just like on IIS7. Option 2: Re-configure Existing Service to listen on port 8172: Stop the msdepsvc (net … Read more

Checkbox not visible on nodes of TreeView control when deployed in IIS

Not an answer yet, needed to show the images, well I tried the same, used this code in aspx: (I did not change any setting in IIS, nothing in aspx as well, created a plain solution >> added the treeview and deployed.) <asp:Content ID=”BodyContent” ContentPlaceHolderID=”MainContent” runat=”server”> <div> <asp:TreeView ID=”TreeTest” EnableClientScript=”true” PopulateNodesFromClient=”true” ExpandDepth=”0″ ShowLines=”true” ShowExpandCollapse=”true” ShowCheckBoxes=”Root” … Read more

You do not have permission to access the IIS configuration file – Web app error

I was able to solve this issue doing the following: 1- Go to C:\Windows\System32\inetsrv and double click on directory config and accept the warning message. 2- Go to C:\Windows\System32\inetsrv\config directory and double click on directory Export and accept the warning message. Then you will be able to run the app in your local IIS without … Read more

What are the IIS sc-win32-status codes?

Here’s the list of all Win32 error codes. You can use this page to lookup the error code mentioned in IIS logs: You can also use command line utility net to find information about a Win32 error code. The syntax would be: net helpmsg Win32_Status_Code

HTTP Error 500.30 – ASP.NET Core app failed to start

There may be a few reasons behind the error which you can only identify by debugging. You can try to debug this error using the steps below: Navigate to the root directory of the application using CMD Run the application using the command dotnet run (yourApplicationName).dll If there are any errors, they should appear in … Read more