2009-01-22

SharePoint solution Generator - MaxStringContentLength error



The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:GetSiteTemplateExportFilesResult. The InnerException message was 'There was an error deserializing the object of type Microsoft.SharePoint.Tools.SPServiceReference.ExportFilesResponse. The maximum string content length quota (819200) has been exceeded while reading XML data...




The Fix: Go to> Programs(x86)\Microsoft SharePoint Developer Tools 9.0\ssg 1.3\SPSolGen.exe.config

Multiply all the max values by 4 eg: maxStringContentLength="32768" ,maxArrayLength="65536", maxBytesPerRead="16384", maxNameTableCharCount="65536"

No comments :

Post a comment