Closed tfabraham closed 6 years ago
[tfabraham@8/21/2013] I'm almost certain that you found the answer in the data size. SSO is virtually undocumented, so there is no easy way to know for certain. That is an enormous amount of data in one settings XML file -- many, many times larger than anything I have ever seen. What are you storing in there that is taking up so much space?
[sanki@8/23/2013] Yeah, it has got lot of settings. We process lot of files and for each file we have lot of settings. As a temporary fix we are now removing unused settings to keep the file size down.
[UnknownUser@8/23/2013]
Issue closed by tfabraham with comment Appears to be due to a data size limitation in SSO, so it's external to the Deployment Framework.
Reason closed As Designed
Hi,
I am trying to register sso settings using SSOSettingsImportFile.exe through a batch file and settings.xml.
Everything was working fine as this was in prod for several years now.
Things went wrong when I added new sso settings(for new BT Soln) for the existing settings.xml and ran the batch file, it started throwing the below error:
System.ArgumentException: The parameter is incorrect.
at Microsoft.BizTalk.SSOClient.Interop.ISSOConfigStore.SetConfigInfo(String a pplicationName, String identifier, IPropertyBag properties) at SSOSettingsFileManager.SSOHelper.SaveConfigInfo(SSOPropertyBag bag, String affiliateApplication) at SSOSettingsFileManager.SettingsFileImport.SaveSettingsToSSO(String affilia teAppName, settings inSettings, String userGroupName, String adminGroupName) at SSOSettingsFileManager.SettingsFileImport.Main(String[] args)
I even debug the SSOSettingsImportFile code (from BTDF, CodePlex) but it is not giving proper details for error. The SaveConfigInfo(SSOPropertyBag bag, String affiliateApplication) function calls Read() of IPropertyBag and on exit goes to catch block.
After lot of try and error method I found that settings.xml file with size 524,326 bytes works wiht out any error. But if I add just one more character( 524,327 bytes), it throws the same error.
Is it really because of file size that is causing issue? Or is it something else that I missed out? Please let me know how to resolve this issue.
Thanks, Sanki
This work item was migrated from CodePlex
CodePlex work item ID: '10290' Vote count: '1'