MicroStrategy ONE

Setting up MicroStrategy Web using Visual Studio

This topic describes how to set up MicroStrategy Web (in a .NET environment) in Microsoft© Visual Studio so that you can customize MicroStrategy Web by creating new custom ASP.NET pages.Requirements

  • MicroStrategy Web 8.1.0 or higher installed  

  • Microsoft .Net Framework v2.0  

  • Microsoft Visual Studio 2005

Using the information in this topic, the solution file, WebASPx.sln, is created and placed in the MicroStrategy Web application folder (Web ASPx):

Solution file

The solution file, WebASPx.sln, contains configuration parameters for the application. The location of the project file is indicated as a regular URL pointing to the MicroStrategy folder (http://localhost/MicroStrategy/).

Create the solution file using the following code and save it in the application folder (Web ASPx) of MicroStrategy Web.

Copy
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "http://localhost/MicroStrategy/", "http://localhost/MicroStrategy", "{A99228A1-820D-4841-AF2C-403F4561CFE3}"
      ProjectSection(WebsiteProperties) = preProject
           Debug.AspNetCompiler.VirtualPath = "/MicroStrategy"
           Debug.AspNetCompiler.PhysicalPath = "..\MicroStrategy\"
           Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\MicroStrategy\"
           Debug.AspNetCompiler.Updateable = "true"
           Debug.AspNetCompiler.ForceOverwrite = "true"
           Debug.AspNetCompiler.FixedNames = "false"
           Debug.AspNetCompiler.Debug = "True"
           Release.AspNetCompiler.VirtualPath = "/MicroStrategy"
           Release.AspNetCompiler.PhysicalPath = "..\MicroStrategy\"
           Release.AspNetCompiler.TargetPath = "PrecompiledWeb\MicroStrategy\"
           Release.AspNetCompiler.Updateable = "true"
           Release.AspNetCompiler.ForceOverwrite = "true"
           Release.AspNetCompiler.FixedNames = "false"
           Release.AspNetCompiler.Debug = "False"
           SlnRelativePath = "..\MicroStrategy\"
      EndProjectSection
EndProject
Global
      GlobalSection(SolutionConfigurationPlatforms) = preSolution
           Debug|.NET = Debug|.NET
           Release|.NET = Release|.NET
      EndGlobalSection
      GlobalSection(ProjectConfigurationPlatforms) = postSolution
           {A99228A1-820D-4841-AF2C-403F4561CFE3}.Debug|.NET.ActiveCfg = Debug|.NET
           {A99228A1-820D-4841-AF2C-403F4561CFE3}.Debug|.NET.Build.0 = Debug|.NET
           {A99228A1-820D-4841-AF2C-403F4561CFE3}.Release|.NET.ActiveCfg = Release|.NET
           {A99228A1-820D-4841-AF2C-403F4561CFE3}.Release|.NET.Build.0 = Release|.NET
      EndGlobalSection
      GlobalSection(SolutionProperties) = preSolution
           HideSolutionNode = FALSE
      EndGlobalSection
EndGlobal

Steps for setting up MicroStrategy Web using Microsoft© Visual Studio are provided below:

  1. Copy WebASPx.sln to the Web ASPx folder.  

  2. Open WebASPx.sln using Microsoft© Visual Studio.  

  3. From the View menu, select Solution Explorer.  

  4. Once the Solution Explorer is open, click the “Show all files” icon.  

  5. Open the asp folder and right-click the Main.aspx file.  

  6. Select “Set as start page”.

The code in the solution and project files has references to the different DLLs required by the application. It is possible that the files included in the asp folder might vary from release to release; hence it is recommended that you include the entire asp folder to the solution as indicated in the steps above.