|
|
Rank: Newbie
Joined: 9/7/2008 Posts: 17 Location: Houston, TX
|
My site is now not parsing any of my xslt. This happened I think shortly after I imported a FTP Video Upload package and I didnt realize I had already imported the package a while back. Not sure if that would cause any issues. One would hope not. Well here is all the info I have to give if anyone can figure out what went wrong. My site basically dosent work now since all sections where an xslt is used I get the error: Code:Error parsing XSLT file: \xslt\Whateverfilename.xslt When I go into the Developer page on the backend and even try to add a new blank xslt file, I get the following error: Code:Error occured System.ArgumentException: Item has already been added. Key in dictionary: 'urn:XsltHelper' Key being added: 'urn:XsltHelper' at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at System.Collections.Hashtable.Add(Object key, Object value) at System.Xml.Xsl.XsltArgumentList.AddExtensionObject(String namespaceUri, Object extension) at umbraco.macro.AddMacroXsltExtensions() at umbraco.presentation.webservices.codeEditorSave.SaveXslt(String fileName, String fileContents, Boolean ignoreDebugging) Can some kind sole figure out what happened to all my xslt files and hopefully all that work I have been working on isnt lost:( Help me please, Jason
|
|
 Rank: Umbracoholic
Joined: 9/27/2007 Posts: 1,136 Location: Belgium
|
Hi, Just stumbled upon t his blog entry from Kalle. Could it be helpful to you? Regards, /Dirk
level 1 & 2 certified - umbraco MVP 2008/2009 - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
|
|
Rank: Newbie
Joined: 9/7/2008 Posts: 17 Location: Houston, TX
|
I ran across the same article and did what it described but it did not change anything what so ever.
|
|
 Rank: Fanatic
Joined: 7/19/2006 Posts: 496 Location: Göteborg, Sweden
|
Jason, the error I describe in that posting appears when you're saving a macro. But it's possible that your XSLT error has a similar source... Since the XSLTs are stored in the filesystem maybe that there is a temp file or similar that's causing this. Also take a look in the DB if you can find anything about 'urn:XsltHelper' that might be faulty... // ;) Kalle
" - Yeah I'd like to share your point of view, as long as it's my view too... ( http://www.d-a-d.dk/lyrics/pointofview)
|
|
Rank: Newbie
Joined: 9/7/2008 Posts: 17 Location: Houston, TX
|
I was able to resolve my issue. For anyone else that may have this issue and to document what happened, in the xsltExtensions.config file located in /config/ directory there was a duplicate xslt extension listed. I deleted the duplicate exstension from the file then resaved iut and everything was fine.
Really appreciate the feedback from the umbraco user community. The lack of documentation dealing with umbraco can be frustrating at times but its really nice to know that someone out there will respond to you in the forums.
Thanks Guys! Jason
|
|
|
Guest |