skyline batch installation

skyline batch installation chi nguyen  2024-02-21 16:45
dear Skyline team,
I am trying to install the skyline batch most recent version ( but I was not successful so far. Below are the error details.
many thanks

2024-02-21 16:02:57,329 [INFO] SkylineBatch: Saved configurations were found in: C:\Users\NguyenD14\AppData\Local\Apps\2.0\Data\X823W123.JCK\94EG05GC.7Y7\skyl..tion_e4141a2a22107248_0015.0002_29e5eb00463e294d\Data\\user.config
2024-02-21 16:02:57,943 [ERROR] SkylineBatch: An unexpected error occured during initialization.
System.NullReferenceException: Object reference not set to an instance of an object.
   at SkylineBatch.MainForm.ListViewSizeChanged()
   at SkylineBatch.MainForm.MainForm_Resize(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnResize(EventArgs e)
   at System.Windows.Forms.Form.OnResize(EventArgs e)
   at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)
   at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
   at System.Windows.Forms.Form.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
   at System.Windows.Forms.Control.ScaleControl(SizeF factor, BoundsSpecified specified)
   at System.Windows.Forms.ScrollableControl.ScaleControl(SizeF factor, BoundsSpecified specified)
   at System.Windows.Forms.Form.ScaleControl(SizeF factor, BoundsSpecified specified)
   at System.Windows.Forms.Control.ScaleControl(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
   at System.Windows.Forms.ContainerControl.Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
   at System.Windows.Forms.ContainerControl.PerformAutoScale(Boolean includedBounds, Boolean excludedBounds)
   at System.Windows.Forms.ContainerControl.PerformNeededAutoScaleOnLayout()
   at System.Windows.Forms.ContainerControl.OnLayoutResuming(Boolean performLayout)
   at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
   at SkylineBatch.MainForm.InitializeComponent()
   at SkylineBatch.MainForm..ctor(String openFile)
   at SkylineBatch.Program.Main(String[] args)
Nick Shulman responded:  2024-02-21 17:15
Another user ran into that error a few years ago and the advice was to delete (or rename) that file in the error message ("C:\Users\NguyenD14\AppData\Local\Apps\2.0\Data\X823W123.JCK\94EG05GC.7Y7\skyl..tion_e4141a2a22107248_0015.0002_29e5eb00463e294d\Data\\user.config").

Here is the support request from a few years ago which recommended renaming that file:

By the way, the Skyline Batch that are able to install from the Skyline Batch web page is very old. If you want a newer version, you can install the Skyline Administrator Install:

This will install Skyline in:
C:\Program Files\Skyline
and Skyline Batch will also be in there.

-- Nick
chi nguyen responded:  2024-02-21 18:09
Hi Nick,

thanks for the quick respond. I followed your instruction and downloaded the newer version of skyline batch. I got into the same issue again with the user.config. I renamed it and try to start skyline batch. Another user.config fiel was created and i ran into the same issue again. Is there anything else I could try?

Nick Shulman responded:  2024-02-21 18:18
If you send me your user.config file I might be able to figure out what is going on.
I will also send you an email directly because I might have more questions and that might be more efficient than posting on this support board.
-- Nick
Nick Shulman responded:  2024-02-21 23:46
Thank you for sending that information by email.
We figured out that Skyline Batch has a bug in it where that error can happen if the size of a Window happens to change while it's in the middle of being constructed.
I imagine that whether or not this happens on a particular computer might have something to do with either screen resolution or fonts.

If anyone else runs into this error I have made a special Skyline Batch which can be installed from here:

I will get a fix for this into the official builds soon.
-- Nick