Com(p)fy
Contents
Skip Navigation Links.
CollapseFolder
Compfy Folders ( Posts: 5 Last: 6/11/2010 )
ExpandFolder
User Forums ( Posts: 2 Last: 5/11/2010 )
CollapseFolder
Documentation ( Posts: 2 Last: 5/22/2010 )
CollapseFolder
Installation and Configuration ( Posts: 2 Last: 5/22/2010 )
Text Post
ASP.NET User Control Installation ( Posts: 1 Last: 5/22/2010 )
Text Post
Web Site Template Installation ( Posts: 1 Last: 5/22/2010 )
Folder
ExpandFolder
Versions ( Posts: 1 Last: 6/11/2010 )
ExpandFolder
Folder
Q&A
Folder
 
Web Site Template Installation
5/21/2010 9:18:05 PM Last modified: 5/22/2010 10:44:39 PM
Greg
Joined: 4/17/2010
Posts: 5

The Compfy Folders download comes in form of a zipped ASP.NET web site template that can be directly used after a few configuration steps:

Create Compfy Folders database tables and other objects using the SQL script "create database.sql" located in the "/_compfyfolders/_sql" directory. You can do it conveniently by using Microsoft SQL Server Management Studio. Compfy Folders tables can be located in the ASP.NET services database or placed into a separate database.

Provide a Connection String to your Compfy Folders database in the "DataBaseConnectionString" element of the Compfy_AppSettings.config file located in the  "/_compfyfolders/_config" directory as shown in the following example:

Code
  <DataBaseConnectionString> Server=yourhost.com; Database=yourdb;User ID=youruser; Password=yourpassword; Trusted_Connection=False; </DataBaseConnectionString>
 

To allow users attach files to posts, create a folder designated for storage of the attached files. Make sure that the "network service" user has read, write, and execute permissions for that folder. Provide virtual path to this folder in the Compfy_AppSettings.config file for example as follows:

Code
<AttachmentStoreFolderPath>/attachments</AttachmentStoreFolderPath>
 

For using user management embedded into the Compfy Folders User Control and for receiving error reports, provide mail settings in the Web.config of your web site as shown in the following example:

Code
 <system.net>
  <mailSettings>
   <smtp from="yourusername@yourdomain.com">
    <network host="mail.yourdomain.com" password="yourpassword" port="yourproviderssmtpport" userName="yourusername@yourdomain.com" />
   </smtp>
  </mailSettings>
 </system.net>
 

Set up your database connection string for the ASP.NET services database in the Web.config file. The default settings are:

Code
  <connectionStrings>
      <remove name="LocalSqlServer"/>
      <add name="LocalSqlServer"
       connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\aspnetdb.mdf;Integrated Security=True;User Instance=True;"
       providerName="System.Data.SqlClient"/>
  </connectionStrings>
 

This connection string is usually used for development only. You may need to create the default ASP.NET database in the App_Data folder if you want to use it for development.

For error reporting, also provide an email address to send error reports to in the Compfy_AppSettings.config file located in the  "/_compfyfolders/_config" directory:

Code
  <ErrorMessageEmail>youruser@yourdomain.com</ErrorMessageEmail>
 

Let the Compfy Folders User Control know which ASP.NET role is the administrator role of the Forum. Administrator(s) can set all other permissions on the forum, can edit, lock and unlock user profiles, can edit and delete any of the folders or posts. The administrator role is set in the Compfy_AppSettings.config as follows:

Code
<AdministratorRole>Administrator</AdministratorRole>
 

 If you have any questions, please post them in the Q&A section and we do our best to answer them. (You would need to create an account and to login in order to post.)

Replies: Page: First Last  Posts/Page:
  Page: First Last  Posts/Page:


Registered users:
8
Users online:
1
Folders total:
14
Posts total:
5
Server timezone (for anonymous users):
(UTC-08:00) Pacific Time (US & Canada)
Powered by Com(p)fy