Configuration Error!

Topics: Developer Forum, User Forum
Nov 3, 2008 at 1:31 PM
Hi,
This is my first time to installing SLK,i installed SLK step by step from gettingstarted document, but when i want to configure SLK in Central Administrator,after clicking OK,i got this error :

-------------------------------------------------------------
"The server principal 'FAFA\Administrator' already exists.

More information has been written to the server event log."
-------------------------------------------------------------

My Server name is FAFA and i login into my sharepoint site and Central Administrator with "Administrator" user.
I'm using SQL server 2005 enterprise edition, i login to sqlserver on Windows Authentication mode and server instance name is "FAFA".
I check server event log and i see this log:

----------------------------------------------------------------------------------------------
" SharePoint Learning Kit Error

System.Data.SqlClient.SqlException: The server principal 'FAFA\Administrator' already exists.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.SharePointLearningKit.SlkAdministration.CreateDatabase(String databaseServerConnectionString, String databaseName, String databaseConnectionString, String appPoolAccountName, Byte[] appPoolSid, String databaseSchema)
   at Microsoft.SharePointLearningKit.SlkAdministration.<>c__DisplayClassb.<SaveConfiguration>b__4()
   at Microsoft.SharePointLearningKit.SlkUtilities.ImpersonateAppPool(VoidDelegate del)
   at Microsoft.SharePointLearningKit.SlkAdministration.SaveConfiguration(Guid spSiteGuid, String databaseServer, String databaseName, String schemaToCreateDatabase, String instructorPermission, String learnerPermission, Boolean createPermissions, String settingsFileContents, String defaultSettingsFileContents, String appPoolAccountName, ImpersonationBehavior createDatabaseImpersonationBehavior)
   at Microsoft.SharePointLearningKit.AdminPages.ConfigurePage.BtnOk_Click(Object sender, EventArgs e) "

------------------------------------------------------------------------------------------

After this, i open Sql server management studio and i checked that "SharepointLearningKit" Database already created and exist, but there is not any Table in this database!
i think when i click OK in configure SLK page,it create a blank database and then it show me above error!
error remaining and i trying to use SLK webpart but i recieve this error :

--------------------------------------------------------------------------------
An error occurred. More information may be available in the server event log.
--------------------------------------------------------------------------------

anyone can help me to solve this error??
regards

Dec 3, 2009 at 2:51 AM

Hi,

I'm experiencing this same error. I have downloaded v1.3.1. Can anyone give us a tip on how to solve this?

Thanks in advance.