Hello,
I recently put together a website in Sitefinity (3.6) on one or our development servers. Everything worked fine, but when I transferred it to our client's hosting it is giving me a serialization error. In particular, this occurs when I go to edit a page and it somehow has set Overlay back as default (although I used Custom). Nothing on the page is editable. When I try to change it back to Custom I get this error:
Server Error in '/' Application.
Exception Details: System.Runtime.Serialization.SerializationException: Serialization error.
Source Error:
Stack Trace:
Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209
The site is on a Rackspace cloud server.
I'm lost as to what is causing this. Any help would be very much appreciated.
Thanks,
Matt
I recently put together a website in Sitefinity (3.6) on one or our development servers. Everything worked fine, but when I transferred it to our client's hosting it is giving me a serialization error. In particular, this occurs when I go to edit a page and it somehow has set Overlay back as default (although I used Custom). Nothing on the page is editable. When I try to change it back to Custom I get this error:
Server Error in '/' Application.
Serialization error.
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.Runtime.Serialization.SerializationException: Serialization error.
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:
|
Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209
The site is on a Rackspace cloud server.
I'm lost as to what is causing this. Any help would be very much appreciated.
Thanks,
Matt
11 Answers, 1 is accepted
0
Matthew
Top achievements
Rank 1
answered on 05 Jan 2011, 05:36 PM
Well,
I changed this in the web.config file:
<httpRuntime maxRequestLength="1000000" executionTimeout="1000"/>
to
<httpRuntime maxRequestLength="51200"/>
back to the default.
Flushed my DNS and it is working perfectly now.
I changed this in the web.config file:
<httpRuntime maxRequestLength="1000000" executionTimeout="1000"/>
to
<httpRuntime maxRequestLength="51200"/>
back to the default.
Flushed my DNS and it is working perfectly now.
0
Matthew
Top achievements
Rank 1
answered on 05 Jan 2011, 10:46 PM
Correction: The above did not fix the issue.
This is very strange. It goes away and comes back.
This is very strange. It goes away and comes back.
0
Hi Matthew,
Could you check whether you are running a build for .NET 3.5 on a server that uses ASP.NET 2.0. Currently your application pool uses .NET 2.0.
Kind regards,
Ivan Dimitrov
the Telerik team
Could you check whether you are running a build for .NET 3.5 on a server that uses ASP.NET 2.0. Currently your application pool uses .NET 2.0.
Kind regards,
Ivan Dimitrov
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Matthew
Top achievements
Rank 1
answered on 06 Jan 2011, 03:50 PM
Where could I check this and upgrade it? I'm guessing in the config file, but where exactly?
0
Matthew
Top achievements
Rank 1
answered on 06 Jan 2011, 03:51 PM
Also, the server is supposed to have support for ASP.NET 2.0 and 3.5
0
Hi Matthew,
Here is a KB that you can use to check the exact version and its build number.
Best wishes,
Ivan Dimitrov
the Telerik team
Here is a KB that you can use to check the exact version and its build number.
Best wishes,
Ivan Dimitrov
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Matthew
Top achievements
Rank 1
answered on 06 Jan 2011, 04:09 PM
Thanks. Here are the results:
Build that is returning the error:
3.7.2136.3 .NET 3.5
An existing webpage on the server using Sitefinity that is working properly:
3.6.1936.3 .NET 2.0
Unfortunately I'm new to the hosting (rackspace cloud) and somewhat new to Sitefinity. What are some steps I could use to fix this?
Build that is returning the error:
3.7.2136.3 .NET 3.5
An existing webpage on the server using Sitefinity that is working properly:
3.6.1936.3 .NET 2.0
Unfortunately I'm new to the hosting (rackspace cloud) and somewhat new to Sitefinity. What are some steps I could use to fix this?
0
Matthew
Top achievements
Rank 1
answered on 06 Jan 2011, 04:53 PM
Would it be helpful if I posted the web.config minus sensitive information?
It seems as though the 3.5 framework is being declared.
It seems as though the 3.5 framework is being declared.
0
Matthew
Top achievements
Rank 1
answered on 06 Jan 2011, 05:42 PM
Well I figured out why nothing was editable in overlay mode.
My contentplaceholders had 'whitespace'.
<asp:contentplaceholder blahblahblah </asp:contentplaceholder>
I had to remove the closing tags and replace with:
<asp:contentplaceholder blahblahbla />
But I still cannot switch from overlay edit mode to classic edit mode without getting the serialization error.
Is there something wrong with a script here or something?
Can I disable overlay mode somehow?
My contentplaceholders had 'whitespace'.
<asp:contentplaceholder blahblahblah </asp:contentplaceholder>
I had to remove the closing tags and replace with:
<asp:contentplaceholder blahblahbla />
But I still cannot switch from overlay edit mode to classic edit mode without getting the serialization error.
Is there something wrong with a script here or something?
Can I disable overlay mode somehow?
0
Matthew
Top achievements
Rank 1
answered on 06 Jan 2011, 06:00 PM
Maybe the best bet is just to disable overlay mode.
Is there a way to do this in the web.config?
Is there a way to do this in the web.config?
0
Hi Matthew,
You can try setting the page editor mode to classic from web.config:
All the best,
Radoslav Georgiev
the Telerik team
You can try setting the page editor mode to classic from web.config:
<
cms
defaultProvider
=
"Sitefinity"
pageExtension
=
".aspx"
projectName
=
"kb"
disabled
=
"false"
pageEditorUIMode
=
"Classic"
>
All the best,
Radoslav Georgiev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items