175 errors

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 1 month old and the forum Administrator has chosen for old topics to be locked when a reply is attempted. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
Lembasts
Posts: 255
Meble kuchenne na zamówienie - na wymiar - Wrocław
Joined: Thu Mar 15, 2012 9:47 am

175 errors

Post by Lembasts »

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: 175
32 or 64 bit version of product:64
Operating system:win10 1909
32 or 64 bit OS:64

Clicked the Run button for the first time after installing 175 and am getting these errors:

>> Platform: V5 64Bit (STA) (Elevated) (Forced)
ERROR: Exception calling "Load" with "1" argument(s): "Could not load file or assembly 'System.DirectoryServices' or one of its dependencies. The system cannot find
ERROR: the file specified."
Startup.pss: ERROR: At Line: -6 char: 1
ERROR: + [void][Reflection.Assembly]::Load('System.DirectoryServices')
ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
ERROR: + FullyQualifiedErrorId : FileNotFoundException
ERROR:
ERROR: Exception calling "Load" with "1" argument(s): "Could not load file or assembly 'System.ServiceProcess' or one of its dependencies. The system cannot find the
ERROR: file specified."
Startup.pss: ERROR: At Line: -5 char: 1
ERROR: + [void][Reflection.Assembly]::Load('System.ServiceProcess')
ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
ERROR: + FullyQualifiedErrorId : FileNotFoundException
ERROR:
ERROR: Exception calling "Load" with "1" argument(s): "Could not load file or assembly 'System.Windows.Forms' or one of its dependencies. The system cannot find the
ERROR: file specified."
Startup.pss: ERROR: At Line: -4 char: 1
ERROR: + [void][Reflection.Assembly]::Load('System.Windows.Forms')
ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
ERROR: + FullyQualifiedErrorId : FileNotFoundException
ERROR:
ERROR: Exception calling "Load" with "1" argument(s): "Could not load file or assembly 'System.Data' or one of its dependencies. The system cannot find the file
ERROR: specified."
Startup.pss: ERROR: At Line: -3 char: 1
ERROR: + [void][Reflection.Assembly]::Load('System.Data')
ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
ERROR: + FullyQualifiedErrorId : FileNotFoundException
ERROR:
ERROR: Exception calling "Load" with "1" argument(s): "Could not load file or assembly 'System.Drawing' or one of its dependencies. The system cannot find the file
ERROR: specified."
Startup.pss: ERROR: At Line: -2 char: 1
ERROR: + [void][Reflection.Assembly]::Load('System.Drawing')
ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
ERROR: + FullyQualifiedErrorId : FileNotFoundException
ERROR:

Cheers
David

User avatar
brittneyr
Site Admin
Posts: 428
Joined: Thu Jun 01, 2017 7:20 am

Re: 175 errors

Post by brittneyr »

Thank you for reporting this. We will look into this and get back to you soon.
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
brittneyr
Site Admin
Posts: 428
Joined: Thu Jun 01, 2017 7:20 am

Re: 175 errors

Post by brittneyr »

I've filed a bug report for the development team for them to investigate as changes were made when adding an assembly reference. Were you running a script file or psf? Did you add these assemblies yourself?
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
Lembasts
Posts: 255
Joined: Thu Mar 15, 2012 9:47 am

Re: 175 errors

Post by Lembasts »

This is a multi form project. My code does not add any assemblies at all. I assumed that PS generated the added assemblies in what looks like startup.pss. My startup.pss has not been touched. It looks like this:


#Define a Param block to use custom parameters in the project
#Param ($CustomParameter)

# The following line has been added to force the credentials prompt
# %ForceElevation% = True
function Main {
Param ([String]$Commandline)
#Note: This function starts the application
#Note: $Commandline contains the complete argument string passed to the packager
#Note: To get the script directory in the Packager use: Split-Path $hostinvocation.MyCommand.path
#Note: To get the console output in the Packager (Windows Mode) use: $ConsoleOutput (Type: System.Collections.ArrayList)

if((Show-MainForm_psf) -eq "OK")
{

}

$global:ExitCode = 0 #Set the exit code for the Packager
}

User avatar
Lembasts
Posts: 255
Joined: Thu Mar 15, 2012 9:47 am

Re: 175 errors

Post by Lembasts »

Is this fixed in 176? Im starting to get a bit nervous about installing new updates these days...

User avatar
brittneyr
Site Admin
Posts: 428
Joined: Thu Jun 01, 2017 7:20 am

Re: 175 errors

Post by brittneyr »

This issue should be resolved in the latest service release (5.7.176).
Brittney Ryn
SAPIEN Technologies, Inc.

This topic is 1 month old and the forum Administrator has chosen for old topics to be locked when a reply is attempted. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked