Deploying Community Starter Kit to the Web

Dear List Mates,

I downloaded the starter kit, installed it on my production computer, put in some content, and it is working fine, however ...

I can't get it to deploy to the web. I uploaded the database from my production computer MSSQL to my server MSSQL through DTS. I left the entire program on my production computer and just changed the connection string of my config file to the online data base. I've done it before, should have been easy, but I reaceived the standard error message:

No community is configured for .

If this is the first page that you see after installation, then installation has failed. Here are some things to check:
  • The Community Starter Kit must be installed within its own virtual directory
    Open the Internet Services Manager from Start, Settings, Control Panel, Administrative Tools, Internet Services Manager and confirm that there is a virtual directory configured for .

  • A community must be configured for the domain
    Click here to configure a community for with the ISP Admin page.
Finally, if all else fails, rerun the Community Starter Kit Setup Wizard located at Start, Programs, ASP.NET Starter Kits, Community Starter Kit, Community Starter Kit Setup Wizard.

For additional help, visit the Community Starter Kit forum at www.ASP.net/Forums.

Any ideas? I was hopping this would be a 10 minute deployment and now it is turning into a 10 hour head ache.

Thanks in advance,

HawaiiMark

0
HawaiiMark
4/10/2006 11:52:36 PM
asp.net.community-starter-kit 2049 articles. 0 followers. Follow

3 Replies
651 Views

Similar Articles

[PageSpeed] 6
Get it on Google Play
Get it on Apple App Store

Hi HawaiiMark,

On the assumption that everything was working on your production system.  When you changed the connection string to point at your remote server SQL database does your local (production) application work?  e.g.,  you switch the connection string to production and it works; then change it to your remote server address and it stops working.

The reason I ask is that we can rule out Virtual Directory being the cause (and it will cause it) if simply changing the connection string breaks it.  

If changing the connection string breaks it then try to run http://yourdomain/ispadmin and ensure the community domain and subdomain are set to asterisks.  It may be easier to simply change the community_domain and community_subdomain fields to asterisks in the Community_Communities table via enterprise manager.

Let us know - we'll get you there - it's worth the trouble!


Bill Kratochvil  Blog  Visit Community Advanced Starter Kit (CASK) 2.3

0
BillKrat
4/11/2006 3:51:57 AM

Dear List Mates,

Thanks for the interaction. I did check the virtural directory and did find a problem that was unrelated to my above articulated problem. Then I kept on looking and found the what caused my deployment problem. I will explain it here, and my fixes, just in case someone else has this same experience.

My original problem was "worked with using my production computer but when I used my online database connection it crashed." Bottom line, the upload of the database was corrupted, bad database, bad results.

Details: The error message I quoted earlier was a bogus, useless default message and I made no progress until I turned on my errors and debugging.

Problem one: When I uploaded the database, it did not go under "dbo" but under my user login. I tried reinstalling it a bunch of times, did not figure it out. Then I did the slow line by line fix that I found in "SQL Server Books Online." The formula is:

sp_changeobjectowner [ @objname = ] 'object' , [ @newowner = ] 'owner'

I delete the parenthesis [] and put in the name of the user defined functions that were causing the errors, and put in dbo (without the quote marks) as the new owner. I changed each function to dbo and then checked exec and dri in permissions--It worked!! don't fully know why, and I figure there is a more pretty way of fixing it.

The next error was that in my Community_ActivityLog table there was a special code under the date--(getutcdate()) that automatically generated a date. This did not transfer over and thus I received an "unauthorized null" error. Solution, maually put in the code.

Conclusions--the first place to look is the most simple--my last step of uploading the database had bugs.

Lessons for the future: one has to understand database as well as ASPNET. Can't do one without the other, or at least very well.

Thanks for the help. I find that simply forming my question is a good first step. When others start giving answers, that helps me better articulate the question and the combination of advice and looking deeper helps a lot.

Off to a further adventures of getting the rest of the site online, puting the content in, and playing the search engine visibility games. Good to be part of this forum. Write you all soon with another problem, and perhaps even a solution for someone else.

Signing off,

Hawaii Mark

0
HawaiiMark
4/11/2006 9:28:08 PM

I've traveled that road also, in the spirit of helping the next guy I would like to present a reliable way to deploy the CSK database.

\Documentation\Installation.htm contains a section "Using the Database Command File, CSKDB.CMD:" in that section you'll find more detailed information about CSKDB.CMD however I'll summarize the usage I use for deploying the CSK database tables.

I first drop to the command prompt (start | run | cmd ) and then change directory to the applicable folder, e.g.,  CD \YourCSKPath\SQL and then execute then CSKDB.CMD with an [Action] of "populate".   This effectively populates the specified database with the applicable tables, stored procedures, etc with the required securities. 

SYNTAX: CSKDB.CMD [Server], [Database], [Login], [Password], [Action], [CSKUserName], [CSKUserPwd]

With that done I then DTS the data from my development system to the production server replacing the existing data.  I havn't had issues using this method.

 

 


Bill Kratochvil  Blog  Visit Community Advanced Starter Kit (CASK) 2.3

0
BillKrat
4/12/2006 3:30:59 AM
Reply:

Similar Artilces:

Telligent Community Server Starter Kit versus Microsoft Community Starter Kit
This ASP.NET forum lists GoDaddy.com as supporting the Microsoft Community Starter Kit.  After going through the setup on GoDaddy.com, I realize that they installed Telligent's Community Server Starter Kit.  I have been browsing this forum, and have not gotten a good answer to several questions.  I get the drift that Telligent has taken over the active development of the CSK project and is further developing the Starter Kit?  Telligent's starter kits are open-source (sort-of), but the realities of development determine that a the Starter Kit have a financial backin...

use portal starter kit with community starter kit
I am using the portalvbsdk and community starterkit but both have different user login database, is it possible to connect both starter kits with only one user login panel? Sorry, I am very new with ASP.NET I don't think so. The permissions in portal are different than permissions in community. If a person only logs in one and not the other, the permission settings will always be wrong for the one which has no login. ...

How does Community Starter Kit compare with Community Server
in terms of features, performance, scalability etc ?Has anyone used both ? I have extensively evaluated Community Server 2.1 and even use it for blogging. It works great ! I am wondering how this starter kit compares... mycodetrip.com haathi: in terms of features, performance, scalability etc ?Has anyone used both ? I have extensively evaluated Community Server 2.1 and even use it for blogging. It works great ! I am wondering how this starter kit compares... You want the long or the short version? LOLKind regards,Gift Peddie check this: http://forums.asp.net/thread/1406935.asp...

How to open Community starter kit in VS.NET for VB.NET?
Hi,   Some one please tell me how to open community starter kit in VS.NET 2003 as there is no solution object or project file in CommunityStarterKit folder. I have read the documents and installation is fine. Some one tell me please   Thanks There are two different formats of the CSK download. One format uses the SDK compilers and is best if you use notepad, webmatrix or similar. The other format is for Visual Studio . Net users.http://www.asp.net/StarterKits/DownloadCommunity.aspx?tabindex=0&tabid=1 Assuming you downloaded the VS.net version and installed it us...

Differences between the Club Starter Kit, Club Starter Kit 2.0, and Extended Club Starter Kit
I'm a little confused as the the differences between these 3 starter kits, can someone point the differences out to me?Victor Corey I picked the first one, because I thought that it would be the easiest and least complicated to understand and work with.  I have the same question.  You posted this some time ago, I guess nobody knows.  I am only posting this so it will show up again, and maybe someone will address it.  Thanks. I don't know about the extended, but I worked with the Club Site Starter Kit for several days and got stuck when needing to actually get ...

Building new Community website base on Community Commerce Starter Kit
Hi, I build a new Community website base on Community Commerce Starter Kit, i know that the default.aspx will redirect to the CommunityDefault.aspx , i copy all the code to my new website + all the class and image and when i run it , it give me the error: Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.Source Error: Line 64: Line 65: // Add the Page Title Line 66: objBuilder.AppendFormat( "\n<title>{0}</title>", objPageInfo.title); Line 67: //objBuilder.AppendFormat( "\n<title>...

Community starter kit
I'm trying to find where the source code is after installing the COMMUNITY STARTER KIT on my acct at "europe.webmatrixhosting.net".I logged on into it using FTP is..but i can;t even find where the first "default.aspx" page is.. If u know pls let me know.. thanks You can find it in C:\Program Files\ASP.NET Starter Kits\ASP.NET Community Starter Kit (CSVS)\CommunityStarterKit Wim NO, you can't find the source code at europe.webmatrixhosting.net. You will only find the .ascx, .aspx, webconfig and .asax files only. Come to download GotCommunityNet (GCN) Go...

About the Community Starter Kit
I've try to read through the Community Starter Kit (SDK Version) but still not really understand how the dynamic generate of aspx page and directory..... did any ppl have any good URL have more information about it?! actually, I've try to read most of the *.CS but all of them seems to be chained together, I really don't have any idea where to start... beside the Dynamic generate of Directory and the ASPX file, I also want to know more about the code for insert photo into the SQL Database and the rich-text version input box.... could any ppl help me?... ThanksPlease Visit My Si...

