I've just uploaded my first Umbraco website (4.7.1.1) to a hosted web service. Unfortunately all the XSLT marcos on every page displays the message "Error parsing XSLT File"
I have gone into the developers environment and whenever I save an existing or create a new XSLT macro I get the following error:
Unable to load one or more of the types in assembly 'System.Data.SqlServerCe, Version=4.0.0.1, Culture=neutral, PublicKeyToken=89845dcd8080cc91'. Exceptions were thrown: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Have you by any chance created som custom xslt extensions or installed some packages that are using some custom xslt extensions? In that case make sure that the xsltExtensions.config file on your local environment (which I asume is working) is identical with the one on your server. The file is located in the "config" folder.
If this does not solve it then it perhaps has something to do with some .dll files that are not needed...but I'm not sure, which ones it could be. Have just seen other people have this issue where that has been the case...
When you are using the SQL CE, did you check the rights on the App_Data Folder? Just check if you can create a new node in the content area. If this fails with the same error this is likely a file-rights problem
Error parsing XSLT file
I've just uploaded my first Umbraco website (4.7.1.1) to a hosted web service. Unfortunately all the XSLT marcos on every page displays the message "Error parsing XSLT File"
I have gone into the developers environment and whenever I save an existing or create a new XSLT macro I get the following error:
Unable to load one or more of the types in assembly 'System.Data.SqlServerCe, Version=4.0.0.1, Culture=neutral, PublicKeyToken=89845dcd8080cc91'. Exceptions were thrown:
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Can anyone help with this?
TIA
David
Hi David
Have you by any chance created som custom xslt extensions or installed some packages that are using some custom xslt extensions? In that case make sure that the xsltExtensions.config file on your local environment (which I asume is working) is identical with the one on your server. The file is located in the "config" folder.
If this does not solve it then it perhaps has something to do with some .dll files that are not needed...but I'm not sure, which ones it could be. Have just seen other people have this issue where that has been the case...
/Jan
When you are using the SQL CE, did you check the rights on the App_Data Folder? Just check if you can create a new node in the content area. If this fails with the same error this is likely a file-rights problem
hth, Thomas
Thanks for your responses.
Haven't got a scoobie why this happened.
In the end I download a fresh copy of Umbraco 4.7 and loaded my packages again - works now.
Regards
David
is working on a reply...