Error using stylesheets

Auke
Auke Member Posts: 17
Hello,

I have an error:

This message is for C/al programmers:
Invalid assignment. It is nog possible to assign a IXMLDOMDocument2 to a DOMDocument60.

I have tried to debug this problem, but no result.

I am using an 50sp1update2 client with a 3.6 database with added stylesheet functionality.

Calling the functions "By hand" there is no problem. the problem occurs when you use the buttons in the top menu.

Can someone help me?

Kind regards,

Auke

Comments

  • ara3n
    ara3n Member Posts: 9,258
    You are using the wrong versions. Make sure they are all version 6.0

    IXMLDOMDocument2 to a DOMDocument60
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Auke
    Auke Member Posts: 17
    I have re registrated msxml6.dll. Nothing changed.

    I am using the NAV button for word. There is no code executed when you use the debugger :(
  • ara3n
    ara3n Member Posts: 9,258
    what executable version are you using?
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Auke
    Auke Member Posts: 17
    I am using finsql with the following version: 5.0.26084.0

    When i open a native db (also 360 client upgrade to 5.1) there is no problem. same version same machine.
  • ara3n
    ara3n Member Posts: 9,258
    Try newer exe versions.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Auke
    Auke Member Posts: 17
    I do not think that is the solution. When I put it on native on 1 database it works on the other one not. same client
  • ara3n
    ara3n Member Posts: 9,258
    If the debugger isn't starting to show you the error. There isn't much you can do. Try it on test db. It won't hurt.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Auke
    Auke Member Posts: 17
    Just opend a cronus database with the same client and it works fine.

    shoot me, I don't know it anymore.

    It seems like it has something to do with the database, but you cannot debug it :?:
  • ara3n
    ara3n Member Posts: 9,258
    start looking at all the mods and replace them one by one with Cronus objects to find the culprit.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Saalek
    Saalek Member Posts: 181
    Hi

    Try to import again Stylesheets in your DDBB

    Bye
  • JAJ
    JAJ Member Posts: 52
    Auke wrote:
    Just opend a cronus database with the same client and it works fine.

    shoot me, I don't know it anymore.

    It seems like it has something to do with the database, but you cannot debug it :?:


    Hi Auke,

    I have exactly the same issue with the same versions.

    Have you already found a solution?

    Kind regards.
  • Benno67
    Benno67 Member Posts: 39
    Hi Auke,

    We get the same error message when we try to remove Namespaces from a XMLHTTPConnection response.
    Same occurs in Customers environment, beats me, since the removing Namespace tric works fine with other webservice response processing.

    Did you solve it??

    Benno