Select to view content in your preferred language

Silverlight show error if i use inspect page in browser

922
1
02-17-2014 05:34 PM
AravindAravind
New Contributor
Hai
  i am use silver light in my web site using .xab file,i am create small silver light control for website like get folder directory structure and load in tree view,if click tree view node i can get full path of folder.if i run using localhost in url link it work,but same page not work if i use ip address or machine name in url list it not work,i.e folder structure load in tree view,if u page inspect it show error like

Uncaught Error: Unhandled Error in Silverlight Application This operation is not supported in the current context. at MS.Internal.Error.MarshalXresultAsException(UInt32
hr, COMExceptionBehavior comExceptionBehavior) at MS.Internal.XcpImports.CheckHResult(UInt32 hr) at MS.Internal.ComAutomation.ComAutomationNative.CreateObject(String progID, IntPtr& nativeObject) at MS.Internal.ComAutomation.ComAutomationServices.CreateObject(String
progID, ComAutomationParamWrapService paramWrapService) at System.Runtime.InteropServices.Automation.AutomationFactory.CreateObject(String progID) at FBD.MainPage..ctor() at FBD.App.Application_Startup(Object o, StartupEventArgs e) at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32
typeIndex, Delegate handlerDelegate, Object sender, Object args) at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)


pls reply me how to solve this error,

Note: i am use Automation factory,i will enable oob,trust evalute check box ect

pls reply asap

  Regards
    Aravind
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
I don't get where is the 'ArcGIS API fo Silverlight' involved in this issue?

I can only recommend the MSDN documentation about SL trusted applications and their restrictions.
0 Kudos