No Enhancend Assembly has been found

Thread is closed for posting
5 posts, 0 answers
  1. Alfred Ortega
    Alfred Ortega avatar
    193 posts
    Member since:
    May 2005

    Posted 10 Nov 2008 Link to this post

    I'm starting to test the ORM out and get this error when trying run.  the solution has two projects, one is a class library and the other a console app.  Reference to the library has been made and everything compiles fine.

    Al
  2. barry
    barry avatar
    5 posts
    Member since:
    Jun 2012

    Posted 11 Nov 2008 Link to this post

    same issue
    sqlserver express
    vs2008
    .net framework 3.5

    also just starting to test, so i may just be missing something. but i am getting very little functionality working in vs

    Expert Enable Dialog is not editable(edited through the web.config)

    the only functionality i can access is
    1.) reverse mapping via openaccess(menu) >> launch telerik orm wizard,
    2.) configurations >> check settings and
    3.) openaccessdatasource from the toobbox
    4.) objectscopeprovider
     
    sorry newbie, am i missing a setting

    thanks in advance
  3. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 11 Nov 2008 Link to this post

    Hello barry,

    Check Settings should do the job. Start it with the left toolbar button, let him fix the problems by pressing the second.

    Regards,
    Jan Blessenohl
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  4. barry
    barry avatar
    5 posts
    Member since:
    Jun 2012

    Posted 11 Nov 2008 Link to this post

    thanks Jan for youe very quick reply

    the check settings is showing succeed
    ===============================
    Project        : OpenaccessTest3

    Valditors Details :

    Project Config Reference           : SUCCEED
    <connections> section              : SUCCEED
    Mapping Validations                : SUCCEED
    Project Properties                 : SUCCEED
    Telerik.OpenAccess assembly References  : SUCCEED
    Build action for Config file       : SUCCEED

    ===============
    Validator           : Project Properties
    Resolution          : EnhancementOutputLevel is used to specify
                           verbosity of the enhancement process. Recognized
                           values are:
                           0=Prints minimal output. Suppressing most messages.
                           1=Prints default output. (default)
                           2=Prints additional output about the enhancement process.
                           3=Prints additional output about project
                           handling.
                           4=Prints additional output about temporary file handling.
    Description         : 'EnhancementOutputLevel' property value set
                           to '1'


    ===============

    any ideas
    or could u post a configuration for sqlserver - i have tried all that i can find

    my web.config settings
      <openaccess xmlns="http://www.telerik.com/OpenAccess">
        <references />
        <connections>
          <connection id="DatabaseConnection1">
            <databasename>SeanCoyne</databasename>
            <servername>do-aa0b9e861b12\sqlexpress</servername>
            <integratedSecurity>True</integratedSecurity>
            <backendconfigurationname>mssqlConfiguration</backendconfigurationname>
          </connection>
        </connections>
        <backendconfigurations>
          <backendconfiguration id="mssqlConfiguration" backend="mssql">
            <mappingname>mssqlMapping</mappingname>
          </backendconfiguration>
        </backendconfigurations>
    <mappings

     etc:

    thanks in advance
    barry







    ===============


    ===============




  5. Thomas
    Admin
    Thomas avatar
    590 posts

    Posted 11 Nov 2008 Link to this post

    Hello barry,

    you are trying to open a database, but at this moment the OpenAccess runtime cannot find a single assembly which was enhanced; therefore no persistent classes are found. The reason is very likely that there is a reference missing to your class library in the configuration (web.config):

    <openaccess xmlns="http://www.telerik.com/OpenAccess">
        <references>
            <reference assemblyName="MISSING" configRequired="True" />
        </references>
        <connections>
          <connection id="DatabaseConnection1">
            <databasename>SeanCoyne</databasename>
            <servername>do-aa0b9e861b12\sqlexpress</servername>
            <integratedSecurity>True</integratedSecurity>
            <backendconfigurationname>mssqlConfiguration</backendconfigurationname>
          </connection>
        </connections>
        <backendconfigurations>
          <backendconfiguration id="mssqlConfiguration" backend="mssql">
            <mappingname>mssqlMapping</mappingname>
          </backendconfiguration>
        </backendconfigurations>
    <mappings


    And - of course - your class library must have enhancement enabled, otherwise it will give the same exception.
    Hope this clarifies / fixes that issue.

    Sincerely yours,
    Thomas
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top