Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Unable to access Admin Site settings after fresh DNN 6.2 InstallUnable to access Admin Site settings after fresh DNN 6.2 Install
Previous
 
Next
New Post
11/5/2012 1:57 PM
 

I did the Merge script for .NET 3.5 in Install/Config after switching the App_Pool back to .NET 2.0 and still have the error.

Also tried changing back to .NET 4 and running the 4 merge script, still no luck.

We did a clean database install and set up a site to ensure that it's not the server components, and Site Settings works fine on the clean instance. Unfortunately that doesn't help with the production instance that isn't working.

Any other ideas?

 
New Post
2/4/2013 9:51 AM
 
I have encountered the same issue after upgrading to 6.2.6
My understanding is that the issue presents itself when you use SessionPageStatePersister instead of the default in-page persister, to keep pages' viewstates in the Session.

The SessionPageStatePersister replaces the default in-page persister by the Telerik's compression mechanism, if you use it, or, if you use a custom code to replace the default one with SessionPageStatePersister, to eliminate VIEWSTATE gibberish in the page

The DotNetNuke.Framework.ServicesFrameworkImpl.RegisterAjaxAntiForgery(Page page) uses the MS System.Web.Mvc.HtmlHelper.AntiForgeryToken, which, in turn, apparently uses PageStatePersister, which will be implemented via SessionPageStatePersister in the above cases. (see the last paragraph of http://msmvps.com/blogs/luisabreu/arc...)

SessionPageStatePersister uses Page object. AntiForgeryToken creates a dummy Page as a trick in order to use PageStatePersister. Looks like the dummy Page it creates is no good for the SessionPageStatePersister (i.e. it does not have the enablePageState set to true). Also because PageStatePersister is called in OnInit events, the Session is not available either.

So in order to resolve this issue you have to either:
- stop using SessionPageStatePersister or Teleriks compression thing (instead, you can use the DNN in-memory page cache - it eliminates the in-page VIEWSTATE by storing it in Cache)
- alternatively, comment out RegisterAjaxAntiForgery calls in DNN sources.

good luck


 
New Post
3/13/2013 8:39 AM
 
I've also run into this problem after upgrading my site to 6.2.6 (.net 4.0).

We're not using SessionPageStatePersister, nor are there any strange looking entries in the portalalias / portalsettings tables.

Are there any other things I can try, beside re-running the upgrade package of 6.2.6?

Thanks in advance


 
New Post
3/19/2013 2:34 PM
 
Sure would appreciate advice from anyone who has figured this out.

We have a complete DNN development environment setup in TFS, where a developer can checkout the project, and a complete DNN 6.2.2 installation, along with all our custom module projects in the Desktop Modules folder, comes down set up in one solution. We include a backup of the DNN db which is restored onto a db running on the developer machine.

I've got one developer who's experiencing this issue (gets the "type initializer...FormatterGenerator"..." error mentioned above) when visiting the site settings page. We've tried deleting everything on his machine (iis website, entire website directory, database, everything) and starting from scratch with the files from TFS--and the issue still occurs. While two other developers have gone through the same process (deleting the entire development environment and starting from scratch with the TFS project)--just to verify that our TFS stored environment isn't corrupted, and don't experience the issue.

Also strange is that the affected DNN installation was working normally until yesterday morning.

We've spent hours trying to figure this out. Anyone?

Thanks!
 
New Post
3/19/2013 2:37 PM
 

I'm glad to see this thread is still alive. I had worked with Chris Hammond (think he has since left DNN Corp) over Twitter trying to figure it out and never was able to figure it out.

What we ended up doing since it was a production environment was just do a clean install of DNN, make sure everything was set up the same, and just point the web config over to the new database and clean install.

I was never able to figure out the underlying cause of the problem.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Unable to access Admin Site settings after fresh DNN 6.2 InstallUnable to access Admin Site settings after fresh DNN 6.2 Install


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out