Issue 465: Load error (pars error) message
Status:  Done
Owner: ----
Closed:  May 2014
Reported by srinivas...@gmail.com, Dec 17, 2013
What steps will reproduce the problem?
1. in C#.NET, i wrote a WCF service to retrieve the data from database and build tree node
2. in aspx page, i am calling wcf service method using dyna tree init method
3. in my local, it is working fine but when i deploy in web server, getting a message like load error(parse error)





What version of the dynatree and jQuery are you using?
On what operating system and browser?   windows and IE9
What DOCTYPE declaration are you using?

Please provide any additional information below.
Dec 17, 2013
Project Member #1 moo...@wwwendt.de
Sorry, but we need much more information to help, like the exact error logs etc..
Status: Waiting
Labels: Milestone-Release1.2.6
Feb 25, 2014
#2 kiritsha...@gmail.com
Hi, 
I am facing similar issue in IE,
Dynatree code works fine with Firefox and Chrome but not in IE(all Versions),
Steps to reproduce the problem,

1. in C#.NET, i wrote a WCF service to retrieve the data from database and build tree node
2. in aspx page, i am calling wcf service method using dyna tree init method
3. in my local also, it is not working and I get message like "load error(error)"
4. OS:Windows, Browser: IE-10,
   DynaTree Version: jquery.dynatree-1.2.5-all 
Please Reply ASAP.
Error.png
1.6 KB   View   Download
Feb 25, 2014
#3 kiritsha...@gmail.com
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Feb 25, 2014
#4 kiritsha...@gmail.com
Actually My WCF Service is Not Getting Hit when I use IE, But works In Chrome and Firefox 
Here is the Code that I am using,

$(function () {
        // Attach the dynatree widget to an existing <div id="tree"> element
        // and pass the tree options as an argument to the dynatree() function:
        $.support.cors = true;
        $("#tree").dynatree({
            title: "Lazy loading sample",
            fx: { height: "toggle", duration: 200 },
            autoFocus: false, // Set focus to first child, when expanding or lazy-loading.
            // In real life we would call a URL on the server like this:
            // initAjax: {
            //              url: "/getTopLevelNodesAsJson",
            //              data: { mode: "funnyMode" }
            //              },
            // .. but here we use a local file instead:              
            initAjax: {
                url: "http://localhost:8733/Design_Time_Addresses/WcfServiceLibraryForActiveX/FileUpload/DC_VU_UploadGET
                dataType: "json",
                //cache: false,
                error: function (node, XMLHttpRequest, textStatus, errorThrown) {
                    alert(errorThrown);
                }
            },

            onPostInit: function (isReloading, isError) {
                //error(isReloading);
            },

            onActivate: function (node) {
                //$("#echoActive").text("" + node + " (" + node.getKeyPath() + ")");
                alert(node.getKeyPath());
            }            
        });
    });

Please Reply......

May 1, 2014
Project Member #5 moo...@wwwendt.de
maybe because you are *not* setting 
//cache: false,
?
May 10, 2014
Project Member #6 moo...@wwwendt.de
Assuming that solvent it
Status: Done