I'm using this package for the first time to present a scrolling pane of information on my site homepage (each pane contains header text, body copy and an image, and scrolls at intervals to from pane to pane using jQuery). So far I've installed the package via local zip and done the following:
Gone to Developer > Data types > Repeatable Custom Content v2.
Changed the Name field to 'Promo area' and added three items to the 'Settings' area (Header, Copy and Image) then clicked 'save'.
Gone to Settings > Document Types > Runway Homepage > Tabs and added a new tab called 'Promo area' then saved.
Gone to Settings > Document Types > Runway Homepage > Generic properties then clicked to Add a New Property with the following fields:
Name: Promo area
Alias: promoArea
Type: Repeatable Custom Content v2
Tab: Promo area
Then saved
Gone to Content > Home
On the right hand side of the screen I now have an error message:
Server Error in '/' Application.
Unable
to cast object of type
'System.Web.Configuration.ScriptingScriptResourceHandlerSection' to
type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection'.
Description: An
unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the
error and where it originated in the code.
Exception Details: System.InvalidCastException:
Unable to cast object of type
'System.Web.Configuration.ScriptingScriptResourceHandlerSection' to
type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection'.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
I've just spotted that this package requires .NET 3.5, but I only have 2.0.5. Will it bugger my Umbraco installation up if I upgrade to v3.5 on the server?
Possibly a silly question, but how do I find out? I only downloaded Umbraco for this project a couple of months ago, so it should be a pretty recent version.
Actually, I've downloaded that and compared, and I do seem to be running the web.config file for .NET v1!
I'm assuming there's no easy way to change this and it's going to involve manually going through all of the settings now and changing them to match the v3.5 config file?
Unless you specifically downloaded the 3.5 version you will have the 2.0 version.
Download the 3.5 web.config from the link above.
Copy your database connection string (and anything else you've changed) from the old web.config to the new 'aspnet35.config' file (which is the name of the file in the download)
Remove the existing web.config file and rename the 'aspnet35.config' file 'web.config' and place it where the existing web.config file was (in the root of the web site) .
I downloaded the .net 3.5 config file, overwrote the database connection line and uploaded to the web space. I then logged out of Umbraco admin on the site. However, now, I can't log-in - it doesn't error or anything - it just doesn't go anywhere when I enter the admin username and password.
Actually, my mistake Rich, I'd copied the config status line too. Reverting that back means I'm now able to log in. Same error with the project though!?
Okay, getting slightly closer now. I find that it works when I put the data type into the 'Properties' tab, but if I put it in any other tab, I get the error.
I guess I can live with it for now, but it's a bit confusing the for the editor because it really shouldn't belong in the properties tab.
Has anyone else been able to install it into a different tab?
I uninstalled the package but didn't delete the data type from the document type before doing so. I then re-installed the package, created a new data type based on the 'Repeatable Custom Content v2' data type. I then went to add this to my homepage document type, but get the following error:
Server Error in '/' Application.
No node exists with id '1421'
Description: An
unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the
error and where it originated in the code.
Exception Details: System.ArgumentException: No node exists with id '1421'
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
I can only think it's still looking for the old document type, and is breaking as a result.
Does anyone know how to resolve this? I'm a bit concerned as I definitely don't want to lose any data here in trying to fix this (i.e. I can't just wipe everything and rebuild because there's a lot of data in there at the moment).
Presumably I need to get my hands dirty in the database to resolve this, to delete the association of this document type with the deleted data type. Does anyone know how to do this, or if it's even safe to do so? If not, then I could be in trouble!
This is now solved. It was indeed the web.config settings still using .NET V1. I replaced the whole config file with the one posted in Frank's post and was a little alarmed that I had to go through the umbraco set-up process (thinking it would overwrite everything with a blank installation) but it worked this time. Thanks all. Solution marked as first person who posted this solution, but thumbs up to those who followed it through.
Error
Hi,
I'm using this package for the first time to present a scrolling pane of information on my site homepage (each pane contains header text, body copy and an image, and scrolls at intervals to from pane to pane using jQuery). So far I've installed the package via local zip and done the following:
On the right hand side of the screen I now have an error message:
Server Error in '/' Application.
Unable to cast object of type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection' to type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.InvalidCastException: Unable to cast object of type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection' to type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
I must have done something wrong, but does anyone know what?
Thanks
I've just spotted that this package requires .NET 3.5, but I only have 2.0.5. Will it bugger my Umbraco installation up if I upgrade to v3.5 on the server?
Upgrading the .NET framework will have not harm your Umbraco installation.
Should have said:
Upgrading the .NET framework will not harm your Umbraco installation.
Cool, thanks. I've upgraded, but still get the same error :(
Are you using the 3.5 .Net web.config file?
http://umbraco.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=23321
Possibly a silly question, but how do I find out? I only downloaded Umbraco for this project a couple of months ago, so it should be a pretty recent version.
Actually, I've downloaded that and compared, and I do seem to be running the web.config file for .NET v1!
I'm assuming there's no easy way to change this and it's going to involve manually going through all of the settings now and changing them to match the v3.5 config file?
No problem.
Unless you specifically downloaded the 3.5 version you will have the 2.0 version.
Make sense?
I downloaded the .net 3.5 config file, overwrote the database connection line and uploaded to the web space. I then logged out of Umbraco admin on the site. However, now, I can't log-in - it doesn't error or anything - it just doesn't go anywhere when I enter the admin username and password.
Does the website work ok, is it just the Admin section, also do you know which version of Umbraco you are using?
The website works okay, it's just that I can't log into the Umbraco back-end. I'm using Umbraco 4.
Actually, my mistake Rich, I'd copied the config status line too. Reverting that back means I'm now able to log in. Same error with the project though!?
Okay, getting slightly closer now. I find that it works when I put the data type into the 'Properties' tab, but if I put it in any other tab, I get the error.
I guess I can live with it for now, but it's a bit confusing the for the editor because it really shouldn't belong in the properties tab.
Has anyone else been able to install it into a different tab?
This works on any tab, i am using it on other tabs as well. I have uploaded a new file, please give it a go and let me know if any issues.
As mentioned by Rich, please make it sure your site runs under .NET 3.5.
TA,
Masood
Ah, problem!
I uninstalled the package but didn't delete the data type from the document type before doing so. I then re-installed the package, created a new data type based on the 'Repeatable Custom Content v2' data type. I then went to add this to my homepage document type, but get the following error:
Server Error in '/' Application.
No node exists with id '1421'
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.ArgumentException: No node exists with id '1421'
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
I can only think it's still looking for the old document type, and is breaking as a result.
Does anyone know how to resolve this? I'm a bit concerned as I definitely don't want to lose any data here in trying to fix this (i.e. I can't just wipe everything and rebuild because there's a lot of data in there at the moment).
Thanks
Presumably I need to get my hands dirty in the database to resolve this, to delete the association of this document type with the deleted data type. Does anyone know how to do this, or if it's even safe to do so? If not, then I could be in trouble!
Dan, it looks like umbraco issue, is it fixed now?
Dan,
Make sure that you are using the correct web.config file for framework 3.5. This will use the correct version of the scriptResourceHandler.
A good way to tell is to go into web.config and under configSections make sure you see this:
Notice the version number, if you see the below node then you are still using version 2.0 of the .NET Framework
Here is the link to the 3.5 web.config version: http://umbraco.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=23321#DownloadId=70203
Regards,
Frank
This is now solved. It was indeed the web.config settings still using .NET V1. I replaced the whole config file with the one posted in Frank's post and was a little alarmed that I had to go through the umbraco set-up process (thinking it would overwrite everything with a blank installation) but it worked this time. Thanks all. Solution marked as first person who posted this solution, but thumbs up to those who followed it through.
is working on a reply...