This project is read-only.

Doesn't work in CRM 2015 Update 0.2


If you import this solution in CRM 2015 Update 0.2 and later you refresh the UI you get this error:
<Message>El objeto no acepta la propiedad o el método 'selectNodes'</Message>

I think that the solution is not imported with all ribbon customizations, and therefore the SiteMap Document is not generated successfully... It's strange because CRM don't notify us about this issue when it finished to import the solution.
: (


sermoc wrote Feb 16, 2016 at 3:07 PM

In Chrome works well, but in IE 11 you need change the next condition in oneclicknav.js:

if (window.ActiveXObject) {
if (window.ActiveXObject !== undefined) {

Now it works well.
Waiting in CRM 2015 On-Premise the new look & feel that already exists in CRM Online.

klemetsrud wrote Feb 16, 2016 at 10:21 PM

Yes it appears to work in Edge and Chrome just fine, but we do get that error in the developer tools. I tried putting your fix in by editing the file in the solution in notepad and replacing the 2 items, with what you suggested but that doesn't seem to work. Would you mind outlining exactly how you were able to fix it yourself manually?


sermoc wrote Feb 17, 2016 at 8:58 AM

you must replace it in (window.ActiveXObject && typeof n.selectSingleNode != "undefined") too.

Check the source code. You must find 3 occurrences by "window.ActiveXObject".

If above does not help, What error are you getting?


klemetsrud wrote Feb 17, 2016 at 1:52 PM

That is more my question. Are we to take the source code and do all the changes there and re-package it OR can we simply download the managed solution, open the resource file with a text editor and replace it there and then push the solution?

We tried the second thing I said, and it didn't seem to fix the issue. Also, are you sure it's !== undefined?

or is it != "undefined".


klemetsrud wrote Feb 17, 2016 at 3:00 PM

It does say similar here:

So it looks like it is !==, sorry. I'll see if we can make that work at all using method 2, if not we may have to go with the source code perhaps?

klemetsrud wrote Feb 17, 2016 at 5:04 PM

It turns out we were not re-zipping the file properly or something of that nature. The people I was working with edited the file from the managed solution and added the syntax exactly as you said in 3 locations in the file..and then overwrote the file in the zip, apparently this step was lost on previous attempts. It is indeed working.

Thank you!

jeverett wrote Jun 17, 2016 at 4:38 PM

I downloaded the solution to attempt to apply this fix but when I open it it prompts for tfs credentials since the project is under source control. How did you get around that without credentials?