Image in report

5 posts, 0 answers
  1. William Cobb
    William Cobb avatar
    1 posts
    Member since:
    Jan 2004

    Posted 26 Mar 2007 Link to this post

    Hi

    I have a picture box added to the report and looks great at design. But while running the report, I get an error which says

    "Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "Report1.resources" was correctly embedded or linked into assembly "App_Code.kzrfmbqz" at compile time, or that all the satellite assemblies required are loadable and fully signed." at Picturebox.value in code behind file.

    Please help me out here.

    Thanks in advance

  2. Chavdar
    Admin
    Chavdar avatar
    898 posts

    Posted 28 Mar 2007 Link to this post

    Hi William,

    Thanks for reporting the issue.

    We are aware of this problem and are looking for a way to fix it. At this moment the best solution is to move the report into a Class Library project or use a Web Application project instead of Web Site.

    All the best,
    Chavdar
    the telerik team

    Instantly find answers to your questions at the new telerik Support Center
  3. DevCraft banner
  4. Scott
    Scott avatar
    47 posts
    Member since:
    Mar 2006

    Posted 30 Mar 2007 Link to this post

    I agree.  I find that working on Web Application is far more flexible than a Web Site
  5. Mike
    Mike avatar
    524 posts
    Member since:
    Feb 2007

    Posted 30 Mar 2007 Link to this post

    And much faster actually, since VS.NET does not have to crawl all files to check where the code resides. Since moving to Web Application project, my project compile time descreased dramatically.
  6. Chavdar
    Admin
    Chavdar avatar
    898 posts

    Posted 02 Apr 2007 Link to this post

    Hi,

    Personally I would suggest the Web Application project as well. However, if you have to stay with the Web Site, you can move the report to a class library.

    There is a good article about the difference between the Web Site and the Web Application Project which can be found here. Note that if you "Need to control names of output assemblies"  you should use a web application. This is the reason for the posted problem. As the web site changes the name of the compiled assembly, the resource manager could not find the appropriate resource.

     
    All the best,
    Chavdar
    the telerik team

    Instantly find answers to your questions at the new telerik Support Center
Back to Top
DevCraft banner