Configuration failed after publishing to ISP

Thread is closed for posting
3 posts, 1 answers
  1. Exi
    Exi avatar
    8 posts
    Member since:
    May 2008

    Posted 23 Jun 2009 Link to this post

    Hello,

    i have web application which is working fine on local development server, but when i uploaded it to my ISP, it throws following exception:

    Telerik.OpenAccess.Exceptions.ConfigurationException: The OpenAccess configuration failed; check that the Telerik.OpenAccess.Config assembly is deployed. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.OpenAccess.Config, Version=1.0.0.0, Culture=neutralPublicKeyToken=7ce17eeaf1d59342' or one of its dependencies. The system cannot find the file specified. File name: 'Telerik.OpenAccess.Config, Version=1.0.0.0, Culture=neutralPublicKeyToken=7ce17eeaf1d59342' at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.Type.GetType(String typeName, Boolean throwOnError) at Telerik.OpenAccess.DBRegistry.EnsureConfigSectionHandler() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. --- End of inner exception stack trace --- at Telerik.OpenAccess.DBRegistry.EnsureConfigSectionHandler() at Telerik.OpenAccess.DBRegistry.GetDatabase(String urlOrConnectionId, XmlElement configOverride, Assembly[] entryAssemblies) at Telerik.OpenAccess.DBRegistry.GetDatabase(String urlOrConnectionId, XmlElement configOverride) at waWebClient.ObjectScopeProvider1.Database() in D:\dev\wwwaaa\waWebClient\ObjectScopeProvider1.cs:line 89 at waWebClient.ObjectScopeProvider1.GetNewObjectScope() in D:\dev\wwwaaa\waWebClient\ObjectScopeProvider1.cs:line 116 at waWebClient.Default.Page_Load(Object sender, EventArgs e) in D:\dev\wwwaaa\waWebClient\Default.aspx.cs:line 22 

    I'm referencing class library which contains objects generated using reverse mapping while connection string is specified in Web.config. Is there something i missed? Please help me, i have just migrated my application to ORM.

    Have a nice time
  2. Answer
    Dimitar Kapitanov
    Admin
    Dimitar Kapitanov avatar
    632 posts

    Posted 24 Jun 2009 Link to this post

    Hi yellow,
    As the exception message states, you do not have the Telerik.OpenAccess.Config.dll in the bin of your application. We believe that if it is there the exception will be resolved. Please tell us whether this solved the problem.

    Best wishes,
    Dimitar Kapitanov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Exi
    Exi avatar
    8 posts
    Member since:
    May 2008

    Posted 24 Jun 2009 Link to this post

    Hello,

    i already tryed adding all files from installation bin folder. Problem persists, but with slightly different error message, now it can not find Telerik.OpenAccess.Runtime.

    I have reproduced the problem, sample website (including all bin files) is running on my testing site http:\\oseto.cz where RadEditor show that exception.

    EDIT:

    Now it's working, i have done nothing, may be i was too quick in refreshing that page after copying all dlls (but it was minutes, not seconds). May be it's IIS issue (i'm running IIS 7).

    Best Regards

    Exi
Back to Top