GetXMLMap() failed !!! - File content.xml does not exists!


Well first of all I would like to thank you for this great tool, it is exactly what I need but unfortunately I dont get it to work in my own solution. It works when I use the demo solution, but when I want to implement it in my own solution it doesnt find the file. Even when I make a whole new solution and add the .csproj it wont work. Could you explain what I am doing wrong?
Thanks in advance,


rorschag wrote Jan 24, 2011 at 8:08 PM

Finally found it, so I thought I would share my solution with you. In the code behind function GetXMLMap I replaced a small piece of code with the following:
            string path = HttpContext.Current.Server.MapPath(webconfigloc);
            if (File.Exists(path))
                nodes = _builder.Build(path);
                _xmlmapJSON = js.Serialize(nodes);
                throw new ApplicationException("File " + webconfigloc + " does not exists!");
Still not sure why it worked in the original demo, but this works for me.

Keep up the good work!

wrote Feb 14, 2013 at 7:31 PM