SLK 1.5 Beta Issues

Aug 4, 2010 at 2:09 AM

I have also installed the SLK 1.5 Beta on Sharepoint Server 2010.  I couldn't get the install to work, so added the solution from a command prompt.  The solution added and I was able to deploy with no problem.  When I went to configure the learning kit I got this error. 

Error

The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.

 

Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: bb13a80f-0193-4e51-ba60-f53aeb4839f9

Date and Time: 8/3/2010 8:14:12 PM

<script type="text/javascript">// <![CDATA[ function ULSvam(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="error.aspx";return o;} var gearPage = document.getElementById('GearPage'); if(null != gearPage) { gearPage.parentNode.removeChild(gearPage); document.title = "Error"; } function _spBodyOnLoad() {ULSvam:; var intialFocus = document.getElementById("errorPageTitleSpan"); try { intialFocus.focus(); } catch(ex) { } } // ]]></script>
Coordinator
Aug 4, 2010 at 6:43 PM

This is an error logging an error in SLK to the event log. SLK tries to log errors in the application log in the sources "Windows SharePoint Services 3" or "SharePoint Foundation". Can you open the application log in event viewer and see if either of these sources are in there and if not what SharePoint ones are?

What problem did you have with the install? It is from a command prompt so I'm not sure what issue you hit.

 Richard

SLK Coordinator

http://blog.salamandersoft.co.uk

Aug 4, 2010 at 9:41 PM

This is the error that is logged in the event viewer.  I get this error when I'm trying to configure the SLK or create the database.  I thought it was a permissions issue, but I have the needed permissions and have been able to get into the database and write to it.  I've actually considered doing a fresh install and see if I get the same error message.  I've had this Sharepoint 2010 server running all summer waiting for the SLK, maybe a setting is funky?  I don't want to have to do this though.

Coordinator
Aug 5, 2010 at 11:51 AM

When you look in the Event Viewer at the Windows application log, what SharePoint related Sources do you have events for. I'm talking generic SharePoint events here not SLK specific. I need to check to see if the name I'm using is correct.

Aug 5, 2010 at 5:34 PM

All of my sources related to sharepoint are from "sharepoint foundation".

Sep 29, 2010 at 2:58 PM

i also have this problem while configure SLK:

The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.

Which eventlog is inaccessible ?

thx

 Michael

Coordinator
Oct 1, 2010 at 2:43 PM

fleschgordon,

 

Are you using Beta 1 or Beta 2.

Oct 1, 2010 at 3:45 PM

Hi Richard, thanks for the tip off that was my issue.

My test web app and production app were using different identities. Strangely I had given the errant identity full DBO rights over the SLK database so I think it may have been some other issue rather than database access. Nothing was ever flagged in the event log.

Now appears to be working well so I'm happy, will play with it some more and let you know if anything crops up.

 

Jason.

Oct 1, 2010 at 5:44 PM

Hi Guys -

I'm using a pretty clean installation of Sharepoint Foundation 2010 with just a simple standalone install for doing some prototyping.  Everything with the Sharepoint installed without a hitch, and the installation of the SLK 1.5 B2 installed along with deploying the solution, again, without any issues. 

However, as with the previous posters when I go into configure the slk for a site collection (the ICON is not displaying for the configuration by the way), I get the same error stating the "source was not found"...

When I installed WSS3 with SLK 1.4 everything in the documentation was explained in detail and I was up and testing the SLK in no time at all.  However with either version of SLK 1.5 B1 and B2 there seems to be problems just with getting the damn installation to work. 

So can someone precisely explain what things we need to look at within sharepoint - first - before installing the SLK 1.5 Beta?

Sham

Oct 4, 2010 at 8:25 AM

Hi Richard, i'm using beta 2

can you give me a hint where to look for further informations ?

thx

 michael

Oct 4, 2010 at 10:13 PM
All,

Ok I finally made some headway by taking a few clues from post here, there, and everwhere.
Here are the steps I took in which I was finally successful in installing SLK 1.5b2 
and ultimately getting everything to work.

I hope this guide will prove to be usefull, good luck.

Configuration:

Windows 2008 Server, IIS7, Sharepoint Foundation, Embedded SQL, SLK 1.5 Beta 2

Server Prep Installation:
-------------------------
Install 2k8
Install IIS7
Patch W2k8
(or whichever server version you prefer)


Software Prep:
   Noted:  I'm using Sharepoint Foundation because 
   I wanted to quickest way to up and running.
   Perhaps someone can expand this guide with 
   their experiences using the server version and beyond.

Install Sharepoint Foundation

Select Basic 
  Note: This will install the embedded sql server.  
  The instance will be <servername>\Sharepoint.

Run Configuration Wizard ... Done.


SQL Permissions Prep:
--------------------------

If you don't already have the SQL Management Studio, 
get and install it.

Within SQL Server Management Studio click "Connect"

In "Server Name" enter <your servers name>\Sharepoint
Leave the default Authentication method.

    NOTE: again this is with Foundation Server
    what the instance name is called with other
    versions of sharepoint you'll have to Bing IT :P

You should now be connected to Sharepoint's embedded 
instance.

Expand the "Security" branch

Right Click on LOGIN

Select New Login and Add your currently logged in user
(maybe Administrator), then assign the roles of Public, 
Sysadmin, and dbCreator.


SLK 1.5 Prep
--------------------------

Click Start, goto Administrative Tools

"Right Click" on "Windows Powershell Modules", and "Run as Administrator" 
PowerShell will import modules and all the bs along with it, 
shortly afterwards you should have a ps prompt.

cd into go into your directory where you unzipped the SLK.

Type AddSolution.ps1 at the prompt, hit <enter>
Within seconds the install should be complete.
 
Follow the rest of the steps via the Install.txt and you should be
good to go.
 
There were so many changes I made to my system and I tried 
to remember which steps were the most relevant so if you're
still not able to get it to work, then it's possible I missed
something as well, but I hope this will give you start.

-Sham
Oct 7, 2010 at 11:45 PM

Hi Richard et al,

I tried to install 1.5 Beta 2 on a clean 2010 install.

The powershell script didn't work so I added the solution manually.  Once deployed the Applications Management screen has no icon for the Learning Kit and when trying to download the settings file or create the database, I get the same error as fleschgordon above.

Any ideas or fixes to try?   Tried Sham's comments but no joy.

Mike

Oct 8, 2010 at 8:32 PM
Hey mjnorrie 

Here's an update to my previous instruction.  I've tried this several times and so far
so good.


After installing W2k8, IIS 7, updating and all that BS:


With a clean 2k8 system - Install Steps:

1)  From Sharepoint Foundation, choose - Install Pre-Reqs

2)  Install Sharepoint Foundation 2010

3)  Install SQL Management Studio

4)  Launch SQL Management Studio

    - Register Connection to  <server name>\Sharepoint
    - Right Click on the SQL Server, Properties, Security
    - Switch to SQL Server and Windows Authentication mode, click OK
    - Expand the Security branch
    - Expand the Logins branch
    - Right Click on SA, properties, provide a password, then select Status
      and make sure Login is set to "Enabled", click ok.
    
    - Refresh your database view and SA should now be shown as enabled.

5)  Launch Sharepoint Central Administration

6)  Select Application Management, Specify the Default Database Server

7)  Change Database Server to <server name>\Sharepoint

8)  Change Database Username and Password to the SA account and the password you assigned.

9)  Delete your Default Web Application

10) Create a new Web Application with and change these Options:
    -  Database Server:  <server name>\Sharepoint
    -  SQL Authentication:
        - Account:  SA
        - Password: <whetever you made for sa>
    Creating the new web abblication this way is probably the key in getting
    LMS 1.5b2 to work.

11) After creating the Web Application, then create the assoicated Site Collection with defaults.

12) Now your system is prepped properly for LMS 1.5b2

You should at this point refer to my previous post for install the SLK 1.5b2.

Just in case here's a summary:

1) Click start, Administrative Tools, Right Click - Windows Powershell Modes...
2) CD into your directory where you unzipped the SLK 1.5
3) type AddSolution.ps1

The SLK should install without any issues.
From here follow the SLK instruction for sharepoint.

Done
Oct 8, 2010 at 10:48 PM

Thanks Sham,

I'm now up and running with your help!

I did note that my AddSolution.ps1 wouldn't run until I unblocked it in the properties (newbie's mistake, but it doesn't make reference to this in the documentation) and I had to add ".\" before "AddSolution.ps1". Previously I was manually installing the solution.

Thanks once again for the prompt guidance.

Mike

 

Oct 10, 2010 at 2:50 PM

No problem i'm glad we're all making some headway with the SLK :)

Oct 10, 2010 at 2:59 PM

Ok Last post with these instruction and corrections:

What's working so far.


After installing W2k8, IIS 7, and updating -


With a clean 2k8 system - Install Steps:

1)  For Sharepoint Foundation, choose - Install Pre-Reqs

2)  Install Sharepoint Foundation 2010

3)  Install SQL Management Studio

4)  Launch the SQL Management Studio

    - Register Connection to  <server name>\Sharepoint
    - Right Click on the SQL Server, Properties, Security
    - Switch to SQL Server and Windows Authentication mode, click OK
    - Expand the Security branch
    - Expand the Logins branch
    - Right Click on SA, go to properties, provide a password, then select Status
    - Make sure Login is set to "Enabled", click ok.
   
    - Refresh your database view, SA should now be shown as enabled.

5)  Launch Sharepoint Central Administration

6)  Select Application Management, Specify the Default Database Server

7)  Change Database Server to <server name>\Sharepoint

8)  Change Database Username and Password to the SA account, and the password you assigned.

9)  Delete your Default Web Application

10) Create a new Web Application with these settings:
    -  Database Server:  <server name>\Sharepoint
    -  SQL Authentication:
        - Account:  SA
        - Password: <whetever you made for sa>
    NOTE:  Creating the new web abblication this way, is probably the key in getting
               SLK 1.5b2 to work.

11) After creating the Web Application, create the assoicated Site Collection with defaults.

12) Your system is now prepped properly for SLK 1.5b2

SLK 1.5b2 first prep install summary:

1) Click start, Administrative Tools, Right Click on Windows Powershell Modes, and Run As Administrator.
    a) or unblock the application in properties (as per mjnorrie)
2) CD into your directory where you unzipped the SLK 1.5
3) type .\AddSolution.ps1 (as per mjnorrie)

The SLK should install without any issues, and from here you should follow the install instructions
included with the slk 1.5b2 zip file.

I've tried this several times in this sequence and haven't had any issues yet.  My next attempt will be
to install SLK 1.5b2 within Sharepoint 2010 Server using parts of these sequences.

Goodluck!

Oct 13, 2010 at 2:32 PM

Hi,

now the SLK Installation works - it was a security issue - the network service account was used, now i switched to a valid nt user account.

Then i installed the course manager 1.4. Is this version working with sharepoint 2010 ?

Also i cannot plan a course or can create a activity group, because i have no icons available on the form. Also i have not this registry key to add the database information as described in the PDF Installing Documents for the Course Manager.

Who has solved that with 2010 ...?

thanks

 michael

 

Coordinator
Oct 22, 2010 at 2:18 AM

I've updated the installation instructions to cover how to run AddSolution.ps1 now, thanks. Beta 3 onwards should now set the database permissions correctly so you don't need Sql Server authentication. In fact it's best practise to only use integrated authentication.

Richard

SLK Coordinator

http://blog.salamandersoft.co.uk

Coordinator
Oct 22, 2010 at 2:19 AM

Michael,

I have no plans to support Course Manager on SharePoint 2010.

Richard

Oct 23, 2010 at 2:59 PM

Excellent!

I haven't yet installed Beta 3 from scratch (i just upgraded from beta 2), but I'll definitely try it using your instructions.

Excellent work Richard!