Community Starter Kit
I'm trying to use this kit as a basis for developing an internal community for the corporation I work for. My network techs tell me that if it requires that I develop and place .dll files onto the server, then i cannot use it because .dll could potentially cause over 900 web sites to crash. When creating the Community Starter Kit, will I be putting .dll files onto the web server? Jim Hi, You host 900 web sites on one machine? That's a lot. You can tell your techs that an ASP.NET site precompiled as a dll is exactly as dangerous (or as harmless) as one that is not precompiled...

How do I install or deploy another instance of Community Starter Kit on to the same server ?
I have already installed the Community Starter Kit which runs pretty good on the IIS 6.0 server. Now I am thinking of installing another instance of the kit but on different virtual directory and serve different group of community members, But when I install, it gives me an option to remove or to repair instead of having another instance installation options, How to I have more community kit installed on same server ? Thank you You will have to create your additional installations manually. Create your site/virtual directory in IIS and point it to the folder where you want the...

Details on how to integrate Cute Editor for .NET with Community Starter Kit
Cute Editor for ASP.NET is the most powerful WYSIWYG (What You See Is What You Get) browser-based Online HTML Editor for ASP.NET. Details: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx We've had a few requests recently for integrating Cute Editor with CommunityStarterKit. Here are the steps: 1. Download Cute Editor for .NET(CuteEditor_for_NET4.0.zip) from http://cutesoft.net/Downloads/default.aspx 2. Download Cute Editor Wraper for CommunityStarterKit (CommunityStarterKit.CuteEditorWraper.zip) from http://cutesoft.net/Downloads/default.aspx 3. Unzip the CuteEd...

Details on how to integrate CuteChat, Web Messenger with Community Starter Kit
Cute Chat is a full-featured ASP.NET chat program. Nothing else on the market comes even close to it. This ASP.NET chat system has been the choice of the leading web sites, from around the world, from small to largest Portals. Details: http://cutesoft.net/ASP.NET+Chat/default.aspx Cute Web Messenger is a state-of-the-art instant messaging software package that facilitates communication with your customers, company's employees or community site. Your visitors can chat with each other using a web browser without installing any software. Details: http://cutesoft.net/Web-Messenger/defa...

Errors in Web.config when deploying Club Site Starter Kit on net
On my machine (localhost) i have no problem running it. But when i run it on my host i get this error:Server Error in '/' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused...

TimeTracker Starter Kit as a subweb under the Personal Starter Kit
I am wanting to make the TimeTracker started kit as a subweb under the Personal Started Kit.  Is there any special way to do this or anything I should be worried about?  I am new to this and trying to develop a web application based off of these kits. ThanksChuck...

Web resources about - Deploying Community Starter Kit to the Web - asp.net.community-starter-kit

Buzz Aldrin deploying the Solar Wind Collector - Flickr - Photo Sharing!
Buzz Aldrin is deploying the Solar Wind Collector (SWC), a foil sheet which he is pointing at the Sun. Note the word 'Shade' printed on the bottom ...

Quick guide - Deploying Windows 10 IoT Preview to Raspberry Pi 2 - YouTube
Detailed description: Quick walkthrough on how to deploy and configure Windows 10 Internet of Things (IoT) Preview for a Raspberry Pi 2 device. ...

NATO 'totally' denies deploying troops near Russian border of Ukraine
NATO has denied Russian claims that it was planning to deploy massive numbers of troops near the country's border.

Tony Abbott Has Just Paid His First Visit To Iraq Since Deploying Troops To Fight Islamic State
Australian Prime Minister Tony Abbott has paid his first visit to Baghdad and Iraq.

AusCERT 2013: Deploying BYOD in a government environment
Strong executive desire to use iPhones led the Department of Sustainability, Environment, Water, Population and Communities to start looking ...

US looks at deploying Australian warships in north Asia
The United States is working to integrate Australian warships into its ballistic-missile defence systems in North-east Asia, as it strives to ...

US looks at deploying Australian warships in north Asia
The United States is working to integrate Australian warships into its ballistic-missile defence systems in North-east Asia, as it strives to ...

Other nations to follow Australia's success in deploying troops to Iraq
Britain, Canada and the Netherlands are using Australia's process for getting troops into Iraq as a template to authorise their own deployments. ...

Islamic State: Australia open to possibility of deploying more forces after Ramadi ...
ABC Online Islamic State: Australia open to possibility of deploying more forces after Ramadi ... ABC Online Prime Minister Tony Abbott has ...

ISIS mission: Canada mulls deploying CF-18 jets to join U.S.-led strikes
The federal cabinet will meet next week to discuss deploying Canada's CF-18 fighter jets to join a U.S.-led campaign against the Islamic State ...

Resources last updated: 1/22/2016 7:03:12 PM