Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting error 2146697208 for some users but not others

Status
Not open for further replies.

mavrick5

Programmer
Jul 31, 2003
2
AU
I have written an ActiveX dll in VB6 to talk to a secure website (https) to submit credit card payment information from our financial system. The dll sends and receives XML from the website. Our application is not browser based. We run our application across 5 terminal servers. I have installed the dll on all servers.

My problem is that if I log in as the administrator and submit a payment, it works fine.
If I log in as myself on the terminal server and submit a payment it again works fine.
However, if any other user tries to submit a payment, they get an unhandled object exception -2146697208. I have even had our network admin try it without success. We have checked permissions on the files and folders and that doesn't appear to be the issue. There seems to be various answers to what is generating the error but I just need to be able to resolve it asap. The error occurs on the objXMLHTTP.send command.

Anyone have any ideas? I know that some websites say it could be a certificate issue, but if that is the case, all users should get the error.

Thanks

mavrick5
 
If you write an app in vb6 sometimes you have to install vb6 in a machine that doesnt work and run the app in the editor to see what is causing it and give you the name of the error.

Or else put in an error routine to capture where the fault occurs with the following in the error routine -
ErrorHandler:
Msgbox Error,vbCritical,"Name of Subroutine"
Resume next
 
I note from Google the error name is
"The download of the specified resource has failed. Error processing"
So it's probably not your app.

Just google search for 2146697208 gives you a lot of ideas.

Does your guests have the same permissions as an administrator?

 
Thanks for the replies tedsmith.

I have googled the error code. It appears to be related to security certificates. If I change my code to serverXMLHTTP to add in the setoption 2 to ignore certificate errors, the error goes away. However the XML file received back is rubbish. I am assuming that the returned XML file is the source of the website rather than the response from the submitted XML file.

I am going to do more research on the XML options I have available.
 
It sounds like you may be using a specific client certificate from this payment processing vendor. Certificates can be installed so that they are per-user, per-machine, per-service, etc.

Is it possible that you have installed this per-user for yourself and the admin account?

Maybe look at To manage certificates for a computer and related articles.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top