Installation Instructions

To install this application there are a few things you need to do.

Step one: run the SQL scripts against your database. This application adds a single table and a number of stored procedures but it does not create a database nor do you need a specific database to make this work.

Step two: Update web.config. Web.config needs a connection string added to it as well as a couple of application variables.

In the section, add a connection string called "dbConnString" and point it to your SQL Server database.

In the section, find your AppSettings section. By default, you might see which is just an empty tag. Remove the / at the end and then below that, add the following:

<add key="AuthenticationMethod" value="Login"/>
<
add key="ProjectRelated" value="false"/>

Now close the section

You should now have this in web.config

<appSettings>
    <
add key="AuthenticationMethod" value="Login"/>
    <
add key="ProjectRelated" value="false"/>
appSettings>

<connectionStrings>
    <
add name="dbConnString" connectionString="Server=yourSqlServer;Initial Catalog=YourDatabase;uid=youruseraccount;pwd=yourpassword providerName="System.Data.SqlClient" />
connectionStrings>

Now that you have all of that, you can put projectpages.aspx in your root folder on your website, copy FreeTextBox.dll and DynamicPages.dll to your bin folder and all should be well.

If you have a custom master page for your site, you will need to place a content placeholder in the head section with the id of "head"

    <asp:ContentPlaceHolder ID="head" runat="server">

    asp:ContentPlaceHolder>
head
>

You will also need to add a content placeholder called "LeftHandStuff" which will add the "Add a Page" link. If you don't want to do this or you have your own method for adding links, you will need to remove the content section for that from ProjectPages.aspx.

At this point, all should be well and the thing should work fine for you.



Page last updated: 7/20/2008 8:08:21 AM