I have a local, largely unchanged EPiServer 7.5 alloy MVC template site, that I've now deployed onto an internal server for demo purposes.
I must be missing something (obvious I'm sure) but I am getting the following error when attempting to load the site:
2014-01-21 09:02:52,624  ERROR EPiServer.Framework.Initialization.InitializationEngine: Initialize action failed for Initialize on class EPiServer.Framework.FrameworkInitialization, EPiServer.Framework, Version=7.5.440.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7 System.ArgumentNullException: Value cannot be null. Parameter name: type at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at EPiServer.Framework.FrameworkInitialization.InitializeVirtualRoles() at EPiServer.Framework.FrameworkInitialization.Initialize(InitializationEngine context) at EPiServer.Framework.Initialization.ModuleNode.<>c__DisplayClass5.<Initialize>b__4() at EPiServer.Framework.Initialization.ModuleNode.Execute(Action a, String key) at EPiServer.Framework.Initialization.ModuleNode.Initialize(InitializationEngine context) at EPiServer.Framework.Initialization.InitializationEngine.InitializeModules()
I simply, for now did a file system deploy, and copied the files to the server.
I ensured I copied the appdata folder, and wwwroot at same level.
Mysite-name appdata wwwroot (this is where IIS references site)
I've checked security settings, and "Everyone" is set on all folders.. Is there something that I must change in a config file? Thanks Danny
Can you make sure that EPiServerFramework.config has the following setting:<appData basePath="..\appdata" />
Thanks for the quick reply Mari:Yes, I can confirm that I do have the above setting, and that the folder exists.
Do the server run on the same IIS version as you have locally?
The stack trace indicate issues with loading virtual roles, see: http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=61930My guess is that some of the virtual roles are deprecated.
Ah.. So, locally I have 7.5, but the server is on 7.0..Can you suggest where/what I would need to remove ?
I am going to try and see if I can get a new server setup that has 7.5 however..
Right, got it working..Turned out that a load on dlls were not being included during the deployment (mainly the EPiServer.Cmo dlls)..I've copied these across now, and site is loading..