Buge

May 22, 2012 at 5:17 PM

Hi
I,m using balder and silverlight for a 3d application that made by esri. when I run 3d it return this error:


Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

at System.Reflection.RuntimeModule.Get

Types(RuntimeModule module)

at System.Reflection.RuntimeModule.GetTypes()

at System.Reflection.Assembly.GetTypes()

at Balder.Execution.TypeDiscoverer.AddTypesFromPart(AssemblyPart part)

at Balder.Execution.TypeDiscoverer.CollectTypes()

at Balder.Execution.TypeDiscoverer..ctor()

at DynamicInjectora6545bfabb6346a6a0c45fc691d9cfb6(Object[] )

at Ninject.Activation.Providers.StandardProvider.Create(IContext context)

at Ninject.Activation.Context.Resolve()

at Ninject.KernelBase.<Resolve>b__7(IContext context)

at System.Linq.Enumerable.<>c__DisplayClass12`3.<CombineSelectors>b__11(TSource x)

at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()

at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)

at Ninject.Planning.Targets.Target`1.ResolveWithin(IContext parent)

at Ninject.Activation.Providers.StandardProvider.GetValue(IContext context, ITarget target)

at Ninject.Activation.Providers.StandardProvider.<>c__DisplayClass2.<Create>b__1(ITarget target)

at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at Ninject.Activation.Providers.StandardProvider.Create(IContext context)

at Ninject.Activation.Context.Resolve()

at Ninject.KernelBase.<Resolve>b__7(IContext context)

at System.Linq.Enumerable.<>c__DisplayClass12`3.<CombineSelectors>b__11(TSource x)

at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()

at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)

at Ninject.Planning.Targets.Target`1.ResolveWithin(IContext parent)

at Ninject.Activation.Providers.StandardProvider.GetValue(IContext context, ITarget target)

at Ninject.Activation.Providers.StandardProvider.<>c__DisplayClass2.<Create>b__1(ITarget target)

at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at Ninject.Activation.Providers.StandardProvider.Create(IContext context)

at Ninject.Activation.Context.Resolve()

at Ninject.KernelBase.<Resolve>b__7(IContext context)

at System.Linq.Enumerable.<>c__DisplayClass12`3.<CombineSelectors>b__11(TSource x)

at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()

at System.Linq.Enumerable.<CastIterator>d__b1`1.MoveNext()

at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)

at Ninject.ResolutionExtensions.Get[T](IResolutionRoot root, IParameter[] parameters)

at Balder.Execution.Runtime.GetRuntime()

at Balder.Execution.Runtime.get_Instance()

at Balder.Lighting.DirectionalLight..ctor()

at ESRI.PrototypeLab.TerrainMap.MainPage.Button_Click(Object sender, RoutedEventArgs e)

Dec 31, 2012 at 5:22 AM

Remove and Add all one by one on referances which its path is Project path. Their paths must be your system or program files.

After that If you cannot meet new error, please notice me.

Because web client object cannot get the result by uribuilder. But It can run on browser. I mean the service runs well.

Now I am trying to solve this problem.