Welcome to Forums Sign in | Join | Help | Forums
in Search


Initiating REServices

Last post 07-02-2006 6:31 PM by Chris Thomson. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-02-2006 6:31 PM

    • Chris Thomson
    • Top 500 Contributor
    • Posts 37
    • Organization: Victoria University of Wellington
    • Products:  The Raiser's Edge

    Initiating REServices

    The first time I execute the application (from within .Net) I get the following exception thrown. The Microsoft Jet database engine cannot open the file ~C:\Program Files\Blackbaud\The Raisers Edge 7\SYSDB\requex7.mdb~. It is already opened exclusively by another user, or you need permission to view its data. From the second line of code REServices reService = new REServices(); reService.Init(ref sessionContext); Subsequents execution of the application the exception is not thrown, (until I shut down and restart .Net) I have found a work around which works as an exception is not thrown on the second attempt to initiate the REServices but feels extremely cack-handed. REServices reService = new REServices(); try { reService.Init(ref sessionContext); } catch(System.Exception e) { reService.Init(ref sessionContext); } Any suggestions? Thanks Chris
Page 1 of 1 (1 items)