Application Error on exit


Author
Message
Larry Caylor
Larry Caylor
StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K

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

 

Attachments
SFTES1b.png (283 views, 12.00 KB)
SFTest1c.png (251 views, 19.00 KB)
SFTest1d.png (266 views, 92.00 KB)
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Larry,

How are you getting the exception in the designer?  As we have both experienced, these types of errors are very hard to diagnose since they are generally not created by the environment that is getting the error...just manifested there.

How long have you been getting this?  Can you reproduce on more than one computer? Also, what are the exact steps to reproduce?  Last question, is BatchTrackerWIN.exe something that you have loaded on your machine or is this your assembly EXE?

Sorry for all of the questions, but I have seen exception error a thousand times in my life and it is generally caused by something outside of the environment.

Larry Caylor
Larry Caylor
StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K

My problem started with an application that was just deployed. I’m getting an error when the application is closed. This only happens the first time after the initial run of the program where the Connection Wizard is used to configure the connection. After closing the error window I saw that the app was still alive in Task Manager and killed the process.   Re-running the app a second time without running the connection wizard allows the application to exit with no errors.

 

I went back to the development environment and created a simple app to see if happen there. Attached is screenshot of the error I received there.  

 

-Larry

 

Attachments
strataframe_app.png (318 views, 134.00 KB)
SFTEst1Error.png (300 views, 35.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search