May preview SharePoint installation

rated by 0 users
This post has 38 Replies | 6 Followers

Top 500 Contributor
Posts 43
Points 725
juliet Beer [B] Posted: Fri, May 16 2008 4:47 PM

I succesfully installed and configured  the SharePoint installation using the installation documentation.  Thanks! One note, the My API Keys does not work for the LeanAndGreen theme.  But did work in the default.

I was able to succesfully add the Site Activity Messages web part to a page.  However, below are the other web parts that I'm interested in but can't load. Are these web parts supposed to work in the MayPreview version? 

Unable to add selected web part(s)

CSThreadViewer.webpart: The file you imported is not valid. Verify that the file is a Web Part description file (*.webpart or *.dwp) ant that it contains well-formed XML.
CommunityServer Forums: Cannot import this webpart. Please contact you site admin or Telligent Systmes Customer Support.
CommunityServer Forum Threads: Cannot import this webpart. Please contact you site admin or Telligent Systmes Customer Support.
CommunityServer Forum Posts: A Web Part or Web Forum Contol on this Page cannot be displayed or imported. The type could not be found or is not registed as safe.
CommunityServer Forum Group Viewer: Exception has ben thrown by the target of an invocation.

Succesfully added The following 3 webparts.
CommunityServer Search Results - I think i need to figure out how to configure.
CommunityServer Search Box - But when I search I get an error...may need to configur the web part?
Site Activity Messages - works and brings back site activity.

  • | Post Points: 35
Not Ranked
Posts 31
Points 530
CS Developers

Hi Juliet - Thanks for giving this a shot.  I don't have a great answer for you just yet, but I wanted to reply and let you know that we are looking into it and will get back to you. 

One question: Was this a new installation of community server or do forums and posts allready exist?

Thanks,

josh

 

  • | Post Points: 35
Top 25 Contributor
Posts 1,878
Points 37,860
CS Developers
Jose Lema replied on Fri, May 16 2008 10:57 PM

Hi juliet,

juliet:
One note, the My API Keys does not work for the LeanAndGreen theme.  But did work in the default.

