Unable to Edit content

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
11/5/2010 1:19:52 PM
Gravatar
Total Posts 6

Re: Unable to Edit content

That did the trick,

Thank you very much.

 

11/8/2010 2:15:07 PM
Gravatar
Total Posts 18439

Re: Unable to Edit content

We may have been able to help you resolve the initial problem you had with .NET 4, you could have done what it says on the basic troubleshooting page to try and find out what error was happening and then we may have been able to help given the error detail.

If your host does support .NET 4, my recommendation would be to use .NET 4 and the .NET 4 version of mojoPortal and see if we can help you resolve the original problem. Eventually we will stop supporting .NET 3.5 (not any time soon but eventually). In any case I recommend .NET 4 over .NET 3.5 to anyone who can get .NET 4 hosting.

Best,

Joe

1/7/2011 1:29:56 PM
Gravatar
Total Posts 24

Re: Unable to Edit content

I am a new user and I have the same or similar problem on my first install.

Everything appears to run fine until I try and edit HTML content which throws the following error

2011-01-07 10:56:50,312 ERROR mojoPortal.Web.Global - 174.24.145.190-en-US - /HtmlEdit.aspx?mid=0&pageid=0
System.Web.HttpRequestValidationException (0x80004005): A potentially dangerous Request.Form value was detected from the client (ctl00$mainContent$edContentinnerEditor="<p>Welcome to <stron...").

System details

mojoPortal Version 2.3.5.5 MSSQL
Operating System Microsoft Windows NT 5.2.3790 Service Pack 2
ASP.NET Info v4.0.30319 Running in Full Trust
 

Thanks,

Nate
 

1/7/2011 1:36:43 PM
Gravatar
Total Posts 18439

Re: Unable to Edit content

My best guess is that you are running the 3.5 .NET version of mojoPortal under .NET 4. Ideally you should install the .NET 4 version of mojoPortal, but you can also work around this specific error by adding this in Web.config just before the closing </system.web>

<httpRuntime requestValidationMode="2.0" maxUrlLength="560" maxQueryStringLength="2048" />

Hope it helps,

Joe

 

1/7/2011 1:43:45 PM
Gravatar
Total Posts 24

Re: Unable to Edit content

Thanks Joe,

The version I got was from the Microsoft Web Platform Installer.

Since I am not far into the process what is the best way to re-install the v4 portal?

Thanks again for the help

 

1/7/2011 1:50:10 PM
Gravatar
Total Posts 18439

Re: Unable to Edit content

The version in the Web App Gallery is definitely for 3.5 .NET, once Web PI 3.0 comes out of beta we will be switching to .NET 4 package in the gallery.

However if its on your local machine or a dedicated server (with IIS 7.x) you can install a clean install of our .NET 4 package using the platform installer, just not from the gallery, you would download it from Codeplex, then you can follow this article:

http://www.mojoportal.com/easy-installation-using-the-ms-web-deployment-tool.aspx

Otherwise, it is also fairly straightforward to just upgrade manually.

http://www.mojoportal.com/upgrading.aspx

Hope it helps,

Joe

1/7/2011 2:10:04 PM
Gravatar
Total Posts 24

Re: Unable to Edit content

Joe,

Thanks again.

You got a beer on me...

I have another question that is unrelated.  Should I e-mail you?

Nate

1/7/2011 2:14:55 PM
Gravatar
Total Posts 18439

Re: Unable to Edit content

Hi Nate,

Thanks for the beer! Much appreciated.

Unless your question involves some top secret info that you don't want to post in the forums I prefer all questions here because then others may answer and others with similar questions may benefit from the answer. We have different forums for different purposes but if none look correct you can use the General Questions forum for just about anything.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.