Error: Blackbaud.AppFx.Server.ServiceException: Data could not be saved. When sending a message.

When sending a NetCommunity message the following error may be received:
Blackbaud.AppFx.Server.ServiceException: Data could not be saved.  
A .NET Framework error occurred during execution of user-defined routine or aggregate "USP_LOADSPEC": 
System.IO.FileNotFoundException: Could not load file or assembly 'Blackbaud.AppFx.SqlClr.SpWrap, Version=4.0.105.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
System.IO.FileNotFoundException: 
   at Blackbaud.AppFx.Platform.SqlClr.SQLViewSpecProcessor.ProcessSpec(SQLViewSpec spec, Nullable`1 changeAgentID)
   at Blackbaud.AppFx.Platform.SqlClr.SQLViewSpecProcessor.ProcessSpec(String specXml, Nullable`1 changeAgentID)
   at Blackbaud.AppFx.Platform.SqlClr.SQLViewSpecClr.ProcessSpec(String specXml, Nullable`1 changeAgentID, SqlBoolean skipValidation)
   at Blackbaud.AppFx.Platform.SqlClr.LoadSpec.LoadSpecInternal(String specTypeName, String specXmlText, SqlString itemName, Nullable`1 changeAgentId, SqlBoolean processPageAlterations, SqlBoolean skipValidation, SqlBoolean compareToExistingSpecXml)
   at Blackbaud.App ---> System.Data.SqlClient.SqlException: A .NET Framework error occurred during execution of user-defined routine or aggregate "USP_LOADSPEC": 
System.IO.FileNotFoundException: Could not load file or assembly 'Blackbaud.AppFx.SqlClr.SpWrap, Version=4.0.105.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
System.IO.FileNotFoundException: 
   at Blackbaud.AppFx.Platform.SqlClr.SQLViewSpecProcessor.ProcessSpec(SQLViewSpec spec, Nullable`1 changeAgentID)
   at Blackbaud.AppFx.Platform.SqlClr.SQLViewSpecProcessor.ProcessSpec(String specXml, Nullable`1 changeAgentID)
   at Blackbaud.AppFx.Platform.SqlClr.SQLViewSpecClr.ProcessSpec(String specXml, Nullable`1 changeAgentID, SqlBoolean skipValidation)
   at Blackbaud.AppFx.Platform.SqlClr.LoadSpec.LoadSpecInternal(String specTypeName, String specXmlText, SqlString itemName, Nullable`1 changeAgentId, SqlBoolean processPageAlterations, SqlBoolean skipValidation, SqlBoolean compareToExistingSpecXml)
   at Blackbaud.App
LOADSPEC ERROR:Could not load file or assembly 'Blackbaud.AppFx.SqlClr.SpWrap, Version=4.0.105.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
BBERR_ORIGINAL_ERROR:6522
BBERR_ORIGINAL_PROCEDURE:USP_LOADSPEC
BBERR_ORIGINAL_LINE_NUMBER:0
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   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, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Blackbaud.AppFx.Server.DataFormSaveProcessor.ExecuteAddNewSP()
   --- End of inner exception stack trace ---
   at Blackbaud.AppFx.Server.DBErrorHandler.HandleDBError(SqlException ex, ExpectedDBExceptions definedExceptions)
   at Blackbaud.AppFx.Server.DBErrorHandler.HandleDBErr
 
This may require a re-installation of NetCommunity on the webserver. Click Chat with Support and reference this article.

Environment

 Blackbaud NetCommunity
 7.1

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.