0
Fixed

Non-Windows Installers Are Not Available in 6.1.12131.6219

Xestrix 4 years ago updated by Ben Burner 4 years ago 8

Running 6.1.12131.6219 (6.1.12103 had same issue before it) and I am unable to create an installer for anything aside from the Windows EXE and MSI options. The PKG, DEB, RPM, and SH options all cause ScreenConnect to go to a "Server Error in '/' Application" page as instead.


This also prevents both automatic and manual "reinstall" upgrades, any Mac that I have pointed at this SC instance is stuck on a previous 6.0 build and will not update.

ConnectWise Control Version:
Server Affected:
Host Client Affected:
Guest Client Affected:

Answer

Answer
Not a bug

Thank you for assisting with troubleshooting your installer issue. We determined that the app.config was missing the following line in the <configSections> section:


<section name="ScreenConnect.SystemSettings" type="System.Configuration.ClientSettingsSection" />


Adding the aforementioned line to app.config allowed all installer types to be built from the Host page.


Regards,

Ben

Waiting for information

Good afternoon,


This behavior did not reproduce for me when I tested against an Ubuntu 16.04 server with ScreenConnect 6.1.12131. All access installer types were built and downloaded without issue.


Please update this thread with the following information:


1) What operating system are you using to host your instance of ScreenConnect?

2) What browser are you using to download access installers?

3) If you turn off custom errors in your web.config, what information is provided on the error page (the error page should include a stack trace with more detailed information)? You can temporarily turn off custom errors to view the full error message by following the directions outlined in the following KB article:


Turn off custom errors


Regards,

Ben

1) Windows Server 2012 R2 Standard

2) Chrome 55, IE 11, Edge

3) Stack Trace:

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

   ScreenConnect.SettingsProviderEx.GetSettingValueXml(IEnumerable`1 settingsSections, String settingName) in C:\Build\ScreenConnect_Trunk_Debug\WorkingDirectory\Product\Core\SettingsProviderEx.cs:52
   ScreenConnect.SettingsProviderEx.GetPropertyValues(SettingsPropertyCollection collection, IList`1 settingsSections) in C:\Build\ScreenConnect_Trunk_Debug\WorkingDirectory\Product\Core\SettingsProviderEx.cs:21
   ScreenConnect.FileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection collection) in C:\Build\ScreenConnect_Trunk_Debug\WorkingDirectory\Product\Server\ClientConfig.cs:126
   System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider) +309
   System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName) +202
   System.Configuration.SettingsBase.get_Item(String propertyName) +102
   System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName) +107
   System.Configuration.ApplicationSettingsBase.get_Item(String propertyName) +102
   ScreenConnect.<>c__DisplayClass0_3.<GetAttachments>b__6(SettingsProperty __) in C:\Build\ScreenConnect_Trunk_Debug\WorkingDirectory\Product\Server\ClientConfig.cs:73
   System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +226
   System.Linq.<SelectManyIterator>d__16`2.MoveNext() +357
   ScreenConnect.ServerExtensions.WriteProperties(TextWriter writer, IEnumerable`1 entries) in C:\Build\ScreenConnect_Trunk_Debug\WorkingDirectory\Product\Server\ServerExtensions.cs:1222
   ScreenConnect.ServerExtensions.GetPropertiesFileContent(IEnumerable`1 entries) in C:\Build\ScreenConnect_Trunk_Debug\WorkingDirectory\Product\Server\ServerExtensions.cs:1215
   ScreenConnect.<GetAttachments>d__0.MoveNext() in C:\Build\ScreenConnect_Trunk_Debug\WorkingDirectory\Product\Server\ClientConfig.cs:67
   System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +336
   ScreenConnect.<AppendIf>d__32`1.MoveNext() in C:\Build\ScreenConnect_Trunk_Debug\WorkingDirectory\Product\Core\Extensions.cs:271
   ScreenConnect.<AppendIf>d__32`1.MoveNext() in C:\Build\ScreenConnect_Trunk_Debug\WorkingDirectory\Product\Core\Extensions.cs:271
   System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +344
   System.Linq.<ConcatIterator>d__58`1.MoveNext() +590
   System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +262
   System.Linq.<ConcatIterator>d__58`1.MoveNext() +310
   ScreenConnect.<AppendIf>d__32`1.MoveNext() in C:\Build\ScreenConnect_Trunk_Debug\WorkingDirectory\Product\Core\Extensions.cs:271
   ScreenConnect.<AppendIf>d__32`1.MoveNext() in C:\Build\ScreenConnect_Trunk_Debug\WorkingDirectory\Product\Core\Extensions.cs:271
   ScreenConnect.<AppendIf>d__32`1.MoveNext() in C:\Build\ScreenConnect_Trunk_Debug\WorkingDirectory\Product\Core\Extensions.cs:271
   ScreenConnect.<AppendIf>d__32`1.MoveNext() in C:\Build\ScreenConnect_Trunk_Debug\WorkingDirectory\Product\Core\Extensions.cs:271
   ScreenConnect.<AppendIf>d__32`1.MoveNext() in C:\Build\ScreenConnect_Trunk_Debug\WorkingDirectory\Product\Core\Extensions.cs:271
   System.Linq.<ConcatIterator>d__58`1.MoveNext() +310
   System.Linq.Buffer`1..ctor(IEnumerable`1 source) +249
   System.Linq.<GetEnumerator>d__1.MoveNext() +228
   System.Linq.Buffer`1..ctor(IEnumerable`1 source) +152
   System.Linq.Enumerable.ToArray(IEnumerable`1 source) +105
   ScreenConnect.MacInstallerFileBuilder.BuildFile(Stream stream, String binDirectoryPath, Byte[] publicKey, ClientLaunchParameters clientLaunchParameters) in C:\Build\ScreenConnect_Trunk_Debug\WorkingDirectory\Product\Server\InstallerFileBuilder.cs:211
   ScreenConnect.InstallerHandler.ProcessRequest(HttpContext context) in C:\Build\ScreenConnect_Trunk_Debug\WorkingDirectory\Product\Web\InstallerHandler.cs:33
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +507
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +91

Thank you for updating the thread with additional information.


I am still unable to reproduce the OS X/deb/rpm/sh installer build error in our test environment using the specified versions of ScreenConnect on a Windows 2012R2 server (even after upgrading to 6.1 from 6.0).


At this point, it might be best to schedule a support session to your environment so I can investigate in more detail.


Please email extension@screenconnect.com with a summary of the information contained in this thread and your availability to join a support session.


Cheers,

Ben

Waiting for information
Answer
Not a bug

Thank you for assisting with troubleshooting your installer issue. We determined that the app.config was missing the following line in the <configSections> section:


<section name="ScreenConnect.SystemSettings" type="System.Configuration.ClientSettingsSection" />


Adding the aforementioned line to app.config allowed all installer types to be built from the Host page.


Regards,

Ben

Commenting disabled