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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Cannot Edit Any PagesCannot Edit Any Pages
New Post
10/24/2017 4:06 PM

Hi There,

Weird problem here. I've been working on a DNN site and have a local development build on my PC (Windows 10, IIS 10) which I have pushed up to our development server (Server 2016 Standard, IIS 10). 

The site is working fine in both environments but for some reason the Edit button is not working on the server, and so it is impossible to edit pages. 

I've checked everything and all code seems to be the same between the two and the configuration of both platforms appears identical. Both have been updated to the latest DNN 9.1.1. 

The only difference I can see is that when you click the button on the server, a 302 is being returned prior to the page. So the order of calls is:

On my local machine when editing the home page ("/")

200  http    /API/PersonaBar/UserSettings/UpdateUserSettings
200  http    /API/internalservices/controlBar/ToggleUserMode
200  http    /

On the
server when editing the home page ("/")

200  http    /API/PersonaBar/UserSettings/UpdateUserSettings
200  http    /API/internalservices/controlBar/ToggleUserMode
302  http    /
200  http    /

The contents of the 302 request looks like this:


Connection: keep-alive
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8,en-GB;q=0.6
Cookie: .ASPXANONYMOUS=c_uuZrhGb4jUCGkO2d3ZXVWOoHgpydGcu6_xJxeK1XwK_xT4J3gI9w4iTIJ_4BX9jmMqaQ_OOL4CzYjdFMpzIIv3rCDd9NQmOtussBeBqgUBBtZF0; __RequestVerificationToken=otuWrjg0TMK3-iZuzrNIPfHDB5dOQlOgt1cUJ8yQUZsjAtjZ9tX-wDjsVWjPHkX2jr5WiQ2; ASP.NET_SessionId=hkqg4zj2e5a0dqemluj3pvxs; _hjIncludedInSample=1; __utma=194314735.1415578934.1507821305.1508421162.1508855905.6; __utmc=194314735; __utmz=194314735.1507821305.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); authentication=DNN; USERNAME_CHANGED=; .DOTNETNUKE=BBD8FD17AAA65F93E9520B7A5171F4296C2D723CEF492F6F3C61A3913F75C997561785EF9AD6038552EC1147C2866DE59E72DE4B9D0933E8C3B8380046A4C4DCE5FA3E64; __atuvc=7%7C41%2C8%7C42%2C5%7C43; __atuvs=59ef60f229a3f351001; LastPageId=0:83; dnn_IsMobile=False; language=en-US


HTTP/1.1 302 Found
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Set-Cookie: dnn_IsMobile=False; path=/; HttpOnly
Set-Cookie: language=en-US; path=/; HttpOnly
Set-Cookie: LastPageId=0:55; path=/; HttpOnly
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
Date: Tue, 24 Oct 2017 15:59:07 GMT
Content-Length: 153

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="">here</a>.</h2>

Weirdly the server just redirects back to the same location of the original request. I've checked the default document and disabled all redirect rules in the web.config and I can't see anywhere it is telling the client to do this. The code is the same on both environments so it can only be config, the code is exactly the same.

I'm completely stumped, anyone have any idea what could be causing this?

If I browse to the home page directly on the url above it goes straight through with a 200, it's only during the edit page button that this redirect is happening.

Any help would be extremely welcome.




New Post
10/25/2017 8:35 AM

After further testing the issue is affecting both environments. I used a third PC to test my local development build (up to this point I was always running the site locally) and the error occurred. So it's happening regardless when you access the website remotely but does not occur when you access the website from the same PC.

Some kind of permission issue perhaps?

New Post
11/12/2017 2:15 AM
did you check file and folder permissions in your local install?
did you unblock downloaded DNN install package (in file properties) prior to unzipping the files contained?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
New Post
9/18/2018 7:24 PM
Was there ever a solution found for this? I'm experiencing the exact same problem with 9.2. Works fine on my local, but not when accessing site remotely.
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Cannot Edit Any PagesCannot Edit Any Pages

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