Notices


Reply
 
LinkBack Thread Tools Display Modes

Old 05-31-2007, 07:56 AM   #1 (permalink)
custom.part

digitalslacker's Avatar

Join Date: Oct 2006
Location: Annapolis, MD
Posts: 331
Rep Power: 3 digitalslacker is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Information Edge (TIE)
- Financial Edge (FE)
- NetCommunity (BBNC)
- Blackbaud Analytics/Researcher's Edge (BBA/TRE)
- API/VBA

COM Exception Error with BBREAPI

I've just recently started having a problem with a custom web service that I wrote to add a Gift into RE via the API. This code was working and all my efforts to find out what's changed have been unsuccessful.
Error:
Code:
 System.Runtime.InteropServices.COMException (0x80040666): Path/File access error at
 Blackbaud.PIA.RE7.BBREAPI.CGiftClass.Save() at USNAWebservices.MasterService.addGift(String
 sConstitID, String sGiftType, String dTotalAmount, String dPaidAmount, String dtPaymentDate, String
 sCamp, String sFund, String sAppeal, String sPayment_Reference, String sPayment_Type, String
 sCardHolderName, String sCC_Num, String sCC_Exp, String sCC_Type, String sAuthCode, String sPay_plan,
 String iNumberOfPayments, String sAnonymous) 
What I know so far:
- The code was working in production for several months. I'm not sure when it broke but the first error was thrown last week.
- We have a development server that the same code is working on. While the environments aren't exactly the same they are very close.
- Our production server is running RE Enterprise but our Dev server is running a standard version of RE. I'm not sure if that's significant or not.
- In production our RE and BBNC database (where the webservice is) server are separate. On Dev they are all on the same box.

One item that i'm working but having trouble with is determining which instance of Blackbaud.PIA.RE7.BBREAPI.dll the API is trying to call. The error seems to indicate there is a Path/File access error. We have RE installed on the server where the web service is running and that DLL is in the PIA folder.

Any help would be appreciated! Thanks guys!

More info:
I put the code that was calling the API into a windows Application in VS and then put it on the server. It ran perfectly...so it seems to only be a problem when the API is called by a webservice....not sure if that turns on any light bulbs for anyone
thanks!
__________________
Garrett Keating
Senior Web Developer
U.S. Naval Academy Alumni Association & Foundation
www.usna.com
customizingNetCommunity.com



Last edited by digitalslacker; 05-31-2007 at 02:17 PM. Reason: more info
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 08-06-2007, 09:58 AM   #2 (permalink)
o o o o o o o o o o o o o o o o o o

JeffMon's Avatar

Join Date: Aug 2006
Location: Charleston, SC
Posts: 54
Rep Power: 3 JeffMon is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Financial Edge (FE)
- API/VBA

Hi Garrett,

Did you get this issue fixed? I know the error type is "Path/File access error", but did you get an explicit error message as well? Using FileMon from SysInternals (now part of M$) should help you identify which files are denying access. A few years ago when developing an RE Web integration I got the error message "Error saving record: The Microsoft Jet database engine cannot open the file 'C:\Program Files\Blackbaud\The Raisers Edge 7\SYSDB\re_sys7.mdb'." To resolve, I had to grant access to the ASP.NET Machine Account.

Jeff
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 08-17-2007, 09:32 AM   #3 (permalink)
custom.part

digitalslacker's Avatar

Join Date: Oct 2006
Location: Annapolis, MD
Posts: 331
Rep Power: 3 digitalslacker is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Information Edge (TIE)
- Financial Edge (FE)
- NetCommunity (BBNC)
- Blackbaud Analytics/Researcher's Edge (BBA/TRE)
- API/VBA

Quote:
Originally Posted by JeffMon View Post
Hi Garrett,

Did you get this issue fixed? I know the error type is "Path/File access error", but did you get an explicit error message as well? Using FileMon from SysInternals (now part of M$) should help you identify which files are denying access. A few years ago when developing an RE Web integration I got the error message "Error saving record: The Microsoft Jet database engine cannot open the file 'C:\Program Files\Blackbaud\The Raisers Edge 7\SYSDB\re_sys7.mdb'." To resolve, I had to grant access to the ASP.NET Machine Account.

Jeff
Yes I did get it fixed. We do use FileMon and ProcMon for troubleshooting. Works great!
I fixed it a while ago and forgot how. I believe that the problem was that when we upgraded to v7.82 the framework swtiched over to .net 2.0 while BBNC was still on 4.1 in 1.1. I updated my refernce with the OLD 1.1 dll and I believe that corrected it.
I cant' be 100% sure at this point. Sorry I should have updated the thread when i corrected the problem.
I'll try harder next time!
__________________
Garrett Keating
Senior Web Developer
U.S. Naval Academy Alumni Association & Foundation
www.usna.com
customizingNetCommunity.com


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
bbreapi, comexception


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Cheap Gas - Loans - United Specialties - Loans
All times are GMT -6. The time now is 02:45 AM.

Miscellaneous


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by BBpixel Team 2008 :: jvbPlugin R1012.364.1

SEO by vBSEO 3.2.0 Copyright 2008 Blackbaud User SocietyAd Management by RedTyger
Inactive Reminders By Icora Web Design

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64