While Josh and team investigate the SharePoint side of things, I have logged this defect (#877) and will report back updates to this thread.

Thanks!

One is glad to be of service...

Jose Lema

  • | Post Points: 5
Not Ranked
Posts 5
Points 70

 I have the same experience as Juliet...

 

  • | Post Points: 5
Not Ranked
Posts 5
Points 70

 A few findings.

1.  After  a few uninstalls and reinstalls, I finally got to see use the webparts that show all forums or all blogs but cannot use any of the other more specific ones. 

2.  It appears that these web parts are dependent on CS being installed to a VD under the SharePoint site?  (ie., http://mysite/CS

3.  I can't get CS to install to a VD under the SharePoint site, I continually get errors related to some untrusted code.

4.  With CS installed at a top level site (ie., http://localhost:xxx), the web parts have all the wrong links, even if I manually go into them and put in the URL to my CS installation under the REST settings.

 

  • | Post Points: 20
Not Ranked
Posts 12
Points 180
PeterBA replied on Sun, May 18 2008 9:54 PM

Hi,

I got CS working as a Virtual Directory under SharePoint by adding "<trust level="Full" />" to the Web.config.

However, I can't find any documentation or option to enable SharePoint integration - the only doco I found ("Configuring SharePoint Integration for Community Server 2008 MayPreview") and it says I "should see a message stating, "Please configure Community Server". This means that the features were installed successfully but are not configured." at the Root level Site Collection [which I don't].

How do I enable SharePoint integration? Is there more documentation? (I am using a trial Enterprise LIcense Key).

Thanks.

Not Ranked
Posts 12
Points 180
PeterBA replied on Mon, May 19 2008 1:13 AM

Not getting any love...

Install issues:

1. Needed SA permissions to create and configure CS database.
2. Changed CommunityServer IIS App Pool to MOSS App Pool as "NETWORK SERVICE" didn't have permission to remote SQL DB.
3. Added "<trust level="Full" /> to CS Web.config to allow ASP.NET app to run under MOSS.
4. FOUND the WSP solution to enable SharePoint integration via the somewhat hidden "welcome" forum post that links to the Team Blog [this is not clearly mentioned anywhere] here: http://communityserver.com/news/team-blog/want-a-little-preview-of-community-server-sharepoint-integration-here-rsquo-s-part-i/. [You need to click on the "here" in the very first line of the post "The install zip is available here"].
5. Edited BAT file for MOSS URL - you need to run the BAT with "deploy". Deploy partly fails with error messgaes towards bottom (hard to work out source, as it loops through feautes):

...
Value does not fall within the expected range.

stsadm.exe -o activatefeature
           {-filename <relative path to Feature.xml> |
            -name <feature folder> |
            -id <feature Id>}
           [-url <url>]
           [-force]

Feature 'CSGlobalExtensionStapler' (ID: 31e82773-2938-4141-9c3a-813900f3fd33) is
 already activated at scope 'Farm'.

Operation completed successfully.

Attempting stop...
Internet services successfully stopped
Attempting start...
Internet services successfully restarted

 

Configuration steps/issues:

1. Browse to MOSS homepage - don't see a "Please configure Community Server".
2. Links to Forums and Blogs on left-hand quick launch are broken (they point to /CS/forums.aspx and /CS/blogs.aspx rather than /CS/forums/ and /CS/blogs/).
3. After configuring CS URL and API keys in site settings, receive errors when adding Web Parts:

CSThreadViewer.webpart: The file you imported is not valid. Verify that the file is a Web Part description file (*.webpart or *.dwp) and that it contains well-formed XML.
CommunityServer SearchBox: Exception has been thrown by the target of an invocation.
CommunityServer Search Results : Exception has been thrown by the target of an invocation.
CommunityServer Forums: Cannot import this webpart. Please contact your site admin or Telligent Systems Customer Support.
CommunityServer Forum Threads: Cannot import this webpart. Please contact your site admin or Telligent Systems Customer Support.
CommunityServer Forum Posts: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.
CommunityServer Forum Group Viewer: Exception has been thrown by the target of an invocation.
CommunityServer Blogs: Exception has been thrown by the target of an invocation.
CommunityServer Blog Post Viewer: Exception has been thrown by the target of an invocation.
CommunityServer Blog Comment Form: Exception has been thrown by the target of an invocation.
CommunityServer Activity Messages: Exception has been thrown by the target of an invocation.

4. Check the MOSS logs:

05/19/2008 15:03:59.24  w3wp.exe (0x13C4)                        0x0C2C Windows SharePoint Services    Web Parts                      89ku High     Failed to add webpart http%253A%252F%252Fintranet%252F%255Fcatalogs%252Fwp%252FCSActivityMessageViewer%252Ewebpart;CommunityServer%2520Activity%2520Messages.  Exception Microsoft.SharePoint.WebPartPages.WebPartPageUserException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: Invalid Credentials     at CommunityServer.WebServices.Common.BaseService.GetResponse(String url)     at CommunityServer.WebServices.Common.BaseService.ValidateUserApiKey(String username, String apiKey)     at CommunityServer.WebServices.Common.BaseService..ctor(String siteUrl, String username, String apiKey)     at CommunityServer.WebServices.Membership.MembershipService.... 
05/19/2008 15:03:59.24* w3wp.exe (0x13C4)                        0x0C2C Windows SharePoint Services    Web Parts                      89ku High     ....ctor(String siteUrl, String username, String apiKey)     --- End of inner exception stack trace ---     at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)     at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)     at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)     at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)     at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)     at... 
05/19/2008 15:03:59.24* w3wp.exe (0x13C4)                        0x0C2C Windows SharePoint Services    Web Parts                      89ku High     ... CommunityServer.Wss.Global.WebParts.CSWebPart.CreateServiceInstance[T](Boolean impersonateEnabled)     at CommunityServer.Wss.Global.WebParts.CSWebPart.OnInit(EventArgs e)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Control.AddedControl(Control control, Int32 index)     at System.Web.UI.ControlCollection.Add(Control child)     at System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlCollection.AddWebPartHelper(WebPart webPart)     at System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlCollection.AddWebPart(WebPart webPart)     at System.Web.UI.WebControls.WebParts.WebPartManager.AddWebPart(WebPart webPart)     at System.Web.UI.WebControls.WebParts.WebPartManagerInternals.AddWebPart(WebPart webPart)     at Mic... 
05/19/2008 15:03:59.24* w3wp.exe (0x13C4)                        0x0C2C Windows SharePoint Services    Web Parts                      89ku High     ...rosoft.SharePoint.WebPartPages.SPWebPartManager.AddWebPartWithRetry(WebPart webPart)     at Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddDynamicWebPart(WebPart webPart)     at Microsoft.SharePoint.WebPartPages.SPWebPartManager.LoadWebPart(WebPart aspWebPart, String zoneId, Int32 zoneIndex, Boolean isClosed)     at Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddWebPartInternalShared(WebPart webPart)     at Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddWebPartInternal(SPSupersetWebPart superset, Boolean throwIfLocked)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddWebPartInternal(SPSupersetWebPart superset, Boolean throwIfLocked)     at Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddWebPartInternal(SP... 
05/19/2008 15:03:59.24* w3wp.exe (0x13C4)                        0x0C2C Windows SharePoint Services    Web Parts                      89ku High     ...SupersetWebPart superset)     at Microsoft.SharePoint.WebPartPages.WebPartQuickAdd.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) 

