Could not load file or assembly
Could not load file or assembly
Hi,
I just installed LINQ insight and when I try to display results I get the error below.
Please note that RRD.OnePlace.DAL is my project that deals with dotConnect software.
The dll RRD.OnePlace.DAL.dll is placed in my app bin folder. I don't know why is LINQ insight unable to find the file.
thanks
Message: Could not load file or assembly 'RRD.OnePlace.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=15a6ff96e314fffd' or one of its dependencies.
The system cannot find the file specified.
Type: System.IO.FileNotFoundException
Source: mscorlib
Site: HandleReturnMessage
Stack Trace:
Server stack trace:
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.UnitySerializationHolder.GetRealObject(StreamingContext context)
at System.Runtime.Serialization.ObjectManager.ResolveObjectReference(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream stm)
at System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage.FixupForNewAppDomain()
at System.Runtime.Remoting.Channels.CrossAppDomainSink.SyncProcessMessage(IMessage reqMsg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at #=q8VUifXTuBeBqfL2Ila19MvXPJ$49aUH0tshvQN_B0M5VNV2z_NlDBTa5K1xFDbe2llazWGEBdlWyYLYQ3BYFoA==.#=qFdF4w8Pvvqi5SI3d$SX4gw==(String #=qEnlH_qNQR9K6grEdiJjwp1xRRq5VoEGsqYN4nyTe1pE=, Object[] #=qsJYAGhJF2HSdAOT2Pu8GGA==, String& #=q6FLKcemvqSYSTjT05LgLHw==, String& #=qVLltiNmGQ1zLu0MRXqBvsW4XL_geSyvQhgDYAQSsfw8=)
at #=q6JsTP3I4lgo7lG_NjLJU4XUhloGzmpsq0thTjcBG0SRg4svBpT5FjqzpGrdD_VfQB6zdSmNx834tu2vNHvsi0A==.#=qyoZ3$iM0N8jVyPiFikSMEQ==()
at #=q6JsTP3I4lgo7lG_NjLJU4XUhloGzmpsq0thTjcBG0SRg4svBpT5FjqzpGrdD_VfQB6zdSmNx834tu2vNHvsi0A==.#=qoZegzebErHYHHZA5WSjuRZ4TBE$b3lbtyqNH7t1W2QM=.#=qOC9EtHPB4Eq_CZayiJmB8zpz2MM6dMh8XWc_BQ8sces=()
I just installed LINQ insight and when I try to display results I get the error below.
Please note that RRD.OnePlace.DAL is my project that deals with dotConnect software.
The dll RRD.OnePlace.DAL.dll is placed in my app bin folder. I don't know why is LINQ insight unable to find the file.
thanks
Message: Could not load file or assembly 'RRD.OnePlace.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=15a6ff96e314fffd' or one of its dependencies.
The system cannot find the file specified.
Type: System.IO.FileNotFoundException
Source: mscorlib
Site: HandleReturnMessage
Stack Trace:
Server stack trace:
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.UnitySerializationHolder.GetRealObject(StreamingContext context)
at System.Runtime.Serialization.ObjectManager.ResolveObjectReference(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream stm)
at System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage.FixupForNewAppDomain()
at System.Runtime.Remoting.Channels.CrossAppDomainSink.SyncProcessMessage(IMessage reqMsg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at #=q8VUifXTuBeBqfL2Ila19MvXPJ$49aUH0tshvQN_B0M5VNV2z_NlDBTa5K1xFDbe2llazWGEBdlWyYLYQ3BYFoA==.#=qFdF4w8Pvvqi5SI3d$SX4gw==(String #=qEnlH_qNQR9K6grEdiJjwp1xRRq5VoEGsqYN4nyTe1pE=, Object[] #=qsJYAGhJF2HSdAOT2Pu8GGA==, String& #=q6FLKcemvqSYSTjT05LgLHw==, String& #=qVLltiNmGQ1zLu0MRXqBvsW4XL_geSyvQhgDYAQSsfw8=)
at #=q6JsTP3I4lgo7lG_NjLJU4XUhloGzmpsq0thTjcBG0SRg4svBpT5FjqzpGrdD_VfQB6zdSmNx834tu2vNHvsi0A==.#=qyoZ3$iM0N8jVyPiFikSMEQ==()
at #=q6JsTP3I4lgo7lG_NjLJU4XUhloGzmpsq0thTjcBG0SRg4svBpT5FjqzpGrdD_VfQB6zdSmNx834tu2vNHvsi0A==.#=qoZegzebErHYHHZA5WSjuRZ4TBE$b3lbtyqNH7t1W2QM=.#=qOC9EtHPB4Eq_CZayiJmB8zpz2MM6dMh8XWc_BQ8sces=()
Re: Could not load file or assembly
We couldn't reproduce this issue with the latest build of LINQ Insight 3.0.269. Please provide us with a small test project, with which this error could be reproduced so that we are able to investigate it in more details and find the solution for you.
Re: Could not load file or assembly
New build of LINQ Insight 3.2.489 with the fix related to the bug related to the 'Could not load file or assembly...' exception when executing a query that returns enum is available for download (please refer to http://forums.devart.com/viewtopic.php?f=50&t=29837 ).
This build can be downloaded from http://www.devart.com/linqinsight/download.html of from Registered Users' Area (provided that you have an active subscription).
Please try it and tell us about the results.
This build can be downloaded from http://www.devart.com/linqinsight/download.html of from Registered Users' Area (provided that you have an active subscription).
Please try it and tell us about the results.
Re: Could not load file or assembly
I get the same error:
Message: Could not load file or assembly 'RRD.OnePlace.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=15a6ff96e314fffd' or one of its dependencies. The system cannot find the file specified.
Type: System.IO.FileNotFoundException
Source: mscorlib
Site: HandleReturnMessage
Stack Trace:
Server stack trace:
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.UnitySerializationHolder.GetRealObject(StreamingContext context)
at System.Runtime.Serialization.ObjectManager.ResolveObjectReference(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream stm)
at System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage.FixupForNewAppDomain()
at System.Runtime.Remoting.Channels.CrossAppDomainSink.SyncProcessMessage(IMessage reqMsg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at #=qyuKH$gjp$R4UGhPmU8M$oZu5y_6h3d5jbTPMccYQTH8yfhEf_NYloxcgmazw9Zc41VCYz4bHWU_SFu4OAwo4jw==.#=q8WhRDLwZRLHR6wIM762_sg==(String #=qPp6CE7VYMUo2f_roaLAZQdVYDt_BUuoq_Zo1s3WNZpQ=, Object[] #=qz_3XqdeHkLFf1TvvCUzmYQ==, String& #=qz1PPMHqkJlL26uSKDuc0Dw==, String& #=qshhPo5E87SS$zavIC2vrC3_lsFqkAYWyxhq9m7Bn9NM=)
at #=qjt0B45s6rs8DNBQE3$6jxf7hcHGjqzn_H3$6EmFaI5BkorwFEfh2u_DXug8rWgUR7cVnHJwRtHiYFYsIxY0Czw==.#=qzq8W2db06$X6nBZn$Pkmww==()
at #=qjt0B45s6rs8DNBQE3$6jxf7hcHGjqzn_H3$6EmFaI5BkorwFEfh2u_DXug8rWgUR7cVnHJwRtHiYFYsIxY0Czw==.#=qz8ADokWOoIgJ6S99z84XduXDHgTvEXWOVPX9A0PL_TM=.#=qEqw9S_vCohTybbPyObTX0ngfrvnk2227yc1hxog2_Ec=()
Message: Could not load file or assembly 'RRD.OnePlace.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=15a6ff96e314fffd' or one of its dependencies. The system cannot find the file specified.
Type: System.IO.FileNotFoundException
Source: mscorlib
Site: HandleReturnMessage
Stack Trace:
Server stack trace:
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.UnitySerializationHolder.GetRealObject(StreamingContext context)
at System.Runtime.Serialization.ObjectManager.ResolveObjectReference(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream stm)
at System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage.FixupForNewAppDomain()
at System.Runtime.Remoting.Channels.CrossAppDomainSink.SyncProcessMessage(IMessage reqMsg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at #=qyuKH$gjp$R4UGhPmU8M$oZu5y_6h3d5jbTPMccYQTH8yfhEf_NYloxcgmazw9Zc41VCYz4bHWU_SFu4OAwo4jw==.#=q8WhRDLwZRLHR6wIM762_sg==(String #=qPp6CE7VYMUo2f_roaLAZQdVYDt_BUuoq_Zo1s3WNZpQ=, Object[] #=qz_3XqdeHkLFf1TvvCUzmYQ==, String& #=qz1PPMHqkJlL26uSKDuc0Dw==, String& #=qshhPo5E87SS$zavIC2vrC3_lsFqkAYWyxhq9m7Bn9NM=)
at #=qjt0B45s6rs8DNBQE3$6jxf7hcHGjqzn_H3$6EmFaI5BkorwFEfh2u_DXug8rWgUR7cVnHJwRtHiYFYsIxY0Czw==.#=qzq8W2db06$X6nBZn$Pkmww==()
at #=qjt0B45s6rs8DNBQE3$6jxf7hcHGjqzn_H3$6EmFaI5BkorwFEfh2u_DXug8rWgUR7cVnHJwRtHiYFYsIxY0Czw==.#=qz8ADokWOoIgJ6S99z84XduXDHgTvEXWOVPX9A0PL_TM=.#=qEqw9S_vCohTybbPyObTX0ngfrvnk2227yc1hxog2_Ec=()
Re: Could not load file or assembly
the Linq Insight is a great idea, but unfortunately it does not work in VS 2012.
please advice
thank you
please advice
thank you
Re: Could not load file or assembly
We would be very much obliged to you if you provide us with a small test project, with which this error could be reproduced, so that we are able to investigate it in more details and determine its reason.I get the same error:
Message: Could not load file or assembly 'RRD.OnePlace.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=15a6ff96e314fffd' or one of its dependencies. The system cannot find the file specified.
Please also specify whether you are encountering any other issues when working with LINQ Insight in Visual Studio 2012 and tell us your thoughts on how we can improve the usability of our product for your convenience. Your opinion is important to us.
Looking forward to your reply.
Re: Could not load file or assembly
I get the same error in visual studio 2012.
Re: Could not load file or assembly
this assembly 'RRD.OnePlace.DAL is one of my projects containing devart data context.
Re: Could not load file or assembly
We couldn't reproduce this issue in our environment. We are sending you a sample project to the e-mail address you have provided in your forum profile. Please check that the letter is not blocked by your mail filter. Please modify our sample project so that the issue could be reproduced and send it back to us, or send us your sample project.
Looking forward to your reply.
Looking forward to your reply.
Re: Could not load file or assembly
hi Mariia, it worked with your little project you sent in email.
but that project does not even read from database. please try to create a project that works with database, and having multiple projects within solution.
I believe that LINQ Insight is a really great idea, but unfortunately it does not work for me.
please let me know when you fix this problem. I really want to use linq insight.
thank you
but that project does not even read from database. please try to create a project that works with database, and having multiple projects within solution.
I believe that LINQ Insight is a really great idea, but unfortunately it does not work for me.
please let me know when you fix this problem. I really want to use linq insight.
thank you
Re: Could not load file or assembly
Thank you for the response. Unfortunately, we still couldn't reproduce this issue in our environment with a more complex project (e.g., with several projects within the solution and LinqConnect model in one of the projects): the data is retrieved from the database successfully.
Test project will significantly speed up the process of determining the cause of the error and fixing it.
Also, these details will be helpful:
- the exact type and structure of your application (how many projects do you have within the solution, the references between them, etc.);
- the query you are trying to perform, etc.
Test project will significantly speed up the process of determining the cause of the error and fixing it.
Also, these details will be helpful:
- the exact type and structure of your application (how many projects do you have within the solution, the references between them, etc.);
- the query you are trying to perform, etc.
Re: Could not load file or assembly
I just installed the latest version of LinkInsight, and I was hoping that bug I reported was resolved.
When I try to use LinkInsight I get "evaluation period expired" message.
how do I test the latest version? thank you.
When I try to use LinkInsight I get "evaluation period expired" message.
how do I test the latest version? thank you.
Re: Could not load file or assembly
We have contacted you by e-mail.
Re: Could not load file or assembly
the latest version works fine.
this is such a great product!
thank you for your help
this is such a great product!
thank you for your help
Re: Could not load file or assembly
it is not clear to me how do you invoke linq profiler?
I can open the profiler by choosing View/Other Windows/Link Profiler, but there is no data in there.
thanks
I can open the profiler by choosing View/Other Windows/Link Profiler, but there is no data in there.
thanks