Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy problem #14

Open
DejanMilicic opened this issue Jun 13, 2014 · 1 comment
Open

Deploy problem #14

DejanMilicic opened this issue Jun 13, 2014 · 1 comment

Comments

@DejanMilicic
Copy link

I developed website on my local machine, then deployed to test server. Database is the same for both sites, and all files are identical (I ended up copying ALL files in an attempt to solve the problem). I keep getting following error message

Unable to cast object of type 'Castle.Proxies.SectionContainerProxy' to type 'Project.DocumentTypes.LangRoot'.

What could be cause of this problem and how to solve/avoid it?

@spopovic
Copy link
Collaborator

@DejanMilicic, we were receiving that error in cases when uSiteBuilder (the website actually) didn't have sufficient rights to load all the required dlls. Or in some cases when it didn't have rights to iterate through all the dlls.

Check if "suppress sync" is enabled in web.config.

Also try to set the exact names of dlls with your document types under:

<add key="siteBuilderAssembly" value="SEMICOLON_SEPARATED_LIST_OF_ASSEMBLIES"/>

Where "SEMICOLON_SEPARATED_LIST_OF_ASSEMBLIES" should be replaced with the names of your assemblies/dlls containing definition of document type classes. The names of assemblies should not include the extension. For example, you could have it like this:

<add key="siteBuilderAssembly" value="MyClient.CorporateWebsite.Business;MyClient.CorporateWebsite.Common;MyClient.CorporateWebsite.Entities;MyClient.CorporateWebsite.Web"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants