C# App has worked for years (MYOB.AccountRight.SDK.dll) Upgrade forced, now broken

This thread is now closed to new comments.
Some of the links and information provided in this thread may no longer be available or relevant.
If you have a question please start a new post.
Cottontech
Contributing User
8 Posts
Contributing User
Australia
Contributing User

8Posts

4Kudos

0Solutions

C# App has worked for years (MYOB.AccountRight.SDK.dll) Upgrade forced, now broken

Using 2019 version for years, MYOB forced upgrade to current model. Was working OK for a week but now throws 404 error. Authentication passes OK (401 not thrown) so underlying connectivity correct but any querying of invoice pages or anything else throws 404. 

 

Any suggestions before I do a deep dive ?

 

? ex
{"The remote server returned an error: (404) Not Found."}
Data: {System.Collections.ListDictionaryInternal}
HResult: -2146233079
HelpLink: null
InnerException: null
Message: "The remote server returned an error: (404) Not Found."
Response: {System.Net.HttpWebResponse}
Source: "System"
StackTrace: " at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)\r\n at MYOB.AccountRight.SDK.Communication.BaseRequestHandler.HandleResponseCallback[T,TResp](IAsyncResult asynchronousResult)"
Status: ProtocolError
TargetSite: {System.Net.WebResponse EndGetResponse(System.IAsyncResult)}

5 REPLIES 5
Genreve_S
MYOB Moderator
2,908 Posts
MYOB Moderator
MYOB Moderator

2,908Posts

90Kudos

387Solutions

Re: C# App has worked for years (MYOB.AccountRight.SDK.dll) Upgrade forced, now broken

Hi @Cottontech


Thanks for posting. 

 

I'm sorry to hear about your issue. Since the issue is about AccountRight in a server, you will need help from a specialist for a server version of AccountRight. I would suggest calling phone support for help on this one. Here is the phone number 1300555123.

 

In the meantime, let us know if you need any other assistance. 

 

Cheers, 
Genreve

JeremyF
Experienced User
35 Posts
Experienced User
Experienced User

35Posts

4Kudos

4Solutions

Re: C# App has worked for years (MYOB.AccountRight.SDK.dll) Upgrade forced, now broken

This could be an issue I came across with HTTP 1 v HTTP2 responses. 

 

It's server dependent.

 

The header information is some times capitalised which can throw errors. 

 

 

Genreve_S
MYOB Moderator
2,908 Posts
MYOB Moderator
MYOB Moderator

2,908Posts

90Kudos

387Solutions

Re: C# App has worked for years (MYOB.AccountRight.SDK.dll) Upgrade forced, now broken

Hi @Cottontech

 

Thanks for your insight. 

 

We appreciate users who help other users in the forum. If @Cottontech can't find any help in the forum, it's best that he speaks to someone on the phone. 

 

Cheers, 
Genreve

Cottontech
Contributing User
8 Posts
Contributing User
Australia
Contributing User

8Posts

4Kudos

0Solutions

Re: C# App has worked for years (MYOB.AccountRight.SDK.dll) Upgrade forced, now broken

Hello, 

 

All sorted. I should have mentioned the URI was LocalHost based so isn't a server problem, all on the same laptop. 
I fixed the issue, notes below:

5/10/23 Currently unable to use eBay tools to interact with MYOB Database since upgrade.
https://my.myob.com.au/Bd/pages/MyProducts.aspx
s/n info:
MYOB AccountRight Standard - 2023.7 - (Serial Number {removed})

Is this the connector ? Am going to try to uninstall MYOB completely and ensure following folders are empty:
C:\Users\{edit}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\ shortcuts inc MYOB AccountRight AddOnConnector
C:\Users\{edit}\AppData\Local\Programs\MYOB\AccountRight\Huxley.Application.exe
C:\Users\{edit}\AppData\Local\Programs\MYOB\AccountRight\app-2023.800.10002
C:\Users\{edit}\AppData\Local\Programs\MYOB\AccountRight\app-2023.800.10002\AddonConnector\MYOB.AccountRight.API.AddOnConnector.exe
C:\Users\{edit}\AppData\Local\Programs\MYOB\AccountRight\app-2023.800.10002\AddonConnector
Also look for adjacent folders from older installations, Search MYOB, and check registry.

Do this and then try to connect again (once successfully operating using MYOB App).
- On Add Remove there are two versions, the recently installed 'upgrade'and the original 2014.2.16.3881. Uninstalled both
- Rebooted, ran C:\Users\{edit}\MYOB Installer\MYOB_AccountRight.exe. Installed and started OK
- Opened current file > Opened OK!
- Look at connector situation > Add on connector running OK
- Try my Application > YES!!!! Everything works !!

 

No idea why it broke but the old Uninstall > Clean-up > Re-install worked. 

 

Thanks for all Smiley Very Happy

Genreve_S
MYOB Moderator
2,908 Posts
MYOB Moderator
MYOB Moderator

2,908Posts

90Kudos

387Solutions

Re: C# App has worked for years (MYOB.AccountRight.SDK.dll) Upgrade forced, now broken

Hi @Cottontech


Thanks for your update. 

 

I'm glad you have fixed the issue. 

 

If you require any other assistance, feel free to post again in the forum. 

 

Cheers,
Genreve

Didn't find your answer here?

Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post