OnSwitchView Security Error - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

OnSwitchView Security Error

Last post 03-19-2007 09:47 AM by Greg Collins. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-19-2007 02:12 AM

    OnSwitchView Security Error

    Hi All,

    I'm revisiting an old InfoPath 2003 form I did a while ago and, now that I've got .NET Framework version 2.0 installed, my OnLoad event doesn't seem to get invoked and I receive this exception when ever I change view:

    System.Security.VerificationException
    Operation could destabilize the runtime.
    at NewStart_Project.NewStart_Project.OnSwitchView(DocEvent e)
    at Microsoft.Office.Interop.InfoPath.SemiTrust._XDocumentEventSink2_SinkHelper.OnSwitchView(DocEvent pEvent)

    Has anyone seen this before?

    Thanks,
    David.
  • 02-19-2007 09:46 AM In reply to

    Re: OnSwitchView Security Error

    I've not seen the error before, but what line of code is causing the error? Have you traced this through the debugger?
  • 03-19-2007 01:49 AM In reply to

    Re: OnSwitchView Security Error

    Sorry for the delay, I'd been dragged onto another project...

    I can't debug the session on this PC for some reason. I'm having a nightmare with this dev environment, I'll try to sort that out and get back to you.
  • 03-19-2007 09:47 AM In reply to

    Re: OnSwitchView Security Error

    Thanks.
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.