i have developed program talks xero in .net. when run program vs, communicates xero , works without problem when publish web application, cannot make communication xero.
the error 'an internal error occurred' relating xero certificate yet when run vs work without problem.
the certificate inside folder.
x509certificate2 privatecertificate = new x509certificate2(@"c:\sslcertificate\\public_privatekey.pfx", "xxxxxx"); ioauthsession consumersession = new xeroapiprivatesession("myapitestsoftware", "xxxxxxxxxxxxxxxxxxxxxxx", privatecertificate); consumersession.messagelogger = new debugmessagelogger(); thanks saj
more user web app executing under doesn't have access directory.
look @ iis configuration give application pool identity read access c:\sslcertificate\ directory.
Comments
Post a Comment