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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesLosing Admin Rights to ToggleUserMode After Installing Custom ModuleLosing Admin Rights to ToggleUserMode After Installing Custom Module
Previous
 
Next
New Post
5/26/2013 12:51 PM
 
I've been fighting this for 2 days now. I have the latest version of CrisToc's templates installed. I've created a new custom module and install it on a test page.

After I switch back to working with my module in debug mode, I lose access to the ToggleUserMode internal function that lets me edit a page. The problem persists, after removing my module, clearing the dnn cache, resetting IIS and even rebooting my computer. Every other admin function works just fine, just page edit is broke.

I've reinstalled DNN around 10 times trying to resolve this problem but still can't figure it out. I really could use some suggestions from those of you who know the DNN internals on how this could be happening and how to fix my install. Below is the fiddler code showing my issue. BTW, My other DNN site on the same computer does not have the issue.

Thanks





POST /DesktopModules/internalservices/API/controlbar/ToggleUserMode HTTP/1.1
Accept: */*
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
ModuleId: undefined
TabId: 57
RequestVerificationToken: nU3xfJwZVAeaMz5TUGjy_gc2mJ19GvySh-YPnxauOmDxTwa_s46HNgXY6Zjn5xwdS61oNMF7QltiSz6slQm6_5HcMckz3sddH5JE1Lsc2aJdLiY-yEpV9YUwNOqlZgldHEmsmg2
X-Requested-With: XMLHttpRequest
Referer: http://www.stackfish.com/AboutUs.aspx
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Host: www.stackfish.com
Content-Length: 13
Connection: Keep-Alive
Pragma: no-cache
Cookie: .ASPXANONYMOUS=eSvnO4OOzgEkAAAAMjc5YTZjNTAtMjg5MC00MjY1LTgxZTctNGM5MzE2MGJkMmE10; ASP.NET_SessionId=41vsa5zfq1jzdstyzovwrire; language=en-US; authentication=DNN; .DOTNETNUKE=4E2BD68F542F68D309719CB78982DDAF72D6ED21D4BECB418A67CB3531826111EAD06850B92677E16756703546258B055150EC9FF59A3659DBE31A843A4D1E96EB883DEF193C08608BDAF39DC0DD955B4EFF9F35417E70981FCFE32D1BC8A32130CBDF0331E3664E2EE3E259; LastPageId=0:57; __RequestVerificationToken=XSwASEmjnv87Y67WLD5NbqzmyBB_YKxhJ8_gQIDxwhdSFU8x04q7jxtxBpIvc-8xxS3si64fYx9YrsHLtB1V-OpbARNKFokQP1pEUlfJ-Fnp0iwiIjCFY3jATNg1; StayInEditMode=NO

HTTP/1.1 401 Unauthorized
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Sun, 26 May 2013 16:36:56 GMT
Content-Length: 45
 
New Post
5/27/2013 6:38 PM
 
I finally figured this out. I had originally bound www.mysite.com to my default website but later created a new site for www.mysite.com. Apparently most of the request where going to my new site, but the request for authorization for page editing was going to my old site which resulted in the 401 error. I rebooted my computer and disabled my default website and all is well.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesLosing Admin Rights to ToggleUserMode After Installing Custom ModuleLosing Admin Rights to ToggleUserMode After Installing Custom Module


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