Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > CMS.DataProviderSQL - error View modes: 
User avatar
Member
Member
ovonelmonk-gmail - 10/10/2010 6:38:56 AM
   
CMS.DataProviderSQL - error
Hi Forum,

I host multiple sites on my server. One site is showing the following error...


Server Error in '/customer' Application.

Could not load file or assembly 'CMS.DataProviderSQL' or one of its dependencies. The system cannot find the file specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'CMS.DataProviderSQL' or one of its dependencies. The system cannot find the file specified.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'CMS.DataProviderSQL' could not be loaded.


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].

Stack Trace:


[FileNotFoundException: Could not load file or assembly 'CMS.DataProviderSQL' or one of its dependencies. The system cannot find the file specified.]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166
System.Reflection.Assembly.Load(String assemblyString) +35
CMS.SettingsProvider.DataConnectionFactory.get_ProviderAssembly() +37
CMS.SettingsProvider.DataConnectionFactory.get_ProviderObject() +63
CMS.SettingsProvider.DataConnectionFactory.get_ConnectionString() +9
CMS.SettingsProvider.SqlHelperClass.get_IsConnectionStringInitialized() +30
Global.FirstRequestInitialization(Object sender, EventArgs e) +456
Global.Application_BeginRequest(Object sender, EventArgs e) +35
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171

Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955


On my local server though it is working fine. What could be the issue. I am new to Kentico and ASP.Net. Hope somebody can help me. Thanks in advance.

My server details...
Microsoft Windows Server 2008 R2 Standard
Kentico CMS version 5.0.3656

User avatar
Member
Member
ovonelmonk-gmail - 10/10/2010 6:44:05 AM
   
RE:CMS.DataProviderSQL - error
Further info..

There is one default site. And 3 others (sites) are configured as applications. One of these applications(Sites) is working fine. One is showing the above error. Another one is giving a different error(I will post about it in another posting).

I am thinking its caused by some environment settings. However I am new to IIS/ASP/Kentico. If someone could help me it be great. Thanks.


User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 10/11/2010 7:53:08 AM
   
RE:CMS.DataProviderSQL - error
Hi,

This issue is usually caused by the fact, that the DLL’s are under read only protection. Could you please make sure, your disk permissions are set according to the following guide?
http://devnet.kentico.com/docs/devguide/index.html?disk_permissions_problems.htm

Best regards,
Ivana Tomanickova