5. N.B. Also note strange non-disposal error earlier in the logs:

05/19/2008 14:07:12.13  w3wp.exe (0x13C4)                        0x0C2C Windows SharePoint Services    General                        0 Medium   Potentially excessive number of SPRequest objects (14) currently unreleased on thread 15.  Ensure that this object or its parent (such as an SPWeb or SPSite) is being properly disposed.  Allocation Id for this object: {85617FD9-54B5-4BAC-9BD8-F26A9874B3FA} Stack trace of current allocation:    at Microsoft.SharePoint.SPRequestManager.Add(SPRequest request, Boolean shareable)     at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[] UserToken, String userName, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous)     at Microsoft.SharePoint.SPWeb.InitializeSPRequest()     at Microsoft.SharePoint.SPWeb.EnsureSPRequest()     at Microsoft.SharePoint.SPWeb.get_Request()     at Microsoft.SharePoint.SPListCollectio... 
05/19/2008 14:07:12.13* w3wp.exe (0x13C4)                        0x0C2C Windows SharePoint Services    General                        0 Medium   ...n.EnsureListsData(Guid webId, String strListName)     at Microsoft.SharePoint.SPListCollection.EnsureListsData(String strListName)     at Microsoft.SharePoint.SPListCollection.Undirty()     at Microsoft.SharePoint.SPBaseCollection.System.Collections.IEnumerable.GetEnumerator()     at CommunityServer.Wss.Global.WebPages.AdminPages.CSGlobalSettings.ᐁ(SPWeb )     at CommunityServer.Wss.Global.WebPages.AdminPages.CSGlobalSettings.ᐁ()     at CommunityServer.Wss.Global.WebPages.AdminPages.CSGlobalSettings.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAs... 
05/19/2008 14:07:12.13* w3wp.exe (0x13C4)                        0x0C2C Windows SharePoint Services    General                        0 Medium   ...yncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at ASP._layouts_cs_csglobalsettings_aspx.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.ResumeSteps(Exception error)     at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)     at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)     at System.Web.HttpRuntime.ProcessRequ... 
05/19/2008 14:07:12.13* w3wp.exe (0x13C4)                        0x0C2C Windows SharePoint Services    General                        0 Medium   ...estNoDemand(HttpWorkerRequest wr)     at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)   

 

So yeah, significant issues with installing SharePoint Integration and the Web Part error seems Security related - what should I check wrt to this "Invalid Credentials" error coming from the "CommunityServer.WebServices.Common.BaseService.ValidateUserApiKey" method?

Thanks.

Top 500 Contributor
Posts 43
Points 725
juliet replied on Mon, May 19 2008 10:56 AM

 A little information about my environment.

I installed a new installation of CS2008 (on a demo license) on my dev box.  SharePoint is installed in a virtual server environment to most accurately mimic production.  Does CS need to be installed on the SharePoint box?  I thought it could run independently.

 

  • | Post Points: 20
Not Ranked
Posts 5
Points 70

 In a hosted environment, putting full trust in the web.config is not something I can support.. I am hopeful there is another way around this.

The first time and second time that I tried to install the bits, I did get the link referenced in teh documentation...  in that sitaution only the activity web part would work.

The third time I tried the install (with a brand new CS installation, with no forums created yet), I used a non-publishing template in ShaerPoint and did not see the announcement and instead had a "Community Server" link on the current navigation with "Forums" and "Blogs" as options.  This took me to two pages.  The blogs page never worked, the forums page shows all the web parts and once I went into Site Settings/Community Server Global Settings and set things up the web parts worked (but again only the "global" ones and all the links are wrong).

 

  • | Post Points: 5
Not Ranked
Posts 18
Points 375
CS Developers
lgersing replied on Mon, May 19 2008 3:46 PM

PeterBA:
Not getting any love...
 

I'm here to change that! :) Let the love begin!

PeterBA:
4. FOUND the WSP solution to enable SharePoint integration via the somewhat hidden "welcome" forum post that links to the Team Blog [this is not clearly mentioned anywhere] here: http://communityserver.com/news/team-blog/want-a-little-preview-of-community-server-sharepoint-integration-here-rsquo-s-part-i/. [You need to click on the "here" in the very first line of the post "The install zip is available here"].
5. Edited BAT file for MOSS URL - you need to run the BAT with "deploy". Deploy partly fails with error messgaes towards bottom (hard to work out source, as it loops through feautes):

The installater.bat file is meant to show you, the preview audience exactly what the planned installation plan is to ensure any issues are worked out prior to beta and subsequent release. if you run the installer without any arguments: You will notice a number of possible command line arguments that are available if you need to re-run a section otherwise I recommend running it with:

