CTP2 Another Set of Deployment Issues

Topics: User Forum
Aug 22, 2006 at 1:25 PM
Windows 2003
SQL 2005

I have followed the install and deployment instructions, including running the config tool to create the database which it has done.

I activated the SLK in various site collections but I can still not see the Assignment List Web Part and I cannot see it in the web part gallery > New.

When I select a document in the share documents list and select the eLearning actions menu item i receive the following error.

"The SharePoint Learning Kit feature has not been installed and activated for this Web site. "

Running enumsolutions shows the following

<Solutions Count="1">
<Solution Name="sharepointlearningkit.wsp">
<Id>00057001-c978-11da-ba52-00042350e42e</Id>
<File>sharepointlearningkit.wsp</File>
<Deployed>TRUE</Deployed>
<WebApplicationSpecific>TRUE</WebApplicationSpecific>
<ContainsGlobalAssembly>TRUE</ContainsGlobalAssembly>
<Deployment WebApplication="http://rcp-vt-mult07:43438/" />
<LastOperationResult>DeploymentSucceeded</LastOperationResult>
<LastOperationTime>Monday, 21 August 2006 14:18</LastOperationTime>
</Solution>
</Solutions>


The port number is the port of the administrator tool for sharepoint. There is nothing running under the default port of :80

I can also not see the SLK Intructor or Learner users/groups anywhere in the system

Can anyone offer any pointers?
Aug 22, 2006 at 4:30 PM
This sounds like SLK isn't configured for your site collection. Make sure you have the correct web application and site collection selected when configuring in central admin.

Go to the SLK configuration page in SharePoint Central Admin. Select the site collection > Change Site Collection. Make sure the web application is correct in the upper right hand corner of the Select Site Collection page. The web application should match the base URL of your site, which is likely on port 80. Then, on the Select Site Collection page select the site collection you wish to configure for SLK and click OK.

After you have chosen the site collection, you should be able to click OK at the bottom of the Configure SharePoint Learning Kit page to configure. The page should default correctly based on whether the database is already created and whether you need the instructor and learner permissions on the site collection you are configuring.

Note that you have to configure each site collection you wish to use SLK on.

Hope this helps,
Mark

Aug 23, 2006 at 3:46 PM
Your right i hadn't redone the SLK configuration page in SharePoint Central Admin. I have now redone that for the 3 sites I am trying to test on.

I can now successfully assign users to the SLK Instructors and Learners groups and also created a new assignment which I have assigned to the Learner.

However I still cannot see the assignment list web part and I cannot see it to upload it. Is the webpart anywhere that I can get at, so I can do an manual upload and install?

One possible error on my part was I may not have installed Windows Workflow Foundation, Beta 2.

In the process of creating my test box i have installed
Microsoft Pre-Release Software Microsoft .NET Framework 3.0 - June 2006 CTP
http://www.microsoft.com/downloads/details.aspx?familyid=8D09697E-4868-4D8D-A4CF-9B82A2AE542D&displaylang=en

I am pretty sure the framework includes the windows workflow foundation but I am not positive. I am pretty sure Sharepoint Server 2007 wouldn't have installed if I didn't have it on the box.

Aug 23, 2006 at 4:06 PM
Forgot to mention in the above post I also had database permission issues with the Network Service user which I found out by checking the event log.
Aug 23, 2006 at 5:19 PM
I’m assuming you have tried the steps in the getting started document and are having trouble finding the Microsoft.SharePointLearningKit.WebParts.AssignmentListWebPart when adding the web part to the gallery. If the web part doesn’t appear in the “Web Part Gallery: New Web Parts” page (it is typically at the bottom of the list), then it is possible that SLK hasn’t been deployed to that particular web application.

Check out the following and see if it helps.

Discussion on deploying to multiple web applications: http://www.learninggateway.net/SLK/Lists/Frequently%20Asked%20Questions/DispForm.aspx?ID=28&Source=http%3A%2F%2Fwww%2Elearninggateway%2Enet%2FSLK%2Fdefault%2Easpx

FAQ entry to add ALWP to web part gallery: http://www.codeplex.com/Wiki/View.aspx?ProjectName=SLK&title=SLK%20FAQ

-Mark
Aug 25, 2006 at 10:36 AM
Ok for completeness of this thread its all working now thanks to the learninggateway post listed above

That post said

"Like all SharePoint solutions, SLK must be deployed to all the Web Applications where it will be used.

If you used the scripts that came with SLK to deploy it (DeploySolution.cmd), then it was only deployed to the default Web Application. Edit the script and you'll see that it deploys to http://localhost. Edit that line to point to your other SharePoint Web Application and run the command again, or you can use the UI in SharePoint Central Admin to deploy to whatever Web Application you like."

The answer to the next question of how do you do this in the UI is

"Once you've added the solution via stsadm, you can deploy it by going to SharePoint Central Administration, clicking on the Operations tab, and then Solution Management (under the Global Configuration category)."

Hope that helps.