I've been adding new document types to an existing instance of the database accelerator without a problem, but am now receiving an error which is preventing me from adding any more. I enter the name of the document type - e.g. test - and click on save. I then get a dialogue box saying: Could not determine the Document Type ID, aborting query.
Click on OK and I get another box saying: An unhandled exception occurred while calling the SetDocumentType method. I9999: An unhandled exception was thrown: Unable to read beyond the end of the stream
The event log on the server has the following error:
DbxlDocumentService.SetDocumentType encountered a critical error and needs attention:
User: ???\zzzzzzxxxzzzz
Url: /QdabraWebService/DbxlDocumentService.asmx
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.MemoryStream.InternalReadInt32()
at Qdabra.Dbxl.WebService.DbxlDocumentService.RemoveTemplateFromInfoPathAttachment(DocumentTypeInfo docType)
at Qdabra.Dbxl.WebService.DbxlDocumentService.SetDocumentType(DocumentTypeInfo docType, String overrideDbConnectionString, String overrideEnumDbDatabase)
The stack trace was: at System.IO.MemoryStream.InternalReadInt32()
at Qdabra.Dbxl.WebService.DbxlDocumentService.RemoveTemplateFromInfoPathAttachment(DocumentTypeInfo docType)
at Qdabra.Dbxl.WebService.DbxlDocumentService.SetDocumentType(DocumentTypeInfo docType, String overrideDbConnectionString, String overrideEnumDbDatabase).