Forum Discussion

Cottontech's avatar
Cottontech
Contributing User
10 months ago

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

Replies have been turned off for this discussion
  • 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's avatar
    JeremyF
    Experienced User

    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's avatar
      Genreve_S
      MYOB Moderator

      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's avatar
    Cottontech
    Contributing User

    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 :D

    • Genreve_S's avatar
      Genreve_S
      MYOB Moderator

      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