Install package exception

Topics: Troubleshooting
Oct 2, 2010 at 4:13 PM

When I install a package, it always throw this exception. Then the website cannot work.

I tried Blog and Forum package. Similar exceptions are throw.  How to fix it?

I ran Composite c1 in Windows Server 2008 R2 and IIS 7.5.

 

Server Error in '/' Application.


The data type Composite.Community.Blog.Entries is inheriting the interface Composite.Data.ProcessControlled.IPublishControlled but has not been assigned a Composite.Data.ProcessControlled.IPublishProcessController process controller

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: The data type Composite.Community.Blog.Entries is inheriting the interface Composite.Data.ProcessControlled.IPublishControlled but has not been assigned a Composite.Data.ProcessControlled.IPublishProcessController process controller

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.


Stack Trace:

[InvalidOperationException: The data type Composite.Community.Blog.Entries is inheriting the interface Composite.Data.ProcessControlled.IPublishControlled but has not been assigned a Composite.Data.ProcessControlled.IPublishProcessController process controller]
   Composite.GlobalInitializerFacade.InitializeTheSystem() +310
   Composite.Data.Foundation.DataProviderRegistry.get_AllInterfaces() +36
   Composite.Data.DataFacadeImpl.GetData(Boolean useCaching, IEnumerable`1 providerNames) +49
   Composite.Data.DataLocalizationFacadeImpl.get_DefaultUrlMappingCulture() +152
   Composite.Data.PageUrl.ParsePublicUrl(UrlBuilder urlBuilder, NameValueCollection& notUsedQueryParameters) +182
   Composite.Core.WebClient.Renderings.RequestInterceptorHttpModule.HandlePublicPageUrl(HttpContext context) +134

[InvalidOperationException: Failed to intercept URL 'http://localhost:85/'.]
   Composite.Core.WebClient.Renderings.RequestInterceptorHttpModule.HandlePublicPageUrl(HttpContext context) +748
   Composite.Core.WebClient.Renderings.RequestInterceptorHttpModule.context_BeginRequest(Object sender, EventArgs e) +219
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +266

Coordinator
Oct 2, 2010 at 6:42 PM

Hi kerryjiang

It was fixed in the change set 1689 

Way to fix is either to use a newer build, or

0) Create a back-up copy

1) check-out 1689

2) build 'Composite' and 'Composite.Workflows' projects

3) Stop the site on IIS (is you're running on IIS)

4) Copy the two dlls which you have as a build  result to the "/bin" folder of your existing installation

5) delete '/bin/Composite.Generated.dll'

6) Start the site

Coordinator
Oct 3, 2010 at 3:02 AM

We have released a patch for this problem and updated the download files here at CodePlex. If you have already been affected, the work around above should be used, but other users with the affected release can upgrade easily from within the C1 Console.

For more information please see http://community.composite.net/C1/Blog.aspx/2010/10/03/Composite-C1-20-Patch-1-released