This is a migrated thread and some comments may be shown as answers.

No Enhancend Assembly has been found

4 Answers 134 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alfred Ortega
Top achievements
Rank 2
Alfred Ortega asked on 10 Nov 2008, 08:31 PM
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

4 Answers, 1 is accepted

Sort by
0
barry
Top achievements
Rank 1
answered on 11 Nov 2008, 09:43 AM
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
0
Jan Blessenohl
Telerik team
answered on 11 Nov 2008, 10:20 AM
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.
0
barry
Top achievements
Rank 1
answered on 11 Nov 2008, 11:03 AM
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







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


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




0
Thomas
Telerik team
answered on 11 Nov 2008, 01:35 PM
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.
Tags
General Discussions
Asked by
Alfred Ortega
Top achievements
Rank 2
Answers by
barry
Top achievements
Rank 1
Jan Blessenohl
Telerik team
Thomas
Telerik team
Share this question
or