Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Updating database table with insert queryUpdating database table with insert query
Previous
 
Next
New Post
5/3/2007 4:03 PM
 

Hi there,

 

I am tring to update a table's Image field and it throws following error, help approciated.

 

DotNetNuke.Services.Exceptions.ModuleLoadException: Length of text, ntext, or image data (921655) to be replicated exceeds configured maximum 210000. The statement has been terminated. ---> System.Data.SqlClient.SqlException: Length of text, ntext, or image data (921655) to be replicated exceeds configured maximum 210000. The statement has been terminated. 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 CIMHollywood.Modules.ImageGallery.DataProviderForImageGallery.AddImageCaptureData(ImageCaptureDataInfo& ImageCaptureData) in C:\Inetpub\wwwroot\DNN441\cimvillage\App_Code\ImageGallery\DataProviderForImageGallery.vb:line 865 at CIMHollywood.Modules.ImageGallery.EditImageGallery.cmdConfirmSave_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\DNN441\cimvillage\DesktopModules\ImageCapture\ViewImageCapture.ascx.vb:line 667 --- End of inner exception stack trace ---

 
New Post
5/4/2007 5:16 AM
 

Exception showing that your image size is exceding the max size allowed by the DB. You should catch this exception and show the user appropriate message.

How large image you r uploading into the DB?

Why you just save the path of the image in DB and save image in the file system?


"Knowledge Sharing Matters!"
 
New Post
5/4/2007 8:49 AM
 

I found following peace of code from: http://support.microsoft.com/kb/886629, which can be run of the database I am using to change the max replication size limit... but I am not sure how safe it is for the other tables on the database...

sp_configure 'max text repl size' , newvalue
GO
reconfigure with override
GO
delete from sitecontrol where typeflag = 2
GO

Do you recommend to do so?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Updating database table with insert queryUpdating database table with insert query


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out