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: panzerkunst **
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: panzerkunst **
I've uploaded the upgrade to the final release on the remote server. I get less errors but still get an error that indeed indicates unsufficient rights.
I don't have the opportunity to login remotely to check and change the permissions on the server.
Would you mind telling me which kind of permissions are required ? I found this post, but I dunno if it's still relevant or not https://compositec1.codeplex.com/discussions/235862; basically _add every NTFS permission on the root (except for "Full Control" - it is not a required one) to either "Everyone" or the user under which IIS is running working process,_
Thanks for your help !
Nicolas