This project has moved. For the latest updates, please go here.

This site is not configured to use SharePoint Learning Kit..

Topics: Developer Forum, User Forum
Feb 24, 2009 at 10:45 PM
I'm running:
Moss 2007
32-bit server
SQL 2005
Windows 2003 server

HI everyone,

I've installed the SLK according to the getting started pdf, I've activated the SLK via 'Site Features' on a couple of sites, but when I go to a document and try to choose the 'E-Learning' action form the menu, I get the following error:

"This site is not configured to use SharePoint Learning Kit. Administrators can use SharePoint Central Administration to configure SharePoint Learning Kit."

Does anyone have any ideas? Am I supposed to do something additional?


Feb 25, 2009 at 5:12 PM

From the error alone, it seems to me that you didn't run the Database provisioning form under Central Administration. If you ran the form, I would double check that the database was actually created. Also, one thing to check is that you ran the form for the right site collection. If you return to the form, you will notice a sneaky drop down as the first item, you must make sure that is the site collection you want the SLK to run from.

The form I am referring to, can be found at this location: Central Administration -> Applications Settings -> (on the bottom) SharePoint Learning Kit.

Feb 25, 2009 at 5:45 PM

Hi Carsten,

Thank you for replying. I verified that the database was created and definitely ran the database provistioning from under Central Admin (even though the getting started guide says that is unecessary). I'm experiencing the same problem.


Feb 26, 2009 at 6:22 PM

Sounds like an interesting problem. Can you verify that you ran the form on the right Site Collection? One way to check this is to check the Permisson Levels on your site. If there are "SLK Learner" & "SLK Instructor" permissions, that is an indication that it was run on that Site Collection. If not, you need to re-run the form, making sure to select the proper site collection. 

If you need help checking permissions levels, let me know.

Feb 26, 2009 at 8:25 PM
I think Carsten is probably right about not running the form on the correct Site Collection. It's not the easiest thing to spot, even though it is the first control on the form. To confirm which site collections are configured you can use the slkadm tool which ships with SLK. You can either run

slkadm.exe -o enummappings

to view all mappings or

slkadm.exe -o getsiteconfiguration -url http://yourUrlHere

to view the mappings for your specific site collection. I've just written a blog about how to use slkadm which you can see at

SLK Co-ordinator
Feb 26, 2009 at 11:43 PM
Thank you, now I'm getting somewhere. So I used the slkadm.exe tool to verify if I had configured the site collection and it gave me a 'No SLK configuration found for [http://mysitecollection]. So I just ran the configuresite command and now I received this error: Note: I placed the slkadm.exe tool on the c drive of my server, maybe thats not the correct location for it?

C:\>slkadm.exe -o configuresite -url http://mysitecollection -databaseserve
r MyServer -databasename SharePointLearningKit
Error: System.IO.FileNotFoundException: Could not find file 'C:\SlkSettings.xml'
File name: 'C:\SlkSettings.xml'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, I
nt32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions o
ptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detec
tEncodingFromByteOrderMarks, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path, Encoding encoding)
   at System.IO.File.ReadAllText(String path, Encoding encoding)
   at Program.ConfigureSite(IEnumerator argEnum)
   at Program..ctor(String[] args, Boolean& pause)
   at Program.Main(String[] args)
Mar 2, 2009 at 6:39 PM
Looking at the code you need to have slksettings.xml present in the same directory. I've added a few more parameters to my blog entry after reading through it as well.

Mar 3, 2009 at 12:13 AM
ok, I'm getting closer. I actually tried going back to the gui to try and configure the site collection and received a SQL error:

Could not obtain exclusive lock on database 'model'. Retry the operation later.
CREATE DATABASE failed. Some file names listed could not be created. Check related errors.

I also received an error when runniing the slkadm.exe tool:

* By default, integrated authentication is used to connect to the database.
To use a SQL Server user ID and password instead, append the appropriate
connection string information to the database server name -- for example,
instead of "MyServer", use "MyServer;user id=myacct;password=mypassword".
For security reasons, integrated authentication is strongly recommended

I tried doing what this error said but I recieved the same error: Below is my command:

C:\>slkadm.exe -o configuresite -http://mysite/sel/learn -databaseserver "serverName;user id=userId-setup;password=password" -databasename "SharePo
intLearningKit" -createdatabase -instructorPermission "SLK Instructor" -learnerP
ermission "SLK Learner" -observerPermission "SLK Observer" -createPermissions -u
ploadSlkSettings "slksettings.xml" -defaultSettings
Mar 3, 2009 at 4:08 PM
Ignore my previous post. Something is really messed up with our SQL Server, we did a reboot this morning of our database server and I was able to confiure a couple site collections for the SLK just fine. Thanks for all your help everyone.