cancel
Showing results for 
Search instead for 
Did you mean: 

WebTools installer error

Former Member
0 Kudos

I'm trying to install WebTools locally and when I get to the IIS locations step I get the following error pop-up:

System.NullReferenceException: Object reference not set to an instance of an object.

at Installer.Website.LoadDirsDD()

at Installer.Website.Website_Load(Object sender, EventArgs e)

at System.Windows.Forms.UserControl.OnLoad(EventArgs e)

at System.Windows.Forms.UserControl.OnCreateControl()

at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

at System.Windows.Forms.Control.CreateControl()

at System.Windows.Forms.Control.ControlCollection.Add(Control value)

at Installer.MainForm.Swap(UserControl uc)

at Installer.Data.btnContinue_Click(Object sender, EventArgs e)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ButtonBase.WndProc(Message& m)

at System.Windows.Forms.Button.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)

I am able to click continue and select a website but the available virtual directories dropdown is always empty. I am guessing it's some kind of security issue with Server 2003 but I'm not sure how to fix it. I am able to create a new Virtual Directory though.

Steve

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Do you have a website "Default Website" in IIS?

Former Member
0 Kudos

Hmmm ... nope.

Former Member
0 Kudos

Is IIS installed on the C drive?

I think there is a hard reference in the code.

Former Member
0 Kudos

I assume it's on the C drive, the machine was already built when I got it so I didn't install myself but I'm pretty sure that would have been installed with the default options. Where would it normally be .. under the system32 folder?

What would happen if I started an installation and later deleted a VD in IIS and restarted the installer again so that the instances.xml file referenced a VD that didn't exist anymore. If noone else has experienced this issue it's possible I did something like that and mucked my own self up.

Steve

Former Member
0 Kudos

skip that--I just checked, it gets the location of iis from the system.

Deleted virtual directories shouldn't cause this problem. That error is caused because there is no selected value in the websites combo.

For some reason, it's failing to correctly load the combo from the directories in IIS

Former Member
0 Kudos

Build 620 = WebTools 2007 Patch0

Build 621 = WebTools 2007 Patch1

i would suggest trying with Patch1 instead it is available on the Service Marketplace for RampUp & PreviewProgram partners and customers

Former Member
0 Kudos

Which version of WebTools?

and is your IIS in Isolated mode or AppPool mode?

Former Member
0 Kudos

Hey Shawn, I guess it's version 620. I'm not sure how to determine what mode my IIS is in but I do know I have several app pools available since I created a new one for dot net 2.0 webs so that probably means it's in AppPool mode.

Former Member
0 Kudos

My guess is that is coming because the website combo box has no selected value.

This could either be because none have been defined in IIS, it isn't correctly reading the IIS directory or the first item in the list hasn't been programatically selected.