After editing /Web.config with the new SQL DB address, and checking /App_Data/Composite/Composite.config that the setting is correct, the site now shows an error.
Server Error in '/' Application.
0 writeable data providers exists for data 'Composite.Data.Types.IUrlConfiguration'.
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.InvalidOperationException: 0 writeable data providers exists for data 'Composite.Data.Types.IUrlConfiguration'.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
[InvalidOperationException: 0 writeable data providers exists for data 'Composite.Data.Types.IUrlConfiguration'.]
Composite.Data.DataFacadeImpl.AddNew(IEnumerable
Composite.Data.DataFacadeImpl.AddNew(IEnumerable
Composite.Data.DataFacade.AddNew(IEnumerable
Composite.Data.DataFacade.AddNew(T data) +154
Composite.Core.Routing.HostnameBindingsFacade.Initialize() +228
Composite.Core.WebClient.ApplicationLevelEventHandlers.ApplicationStartInitialize(Boolean displayDebugInfo) +161
Composite.Core.WebClient.ApplicationLevelEventHandlers.Application_Start(Object sender, EventArgs e) +228
ASP.global_asax.Application_Start(Object sender, EventArgs e) +28
[HttpException (0x80004005): 0 writeable data providers exists for data 'Composite.Data.Types.IUrlConfiguration'.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +9916977
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296
[HttpException (0x80004005): 0 writeable data providers exists for data 'Composite.Data.Types.IUrlConfiguration'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9930872
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36283
Server Error in '/' Application.
0 writeable data providers exists for data 'Composite.Data.Types.IUrlConfiguration'.
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.InvalidOperationException: 0 writeable data providers exists for data 'Composite.Data.Types.IUrlConfiguration'.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
-
Add a "Debug=true" directive at the top of the file that generated the error. Example:
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web></configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
[InvalidOperationException: 0 writeable data providers exists for data 'Composite.Data.Types.IUrlConfiguration'.]
Composite.Data.DataFacadeImpl.AddNew(IEnumerable
1 datas, Boolean allowStoreCreation, Boolean suppressEventing, Boolean performForeignKeyIntegrityCheck, Boolean performValidation, List
1 writeableProviders) +875Composite.Data.DataFacadeImpl.AddNew(IEnumerable
1 datas, Boolean allowStoreCreation, Boolean suppressEventing, Boolean performForeignKeyIntegrityCheck, Boolean performValidation, List
1 writeableProviders) +421Composite.Data.DataFacade.AddNew(IEnumerable
1 collection, Boolean allowStoreCreation, Boolean suppressEventing, Boolean performForeignKeyIntegrityCheck, Boolean performeValidation, List
1 writeableProviders) +95Composite.Data.DataFacade.AddNew(T data) +154
Composite.Core.Routing.HostnameBindingsFacade.Initialize() +228
Composite.Core.WebClient.ApplicationLevelEventHandlers.ApplicationStartInitialize(Boolean displayDebugInfo) +161
Composite.Core.WebClient.ApplicationLevelEventHandlers.Application_Start(Object sender, EventArgs e) +228
ASP.global_asax.Application_Start(Object sender, EventArgs e) +28
[HttpException (0x80004005): 0 writeable data providers exists for data 'Composite.Data.Types.IUrlConfiguration'.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +9916977
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296
[HttpException (0x80004005): 0 writeable data providers exists for data 'Composite.Data.Types.IUrlConfiguration'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9930872
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36283