November Happy Hour will be moved to Thursday December 5th.

Object reference not set to an instance of an object. in EPiServer Manager

Vote:
 
Hi! I'm having a problem with EPiServer Manager (not sure this is the right forum but I hope there is a hack to solve this): I installed a EPiServer site in web root (i.e. not under Default Web Site), and set the site url to http://localhost:8080 and connected to an existing database. When installation finished I got an error in the web browser, something indicating that it could not bind to ::80:localhost:8080 (can't remember anymore :( ). When I clicked finish and returned to the EPiServer Manager I got a similar binding error and the options to continue or quit. I then removed the website in IIS and then removed the folder and it's contents. Now when I start EPiServer MAnager I get the error "Object reference not set to an instance of an object." details below. I tried uninstalling and reinstalling EPiSErver Manager as well as searching for a config where the deleted site is, recreated an empty web application and copied EPi content into it but all without luck. It all looks ok in IIS. What can I do to solve this??? I'm very thankfull for any suggestions! Detailed error message: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at ElektroPost.Win32.Metabase.IIsWebServer.get_ServerUrl() at EPiServerManager.Components.WebSite..ctor(IManagerEntity parent, IIsWebServer site) at EPiServerManager.Components.WebServer.LoadWebSites() at EPiServerManager.Controls.ManagerTreeView.Load() at EPiServerManager.Forms.MainForm.DoRefresh() at EPiServerManager.Forms.MainForm.SetupSiteTree() at EPiServerManager.Forms.MainForm.MainForm_Load(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- EPiServerManager Assembly Version: 1.3.2.0 Win32 Version: 1.3.2.0 CodeBase: file:///C:/Program%20Files/EPiServer%20Manager/EPiServerManager.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.ServiceProcess Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll ---------------------------------------- ElektroPost.Win32 Assembly Version: 1.0.0.10 Win32 Version: 1.0.0.10 CodeBase: file:///C:/Program%20Files/EPiServer%20Manager/ElektroPost.Win32.DLL ---------------------------------------- System.DirectoryServices Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.DirectoryServices/2.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
#17654
May 31, 2007 15:12
Vote:
 
I found a "solution" to the problem or at least a way to disarm it: I'm running IIS7 and by chance I noticed that when I selected the node "Web sites" the 'object viewer' listed a web site that was not to be seen in the tree structure. The site was called SITE_2 and did not have any binding, nor any contents. I deleted it but realized that when I started EPiServer Manager (and got the usual exception), the site was there again. What I did was to set a binding to the site in IIS and now EPiServer Manager agrees to start and lists all sites - including SITE_2. Since SITE_2 does not have any content, nor are connected to a database EPiServer Manager does not give me the option to delete it but install is enabled. Maybe I'll try to install a dummy and then delete it a bit later, for now I'm just happy that I can get on with my work. Cool runnings /Christian
#18490
Jun 01, 2007 8:32
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.