Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

IQSonar installed. IIS Role installed and configured with features enabled per documentation. The following features must be enabled in IIS (from IQSonar Scan Prerequisites):  ·        

  • ASP.NET

...

  • .NET Extensibility

...

  • ASP

...

  • ASAPI Extensions

...

  • ISAPI Filters

...

  • Server-Side Includes

...

  • Default Document

...

  •  directory Browsing

...

  •  HTTP Errors

...

  •  HTTP Redirection

...

  •  Static Content

...

  •  Request Filtering

...

  •  WindowsAuthentication

Tip – add the IIS Role and .NET runtime before running any Windows updates for easy install.   For issues installing .NET see Installing DotNet 3 on Windows 8 /Server 2012

...

  1. Create a new application by right clicking on the Default Website and select 'Add Application'
  2. Alias = iQSonar
  3. Application Pool = iQSonar
  4. Physical Path = C:\Program Files (x86)\iQuate\iQSonar\Sonar
  5. Right Click on the API subfolder and select "Convert to Application"


 

    

Edit Web.config to add the database location and credentials

  • Edit C:\Program Files (x86)\iQuate\iQSonar\Sonar\web.config

...

  •  
  • Modify  connectionString with details in clear text:

{code:xml}       <connectionStrings>         <add name
      <connectionStrings>
        <add name="databaseConnection" connectionString="factory=System.Data.SqlClient;server=SERVER\INSTANCE;database=CMS_DB;uid=USER;pwd=PASSWORD;" />       <
      </connectionStrings>
{code}
 
  

  • Re-Encrypt web.config
  1. 1) Open Command Prompt as Administrator
  2. 2) cd to .NET Framework directory 3) aspnet- %windir%\Microsoft.NET\Framework\v2.0.50727\
  3. Run aspnet_regiis -pe "connectionStrings" -app "/iQSonar"

 
 

...

Step 5 - Change permissions 

Change permissions C:\Program Files (x86)\iQuate\iQSonar\Sonar to allow caching to be created correctly.
Add the IIS_IUSRS local group to the Sonar Directory.
 

  1. Right Click on the folder and click properties


  2.  Check security tab


  3. Press Edit


  4. Press Add


  5. Make sure the Location has the hostname of the VM and type the group


  6. Press ok and Make sure you give the group Full control

 
 

  • Page:

V4 installation error message: missing table - t_Artifact missing error

...