1. David Peace
  2. PowerBuilder
  3. Tuesday, 19 December 2023 16:36 PM UTC

Hi Everyone

I thought I would try and setup and use the PBAutoBuild220.exe to build our applications. My first problem was that I needed to install the PB IDE before the EXE would run at all (I had tried only installing the tools and utilities). I think the DOt Net 6 SDK needed to be installed or something.

Having got past that problem I now find that the EXE just crashes when it reaches the SSC part.

The log file contains:

08:26:36 [Normal] PBAutoBuild Version: 22.1.0.2828.
08:26:36 [Normal] Work Path: C:\Program Files (x86)\Appeon\PowerBuilderUtilities 22.0\pbautobuild220.exe.
08:26:36 [Normal] Runtime Version: 22.1.0.2828.
08:26:36 [Normal] Load file: C:\Users\dpeace\AppData\Local\Appeon\PowerBuilder 22.0\pb.ini
08:26:36 [Normal] Start processing parse json to model code segment.
08:26:36 [Normal] End processing parse json to model code segment.
08:26:36 [Normal] Start processing download source code segment.
08:26:36 [Normal] Start downloading the source code.
08:26:36 [Normal] Execute VSS init
08:26:36 [Normal] Execute open VSS project
08:26:36 [Normal] Execute VSS download source code

 

The Event Log shows:

A .Net Runtime error:

Application: pbautobuild220.exe
CoreCLR Version: 6.0.522.21309
.NET Version: 6.0.5
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 00000000
Stack:

 

A Application Error:

Faulting application name: pbautobuild220.exe, version: 22.1.0.2828, time stamp: 0x65313be4
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x00000000
Faulting process id: 0xed8
Faulting application start time: 0x01da329822e0d53e
Faulting application path: C:\Program Files (x86)\Appeon\PowerBuilderUtilities 22.0\pbautobuild220.exe
Faulting module path: unknown
Report Id: 28814c28-d681-428f-a15e-6e5e5edaca4d
Faulting package full name:
Faulting package-relative application ID:

 

My app.json file contains, all of which is the same as the exported values except for the VSS stiuff, not sure why PB cannot get this from it's own workspace?:

{
  "MetaInfo": {
    "IDEVersion": "220",
    "RuntimeVersion": "22.1.0.2828"
  },
  "BuildPlan": {
    "SourceControl": {
      "PreCommand": "",
      "ClearSrcBeforeDownload": false,
      "SVN": [
        {"SrcPath": "","User": "","Password": "","DestPath": "","Proxy": {"Ip": "","Port": 0,"Username": "","Password": ""}}
      ],
      "Git": [
        {"SrcPath": "","User": "","Password": "","DestPath": "","Branch": "","Proxy": {"Ip": "","Port": 0,"Username": "","Password": ""}}
      ],
      "VSS": [
        {"SrcPath": "\\\\psmf1\\Data\\Fileshare\\Development\\source_control\\SHOPDIRECT\\\"$/Shipping\", BAAAAAAA","User": "dpeace","Password": "a","DestPath": "c:\\workspaces\\powerbuilder\\pb2022r3\\shopdirect\\shipping\\pb12application"}
      ],
      "Merging": [
        {"Target": "","LocalProjectPath": "","RefreshPbl": false}
      ],
      "PostCommand": ""
    },
    "BuildJob": {
      "PreCommand": "",
      "Projects": [
        {"Target": "c:\\workspaces\\powerbuilder\\pb2022r3\\shopdirect\\shipping\\pb12application\\ship.pbt","Name": "ship"}
      ],
      "PostCommand": ""
    }
  },
  "Projects": {
    "ship": {
      "ProjectType": 0,
      "//ProjectType": "0: PB Native; 1: PowerClient; 2: PowerServer; 3: PowerServer 1.0; ",
      "General": {
        "ExecutableFileName": "c:\\workspaces\\powerbuilder\\pb2022r3\\shopdirect\\shipping\\pb12application\\ship.exe",
        "ResourceFileName": "c:\\workspaces\\powerbuilder\\pb2022r3\\shopdirect\\shipping\\pb12application\\pfc.pbr",
        "ProjectBuildOptions": {
          "PromptForOverwrite": false,
          "WindowsClassicStyle": true,
          "Rebuild": 1,
          "//Rebuild": "0: Incremental; 1: Full; "
        },
        "CodeGenerationOptions": {
          "Platform": 0,
          "//Platform": "0: 32-bit; 1: 64-bit; ",
          "32Bit": {
            "CodeType": 0,
            "//CodeType": "0: Pcode; 1: Machine code; ",
            "MachineCode": {
              "TraceInformation": false,
              "ErrorContextInformation": false,
              "Optimization": 0,
              "//Optimization": "0: Speed; 1: Space; 2: None; "
            }
          },
          "64Bit": {
            "CodeType": 0,
            "//CodeType": "0: Pcode; "
          },
          "EnableDebugSymbol": true
        }
      },
      "Libraries": [
        {
          "Library": "ship.pbl",
          "GeneralPBD": false,
          "PBRFileName": ""
        },
        {
          "Library": "securfix.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "debug.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "shipx.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "shipm.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "shipn.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "shipd.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "shipw.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfeapsrv.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfedwsrv.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfemain.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfeutil.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfewnsrv.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfcutil.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfcdwsrv.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfcmain.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfcapsrv.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfcwnsrv.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        }
      ],
      "Version": {
        "PropertiesDisplayedForExecutable": {
          "ProductName": "PowerBuilder Enterprise Series",
          "CompanyName": "Sybase, Inc.",
          "Description": "Sybase, Inc. Product File",
          "Copyright": "",
          "ProductVersion": "1,0,0,1",
          "FileVersion": "1,0,0,1"
        },
        "ExecutableVersionUsedByInstaller": {
          "ProductVersion": [
            1,
            0,
            0,
            1
          ],
          "FileVersion": [
            1,
            0,
            0,
            1
          ]
        }
      },
      "Security": {
        "ManifestInformation": {
          "GenerateOptions": 0,
          "//GenerateOptions": "0: No manifest; 1: Embedded Manifest; 2: External manifest; ",
          "ExecutionLevel": 0,
          "//ExecutionLevel": "0: As Invoker; 1: Highest Available; 2: Require Administrator; ",
          "AllowAccessToProtectedSystemUI": false
        }
      },
      "Run": {
        "Application": "c:\\workspaces\\powerbuilder\\pb2022r3\\shopdirect\\shipping\\pb12application\\ship.exe",
        "Arguments": "",
        "StartIn": "",
        "RuntimePathInApplicationXML": "C:\\Program Files (x86)\\Appeon\\Common\\PowerBuilder\\Runtime 22.1.0.2828"
      }
    }
  }
}

 

 

====================================================================

Your thoughts please?

Accepted Answer
David Peace Accepted Answer Pending Moderation
  1. Thursday, 9 May 2024 09:06 AM UTC
  2. PowerBuilder
  3. # Permalink

Just for info if someone comes back to this. The PBAutoBuild.exe will only work with Microsoft Visual SourceSafe 2006 (Version 8.0). Whereas PB works fine with Version 6.0.

I upgraded the VSS and the problem was solved.

 

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 9 May 2024 19:00 PM UTC
Hi David;

Thanks for the update!

You need to move on SCM wise though as VSS was deprecated in 2005 and discontinued in 2012 by Microsoft. ;-)

Regards .. Chris
  1. Helpful
  1. David Peace
  2. Tuesday, 21 May 2024 13:05 PM UTC
Ha Ha Chris,

I have yet to find an alternative that works for us.
  1. Helpful
There are no comments made yet.
David Peace Accepted Answer Pending Moderation
  1. Thursday, 21 December 2023 10:17 AM UTC
  2. PowerBuilder
  3. # 1

More data from the Windows Error Reporting, hopefull appeon can throw some light on this?

============================================================

 

Version=1
EventType=BEX
EventTime=133476272207549668
ReportType=2
Consent=1
UploadTime=133476272210674690
ReportStatus=268435456
ReportIdentifier=5ca7fa46-4c3a-49cc-879a-8623b1834234
IntegratorReportIdentifier=b82eea2b-e5d3-4385-b093-8430bf9a9189
Wow64Host=34404
Wow64Guest=332
NsAppName=pbautobuild220.exe
AppSessionGuid=0000086c-0002-0008-29cf-975ef633da01
TargetAppId=W:0006aed39009b32b694d7404d71990e796ef00000408!0000c9019293f4fb87e7c45b0534e27392b192d0f9e6!pbautobuild220.exe
TargetAppVer=2023//10//19:14:23:32!33311!pbautobuild220.exe
BootId=4294967295
TargetAsId=376
IsFatal=1
EtwNonCollectReason=1
Response.BucketId=2c034ea37708788ab909f7d1a242e88b
Response.BucketTable=5
Response.LegacyBucketId=1804245605481113739
Response.type=4
Sig[0].Name=Application Name
Sig[0].Value=pbautobuild220.exe
Sig[1].Name=Application Version
Sig[1].Value=22.1.0.2828
Sig[2].Name=Application Timestamp
Sig[2].Value=65313be4
Sig[3].Name=Fault Module Name
Sig[3].Value=StackHash_2beb
Sig[4].Name=Fault Module Version
Sig[4].Value=0.0.0.0
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=00000000
Sig[6].Name=Exception Offset
Sig[6].Value=PCH_60_FROM_ntdll+0x000744AC
Sig[7].Name=Exception Code
Sig[7].Value=c0000005
Sig[8].Name=Exception Data
Sig[8].Value=00000008
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=10.0.20348.2.0.0.400.8
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=2057
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=2beb
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=2beba6fb4680d73a8c78ca7c24ccdb46
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=fc09
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=fc094c8e51b895a535a84c51889e1e19
UI[2]=C:\Program Files (x86)\Appeon\PowerBuilderUtilities 22.0\pbautobuild220.exe
LoadedModule[0]=C:\Program Files (x86)\Appeon\PowerBuilderUtilities 22.0\pbautobuild220.exe
LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\Windows\System32\KERNEL32.DLL
LoadedModule[3]=C:\Windows\System32\KERNELBASE.dll
LoadedModule[4]=C:\Windows\System32\USER32.dll
LoadedModule[5]=C:\Windows\System32\win32u.dll
LoadedModule[6]=C:\Windows\System32\GDI32.dll
LoadedModule[7]=C:\Windows\System32\gdi32full.dll
LoadedModule[8]=C:\Windows\System32\msvcp_win.dll
LoadedModule[9]=C:\Windows\System32\ucrtbase.dll
LoadedModule[10]=C:\Windows\System32\ADVAPI32.dll
LoadedModule[11]=C:\Windows\System32\msvcrt.dll
LoadedModule[12]=C:\Windows\System32\sechost.dll
LoadedModule[13]=C:\Windows\System32\RPCRT4.dll
LoadedModule[14]=C:\Windows\System32\SHELL32.dll
LoadedModule[15]=C:\Windows\System32\ole32.dll
LoadedModule[16]=C:\Windows\System32\combase.dll
LoadedModule[17]=C:\Windows\System32\SHLWAPI.dll
LoadedModule[18]=C:\Program Files (x86)\Appeon\PowerBuilderUtilities 22.0\MSVCP140.dll
LoadedModule[19]=C:\Program Files (x86)\Appeon\PowerBuilderUtilities 22.0\VCRUNTIME140.dll
LoadedModule[20]=C:\Windows\System32\IMM32.DLL
LoadedModule[21]=C:\Program Files (x86)\Appeon\PowerBuilderUtilities 22.0\PBDevProxy.dll
LoadedModule[22]=C:\Program Files (x86)\Appeon\PowerBuilderUtilities 22.0\ijwhost.dll
LoadedModule[23]=C:\Program Files (x86)\dotnet\host\fxr\6.0.5\hostfxr.dll
LoadedModule[24]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\hostpolicy.dll
LoadedModule[25]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\coreclr.dll
LoadedModule[26]=C:\Windows\System32\OLEAUT32.dll
LoadedModule[27]=C:\Windows\System32\bcryptPrimitives.dll
LoadedModule[28]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\System.Private.CoreLib.dll
LoadedModule[29]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\clrjit.dll
LoadedModule[30]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\System.Runtime.dll
LoadedModule[31]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\System.Threading.dll
LoadedModule[32]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\System.Runtime.Extensions.dll
LoadedModule[33]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\System.Runtime.InteropServices.dll
LoadedModule[34]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\System.Collections.NonGeneric.dll
LoadedModule[35]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\System.Runtime.CompilerServices.VisualC.dll
LoadedModule[36]=C:\Windows\SYSTEM32\kernel.appcore.dll
LoadedModule[37]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\System.Text.Json.dll
LoadedModule[38]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\System.Memory.dll
LoadedModule[39]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\System.Text.Encoding.Extensions.dll
LoadedModule[40]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\System.Numerics.Vectors.dll
LoadedModule[41]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\System.Runtime.CompilerServices.Unsafe.dll
LoadedModule[42]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\System.Collections.dll
LoadedModule[43]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\System.Collections.Concurrent.dll
LoadedModule[44]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\System.Text.Encodings.Web.dll
LoadedModule[45]=C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.5\System.Runtime.Intrinsics.dll
LoadedModule[46]=C:\Program Files (x86)\Microsoft Visual Studio\Common\VSS\win32\SSSCC.DLL
LoadedModule[47]=C:\Windows\System32\comdlg32.dll
LoadedModule[48]=C:\Windows\System32\shcore.dll
LoadedModule[49]=C:\Windows\SYSTEM32\MPR.dll
LoadedModule[50]=C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.20348.2110_none_7f20e14a2add3406\COMCTL32.dll
LoadedModule[51]=C:\Windows\SYSTEM32\WINSPOOL.DRV
LoadedModule[52]=C:\Program Files (x86)\Microsoft Visual Studio\Common\VSS\win32\ssus.dll
LoadedModule[53]=C:\Windows\system32\uxtheme.dll
LoadedModule[54]=C:\Windows\SYSTEM32\SspiCli.dll
State[0].Key=Transport.DoneStage1
State[0].Value=1
OsInfo[0].Key=vermaj
OsInfo[0].Value=10
OsInfo[1].Key=vermin
OsInfo[1].Value=0
OsInfo[2].Key=verbld
OsInfo[2].Value=20348
OsInfo[3].Key=ubr
OsInfo[3].Value=2159
OsInfo[4].Key=versp
OsInfo[4].Value=0
OsInfo[5].Key=arch
OsInfo[5].Value=9
OsInfo[6].Key=lcid
OsInfo[6].Value=2057
OsInfo[7].Key=geoid
OsInfo[7].Value=242
OsInfo[8].Key=sku
OsInfo[8].Value=8
OsInfo[9].Key=domain
OsInfo[9].Value=1
OsInfo[10].Key=prodsuite
OsInfo[10].Value=400
OsInfo[11].Key=ntprodtype
OsInfo[11].Value=3
OsInfo[12].Key=platid
OsInfo[12].Value=10
OsInfo[13].Key=sr
OsInfo[13].Value=0
OsInfo[14].Key=tmsi
OsInfo[14].Value=2617
OsInfo[15].Key=osinsty
OsInfo[15].Value=2
OsInfo[16].Key=iever
OsInfo[16].Value=11.1.20348.0-11.0.1000
OsInfo[17].Key=portos
OsInfo[17].Value=0
OsInfo[18].Key=ram
OsInfo[18].Value=2048
OsInfo[19].Key=svolsz
OsInfo[19].Value=126
OsInfo[20].Key=wimbt
OsInfo[20].Value=0
OsInfo[21].Key=blddt
OsInfo[21].Value=210507
OsInfo[22].Key=bldtm
OsInfo[22].Value=1500
OsInfo[23].Key=bldbrch
OsInfo[23].Value=fe_release
OsInfo[24].Key=bldchk
OsInfo[24].Value=0
OsInfo[25].Key=wpvermaj
OsInfo[25].Value=0
OsInfo[26].Key=wpvermin
OsInfo[26].Value=0
OsInfo[27].Key=wpbuildmaj
OsInfo[27].Value=0
OsInfo[28].Key=wpbuildmin
OsInfo[28].Value=0
OsInfo[29].Key=osver
OsInfo[29].Value=10.0.20348.2159.amd64fre.fe_release.210507-1500
OsInfo[30].Key=buildflightid
OsInfo[31].Key=edition
OsInfo[31].Value=ServerDatacenter
OsInfo[32].Key=ring
OsInfo[32].Value=Retail
OsInfo[33].Key=expid
OsInfo[34].Key=fconid
OsInfo[34].Value=35681102,0,1,0
OsInfo[35].Key=containerid
OsInfo[36].Key=containertype
OsInfo[37].Key=edu
OsInfo[37].Value=0
OsInfo[38].Key=servicinginprogress
OsInfo[38].Value=0
FriendlyEventName=Stopped working
ConsentKey=BEX
AppName=Appeon PowerBuilder 2022 R2
AppPath=C:\Program Files (x86)\Appeon\PowerBuilderUtilities 22.0\pbautobuild220.exe
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=A298B35507A56A20565F5C958C501653
MetadataHash=-1700336640

Comment
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Wednesday, 20 December 2023 12:43 PM UTC
  2. PowerBuilder
  3. # 2

Hi.

For the first issue you mentioned, I believe that to use PBAutoBuild220 you need to install only PowerBuilderUtilities and the appropriate PowerBuilderRuntime.

Sorry, but never tried to get changes from VSS using PBAutoBuild220, as we moved to git some years ago.

Andreas.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.