Exception "Cannot find resource XXX.rlinq embedded in assembly YYYY " while running

4 posts, 0 answers
  1. Jin
    Jin avatar
    80 posts
    Member since:
    Jun 2012

    Posted 06 Sep 2012 Link to this post

    I install your ORM production and build a application with it, it works file. I put the telerik dll under a folder and refer the telerik dll from the folder instead of GAC. Then I copy all source code to another PC which is not installed ORM product. After I run the applicaiton with VS2010, it will throw following exception:
    Cannot find resource XXX.rlinq embedded in assembly YYYY 

    My concern is what's root cause and whehter I must install ORM product in another PC?
  2. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 07 Sep 2012 Link to this post

    Hi Jin,
    If you want to develop on the second PC, it makes sense to install OpenAccess there as well. The build process needs a msbuild targets file to embed the rlinq file into the assembly. Is there a problem installing OpenAccess on all developer and build machines?

    All the best,
    Jan Blessenohl
    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. Jin
    Jin avatar
    80 posts
    Member since:
    Jun 2012

    Posted 07 Sep 2012 Link to this post

    No problem to install OpenAccess ORM. Only I have one concern: how to deploy it to production server? Also need to install it?
  5. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 11 Sep 2012 Link to this post

    Hello Jin,

    No, you do not have to install OpenAccess on the production server. All you need to do is compile the project and copy the appropriate OpenAccess assemblies to the folder where the executable project is built, usually this is the bin folder.
    The minimal set of assemblies that should be deployed is:
    • Telerik.OpenAccess.dll
    • Telerik.OpenAccess.35.Extensions.dll
    • Telerik.OpenAccess.Config.dll
    • Telerik.OpenAccess.Runtime.dll
    Additionally you may need an assembly with the specific database driver used, if the backend is different from MsSql. More information about all OpenAccess assemblies can be found here.

    Regards,
    Alexander
    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