install_CS2008_Wss_MayPreview.bat in

or

install_CS2008_Wss_MayPreview.bat un

that will run the full process. In some cases you will see:

PeterBA:
Feature 'CSGlobalExtensionStapler' (ID: 31e82773-2938-4141-9c3a-813900f3fd33) is
 already activated at scope 'Farm'.

this is due to the fact that some features require other features in order to be activated so SharePoint activates them as needed. They are not critical errors and therefore ignored.

After install

If you do not see the message mentioned in the ReadMe, it's most likely because the only site definition that is modified (safely) is the Team Site definition. If you're using a Moss Publishing site or any number of other site definitions on your Root Web, then you're not going to see that message. to verify that everything was installed then you can go to Site Actions for the root web in the site collection. A new menu category should be last in the page (you may have to scroll to see it) for CS settings. Click the link in there. If the page comes up then the features are installed. Enter the CS url, api name, api key and click save. A green confirmation should appear if the configuration is successful. If not, an error will be thrown.

It's important to note that _nothing_ will work without those settings.

At this point, I would uninstall the feature set (see above) and then re-install (again, above) and pipe the results to a text file and attach it in a reply to this post. That will help me know exactly what features did not install properly. If installation and configuration are incorrect for any reason, it's possible to see the errors you're seeing so I'd like to cross those off my diagnostic list before looking in the parts themselves.

thank you so much for submitting your experiences, I look forward to your reply!

Leon Gersing
Telligent System
Software Development Eng
Community Server Product Team
a.k.a.:fallenrogue (twitter.com/fallenrogue)(fallenrogue.com)

Not Ranked
Posts 5
Points 70

 So, if I use the APIName the way you suggest I get "An Unexpected Error Has Occurred" when I try to click on the Forums page in my team site.

If I use my USERNAME in the Global Settings I will get the forums pages with the web parts loaded.  I cannot load any other web parts as specified above.

 

Additionally all links are wrong since I cannot get CS to install to a subVD of my sharePoint site without putting full trust in the web.config.  Any ideas on that one?

 

 

 

  • | Post Points: 20
Not Ranked
Posts 18
Points 375
CS Developers
lgersing replied on Mon, May 19 2008 5:11 PM

juliet:
I thought it could run independently.
 

You're right, the two environments are designed and expected to run seperately. The WebParts have one dependency and that's on WSS v3.

In your Community Server configuration page in SharePoint be sure to specify the correct url to your CS site and not to a page or incorrect sub-directory. If the root page in CS is http://localhost/cs/default.aspx make sure the value is http://localhost/cs you NEED the "http" or "https" in order for it to work.

Ensure that those settings are correct and please report back your finding. thanks! ~Leon 

Leon Gersing
Telligent System
Software Development Eng
Community Server Product Team
a.k.a.:fallenrogue (twitter.com/fallenrogue)(fallenrogue.com)

Not Ranked
Posts 18
Points 375
CS Developers
lgersing replied on Mon, May 19 2008 5:19 PM

ashtangagirl:
Additionally all links are wrong since I cannot get CS to install to a subVD of my sharePoint site without putting full trust in the web.config.  Any ideas on that one?

Mixing CS and SP in the same farm could have unexpected results and I would recommend either hosting them in seperate Farms or on different Web Applications on different ports (if in the same farm).

Under NO circumstances is it advisable to run SharePoint in full trust and the preview release does NOT require that the target environment run in full trust at all. If someone recommends Full Trust for this release they are mistaken.

In fact, during the deployment of the preview installation a custom CAS policy is deployed along with the assemblies.

HTH, ~Leon

Leon Gersing
Telligent System
Software Development Eng
Community Server Product Team
a.k.a.:fallenrogue (twitter.com/fallenrogue)(fallenrogue.com)

Not Ranked
Posts 5
Points 70

 Hi Leon,

I knew most of that from direct discussions with your dev team over the past few weeks on a project we working on.  The problem is though that the web parts appear to base the URL links to the SharePoint site:

http://mysharepointsite/cs/  rather than the actual link I specified in global settings which is http://localhost:port

I have SP installed on my 80 and CS installed on another port.  In our production environment we'd likely keep CS on it's own server altogether.

 

  • | Post Points: 20
Top 500 Contributor
Posts 43
Points 725
juliet replied on Mon, May 19 2008 7:55 PM

 

I confirmed that in the Global Settings for Community Server in SharePoint were correct.  I still have the same issues of not being able to add any of the forum type web parts. 

My Community Server installation is not the default website.  Does it need to be the default website on the server that it is hosted on?

 

  • | Post Points: 20
Page 1 of 3 (39 items) 1 2 3 Next > | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com