Skip to main content


 

Symptoms


Client is receiving the following error when packaging a solution: "30003 RuntimeService has encountered an error. Deserialize error 'SourecCode.Runtime.Services.SmartObject.ServiceInstance. 'DocumentRepository' There are multiple root elements. Line 1 position 1721

 

Diagnoses


After reviewing client's database data, they have two instances with the same ServiceInstance name: "DocumentRepository" which is what is causing the issue.
 

Resolution

Client used the SQL query provided by Support which allowed him to keep the XML for the service instance but rename the instance. After running the query, client was able to package his solution without error . Client requested a feature request be logged to check the service instances for duplicates in PandD. The SMO tester, Workspace and generating from SharePoint don't allow for duplicates to be created. The only current way that the service instance could have been duplicated is by using an old Broker Management tool. Labs has logged a bug against the tool so that it validates system names to not allow duplicates.
 




 
Be the first to reply!

Reply