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

Configuration failed after publishing to ISP

2 Answers 204 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.
Exi
Top achievements
Rank 2
Exi asked on 23 Jun 2009, 11:15 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar Kapitanov
Telerik team
answered on 24 Jun 2009, 05:43 AM
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.
0
Exi
Top achievements
Rank 2
answered on 24 Jun 2009, 10:08 AM
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
Tags
General Discussions
Asked by
Exi
Top achievements
Rank 2
Answers by
Dimitar Kapitanov
Telerik team
Exi
Top achievements
Rank 2
Share this question
or