2016-08-24 1 views
0
내가 Orchard CMS 1.10.1 사용

를 IIS에, 나는 (그것은 이미 완성 된 웹 사이트를 포함합니다) 나는 웹 사이트를배포 App_Data 폴더 오차드에서 CMS

The resource cannot be found. 
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. 
Requested URL:/
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34209 

를로드 할 때, 나는이 오류가 기존 App_Data 폴더를 배포에 문제가 신선한 App_Data를 사용할 때 제대로 작동하고 설정 페이지를 보여줍니다.

Setup failed: Exception has been thrown by the target of an invocation. 

________________UPDATE___________________

내가 (다른 호스트 회사의) 다른 서버에이를 배치하고 괜찮 았는데 : 마침 설정 버튼을 클릭하면 그러나,이 오류가납니다.

잘 모르겠습니다.이 서버가 오차드 실행에 부족한 이유는 무엇입니까? 나는 그들을 불렀지 만, 그들은 무엇을해야할지 전혀 몰랐다.

나는 App_Data/로그를 보면서이 있었다 :

2016-08-24 23:12:25,672 [10] Orchard.Environment.DefaultOrchardHost - (null) - A tenant could not be started: Default Attempt number: 0 [(null)] 
NHibernate.HibernateException: Could not create the driver from Orchard.Data.Providers.SqlCeDataServicesProvider+OrchardSqlServerCeDriver, Orchard.Framework, Version=1.10.1.0, Culture=neutral, PublicKeyToken=null. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.SqlServerCe.SqlCeException: Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8876. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details. 
    at System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries() 
    at System.Data.SqlServerCe.SqlCeCommand..ctor() 
    --- End of inner exception stack trace --- 
    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) 
    at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) 
    at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) 
    at System.Activator.CreateInstance(Type type, Boolean nonPublic) 
    at System.Activator.CreateInstance(Type type) 
    at NHibernate.Bytecode.ActivatorObjectsFactory.CreateInstance(Type type) 
    at NHibernate.Driver.ReflectionDriveConnectionCommandProvider.CreateCommand() 
    at NHibernate.Driver.ReflectionBasedDriver.CreateCommand() 
    at NHibernate.Driver.SqlServerCeDriver.Configure(IDictionary`2 settings) 
    at Orchard.Data.Providers.SqlCeDataServicesProvider.OrchardSqlServerCeDriver.Configure(IDictionary`2 settings) 
    at NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary`2 settings) 
    --- End of inner exception stack trace --- 
    at NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary`2 settings) 
    at NHibernate.Connection.ConnectionProvider.Configure(IDictionary`2 settings) 
    at NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider(IDictionary`2 settings) 
    at NHibernate.Cfg.SettingsFactory.BuildSettings(IDictionary`2 properties) 
    at NHibernate.Cfg.Configuration.BuildSettings() 
    at NHibernate.Cfg.Configuration.BuildSessionFactory() 
    at Orchard.Data.SessionFactoryHolder.BuildSessionFactory() 
    at Orchard.Data.SessionFactoryHolder.GetSessionFactory() 
    at Orchard.Data.TransactionManager.EnsureSession(IsolationLevel level) 
    at Orchard.Data.TransactionManager.GetSession() 
    at Orchard.Data.Repository`1.get_Session() 
    at Orchard.Data.Repository`1.get_Table() 
    at Orchard.Data.Repository`1.Fetch(Expression`1 predicate) 
    at Orchard.Data.Repository`1.Get(Expression`1 predicate) 
    at Orchard.Data.Repository`1.Orchard.Data.IRepository<T>.Get(Expression`1 predicate) 
    at Orchard.Core.Settings.Descriptor.ShellDescriptorManager.GetDescriptorRecord() 
    at Orchard.Core.Settings.Descriptor.ShellDescriptorManager.GetShellDescriptor() 
    at Orchard.Environment.ShellBuilders.ShellContextFactory.CreateShellContext(ShellSettings settings) 
    at Orchard.Environment.DefaultOrchardHost.CreateShellContext(ShellSettings settings) 
    at Orchard.Environment.DefaultOrchardHost.<CreateAndActivateShells>b__41_1(ShellSettings settings) 
2016-08-24 23:12:27,453 [10] Orchard.Environment.DefaultOrchardHost - (null) - A tenant could not be started: Default after 1 retries. [(null)] 
2016-08-24 23:12:27,938 [10] Orchard.Environment.DefaultOrchardHost - (null) - A tenant could not be started: Default Attempt number: 0 [(null)] 
NHibernate.HibernateException: Could not create the driver from Orchard.Data.Providers.SqlCeDataServicesProvider+OrchardSqlServerCeDriver, Orchard.Framework, Version=1.10.1.0, Culture=neutral, PublicKeyToken=null. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.SqlServerCe.SqlCeException: Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8876. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details. 
    at System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries() 
    at System.Data.SqlServerCe.SqlCeCommand..ctor() 
    --- End of inner exception stack trace --- 
    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) 
    at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) 
    at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) 
    at System.Activator.CreateInstance(Type type, Boolean nonPublic) 
    at System.Activator.CreateInstance(Type type) 
    at NHibernate.Bytecode.ActivatorObjectsFactory.CreateInstance(Type type) 
    at NHibernate.Driver.ReflectionDriveConnectionCommandProvider.CreateCommand() 
    at NHibernate.Driver.ReflectionBasedDriver.CreateCommand() 
    at NHibernate.Driver.SqlServerCeDriver.Configure(IDictionary`2 settings) 
    at Orchard.Data.Providers.SqlCeDataServicesProvider.OrchardSqlServerCeDriver.Configure(IDictionary`2 settings) 
    at NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary`2 settings) 
    --- End of inner exception stack trace --- 
    at NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary`2 settings) 
    at NHibernate.Connection.ConnectionProvider.Configure(IDictionary`2 settings) 
    at NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider(IDictionary`2 settings) 
    at NHibernate.Cfg.SettingsFactory.BuildSettings(IDictionary`2 properties) 
    at NHibernate.Cfg.Configuration.BuildSettings() 
    at NHibernate.Cfg.Configuration.BuildSessionFactory() 
    at Orchard.Data.SessionFactoryHolder.BuildSessionFactory() 
    at Orchard.Data.SessionFactoryHolder.GetSessionFactory() 
    at Orchard.Data.TransactionManager.EnsureSession(IsolationLevel level) 
    at Orchard.Data.TransactionManager.GetSession() 
    at Orchard.Data.Repository`1.get_Session() 
    at Orchard.Data.Repository`1.get_Table() 
    at Orchard.Data.Repository`1.Fetch(Expression`1 predicate) 
    at Orchard.Data.Repository`1.Get(Expression`1 predicate) 
    at Orchard.Data.Repository`1.Orchard.Data.IRepository<T>.Get(Expression`1 predicate) 
    at Orchard.Core.Settings.Descriptor.ShellDescriptorManager.GetDescriptorRecord() 
    at Orchard.Core.Settings.Descriptor.ShellDescriptorManager.GetShellDescriptor() 
    at Orchard.Environment.ShellBuilders.ShellContextFactory.CreateShellContext(ShellSettings settings) 
    at Orchard.Environment.DefaultOrchardHost.CreateShellContext(ShellSettings settings) 
    at Orchard.Environment.DefaultOrchardHost.<CreateAndActivateShells>b__41_1(ShellSettings settings) 
