
Unhandled exception vb.net
Hi Richard --
It sounds like you might be getting a SQL exception or are attempting to
access some resources from a partially trusted application or location. I
would recommend that you wrap the InitializeComponent, which is presumably
in the designer generated code, and look at the "inner exception".
Write this code:
Try
InitializeComponent()
Catch ex As Exception
Stop
End Try
Then stop on the line shown and type: ?ex.InnerException in the immediate
window.
Thanks,
Amanda
VB .NET
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Quote:
> I am getting the following error when running a simple application
usinADO.
> An unhandled exception of type 'System.Security.SecurityException'
occurred
> in WindowsApplication8.exe
> Additional information: Request failed.
> The line of code generating the error is:
> InitializeComponent()
> Any help will be appreciated.