Access Denied

Oct 1, 2013 at 10:38 AM
Edited Oct 1, 2013 at 10:42 AM
When I create a ShortURL and then click on the link, I get an access denied message. However using the real URL, I do not get this message.

This occurs whether I am logged in or not.

I am using

DNN-CE 07.01.00 (2676)
IIS7.5
.net 4.0.30319


Any ideas
Coordinator
Oct 2, 2013 at 12:52 PM
symon70 wrote:
When I create a ShortURL and then click on the link, I get an access denied message. However using the real URL, I do not get this message.

This occurs whether I am logged in or not.

I am using

DNN-CE 07.01.00 (2676)
IIS7.5
.net 4.0.30319


Any ideas
Did you set up the 404 error page correctly in your IIS Application? I am not sure if the module still works with the latest version of Dnn with its own url handling.
Oct 2, 2013 at 1:55 PM
I have edited the 404 custom error page to read '/DesktopModules/WatchersNET.UrlShorty/Redirect.aspx'. when I installed originally and still no joy. What version of DNN is the demo sit running on. Is anybody aware?
Coordinator
Oct 2, 2013 at 2:39 PM
symon70 wrote:
I have edited the 404 custom error page to read '/DesktopModules/WatchersNET.UrlShorty/Redirect.aspx'. when I installed originally and still no joy. What version of DNN is the demo sit running on. Is anybody aware?
The demo site is still running DNN 4. I need to investigate if it is possible to use the module with dnn 7.1 and its url management.
Coordinator
Oct 3, 2013 at 8:38 AM
Ok i tried the module under dnn 7.1 and it still works

<httpErrors errorMode="Custom">
  <remove statusCode="404" subStatusCode="-1" />
  <error statusCode="404" prefixLanguageFilePath="" path="/dnn7/DesktopModules/WatchersNET.UrlShorty/Redirect.aspx" responseMode="ExecuteURL" />
</httpErrors>
</system.webServer>

dnn7 is the iis directory of the application.
Oct 4, 2013 at 1:07 PM
Thanks for the heads up - it now works thank you. I had edit the webconfig by hand and alter the following lines
  • <httpErrors errorMode="Custom">
  • path="/dnn7/
Works perfectly now.