Hi Trent,
I was pretty sure this wouldn’t be easy.
In the Designer:
· Delete connection data under All Users\Application Data
· Open VS
· StrataFrame prompts for StrataFrame Data base connection info, enter info
· Open test project, a SF Windows with Security App containing one form and 2 BOs
· Click run in debug
· SF displays connection Wizard to configure data source for test app, enter data
· Authentication Form is displayed, Click Exit
The message “The exception unknown software exception (0xc002001) occurred in the application at location 0x7c812a5b. Click on OK to terminate the program. (See attachment SFTest1b)
Even after you click OK, the app continues to run and you either have to click on Stop Debugging or kill the process in Task manager.
The test project has been configured to disable the Visual Studio Hosting process. This results in the same error that I received on the deployed version of my full app. If Visual Studio Hosting Services are enabled, the error is slightly different (See attachment SFTest1c)
Now that the database connection has been established I can start the application and exit at the same point (or anywhere else) with no exceptions.
In Deployment:
If I take the same test app and deploy it to another PC and run the Connection Wizard and exit at the Authorization form I get an exception and the app appears to exit but continues to run in Task Manager.
(See SFTest 1d)
BatchTracker is the application we’ve put together. It tracks client records through a document imaging process. However the tests that I’ve just done were with a very simple test app with one form and couple of BOs.
I’ve seen this exception a few times in VS but it was so infrequent that I didn’t really notice it. So far I tried deploying our tracking app to five different PCs and the results are all the same.
My system is the only one running V1.51 (10/30/06) and no one else has noticed the issue on v1.4. I’m out of the office tomorrow but when I get back I’ll try loading up another development system with 1.51 and see if I can reproduce the error since there is the possibility that there may be a damaged dll on my system. I’ll let you know what I find out.
I just figured I’ve give you guys a shout in case you’d run into the same issue before I build another PC. Layering on all this software on a development machine is a real pain.
-Larry