﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » Application Error on exit</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sat, 30 May 2026 21:12:45 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost5744.aspx</link><description>And if the error message wasn't so esoteric, then we might have figured it out sooner :)</description><pubDate>Thu, 11 Jan 2007 11:43:42 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>Application Error on exit</title><link>http://forum.strataframe.net/FindPost4465.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;My problem started with an application that was just deployed. I’m getting an error when the application is closed. &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;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.&amp;nbsp;&amp;nbsp; Re-running the app a second time without running the connection wizard allows the application to exit with no errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;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.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;-Larry&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;/SPAN&gt;&amp;nbsp;</description><pubDate>Thu, 11 Jan 2007 11:43:42 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost5728.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Not that I like to wish problems on other people, but it’s nice to know there is at least one other person who experienced this problem. &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;It was extremely frustrating as I could reproduce it 100% of the time on every PC that I tired in our organization and it never seemed to show up anywhere else. &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;I suspect that other people may have had the problem but wrote it off as a VS2005 glitch since it only happened under certain conditions. &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Ultimately the SF guys came through with a solution, as they always do, and we can move on to the next challenge:)&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;</description><pubDate>Wed, 10 Jan 2007 14:57:59 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost5725.aspx</link><description>Glad I found this&amp;nbsp;I was having the same issue...:) nice when someone else figures it out.</description><pubDate>Wed, 10 Jan 2007 13:13:02 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost5707.aspx</link><description>Good to hear :D&amp;nbsp; I'll add that line to the template.</description><pubDate>Tue, 09 Jan 2007 14:11:01 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost5706.aspx</link><description>Wow... &amp;nbsp;Fantastic:D That fixed the problem. I have this app deployed on fifty or so PCs and it's been drving me nuts. Thanks!!!!&lt;/P&gt;&lt;P&gt;I'd like to suggest that you add that one line of code to the standard AppMain just in case some other unfortunate individual runs into this&lt;/P&gt;&lt;P&gt;-Larry</description><pubDate>Tue, 09 Jan 2007 14:05:15 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost5705.aspx</link><description>OK, then, if you don't need session locking, then just leave it out.&amp;nbsp; If you do need session locking, then add the following line to right after the call to StrataFrameApplication.RunApplication() within the Main() method and see if it fixes the problem:&lt;/P&gt;&lt;P&gt;SessionLock.StopSessionMonitoring();&lt;/P&gt;&lt;P&gt;The SessionLock class uses some low-level OS hooks to trap the mouse and keyboard input to determine when the session is idle... looks like your MDAs are catching the error and displaying it.</description><pubDate>Tue, 09 Jan 2007 13:52:19 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost5704.aspx</link><description>&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;You're on to something; comment out that line and no exception on exit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;-Larry&lt;/SPAN&gt;</description><pubDate>Tue, 09 Jan 2007 13:49:15 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost5701.aspx</link><description>Wow, still no dice... works fine for me.&amp;nbsp; Try this:&lt;/P&gt;&lt;P&gt;comment out the line within the InitApplication() method that calls the StartSessionMonitoring() on the SessionLock class and see if you still get the error.</description><pubDate>Tue, 09 Jan 2007 13:23:37 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost5700.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;The issue with the unknown software exception is continuing to cause problems. It’s now showing up in other parts of my application. I have an Active Reports viewer control in the application. When I go to print the report, a standard printer dialog is displayed. If I simply click print, the report is printed and when I exit the program, it terminates normally. However if I open the dialog, make some changes to the printer settings, and then cancel the printer dialog, when I close the program I get an application exception at the same location as when working with the connection wizard. Performing the same steps with Active Reports outside of a StrataFrame application does not produce the error. &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;I’ve attached an example of a project that displays the exception. It’s nothing more than a SF windows application with role based security that contains a SF main form. I’d like to know if you get the same error when performing the following steps. Again this error only happens in SF application with role based security. An application without role based security does not have this problem.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Run app in debug&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Database Connection Wizard is displayed&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Click Next&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Select any database (there are no business objects)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Click Next&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Click Finish&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;On login screen, click Exit&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Program aborts with an unknown exception. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;</description><pubDate>Tue, 09 Jan 2007 13:14:39 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost4706.aspx</link><description>One thing that you could do is just create an external encrypted file that has your connection info and load it up manually and set the DataSources yourself.&amp;nbsp; This is basically all the Shared Settings file does.&amp;nbsp; I will try to reproduce this again....so far no luck :ermm:</description><pubDate>Tue, 21 Nov 2006 15:43:36 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost4703.aspx</link><description>It makes no difference if I enter the connection information manually or use a shared settings file.&amp;nbsp;The only thing that matters is that a connection is added or edited in the Connection Wizard and that the project is a SF&amp;nbsp;Windows application with security.&amp;nbsp;In every test I've run if&amp;nbsp;the Connection Wizard is used to add or edit a connection and the application uses SF security, I'll get an application exception when I exit the application.&lt;/P&gt;&lt;P&gt;-Larry&amp;nbsp;</description><pubDate>Tue, 21 Nov 2006 15:15:19 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost4686.aspx</link><description>Do you get the same error if you do not use a Shared Settings file?</description><pubDate>Mon, 20 Nov 2006 16:55:01 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost4683.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Just in case I didn’t make it clear in my previous posts, when the Connection Wizard is run within an application, you have to either add a new connection or edit the existing one for the exception to occur. Simply selecting another connection from the list of available connections will not produce an exception.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;-Larry &lt;/SPAN&gt;</description><pubDate>Mon, 20 Nov 2006 16:29:02 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost4626.aspx</link><description>Hi Ben,&lt;/P&gt;&lt;P&gt;Here is a little more info. I enabled unmanaged code debugging on my VB test app and the following showed up. It corresponds to the exception I'm getting.&lt;/P&gt;&lt;FONT size=1&gt;&lt;P&gt;The thread 'Win32 Thread' (0x494) has exited with code 0 (0x0).&lt;/P&gt;&lt;P&gt;First-chance exception at 0x7c812a5b in SF1TestVB.exe: 0xC0020001: The string binding is invalid.&lt;/P&gt;&lt;P&gt;-Larry&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Fri, 17 Nov 2006 18:00:40 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost4622.aspx</link><description>It seems to be coming form some sort of unmanaged call that isn't being cleaned up or disposed, or something... I'll take a look at it.&amp;nbsp; Thanks for the additional info.</description><pubDate>Fri, 17 Nov 2006 17:11:03 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost4621.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:City w:st="on"&gt;&lt;st1:place w:st="on"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Trent&lt;/SPAN&gt;&lt;/st1:place&gt;&lt;/st1:City&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;,&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;I do all my development in VB but I thought I run a test in C# and see if the results were any different. My test application is nothing more than a SF Windows app with security and one form, a SF Main form. I’ve added no code to what is generated from the templates. I ran the app, manually entered the connection data in Connection Wizard and clicked on exit when the authorization form was displayed. Attached in a screen shot of the error I received.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;-Larry&lt;/SPAN&gt;</description><pubDate>Fri, 17 Nov 2006 17:05:02 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost4596.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;I’ve tried using the shared settings file and I’ve tried entering the information manually. I’ve also tried copying the shared settings file to a local drive. In all cases I get an application exception when I exit the program. You’re correct that if I just hard code the connection string in AppMain everything works fine. Running the Connection Wizard appears to be the cause of the problem when run in an application that uses SF Security. If I create SF Windows app without security, I can run the Connection Wizard as many times as I want and it doesn’t cause an application exception when exiting the application.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;In my application I’m using SF Security only for password validation. The only restriction we have for our tracking app is that the user is an authenticated user. I haven’t defined any roles or permissions. My Test application contains just one user with no roles or permissions. This doesn’t cause any problems with the app; everything works fine except when the Connection Wizard is run. I did try creating a role and permission for the one user but that didn’t seem to change anything. I’m wondering if I’m missing something when setting up a project with security. It’s driving me nuts that you can’t reproduce this problem when I can 100% of the time on four different development machines running two different operating systems:crazy:. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;-Larry&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;</description><pubDate>Fri, 17 Nov 2006 12:08:18 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost4572.aspx</link><description>All of this looks good.&amp;nbsp; Here is one question though, you mentioned you are using a shared settings file...does the same thing happen if you just manually enter the information in the Connection Wizard and &lt;STRONG&gt;&lt;U&gt;do not&lt;/U&gt;&lt;/STRONG&gt; use the shared settings file?&amp;nbsp; This could be the culprit as it does some stuff in memory and if it is coming from a network drive, I see this being a potential cause of the error since you are getting an exception.&lt;/P&gt;&lt;P&gt;Also, I am assuming that if you manually set the DataSources collection and circumvent the Connection Wizard, you do not get the error...correct?&amp;nbsp; Try taking the shared settings file out of the formula first, then we will go to hard-coding the path.&amp;nbsp; Let's get the error to go away and then we can start adding things back in.&amp;nbsp; Thanks.</description><pubDate>Thu, 16 Nov 2006 19:31:42 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost4570.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:City w:st="on"&gt;&lt;st1:place w:st="on"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Trent&lt;/SPAN&gt;&lt;/st1:place&gt;&lt;/st1:City&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;,&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;I’ve done quite a bit of testing and in all cases I’ve been able to consistently reproduce the application exception I’ve been getting. It is important to note that the exception ONLY occurs on a SF Windows Application with Security. A standard SF Windows Application does not exhibit the problem.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;The exception only happens on exiting the application if the Database Connection Wizard has been run in the current instance, either on startup where the applications data base has not yet been defined or if run from the File menu on a SF Main form. If run from the File menu you must run the wizard all the way through the Finish step for the exception to occur on exiting the application. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;So far I haven’t been able to isolate the cause of this problem. It’s happening on every PC where I try to deploy an app as well as two development PCs that I’ve tested. To eliminate as many variables as possible, I’ve also done the following, once under Windows XP Pro SP2 and once using Windows 2000 Pro SP4. In both cases I received an exception (although at different locations depending on the OS). I could be missing something when I’m setting up the environment and building the test app, but I can’t see what it is. Maybe you can.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Started with a Dell GX280 and reformatted the drive.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Installed Windows XP Professional SP2 with no additional updates&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;No anti-virus software installed on PC&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Installed VS2005 Professional, default install from Dec 2005 Microsoft volume licensing discs. No additional updates or patches installed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Installed SQL Server 2005 STD using Dec 2005 Microsoft volume licensing, all services installed. No additional patches or updates installed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Rebooted PC &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Installed SF v1.5 11/09/06 without DevExpress or Infragistics with StrataFrame DB on local SQL instance&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Created a Security project and added 1 user (used “MySecurityKey” for key)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Ran DDT to create a database that includes 1 table + Security tables, no localization or message tables&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Deployed the new DB to the local SQL instance with the data from the Security project&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Created a new StrataFrame Windows project with security. No modifications to AppMain&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Replaced the standard form with a SF main form. &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;Left name as Form1 with no code added&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;No business objects were added to the project&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Ran program in designer&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;In the connection wizard configured the app to use the new data base with Windows security.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;When the Authorization form is displayed, clicked on Exit&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Program throws an application exception (same as previous posts) &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Clicked on Stop Debugging.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Re-Ran application&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;When the Authorization form is displayed, clicked on Exit&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Application exited with no exception&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Re-Ran application&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Entered ID and password on Authorization form, &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;clicked OK&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Main form is displayed&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Clicked on File, Database Connection menu&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Selected the current connection&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Clicked on Edit&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Ran through the Connection Wizard, leaving the information the same&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Clicked Cancel on the connection windows to close &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Closed the Main form to exit application&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Application exception raised&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.05in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.05in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;All the PCs where I’ve tested running the VS2005 design environment are Dell GX280 or GX620 systems. Deployed systems have been GX620s as well as no-name clones running either Windows XP SP2 or Windows 2000 Pro SP4. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.05in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.05in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;After running the initial test of the bare bones XP machine, I applied all of the latest XP patches and SQL 2005 SP1. &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;The results were still the same. &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;As far as I’m aware there are no SPs for VS2005. I’ve tried using local databases and remote databases. I’ve even taken the development systems off the network. The results are always the same.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.05in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.05in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Any suggestions would be appreciated since the current situation is making deployment of SF applications very difficult (I’m using a shared configuration file). I haven’t tried it yet but I’m assuming that I could work around the issue by hard coding the connection string in AppMain.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.05in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.05in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;-Larry&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;</description><pubDate>Thu, 16 Nov 2006 17:07:28 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost4480.aspx</link><description>Larry,&lt;/P&gt;&lt;P&gt;I know that you do not want to hear this, but I have tested this on two different computers, and spent a fair amount of time on this including last night at home, and I cannot reproduce this.&amp;nbsp; There is something in your application, development, and/or run-time environment that is not playing nice with your assembly.&lt;/P&gt;&lt;P&gt;You know us, we like to fix things :), but we have to be able to reproduce them before we can.&amp;nbsp; Obviously this is an isolated type of thing in your environment otherwise we would be hearing about this from every one of our users....not that it makes you feel any better :ermm:&amp;nbsp; &lt;/P&gt;&lt;P&gt;Have you loaded any type of patch to VS 2005, the OS, or something that could be playing a part here?</description><pubDate>Wed, 15 Nov 2006 09:08:58 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost4467.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Hi Trent,&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;I was pretty sure this wouldn’t be easy. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;In the Designer:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Delete connection data under All Users\Application Data&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Open VS&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;StrataFrame prompts for StrataFrame Data base connection info, enter info&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Open test project, a SF Windows with Security App containing one form and 2 BOs&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Click run in debug&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;SF displays connection Wizard to configure data source for test app, enter data&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.2in; TEXT-INDENT: -0.15in; mso-list: l0 level1 lfo1; tab-stops: list .2in"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;Authentication Form is displayed, Click Exit&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;The message “The exception unknown software exception (0xc002001) occurred in the application at location 0x7c812a5b.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Click on OK to terminate the program.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;(See attachment SFTest1b)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;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.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;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)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;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. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;In Deployment:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;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. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;(See SFTest 1d)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;BatchTracker is the application we’ve put together. It tracks client records through a document imaging process.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;However the tests that I’ve just done were with a very simple test app with one form and couple of BOs. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;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. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;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.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;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.&amp;nbsp;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;-Larry&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f5080"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&amp;nbsp;</description><pubDate>Tue, 14 Nov 2006 23:25:05 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Application Error on exit</title><link>http://forum.strataframe.net/FindPost4466.aspx</link><description>Larry,&lt;/P&gt;&lt;P&gt;How are you getting the exception in the designer?&amp;nbsp; 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.&lt;/P&gt;&lt;P&gt;How long have you been getting this?&amp;nbsp; Can you reproduce on more than one computer? Also, what are the exact steps to reproduce?&amp;nbsp; Last question, is BatchTrackerWIN.exe something that you have loaded on your machine or is this your assembly EXE?&lt;/P&gt;&lt;P&gt;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.</description><pubDate>Tue, 14 Nov 2006 19:44:14 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>