1
Vote

There is already an object named 'SLAM' in the database.

description

I have successfully deployed the slam.wsp in my SharePoint server and was also successful in activating the slam event receivers. There are around 11 lists that i need to sync. When i hit sync i see that 10 out of 11 lists get synced properly but for one list i find that around 3000 items are missing and i get the below error for the same.

System.Data.SqlClient.SqlException: There is already an object named 'SLAM' in the database. CREATE SCHEMA failed due to previous errors. at System.Data.SqlClient.SqlConnection.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.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult) at System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries) at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) at System.Data.Linq.DataContext.ExecuteMethodCall(Object instance, MethodInfo methodInfo, Object[] parameters) at System.Data.Linq.DataContext.ExecuteCommand(String command, Object[] parameters) at Slam.Data.DataContextExtender.ExecuteCommand(DataContext context, Boolean commit, String command) at Slam.Data.SqlDataRepository.UpdateLocation(String siteCollectionId, String siteCollectionUrl, String siteId, String siteName, String siteTitle, String siteUrl, String listId, String listDefaultListViewUrl, String listNewFormUrl, String listEditFormUrl, String listDisplayFormUrl) at Slam.SharePoint.DefaultListItemExtensions.GetFieldValues(SPListItem listItem, List1 outputFields) at Slam.SharePoint.SPListItemExtender.GetFieldValues(SPListItem listItem, List1 outputFields) at Slam.Events.DefaultEvents.Update(SPListItem listItem, IDataServices dataServices, IConfigurationManager configuration, ILogger logger, String eventPrefix)

Could you please help me in resolving this issue.

Thanks,
Robin Sequeira

comments