Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: SqlDataProvider Error

$
0
0
I set SqlDataProvider as the default data store, and when I run it under the debugger, I get this error "No generated classes for data type 'IPage' found". Please advise on how to resolve this issue. Thank you.

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: No generated classes for data type 'IPage' found

Source Error:


Line 149: if (!generatedClassesInfo.TryGetValue(dataTypeDescriptor, out classesInfo))
Line 150: {
Line 151: throw new InvalidOperationException("No generated classes for data type '{0}' found".FormatWith(dataTypeDescriptor.Name));
Line 152: }
Line 153: InitializeStoreResult initInfo = EmbedDataContextInfo(classesInfo, dataContextClass);


Source File: C:\Development\Projects\Composite\Plugins\Data\DataProviders\MSSqlServerDataProvider\SqlDataProvider_Stores.cs Line: 151

StackTrace:

[InvalidOperationException: No generated classes for data type 'IPage' found]
Composite.Plugins.Data.DataProviders.MSSqlServerDataProvider.SqlDataProvider.CreateStores(IReadOnlyCollection1 dataTypeDescriptors) in C:\Development\Projects\Composite\Plugins\Data\DataProviders\MSSqlServerDataProvider\SqlDataProvider_Stores.cs:151
Composite.Data.Foundation.PluginFacades.DataProviderPluginFacade.CreateStores(String providerName, IReadOnlyCollection
1 typeDescriptors) in C:\Development\Projects\Composite\Data\Foundation\PluginFacades\DataProviderPluginFacade.cs:191
Composite.Data.Foundation.DataStoreExistenceVerifierImpl.EnsureDataStores() in C:\Development\Projects\Composite\Data\Foundation\DataStoreExistenceVerifierImpl.cs:119
Composite.Data.Foundation.DataStoreExistenceVerifier.EnsureDataStores() in C:\Development\Projects\Composite\Data\Foundation\DataStoreExistenceVerifier.cs:34
Composite.GlobalInitializerFacade.DoInitialize() in C:\Development\Projects\Composite\GlobalInitializerFacade.cs:218
Composite.GlobalInitializerFacade.InitializeTheSystem() in C:\Development\Projects\Composite\GlobalInitializerFacade.cs:152
Composite.GlobalInitializerFacade.get_CoreIsInitializedScope() in C:\Development\Projects\Composite\GlobalInitializerFacade.cs:664
Composite.Data.Foundation.DataProviderRegistry.get_AllInterfaces() in C:\Development\Projects\Composite\Data\Foundation\DataProviderRegistry.cs:46
Composite.Data.DataFacadeImpl.GetData(Boolean useCaching, IEnumerable1 providerNames) in C:\Development\Projects\Composite\Data\DataFacadeImpl.cs:46
Composite.Data.DataFacade.GetData(Boolean useCaching, IEnumerable
1 providerNames) in C:\Development\Projects\Composite\Data\DataFacade.cs:175
Composite.Data.DataFacade.GetData() in C:\Development\Projects\Composite\Data\DataFacade.cs:191
Composite.Core.Routing.HostnameBindingsFacade.GetBindingForCurrentRequest() in C:\Development\Projects\Composite\Core\Routing\HostnameBindingsFacade.cs:80
Composite.Core.Routing.HostnameBindingsFacade.GetCustomPageNotFoundUrl() in C:\Development\Projects\Composite\Core\Routing\HostnameBindingsFacade.cs:137
Composite.Core.Routing.PageNotFoundRoute.GetRouteData(HttpContextBase httpContext) in C:\Development\Projects\Composite\Core\Routing\PageNotFoundRoute.cs:18
System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContext) +235
System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +60
System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(Object sender, EventArgs e) +82
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +141
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>