Check Setting: Resource.resx error

5 posts, 1 answers
  1. Richard
    Richard avatar
    8 posts
    Member since:
    Sep 2008

    Posted 08 Dec 2009 Link to this post

    In several independant projects, I get an error while checking my configuration:

    Validator: Update assembly references -> All assembly references are valid.

    In the next line there is a red X  with title Resource.resx.

    The description (translated from German):
    SystemArgumentException: ResX-File: "One  part of path 'C:\Program Files (X86)\Microsoft Visual Studio 9.0\Common 7\Resources\file.xxx' could not be found.

    The resource with filename file.xxx is part of my project, not not at this location. I can't find any reference to this path.

    Is this an error of the Check Setting Wizard?

    Regards
    Richard Kling
  2. Richard
    Richard avatar
    8 posts
    Member since:
    Sep 2008

    Posted 10 Dec 2009 Link to this post

    I found the following bug in Check Settings wizard:

    If a resource in resources.resx has a persistence property set to 'linked while compile time' the path is not properly resolved.
    Switching to 'embedded in .resx' solves this problem.

    I translated the properties 'linked while compile time' and 'embedded in .resx' from German, so I don't know the correct english description.

    Regards
    Richard
  3. DevCraft banner
  4. Answer
    Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 10 Dec 2009 Link to this post

    Hello Richard,

    We found the problem. It seems the system ResXResourceReader class used for reading the resource files cannot resolve the relative paths correctly and it is required to set the path to the .resx file explicitly. We will fix this immediately. Thank you for bringing this to us, your Telerik points have been updated.

    All the best,
    Alexander
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Ricardo
    Ricardo avatar
    8 posts
    Member since:
    Jun 2013

    Posted 06 Mar 2015 Link to this post

    Hello,
    I have the following error:
    Exception has been thrown by the target of an invocation.

    ResX file Could not find a part of the path 'C:\Windows\system32\Imagenes\Imagen1.png', cannot be parsed
  6. Viktor Zhivkov
    Admin
    Viktor Zhivkov avatar
    291 posts

    Posted 11 Mar 2015 Link to this post

    Hello Ricardo,

    Can you be more specific about the situation when you are experiencing this exception?
    Are you using Telerik Data Access in your project(s)?
    If so what is the version that you are using?

    Regards,
    Viktor Zhivkov
    Telerik
     
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
     
Back to Top
DevCraft banner