The file '/.aspx' does not exist

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/2/2015 11:13:34 AM
Gravatar
Total Posts 11

The file '/.aspx' does not exist

When trying to create a new page on our site, we get the generic error:

"We're sorry but a server error has occurred while trying to process your request.

The error has been logged and will be reviewed by our staff as soon as possible. It is possible that the error was just a momentary hiccup and you may wish to use the back button and try again or go back to the home page."

After viewing the log files, the error message displayed is as follows:

2015-04-02 09:15:14,015 ERROR 71.36.28.1 - en-US - /.aspx - mojoPortal.Web.Global - 71.36.28.1 /.aspx Referrer(http://www.criadvantage.com/Admin/PageSettings.aspx) useragent Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36 
System.Web.HttpException (0x80004005): The file '/.aspx' does not exist.
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

Our hosting environment is:
mojoPortal Version 2.4.0.4 MSSQL
Operating System Microsoft Windows NT 6.1.7601 Service Pack 1 (server 2008 r2)
ASP.NET Infov4.0.30319 Running in Full Trust
 

Steps to reproduce:

  1. Login to web site as admin
  2. Navigate to Administration
  3. Click Add/Edit Pages
  4. Click Add New Page
  5. Fill in page name and select Parent Page (even leaving as Root produces same result)
4/9/2015 1:44:03 PM
Gravatar
Total Posts 11

Re: The file '/.aspx' does not exist

Can someone please get back to me on this?  We have an URGENT need to add pages to our web site, and this error is completely preventing us from doing so.

4/9/2015 1:55:01 PM
Gravatar
Total Posts 18439

Re: The file '/.aspx' does not exist

When you create a page an url for the page must also be created. When you tab out of the page name after naming the page there is javascript that is supposed to suggest a friendly url in the url textbox. Make sure that is getting populated with a unique url for the page before saving it, if needed (ie if the javascript url suggester isn't working for some reason) type in an url manually before creating the page.

Depending on configuration and hosting environment your urls may need to have .aspx at the end. So for a page named "My Dog Skip" you might set the url as

~/my-dog-skip.aspx

the javascript is supposed to suggest something like that

See also information about rules for friendly urls in the seo article.

For any pages currently not working go into page settings and make sure the page has a unique url and save it again if you need to change it. Then make sure that no unintended redirects were created, and delete them if there are any that should not be there.

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