xml - visual studio 2015 debugging xsl transformation failed SecurityException -


when debugging xsl in vs 2015 why getting following error

securityexception ----------------- request permission of type 'system.security.permissions.securitypermission, mscorlib, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089' failed.  xsl generated security exception. if trust stylesheet copying local hard drive remove security check. highly advised review script blocks , http requests in stylesheet before so.  firstpermissionthatfailed  can enable automatic downloads on miscellaneous xml options page under text editor category of tools/options dialog.     

i did couple of things , error went away.

first, exited vs , reopened right clicking startup icon, clicking 'more'->'run administrator'

that alone might have been sufficient fix issue, did error message above suggested , went vs menu , clicked

tools->options->text editor->xml->miscellaneous

under 'network' there checkmark in 'automatically download dtds , schemas' think ok want download document (not xsd or dtd, xml via xsl document function) but, since didn't work when box checked, unchecked (cleared) box.


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -