Skip to content

Web Application Creation

Andrew Buck edited this page Jun 18, 2014 · 2 revisions
  • Create a new directory on your web server that contains all the code that has been unzipped from GPV Website Code v#.# (Complete) – note make sure that you have the complete version and not the update version
  • Go into the properties for the web.config file and uncheck Read Only.
  • Open the web.config and make the following edits. For more information on this file see the Web.config Settings page:
    • Edit the appSettings section
    • Enter a value for the AdminEmail setting
    • Enter a value for the AdminPassword setting (this password enable the running of special administrative functions on the site)
    • Enter a value for the * ConfigTablePrefix if you changed the prefix when setting up your tables above
    • Enter values for FullExtent. These values will most likely be the Min and Max X, Y coordinates for your community. Add ±1000 to your coordinates so that your area is appropriately displayed in your GPV when zoomed to full extent. This can be edited later if needed.
    • Enter a value for the MapUnits setting
    • Edit the connectionStrings section. If you are using SQL you can delete the two commented out lines that refer to Oracle databases. Set up your SQL Database connection in the commented in line following the commented out example in the code
      • Data Source - Change this to the Name or IP address of the server that is hosting your GPV databases
      • Initial Catalog - Set this to the name of your database
      • User ID - Enter a SQL user ID that has read/write access to this database
      • Password - Enter the password that accompanies the above user ID
  • Save your changes to the web.config.
  • Open IIS
  • If you are running websites in .NET 1.0 and .NET 2.0 set up a new Application pool. New -> Application Pool named AspNet2Pool, Use existing application pool as template -> DefaultAppPool
  • Create a virtual directory for your GPV site in IIS
  • Set the site name for your GPV site
  • Set the site path to where your GPV web files are located
  • Read should be checked already for permissions. Check Run Scripts too.
  • Set the site to your AppPool that runs .NET 2.0 sites
  • On the ASP.NET tab make sure that the site is set to run version 2.0
  • Make sure that your search page is set to Default.aspx.
  • Run the website CheckConfiguration function (www.yoursitename.com/Admin/CheckConfiguration.aspx?password=yourAdminPassword) to make sure that your site is configured properly.
  • If you get errors check the Application Event log and look for any warnings from ASP.Net.
  • If you notice any errors on the CheckConfiguration look closely. The smallest error will usually cause a cascading effect.
  • Once you get a clean ConfigurationCheck website setup is complete.
Clone this wiki locally