Hi All.I am having some issues with a CMS 6 R2 site - that works fine on our development server - but when I try to run on my localhost I get this error.Anyone having run into this issue ?The site is a blank solution with a startpage that fetches a text.----------------------------
[NullReferenceException: Object reference not set to an instance of an object.]
[TypeInitializationException: The type initializer for 'EPiServer.PageBase' threw an exception.]
EPiServer.PageBase..ctor(Int32 enable, Int32 disable) +0
EPiServer.SimplePage..ctor(Int32 enable, Int32 disable) +58
EPiServer.EditPage..ctor(Int32 enable, Int32 disable) +116
EPiServer.TemplatePage..ctor(Int32 enable, Int32 disable) +88
Trying to run the site i visual studio 2010 sp1 and the web development server.
I don't recommend using the built in Visual Studio web server but IIS instead. However if you need to use the built in server, maybe this post can help: http://www.jonathansewell.co.uk/index.php/2010/11/29/episerver-6-visual-studio-development-server/.
What version of IIS is your development server on, i think Cassini is based on IIS6 so if you have a web.config for IIS7 it will not work