Customize the web.config file

1. Change the path of the url
There are a number of places in the web.config file where “http://Laptop-Charles/JetfireWebDemo” is used. This is the path on my PC. Change this to the path to the Sample Website on your PC.
  • Remember to replace ALL instances.
  • If you are using Visual Studio 2005 to host the project, the path that is used in the appSettings is the path shown in the brower (after F5). The format is http://localhost:xx/JetfireWebDemo/..., where xx is a port number.
  • Customize the path to the Personalization Database on your PC.
    • Note: if the Database Server is on another PC, set the appropriate connection string.
<add name="LocalSqlServer" connectionString="Server=Laptop-Charles\SqlExpress;database=aspnetdb;Integrated Security=SSPI"/>
  • Jetfire specific App Settings – edit the website url.
<!-- Example: <add key="settingName" value="settingValue"/> -->
<add key="WorkflowConfigFile" value="http://Laptop-Charles/JetfireWebDemo/Xml/WorkflowConfiguration.xml"/>
<add key="JetfireConfig" value="http://Laptop-Charles/JetfireWebDemo/Xml/JetfireConfig.xml"/>
<add key="JetfireCodeFiles" value="http://Laptop-Charles/JetfireWebDemo/Xml/JetfireCodeFiles.xml"/>

Last edited Jun 20, 2008 at 12:10 AM by CharlesW, version 4


No comments yet.