Jan 17 2007

CS Search Engine Breaks

Category: Community ServerBil@l @ 12:19

When I upgraded my site from CS 2.0 to CS 2.1, the Search Engine broke down! All my old posts were unable to be searched!

Read on those two posts and your problem will be solved:

  1. The Official "My CS Search Isn't Working" Thread
  2. Search Issue

Hope this helps,

Regards

Tags:

Jan 25 2006

How to publish Community Server 1.1 remotely?

Category: Community ServerBil@l @ 10:21

In a previous post, we have seen how to install CS 1.1 on a local machine.

Now it is time to upload our installation to our own web space. We will be installing CS 1.1 inside a folder called *cs*, so now you can have the CS 1.1 home page @: http://mywebsite.com/cs/

  • Copy the web folder where you had your CS 1.1 installation on your local machine, suppose it is called *Web*, to the root of your web space
  • Create a Virtual Directory called cs that points to the folder called Web thay you just have uploaded to your root directory of the web space
  • Make sure the database has been upload successfully, how to upload it? Depends on the hosting company you are working with
  • Open the table called cs_Sites, you will find inside it a record that has a SiteUrl of *localhost/cs*, change this to something as *mywebsite.com/cs*

That is all, you have now a working version of the CS 1.1 on your web space.

HTH,

Regards

 

Tags:

Jan 20 2006

How to install Community Server 1.1 on my machine?

Category: Community ServerBil@l @ 07:07

I got a request from a friend of mine, asking me how to install and configure CS 1.1 on a hosting area.
I will take you in a step-by-step tour on how to be able to install CS 1.1 on your own hosting area.


1- Download the CS 1.1 binaries; click here to get them now.
2- After you download the zip file, you extract it into any place of your choice.
3- Now we need to create a website for the CS. To do so, you go to the Internet Information Services MMC, and create a new website under the default website, with the Alias name as cs. Make the website’s, *localhost/cs*,  home directory point to the Web folder included in the download of CS. This Web folder includes all the files that constitute the CS website.
4- Now, after creating the website, we need to install the CS. How to do so?
5- Before we install CSS, we need to open our Sql Server Enterprise Manager, we create a new Database named *username_CommunityServer*, make sure you change the word username with a name of your choice, why? Because if you want later on to publish that CS into your hosting space and your hosting space is a shared hosting space, then there might be a conflict with other databases, so to be on the safe side, name it according to the above mentioned pattern.
6- You may also need to create a new Database Login user and assign its permissions to the new database you just created.
7- Now it is time to install the CS, but wait, we still have some configuration steps we need to do:
a. Go to the Web folder, open the Web.config , locate the following line:
<add key="SiteSqlServer" value="server=(local);uid=;pwd=;Trusted_Connection=yes;database=communityserver" />


Here, you will need to add the username and password to be able to access the local database. In addition, you can turn off trusted connection by putting it to no.
b. There is an installer that ships with CS to be able to install it on your machine. Got to the Web folder and locate the Installer folder. Open the folder and find the default.aspx page, inside that page you will need to locate the following line:
bool INSTALLER_ENABLED = false;


Make sure you enable the installer by setting a value of true above. Then when you finish installing CS, make sure you reset the value to false.
c. Open a new IE browser, go to http://localhost/cs/installer. This is a step by step wizard that helps you install CS on your machine.
d. The first screen that you face is the following:
 

Click Next

You agree to the terms and click next

You put the username and password you created before in the Sql Server Enterprise Manager. Click next

In this step, you select the database instance where you want to install the CS database. You would need to select the empty database you created in a previous step. Click Next

Select all the options and click next.

In this step, you can change the URL of the community; I suggest leaving it as it is. Then enter a username/password for the administrator of the community. Click next to go to the final step.

Congratulations, now you have a working version of the CS 1.1. To lunch the website and make sure everything is working fine, open a new IE browser, type the following:
http://localhost/cs.
Make sure you disable the installer as mentioned above.

In this post, we learned how to install and configure the CS 1.1 on your local machine. In next posts, we will learn how to publish this installation to your hosting account and be able to access it online.

Hope you found this post beneficial,

Regards

Tags: