I tried to import a big XML File in SSMS, but I encounter this problem.
'INSXMLII.XML' is too large to open with XML editor. The maximum file size is '10' MB. Please update the registry key 'HKCU\Software\Microsoft\SQL Server Management Studio\18.0_IsoShell_Config\XmlEditor\MaxFileSizeSupportedByLanguageService' to change the maximum size.
I used method to fix: Navigate to:
"C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE"
Edit the "Microsoft.XmlEditor.pkgdef" file at approximately line number 322:
Change the line:
"MaxFileSizeSupportedByLanguageService"="10"
To:
"MaxFileSizeSupportedByLanguageService"="99999999999"
Restart SSMS.
However, it encountered this problem:
"Access to the path C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\CommonExtensions\Platform\Shell\Microsoft.XmlEditor.pkgdef"
Any thoughts? I have totally no ideas~ Many thanks
sqlcmd
instead. – devio