Error: A Page Error occurred\r\nURL when adding a document to a shared assignment

When adding a shared assignment from the Edit assignments page or from a gradebook, you have the option to include a document.  If the document you select has an apostrophe in the file name, you will receive the following error: 

A Page Error occurred\r\nURL: http://[URL]/FAWeb7/Forms/UserControlHost.aspx?dtid=38&data=634~2815\r\nSource:.Net SqlClient Data Provider\r\nError Message:Unclosed quotation mark after the character string ')'.\r\nIncorrect syntax near ')'.\r\nStack Trace:   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)\r\n   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)\r\n   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)\r\n   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)\r\n   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)\r\n   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)\r\n   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()\r\n   at Blackbaud.Web.FE.NCFAWebLib.DataLibHelper.Execute(SqlConnection oConnection, String sSQL, SqlParameter[] oParamArray, Int32 iTimeout)\r\n   at Blackbaud.Web.FE.NCFAWebLib.FAWebDataLib.AddClassDocument(Int32 EA7ClassAssignmentsID, Int32 EA7MarkingColumnsID, Int32 EA7ClassesID, String sName, String sFilePathName)\r\n   at Blackbaud.Web.FE.FAWEB.Assignment.Save()
Download and install the latest patch, which contains all fixes from previous patches. If you are running an older version, download and install the latest version and then the patch. 

Alternative Solution:

Remove the apostrophe from the file name
  OR
Add the document to the assignment from the Add shared documents screen after the assignment has been created.

Environment

 FAWeb 7.83.0.28
 FAWeb 7.83.0.31

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.