﻿<?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  » Form-level Security causing application to hang/disappear</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 22 May 2026 11:40:47 GMT</lastBuildDate><ttl>20</ttl><item><title>Form-level Security causing application to hang/disappear</title><link>http://forum.strataframe.net/FindPost29968.aspx</link><description>I am trying to add security to an existing application.&amp;nbsp; In one form, I've added code to the form's CheckSecurity event.&amp;nbsp; If I return a PermissionInfo object set to GRANT, everything works as expected.&amp;nbsp; If I set the PermissionInfo to DENY, along with a message, then the message is displayed correctly but the application just hangs/disappears after the MessageForm closes.&amp;nbsp; Nothing. Zip. The VS2008 debugger shows the application is still running, but the Gateway window is not re-displayed, as normal for my app.&lt;br/&gt;&lt;br/&gt;The FormClosing and FormClosed events don't fire either.&lt;br/&gt;&lt;br/&gt;Any ideas about where to look?&lt;br/&gt;&lt;br/&gt;TIA</description><pubDate>Tue, 10 May 2011 17:24:30 GMT</pubDate><dc:creator>Kirk M Sherhart</dc:creator></item></channel></rss>