Select.exe Crashes when Compiling Packages

Discussions related to SoftPro Select user interface development.

Moderator: Phil Barton

Post Reply
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Select.exe Crashes when Compiling Packages

Post by roteague »

Since I installed SP7 on my machine, Select.exe is crashing whenever I compile any packages.

Here is the error being reported:

Code: Select all

Error	3	The command "
      copy TG.SoftPro.UI.dll "C:\Program Files\SoftPro\Select\"
      "C:\Program Files\SoftPro\Select\spregpkg.exe" /r /p:TG.SoftPro.UI.dll /rootsuffix:Exp
      "C:\Program Files\SoftPro\Select\Select.exe" /setup /rootsuffix:Exp
" exited with code -532459699.	TG.SoftPro.UI

Error	4	The command "
      copy TG.SoftPro.PrintDispatchHandler.dll "C:\Program Files\SoftPro\Select\"
      "C:\Program Files\SoftPro\Select\spregpkg.exe" /r /p:TG.SoftPro.PrintDispatchHandler.dll /rootsuffix:Exp
      "C:\Program Files\SoftPro\Select\Select.exe" /setup /rootsuffix:Exp
" exited with code -532459699.	TG.SoftPro.PrintDispatchHandler
When I start the VisualStudio debugger against this I get the following:

Code: Select all

Method not found: 'Boolean SoftPro.Select.Shell.IRunningDocumentsManager.SaveDocument(System.Guid, Boolean)'.
I need some help on this.
Robert
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Re: Select.exe Crashes when Compiling Packages

Post by roteague »

I did a repair installation, however, Select is still broken. These are the steps I followed:

1.) When I tried to start Select.exe by itself (outside the compiler, it crashed).

2.) I did a repair install.

3.) Rebooted the computer.

4.) Select.exe started successfully.

5.) Restarted VisualStudio 2008.

6.) Compiling crashed again on Select.exe with the following stack trace in a debugger instance:

Code: Select all

System.MissingMethodException was unhandled
  Message="Method not found: 'Boolean SoftPro.Select.Shell.IRunningDocumentsManager.SaveDocument(System.Guid, Boolean)'."
  Source="mscorlib"
  StackTrace:
    Server stack trace: 
       at SoftPro.Select.RootPackage.OnInitialize()
       at SoftPro.Select.Shell.Package.SoftPro.Select.Shell.IPackage.Initialize(IServiceProvider sp)
       at SoftPro.Select.Runtime.OnInitialize()
       at SoftPro.Select.Runtime.Start()
       at SoftPro.Select.Automation.EnvICE.Start()
       at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target, Boolean fExecuteInContext)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at SoftPro.Select.Automation.EnvICE.Start()
       at SoftPro.Select.Automation.EnvICE.Run(String rootSuffix, Boolean noSplash, Boolean setupMode, Boolean log, Boolean embedding, Dictionary`2 args, String freeArg)
       at SoftPro.Select.Program.Main(String[] args)
  InnerException: 
VisualStudio return:

Code: Select all

Error	3	The command "
      copy TG.SoftPro.UI.dll "C:\Program Files\SoftPro\Select\"
      "C:\Program Files\SoftPro\Select\spregpkg.exe" /r /p:TG.SoftPro.UI.dll /rootsuffix:Exp
      "C:\Program Files\SoftPro\Select\Select.exe" /setup /rootsuffix:Exp
" exited with code -532459699.	TG.SoftPro.UI
7.) Exited VisualStudio.

8.) Attempted to rerun Select.exe from outside the compiler (it crashed, with the same error seen above).
Robert
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Re: Select.exe Crashes when Compiling Packages

Post by roteague »

Rebooted the computer without reparing the install. Select.exe still crashes.

SoftPro.Select.Shell.dll is version: 2.2.20912.70
Robert
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Re: Select.exe Crashes when Compiling Packages

Post by roteague »

Ok, here is what I think is the problem. My VisualStudio project is referencing the SDK version of the file. Whenever, I recompile, it pushes the old version back into the SoftPro install directory. The SP7 release doesn't contain an SDK install, which is why I didn't reinstall it, like I normally do with the installs.
Robert
John Morris
Posts: 411
Joined: Thu Sep 11, 2008 11:35 am
Location: Raleigh, NC, USA
Contact:

Re: Select.exe Crashes when Compiling Packages

Post by John Morris »

You need the version of the SDK that matches your Select version. If you have SoftPro Select v2.2 SP7, you need the matching SDK version (SP7).

Once you install that version, the issue should go away.
John Morris
Sr. Software Architect
SoftPro
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Re: Select.exe Crashes when Compiling Packages

Post by roteague »

John Morris wrote:You need the version of the SDK that matches your Select version. If you have SoftPro Select v2.2 SP7, you need the matching SDK version (SP7).

Once you install that version, the issue should go away.
Thanks John. I got the updated SP7 SDK and installed it, the versions now match.
Robert
Post Reply