WebStore OrderDetail Page

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
6/20/2012 9:54:19 AM
Gravatar
Total Posts 49
TRIAD/Next Level Interactive

Re: WebStore OrderDetail Page

Thanks Joe.

I've implemented the web.config and the redirect doesn't work. I thought maybe it has something to do with the extensionless URL I'm using (/Thank-You) for the page but I tried to redirect the page to /default.aspx with no luck either.

I still get the AccessDenied page.

Thoughts?

I appreciate your help.

6/20/2012 10:00:57 AM
Gravatar
Total Posts 2240

Re: WebStore OrderDetail Page

Did you create a new web.config inside the WebStore folder?

6/20/2012 10:24:04 AM
Gravatar
Total Posts 49
TRIAD/Next Level Interactive

Re: WebStore OrderDetail Page

Yes. This is the code I have in the web.config in the WebStore folder:

 

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <location path="OrderDetail.aspx">
        <system.webServer>
            <httpRedirect enabled="true" destination="/default.aspx" httpResponseStatus="Temporary" />
        </system.webServer>
    </location>
</configuration>

6/20/2012 11:28:16 AM
Gravatar
Total Posts 2240

Re: WebStore OrderDetail Page

Hi,

I'm not sure what's causing that on your site. I've enabled extensionless urls on our site and it's not failing.

You may want to check the site web.config to see if there are any location settings requiring users to be certain roles to access the /WebStore folder.

Is there anything in the log?

Thanks,
Joe D.

6/20/2012 12:03:32 PM
Gravatar
Total Posts 18439

Re: WebStore OrderDetail Page

What version of IIS are you using?

Are you using an Integrated Application pool?

system.webServer section only applies to integrated app pools.

I would use something other than Default.aspx

Seems like you could do it directly in the root web.config file but use the location path /WebStore/OrderDetail.aspx

You could also install the IIS Url Rewriter Module and use that to do the redirect.

Hope that helps,

Joe

 

6/20/2012 4:10:36 PM
Gravatar
Total Posts 49
TRIAD/Next Level Interactive

Re: WebStore OrderDetail Page

I'm running IIS 7 and the following application pools are enabled:

  • ASP.NET v4.0 / Integrated
  • ASP.NET v4.0 Classic / Classic
  • Classic .NET Application / Classic
  • DefaultAppPool / Integrated
  • mojoportal / Integrated
6/21/2012 1:23:11 PM
Gravatar
Total Posts 18439

Re: WebStore OrderDetail Page

Assuming the mojoPortal site is configured to use the mojoportal integrated app pool that should be fine.

Did you try putting it in the root Web.config as I mentioned and remove the extra web.config from the WebStore folder so it does not interfere. If you still get access denied it means the redirect is not working for some reason.

Again you could also accomplish this by installing the IIS Url Rewrite module from  platform installer and configure it to do the redirect also using web.config settings. If you google that module you can find tutorials how to do it.

Hope that helps,

Joe

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