Azure Storage Emulator in Visual Studio

You can point your application in visual studio to use Azure Storage Emulator by putting this to the config file:

<add key=”StorageConnectionString” value=”UseDevelopmentStorage=true;” />

 

Advertisements

The system cannot find the file specified – IIS Manager

If you are having a problem accessing your default page of the IIS and having an error message of “The system cannot find the file specified” when exploring the virtual directory/application of IIS “Default Web Site”.

2-1
2-1a

Chances are your IIS might not set the correct path for “inetpub” folder that contains the “index” page of IIS.

You can follow this steps to point it to the correct path. In my example, my IIS is already stopped.

  1. Go to “Advance Settings” and change the path in “Physical Path” field.
  2. 2-2

  3. Browse the folder for the correct path of IIS. Then click “OK”(in my example I found it in my C drive. It maybe different from yours.)

  4. 2-3a.png

  5. After setting the path, we can now run again the IIS, by right click to “Default Web Sites”, choose “Manage Web Sites”, click “Start”
  6. 2-4.png

  7. Then you can now view your default page of IIS and view all sites under it.

Troubleshooting: Could not load type ‘System.ServiceModel.Activation.HttpModule’- ClearCanvas DICOM Server

If you encounter this kind of error “Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089” after installing ClearCanvas DICOM Server.
error

You could do the following:

  1. Click Start, click All Programs, and then click Accessories.
  2. Right-click Command prompt, and then click Run as administrator.
  3. Click “Continue” to open Command prompt as Administrator
  4. Type: “cd C:\Windows\Microsoft.NET\Framework\v4.0.30319”. Please note that your machine has a .NET Framework v4.0.30319
  5. Then install this framework to the IIS by typing this command: “aspnet_regiis.exe -iru”
  6. Restart the IIS by typing this command: “iisreset”. Recap of our commands:
    cmd
  7. View again the page in the browser and hope to see login page of DICOM server. success

References:

  1. Troubleshooting the Microsoft Dynamics NAV Web Client Installation
  2. ASP.NET IIS Registration Tool (Aspnet_regiis.exe)
  3. Start a Command Prompt as an Administrator