You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
@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:
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:
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?
The text was updated successfully, but these errors were encountered: