c# - IPP .NET 3.0 SDK Migration Issue: "Could not load type 'Intuit.Ipp.Core.Rest.SyncRestHandler'" -
i'm receiving following error when try create dataservice object. swapped out 2.0 sdk 3.0 , made adjustments detailed in docs. not sure what's going on though. ideas?
"could not load type 'intuit.ipp.core.rest.syncresthandler' assembly 'intuit.ipp.core, version=2.1.7.0, culture=neutral, publickeytoken=null'"
oauthrequestvalidator oauthvalidator = new oauthrequestvalidator(quickbookstoken, quickbookssecrettoken, quickbooksconsumerkey, quickbooksconsumersecret); servicecontext context = new servicecontext(oauthvalidator, quickbooksrealm, intuitservicestype.qbo); //blows here dataservice commonservice = new dataservice(context);
same issue me, , appears working making dataservice plural:
dataservices commonservice = new dataservices(context);
unfortunately, has issue bit further on , limits functionality. example, have errors when attempting use query service, apparently expects dataservice (singular).
method not found: 'void intuit.ipp.core.servicecontext.usedataservices()'.
if can find real answer, post here...
update:
i made new bin/ folder, added new sdk dll files , copied whatever else needed (dotnetoauth etc,). minor changes code, , viola, works.
oauthrequestvalidator oauthvalidator = new oauthrequestvalidator(accesstoken, accesstokensecret, consumerkey, consumersecret); servicecontext context = new servicecontext(realmid, intuitservicestype.qbo, oauthvalidator); dataservice commonservice = new dataservice(context);
Comments
Post a Comment