2016-08-24 23:12:29,266 [10] Orchard.Environment.DefaultOrchardHost - (null) - A tenant could not be started: Default after 1 retries. [(null)] 
2016-08-24 23:12:29,891 [10] Orchard.Environment.DefaultOrchardHost - (null) - A tenant could not be started: Default Attempt number: 0 [http://studiosefid.com/] 
NHibernate.HibernateException: Could not create the driver from Orchard.Data.Providers.SqlCeDataServicesProvider+OrchardSqlServerCeDriver, Orchard.Framework, Version=1.10.1.0, Culture=neutral, PublicKeyToken=null. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.SqlServerCe.SqlCeException: Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8876. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details. 
    at System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries() 
    at System.Data.SqlServerCe.SqlCeCommand..ctor() 
    --- End of inner exception stack trace --- 
    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) 
    at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) 
    at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) 
    at System.Activator.CreateInstance(Type type, Boolean nonPublic) 
    at System.Activator.CreateInstance(Type type) 
    at NHibernate.Bytecode.ActivatorObjectsFactory.CreateInstance(Type type) 
    at NHibernate.Driver.ReflectionDriveConnectionCommandProvider.CreateCommand() 
    at NHibernate.Driver.ReflectionBasedDriver.CreateCommand() 
    at NHibernate.Driver.SqlServerCeDriver.Configure(IDictionary`2 settings) 
    at Orchard.Data.Providers.SqlCeDataServicesProvider.OrchardSqlServerCeDriver.Configure(IDictionary`2 settings) 
    at NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary`2 settings) 
    --- End of inner exception stack trace --- 
    at NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary`2 settings) 
    at NHibernate.Connection.ConnectionProvider.Configure(IDictionary`2 settings) 
    at NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider(IDictionary`2 settings) 
    at NHibernate.Cfg.SettingsFactory.BuildSettings(IDictionary`2 properties) 
    at NHibernate.Cfg.Configuration.BuildSettings() 
    at NHibernate.Cfg.Configuration.BuildSessionFactory() 
    at Orchard.Data.SessionFactoryHolder.BuildSessionFactory() 
    at Orchard.Data.SessionFactoryHolder.GetSessionFactory() 
    at Orchard.Data.TransactionManager.EnsureSession(IsolationLevel level) 
    at Orchard.Data.TransactionManager.GetSession() 
    at Orchard.Data.Repository`1.get_Session() 
    at Orchard.Data.Repository`1.get_Table() 
    at Orchard.Data.Repository`1.Fetch(Expression`1 predicate) 
    at Orchard.Data.Repository`1.Get(Expression`1 predicate) 
    at Orchard.Data.Repository`1.Orchard.Data.IRepository<T>.Get(Expression`1 predicate) 
    at Orchard.Core.Settings.Descriptor.ShellDescriptorManager.GetDescriptorRecord() 
    at Orchard.Core.Settings.Descriptor.ShellDescriptorManager.GetShellDescriptor() 
    at Orchard.Environment.ShellBuilders.ShellContextFactory.CreateShellContext(ShellSettings settings) 
    at Orchard.Environment.DefaultOrchardHost.CreateShellContext(ShellSettings settings) 
    at Orchard.Environment.DefaultOrchardHost.<CreateAndActivateShells>b__41_1(ShellSettings settings) 
2016-08-24 23:12:31,344 [10] Orchard.Environment.DefaultOrchardHost - (null) - A tenant could not be started: Default after 1 retries. [http://studiosefid.com/] 
2016-08-24 23:12:31,891 [19] Orchard.Environment.DefaultOrchardHost - (null) - A tenant could not be started: Default Attempt number: 0 [http://studiosefid.com/] 
NHibernate.HibernateException: Could not create the driver from Orchard.Data.Providers.SqlCeDataServicesProvider+OrchardSqlServerCeDriver, Orchard.Framework, Version=1.10.1.0, Culture=neutral, PublicKeyToken=null. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.SqlServerCe.SqlCeException: Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8876. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details. 
    at System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries() 
    at System.Data.SqlServerCe.SqlCeCommand..ctor() 
    --- End of inner exception stack trace --- 
    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) 
    at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) 
    at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) 
    at System.Activator.CreateInstance(Type type, Boolean nonPublic) 
    at System.Activator.CreateInstance(Type type) 
    at NHibernate.Bytecode.ActivatorObjectsFactory.CreateInstance(Type type) 
    at NHibernate.Driver.ReflectionDriveConnectionCommandProvider.CreateCommand() 
    at NHibernate.Driver.ReflectionBasedDriver.CreateCommand() 
    at NHibernate.Driver.SqlServerCeDriver.Configure(IDictionary`2 settings) 
    at Orchard.Data.Providers.SqlCeDataServicesProvider.OrchardSqlServerCeDriver.Configure(IDictionary`2 settings) 
    at NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary`2 settings) 
    --- End of inner exception stack trace --- 
    at NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary`2 settings) 
    at NHibernate.Connection.ConnectionProvider.Configure(IDictionary`2 settings) 
    at NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider(IDictionary`2 settings) 
    at NHibernate.Cfg.SettingsFactory.BuildSettings(IDictionary`2 properties) 
    at NHibernate.Cfg.Configuration.BuildSettings() 
    at NHibernate.Cfg.Configuration.BuildSessionFactory() 
    at Orchard.Data.SessionFactoryHolder.BuildSessionFactory() 
    at Orchard.Data.SessionFactoryHolder.GetSessionFactory() 
    at Orchard.Data.TransactionManager.EnsureSession(IsolationLevel level) 
    at Orchard.Data.TransactionManager.GetSession() 
    at Orchard.Data.Repository`1.get_Session() 
    at Orchard.Data.Repository`1.get_Table() 
    at Orchard.Data.Repository`1.Fetch(Expression`1 predicate) 
    at Orchard.Data.Repository`1.Get(Expression`1 predicate) 
    at Orchard.Data.Repository`1.Orchard.Data.IRepository<T>.Get(Expression`1 predicate) 
    at Orchard.Core.Settings.Descriptor.ShellDescriptorManager.GetDescriptorRecord() 
    at Orchard.Core.Settings.Descriptor.ShellDescriptorManager.GetShellDescriptor() 
    at Orchard.Environment.ShellBuilders.ShellContextFactory.CreateShellContext(ShellSettings settings) 
    at Orchard.Environment.DefaultOrchardHo 
+0

사이트를 다시 설정할 필요없이 기존 'App_Data'폴더에서 작동해야하지만 'App_Data'폴더에 대한 쓰기 권한을 추가 했습니까? 'App_Data/Sites/Default/Settings.txt'에서 연결 문자열을 확인 했습니까? – mdameer

+0

주석 주셔서 감사합니다, 예 권한이 부여되며 나는 그것을 연결 문자열을 가지고 CE를 사용합니다. 다른 것을 확인하지 말것 –

+0

'app_data \ logs'에 완전한 오류 메시지가 있는지 찾아보십시오. –

답변

2

로그는 다음과 같은 오류 메시지가 포함

Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8876. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details. 

가 있는지 확인하십시오 당신의 SQL Server Compact 올바른 버전을 설치했는지를 (Orchard에서 언급 한 것과 동일한 것).

+0

감사합니다. 큰 도움이됩니다. 나는 sql ce를 SQL 서버로 마이그레이션하고 대신 SQL Server를 사용했다. –