System.Reflection.ReflectionTypeLoadException

8 posts, 0 answers
  1. Maher
    Maher avatar
    11 posts
    Member since:
    Jul 2012

    Posted 30 Aug 2012 Link to this post

    Hi,


    I am using the last version of Telerik OpenAccess ORM (2012.2.816.1).
    Each time I create a new project with Telerik OpenAccess Domain Model with Visual Studio 2010 SP1, I get this bug:

    Unable to load assembly 'Parvis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' : Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. General Exception (Exception from HRESULT: 0x80131500)
    ExceptionString:
    System.SystemException: Unable to load assembly 'Parvis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' : Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. General Exception (Exception from HRESULT: 0x80131500) ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
       at System.Reflection.RuntimeModule.GetTypes()
       at System.Reflection.Assembly.GetTypes()
       at Telerik.OpenAccess.Metadata.MetadataAttributesReader.PrepareMetaModelTypes(Assembly assembly)
       --- End of inner exception stack trace ---
       at Telerik.OpenAccess.Metadata.MetadataAttributesReader.PrepareMetaModelTypes(Assembly assembly)
       at Telerik.OpenAccess.Metadata.MetadataAttributesReader.ReadMetaModel(Assembly assembly)
       at Telerik.OpenAccess.Metadata.AttributesMetadataSource.<>c__DisplayClass1.<FromAssembly>b__0()
       at Telerik.OpenAccess.Metadata.AttributesMetadataSource.CreateModel()
       at Telerik.OpenAccess.Metadata.MetadataSource.GetModelCore(MetadataContainer old)
       at Telerik.OpenAccess.Sdk.Enhancer.Enhancer.CrossDomainRunImpl(AssemblyLoader assemblyLoader)
       at Telerik.OpenAccess.Sdk.Enhancer.EnhancerBase.CrossDomainRun()

    Thank you,
    Regards,
    Maher.
  2. Damyan Bogoev
    Admin
    Damyan Bogoev avatar
    581 posts

    Posted 03 Sep 2012 Link to this post

    Hi Maher,

    Could you please provide us with a sample application, in order to reproduce the wrong behavior on our side? We will investigate the cause for the issue and provide you with a solution to the problem.

    I have changed the thread type to Products Feedback, to enable file attachments.

    We are looking forward to hearing from you.

    All the best,
    Damyan Bogoev
    the Telerik team
    Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!
  3. DevCraft banner
  4. Maher
    Maher avatar
    11 posts
    Member since:
    Jul 2012

    Posted 03 Sep 2012 Link to this post

    I can't reproduce this bug but it really happened sometimes when I do reverse mapping.
  5. Damyan Bogoev
    Admin
    Damyan Bogoev avatar
    581 posts

    Posted 06 Sep 2012 Link to this post

    Hi Maher,

    We are unable to reproduce the wrong behavior on our side. 

    We will need more input in order to achieve that goal. Could you please provide us with additional information regarding the “Parvis” assembly which causes the assembly load issue?

    We are looking forward to hearing from you.


    Greetings,
    Damyan Bogoev
    the Telerik team
    Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!
  6. Deep
    Deep avatar
    3 posts
    Member since:
    Sep 2012

    Posted 10 Sep 2012 Link to this post

    Did anyone find solution to this problem? I'm getting similar error
  7. Ivailo
    Admin
    Ivailo avatar
    318 posts

    Posted 10 Sep 2012 Link to this post

    Hi Deep,

    Could you post the error message you are getting? It is possible that it is similar, but in the same time reproducible so we might be able to help you. 

    Greetings,
    Ivailo
    the Telerik team
    Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!
  8. Deep
    Deep avatar
    3 posts
    Member since:
    Sep 2012

    Posted 10 Sep 2012 Link to this post

    Hi Ivailo,

    Here is my original question:
    http://www.telerik.com/community/forums/orm/general-discussions/589815-system-reflection-reflectiontypeloadexception.aspx
  9. Ivailo
    Admin
    Ivailo avatar
    318 posts

    Posted 10 Sep 2012 Link to this post

    Hello Deep,

    Thank you for pointing us in the right direction. We will review the question in the other thread and respond directly there.

    Kind regards,
    Ivailo
    the Telerik team
    Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!
Back to Top
DevCraft banner