Magento Error accessing web service.

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Cloud Applications
Post Reply
FashionEPOS
Posts: 1
Joined: Fri 16 Nov 2018 08:34

Magento Error accessing web service.

Post by FashionEPOS » Mon 17 Oct 2022 15:07

Our customer has upgraded their Magento website and we are now receiving the following error.

Code: Select all

Devart.Data.Magento.MagentoException (0x80004005): Error accessing web service. ---> Devart.Data.Magento.MagentoException (0x80004005): Error accessing web service.
   at Devart.Data.f.a[a](Boolean A_0, Int32 A_1, Func`1 A_2)
   at Devart.Data.f.w()
   at Devart.Data.f.w()
   at Devart.Data.i.a(SqlShimConnection A_0)
   at Devart.Data.g.a(DbConnectionOptions A_0, Object A_1, DbConnectionBase A_2)
   at Devart.Common.h.a(j A_0, DbConnectionOptions A_1, DbConnectionBase A_2)
   at Devart.Common.j.a(DbConnectionBase A_0)
   at Devart.Common.j.b(DbConnectionBase A_0)
   at Devart.Common.h.c(DbConnectionBase A_0)
   at Devart.Common.g.a(DbConnectionBase A_0)
   at Devart.Common.DbConnectionBase.a()
   at Devart.Data.Magento.MagentoConnection.Open()
dotConnect for Magento 1.9.1659

This also happens if you try and connect with Entity Developer.

Do you have a list of API calls that are required for Magento?

DmitryGm
Devart Team
Posts: 152
Joined: Fri 11 Dec 2020 10:27

Re: Magento Error accessing web service.

Post by DmitryGm » Tue 18 Oct 2022 08:39

dotConnect for Magento works via Magento API
The API description you can see in the Adobe documentation:
https://magento.redoc.ly/2.4.5-admin/ta ... saddressId

See also "Connecting to Magento" topic:
https://www.devart.com/dotconnect/magen ... cting.html

Service Version connection string parameter - Magento version to connect to - 1.x or 2.x. If you omit this parameter, dotConnect for Magento will try to connect, assuming that target is Magento 1.x;

dotConnect for Magento allows connecting to both Magento 1.x and Magento 2.x version. For connecting to Magento 1.x, you need to specify the API Key parameter. You can find the API Key in the User information section of your Magento dashboard.
For connecting to Magento 2.x, you need to set the Service Version parameter to Ver2 and specify the Password parameter instead of API Key

All the connection properties: ConnectionString Property
https://www.devart.com/dotconnect/magen ... tring.html

Post Reply