This project has moved and is read-only. For the latest updates, please go here.

Web Part Error: Web Part My Assignments did not implement the GetInitEventArgs method

Topics: Developer Forum, User Forum
Dec 6, 2009 at 8:16 AM
Edited Dec 6, 2009 at 8:25 AM


I have following problem on my sharepoint site:

The wepPart creates following error message:

Web Part Error: Web Part My Assignments did not implement the GetInitEventArgs method

My configuration is:
Sharepoint services 3.0 - SP2  (file: SharePointServices_3SP2.exe)
The newest SLK from your website :-)
I am using the internal MS SQL database: MSSQL$MICROSOFT##SSEE
Funny is if I am using MS SQL server management Studio Express, I can see the database: SharePointLearningKit
but under Tables is a subfolder System Tables but there is no existing tables, but I have a lot of system Views (Total: 286)
I was checking for example the following view:   select * from Information_schema.check_constraints  the result was empty colums.
I assume the installation script has not run the create table script.
The other problem was to login on the database, because the internal database is limited to only local access, what is fine for SharePoint
but I got on the beginning some probs because I need to use name pipe to get access to the database:
If someone has any idea I am more as appreciate nice help :-)))
ADDENDUM (10 min later)
See following MS server event log:
--------------- snip ---------------------------

SharePoint Learning Kit Error


System.Data.SqlClient.SqlException: Invalid object name 'Configuration'.

   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.SqlDataReader.ConsumeMetaData()

   at System.Data.SqlClient.SqlDataReader.get_MetaData()

   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.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)

   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)

   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)

   at Microsoft.LearningComponents.Storage.LogableSqlCommand.Execute(String commandText)

   at Microsoft.LearningComponents.Storage.LearningStore.GetSchemaInformationFromCache(String connectionString, ImpersonationBehavior impersonationBehavior, TextWriter debugLog)

   at Microsoft.LearningComponents.Storage.LearningStore.GetSchema()

   at Microsoft.LearningComponents.Storage.LearningStore.CreateJob()

   at Microsoft.SharePointLearningKit.SlkStore.GetStore(SPWeb spWeb, String learningStoreUserKey)

   at Microsoft.SharePointLearningKit.WebParts.AssignmentListWebPart.SetQuerySetOverride()

   at Microsoft.SharePointLearningKit.WebParts.AssignmentListWebPart.SetAlwpProperties(Int32& cols)

   at Microsoft.SharePointLearningKit.WebParts.AssignmentListWebPart.RenderAssignmentList(HtmlTextWriter htmlTextWriter)

   at Microsoft.SharePointLearningKit.WebParts.AssignmentListWebPart.RenderContents(HtmlTextWriter writer)


For more information, see Help and Support Center at 


------------------- snip -------------------------------------