This will most likely be related to the EXSLT references. In 4.9, they were moved out of the core code and put into the /config/xsltExtensions.config file.
Yes, that's what I was thinking :-) I have simply copied over the 4.9 config files and dll files. I've also tried to delete them from my site and then copying over the 4.9 config files, just to be sure.
I've checked that the new xslt extensions are in the xsltExtensions.config which they are :-)
I'm sure I've just done something wrong here.. just can't think of what I would be.
Looks like *something* is wrong with the umbraco.presentation assembly (?) since the xslt creation error also referred to that. I've tried to delete all dll's again and then copy over the 4.9 dlls, with no luck.
Soo... the search goes on :-) If anyone knows what I am missing, please let me know.
Seems that you cannot simply add other projects as a reference to the Umbraco website in Visual Studio and then build the other projects for copying dll's... for some reason I can't explain :-)
Deleted all of my own dlls from the site, removed the references i Visual Studio to my other projects, set up post build events with XCOPY and everything runs as it should now. Lesson learned!
Still would like to know why it's not possible to make a reference to other projects in VS.
I have the same issue. I use my own dll with alot of functions I use, but that dll does not have a reference to any umb dlls. I remove the dll and it works fine. I really need the functionality, so how do I use my own dlls in an umbraco installation?
Well, I figured it out. Had a reference in the dll to another dll that wasn't there. Has been working in older versions, but 4.9 would not accept this. :-)
Can't create new XSLT files after upgrading from 4.8 to 4.9
Hi all,
I've upgraded a site from v. 4.8 to 4.9 and everything went as it should. However, I can't create new XSLT files anymore after the upgrade :-/
When clicking "Create" after typing in the name of the XSLT file I get the following nullpointer exception:
Anyone had this problem before and found a fix for it? :-)
Thanks in advance.
All the best,
Bo
Hi Bo,
This will most likely be related to the EXSLT references. In 4.9, they were moved out of the core code and put into the /config/xsltExtensions.config file.
Check the release notes for details of other config changes: https://docs.google.com/document/d/1BoZ10Td7c8bmr-gDaUHqqQQgaqVnhJC0Gk-MyFHLBoY/edit
Cheers, Lee.
Hi Lee,
Yes, that's what I was thinking :-) I have simply copied over the 4.9 config files and dll files. I've also tried to delete them from my site and then copying over the 4.9 config files, just to be sure.
I've checked that the new xslt extensions are in the xsltExtensions.config which they are :-)
I'm sure I've just done something wrong here.. just can't think of what I would be.
Thanks again.
- Bo
Looking at the code, the null reference would probably be related to parsing the xml file. Are there any typos in there? (Can you copy it here?)
Sure thing, here's the xsltExtensions.config:
Thanks again :-)
Hmm, that looks fine. i just tried to see if I could provoke a null reference, but no luck. Only other bet I have is permissions. :-/
Or hooking up a debugger with the source to see what is going on...
Thanks Morten!
I've doublechecked the permissions now and it's looking just fine :-) Can also create Razor files, so I guess that permissions are all good.
This is not the only issue I'm having. When clicking on a folder in the media section I get a 500 server error when trying to reach:
/base/FolderBrowserService/GetChildren/1141?_=1347399317726
With the following exception:
Looks like *something* is wrong with the umbraco.presentation assembly (?) since the xslt creation error also referred to that. I've tried to delete all dll's again and then copy over the 4.9 dlls, with no luck.
Soo... the search goes on :-) If anyone knows what I am missing, please let me know.
Thanks again!
- Bo
Found the issue:
Seems that you cannot simply add other projects as a reference to the Umbraco website in Visual Studio and then build the other projects for copying dll's... for some reason I can't explain :-)
Deleted all of my own dlls from the site, removed the references i Visual Studio to my other projects, set up post build events with XCOPY and everything runs as it should now. Lesson learned!
Still would like to know why it's not possible to make a reference to other projects in VS.
- Bo
I have the same issue. I use my own dll with alot of functions I use, but that dll does not have a reference to any umb dlls. I remove the dll and it works fine. I really need the functionality, so how do I use my own dlls in an umbraco installation?
Well, I figured it out. Had a reference in the dll to another dll that wasn't there. Has been working in older versions, but 4.9 would not accept this. :-)
I had this happen due to Lucene.Net.Contrib.Highlighter.dll being in my bin which I guess must've been referencing the old version of Lucene
is working on a reply...