Installation
To install the Vectorlight CMS you will need working knowledge of installing server software and have access to both the web server and database server. Here we discuss how to install the sample website to a web server. Before you begin you will need to ensure that you have the connection details for your SQL Server installation as these are required later on.
Copying the Files
Firstly the sample website comes with two folders webroot and database. Copy the contents of the webroot folder to the website folder on your web server. Ensure that all the provided folders and files are copied.
Attaching the Database
Then copy the database file (.mdf) to a location on your database server. In your SQL Server Management Studio that comes with SQL Server 2005/2008 you can then attach the database using the Attach command.
Configuring IIS
You will need to setup the website in IIS. You do this by creating a new Application (IIS Version 6) and give your website an Alias and also tell IIS where the Physical Path is (This is the folder where you copied the webroot folder contents to).
Setting the Default Document
You will need to ensure the default document list contains default.aspx.
Web.config Settings
For this part of the configuration you will need to have your web.config open in a suitable xml/text editor such as Visual Studio.
SQL Server Connection String
The first setting you must ensure is in your web.config is the SQL Server connection string and looks something like this:
<connectionStrings>
<add name="mainConnection" connectionString="Data Source=sqlServerInstance;Initial Catalog=sample; user id=userid;password=password;" providerName="System.Data.SqlClient" />
</connectionStrings>
You will need to enter the correct details for:
Data Source - Where your SQL database is located.
Initial Catalog - Your database name.
User id - A valid user ID for your SQL Server instance.
Password - A valid password for the user ID.
Email Settings
Email settings can be found in the system.net -> mailsettings element of your web.config, if the section does not exist you will need to add it.
<system.net>
<mailSettings>
<smtp from="mail@sample.com">
<network host="localhost" userName="mail@sample.com" password="password" defaultCredentials="true"/>
</smtp>
</mailSettings>
</system.net>
You will need to ensure you put the correct details for your mail server.
Accessing the Website and Editor
Simply browse the the website URL to view the website. To access the editor navigate to http://www.mydomain.com/edit.aspx
Rate this:
1 Star
2 Star
3 Star
4 Star
5 Star
2 Ratings / 3.0 Average