Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > getdoc 404 error on every page View modes: 
User avatar
Member
Member
evan_mcdaniel-jackmorton - 5/18/2009 1:48:05 PM
   
getdoc 404 error on every page
Hi,

After a week or so away from a kentico site setup I've been doing, I'm now getting a 404 error on every page I try to access from within CMSDesk.

This was after initially getting a viewstate MAC validation error (even though I'm not on a web farm) which seems to have resolved itself.

Anyone have any idea what might be going on? I've tried fiddling with the permanent URL setting but nothing helped there.

Thanks for any help.

- Evan

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 5/19/2009 7:19:56 AM
   
RE:getdoc 404 error on every page
Hi Evan,

If you have an extension in:

CMSSiteManager -> Settings -> Site: <your site> -> URLs -> Friendly URL extensions

which differs from .aspx then you need to set up your IIS appropriately (http://devnet.kentico.com/docs/devguide/configuration_of_custom_url_extensions.htm )

It could cause your problem.

Best regards,
Helena Grulichova

User avatar
Member
Member
evan_mcdaniel-jackmorton - 5/19/2009 9:00:37 AM
   
RE:getdoc 404 error on every page
Hi Helena,

Thanks for your response. That setting is set as .aspx globally.

What else do you recommend?

Thanks.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 5/19/2009 9:26:28 AM
   
RE:getdoc 404 error on every page
Hi Evan,

Just one note: the site settings is stronger than global settings. Could you please confirm me that you have the same value if you choose your site in the left top corner in the Site Manager Settings?

If so – you may access the CMSDesk but when you try to view any document in the content tree it displays 404 error, is it right?
1. What is the error message exactly?
2. Do you have some related event log in the Site manager -> Administration -> Event log?

Best regards,
Helena Grulichova

User avatar
Member
Member
evan_mcdaniel-jackmorton - 5/19/2009 9:54:36 AM
   
RE:getdoc 404 error on every page
Hi,

Yes, the site specific setting is also set as .aspx

And you are correct that when I access any element in CMSDesk I get a standard browser 404 Page Not Found error in the frame that is calling the /getdoc/ page.

There are no events in the Event log related to anything but logging in.

Thanks for your help.

- Evan

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 5/21/2009 5:20:07 AM
   
RE:getdoc 404 error on every page
Hi Evan,

It is possible that you have set your IIS incorrectly. Could you please check whether the IIS check that file exists? You can check in properties of the Default Web Site -> Home Directory -> Configuration -> mappings -> ......aspx -> Edit. Here please uncheck the Check that file exists checkbox (on Win2003 it is Verify that file exists).

Moreover, if you are using ASPX templates, could you please check that the page template exists in the location set for the page template?

Best Regards,
Juraj Ondrus

User avatar
Member
Member
evan_mcdaniel-jackmorton - 5/21/2009 12:32:27 PM
   
RE:getdoc 404 error on every page
Hi Juraj,

Thanks for your response.

I've checked that setting and found that Verify page exists is NOT checked.

Also, there are templates for the page types I'm trying to access, for example Events.aspx, in CMSTemplates -> CorporateSiteASPX -> Events.aspx

The 404 page says it's looking for this file:
/getdoc/3f67b237-88cc-4a6c-8aa8-d614770393dc/Events.aspx

Thanks.

Evan

User avatar
Kentico Developer
Kentico Developer
kentico_zbysekn - 5/25/2009 7:38:55 AM
   
RE:getdoc 404 error on every page
Hello,

regarding the previous messages, there is no reason to such behavior.
Could you please check that you have document with mentioned guid(3f67b237-88cc-4a6c-8aa8-d614770393dc) in your database? You can find all tree nodes in table CMS_Tree.
Have you tried to work with database manually?

Best Regards,
Zbysek Nemec.