Page Cannot Be Found Error

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/1/2010 4:13:49 PM
Gravatar
Total Posts 20

Page Cannot Be Found Error

When I installed one of my custom modules on a page, that page ends up with a Page cannot be found error, view sitemap.

I'm beginning to think I'm missing a file but cannot for the life of me figure out what is missing.

The ascx file has been included, other relavant pages are included. A custom control in the controls folder (used in admin page) is uploaded. What else could I be missing?

 

4/2/2010 8:56:43 AM
Gravatar
Total Posts 18439

Re: Page Cannot Be Found Error

I would try commenting out the PageNotFoundHanlder in 2 places in Web.config where it exists and see if the error changes. I would also review the error logs and review the custom code to make sure you are not swallowing errors in a try catch without at least logging them.

Hope it helps,

Joe

4/2/2010 10:30:58 AM
Gravatar
Total Posts 131

Re: Page Cannot Be Found Error

I've seen this when I have an error in one of my components, any component, on a page. It redirects to the pagenotfound page.

Check the log and see if it's logging an error or walk through the code on the page. I'm pretty sure you have an error in that component.

Another way is install the component on a new page so it's just the component and nothing else that could affect it. Sometimes the error could be based on state (works when authenticated but not for visitors and vice versa)

Just some thoughts.

 

 

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