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

Commented Unassigned: Errors when accessing Composite backend [1759]

$
0
0
Hello,

I've been developing a website with Composite 4 beta, everything works fine on my local machine so I've uploaded the website to my hosting place.

Front-end works fine, but I can't access the back-end.

I got an error like this:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\HostingSpaces\nbauwens\alternatives.be\wwwroot\App_Data\Composite\Cache\Assemblies\e3ee168b-54d5-4040-900d-2e290204aeae.dll' or one of its dependencies. The system cannot find the file specified.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity)
at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
at Composite.Core.Types.CodeGenerationManager.CompileRuntimeTempTypes(CodeGenerationBuilder codeGenerationBuilder, Boolean verbose)
at Composite.Core.Serialization.CodeGeneration.PropertySerializerManager.CodeGeneratePropertySerializer(Type propertyClassType)
at Composite.Core.Serialization.CodeGeneration.PropertySerializerManager.GetPropertySerializerType(Type propertyClassType)
at Composite.Core.Serialization.CodeGeneration.PropertySerializerManager.GetPropertySerializer(Type propertyClassType)
at Composite.Core.Serialization.SerializationFacade.GetSerializer(Type propertyClassType)
at Composite.Core.Serialization.SerializationFacade.Serialize(Object propertyClass)
at Composite.C1Console.Elements.SearchToken.Serialize()
at Composite.Services.TreeServices.GetSearchTokens(String dummy)
--- End of inner exception stack trace --



So I searched a bit and tld myself that something mght be wrong with the cached assemblies. I found that issue https://compositec1.codeplex.com/workitem/664
The reply looked fine so I tried the suggested approach - I've deleted all the cached assemblies.

Front-end still works. When I try to login on the back-end, an alert is displayed with the HTML code of the login page (weird), when I click OK, nothing happens.

If I retry, the following error is displayed in an alert:

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.InvalidOperationException: Failed building: PropertySerializer: Composite.Plugins.Elements.ElementProviders.MediaFileProviderElementProvider.MediaFileSearchToken
Compile error: CS1567(0): Error generating Win32 resource: Access is denied.

at Composite.Core.Types.CodeGenerationManager.CompileRuntimeTempTypes(CodeGenerationBuilder codeGenerationBuilder, Boolean verbose)
at Composite.Core.Serialization.CodeGeneration.PropertySerializerManager.CodeGeneratePropertySerializer(Type propertyClassType)
at Composite.Core.Serialization.CodeGeneration.PropertySerializerManager.GetPropertySerializerType(Type propertyClassType)
at Composite.Core.Serialization.CodeGeneration.PropertySerializerManager.GetPropertySerializer(Type propertyClassType)
at Composite.Core.Serialization.SerializationFacade.GetSerializer(Type propertyClassType)
at Composite.Core.Serialization.SerializationFacade.Serialize(Object propertyClass)
at Composite.C1Console.Elements.SearchToken.Serialize()
at Composite.Services.TreeServices.GetSearchTokens(String dummy)
--- End of inner exception stack trace ---

When I click "OK" on the alert, nothing happens either.

When I retry again, the same error message as above I displayed, but after having clicked on the OK button of the alert, the backend FINALLY loads :) but the App Pool crashes... :(

Would you have an idea ?

Kind regards,
Nicolas
Comments: ** Comment from web user: wysocki **

It should be relevant. You can also read here on permissions:

http://docs.composite.net/Configuration/Getting-Your-Site-Online/Troubleshooting#_No_Sufficient_Permissions

Also,

> Composite C1 must run with ASP.NET "full trust" level. If you are going to host your Composite C1 at a 3rd party hosting provider, you should ensure they allow ASP.NET Full trust.

[source](http://docs.composite.net/Getting-started/System-Requirements)


Viewing all articles
Browse latest Browse all 2540

Trending Articles



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