Error after updating to latest version

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
3/28/2009 7:09:08 AM
Gravatar
Total Posts 72

Error after updating to latest version

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Data at the root level is invalid. Line 279, position 8.

Source Error:

Line 277: <value>Update Option</value>
Line 278: </data>
Line 279:</root><?xml version="1.0" encoding="utf-8"?>
Line 280:<root>
Line 281: <!--


Source File: /App_GlobalResources/FormWizardResources.resx Line: 279

3/28/2009 7:10:30 AM
Gravatar
Total Posts 72

Re: Error after updating to latest version

Sorry Joe,

Just pasted the above error without thinking.  Changed the code in Web.config for errors to what you mentioned and above is the result.

Chris

 

3/28/2009 7:13:48 AM
Gravatar
Total Posts 18439

Re: Error after updating to latest version

I would try uploading that file (/App_GlobalResources/FormWizardResources.resx) again. It sounds like it got corrupted like partially uploaded or something.

Best,

Joe 

3/28/2009 7:24:31 AM
Gravatar
Total Posts 72

Re: Error after updating to latest version

Did that - now get the following error

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: There can be only one 'page' directive.

Source Error:

Line 2:
Line 3:
Line 4: <%@ Page Language="C#" AutoEventWireup="false" EnableSessionState="False" CodeBehind="Default.aspx.cs" Inherits="mojoPortal.Web.UI.Pages.SetupHome" %>
Line 5:
Line 6:


Source File: /setup/Default.aspx Line: 4

Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

 

3/28/2009 7:29:48 AM
Gravatar
Total Posts 18439

Re: Error after updating to latest version

I would re-upload the /Setup/Default.aspx page, it seems also corrupted. 

3/28/2009 7:42:44 AM
Gravatar
Total Posts 72

Re: Error after updating to latest version

Getting there

Setup running but there is another error

Probing system...
File system permissions ok.
MySQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema already exists.
database core schema needs upgrade.
1 site(s) found.
Running script mojoportal-core - 2.2.8.0 - 00:00:01.5625100
Running script mojoportal-core - 2.2.8.1 - 00:00:01.5937602
Running script mojoportal-core - 2.2.8.2 - 00:00:01.5937602
Running script mojoportal-core - 2.2.8.3 - 00:00:01.5937602
Running script mojoportal-core - 2.2.8.4 - 00:00:01.6093853
Running script mojoportal-core - 2.2.8.5 - 00:00:03.5000224
Running script mojoportal-core - 2.2.8.6 - 00:00:03.5312726
Running script mojoportal-core - 2.2.8.7 - 00:00:03.5468977
Running script mojoportal-core - 2.2.8.8 - 00:00:03.5468977
Running script mojoportal-core - 2.2.8.9 - 00:00:03.5468977
Running script mojoportal-core - 2.2.9.0 - 00:00:04.3594029
Running script mojoportal-core - 2.2.9.1 - 00:00:06.9531695
Running script mojoportal-core - 2.2.9.2 - 00:00:07.0469201
Running script mojoportal-core - 2.2.9.3 - 00:00:08.3125532
Running script mojoportal-core - 2.2.9.4 - 00:00:08.3594285
Running script mojoportal-core - 2.2.9.5 - 00:00:08.6719305
Running script mojoportal-core - 2.2.9.6 - 00:00:08.9844325
An Error Occurred:Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 102, position 3.
Source:System.Xml
Stack Trace at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.ParsePI(BufferBuilder piInDtdStringBuilder) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at mojoPortal.Web.ContentFeatureConfiguration.GetConfig(String applicationFolderName) at mojoPortal.Web.UI.Pages.SetupHome.SetupFeatures(String applicationName) at mojoPortal.Web.UI.Pages.SetupHome.RunSetup() at mojoPortal.Web.UI.Pages.SetupHome.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 

 

3/28/2009 7:54:14 AM
Gravatar
Total Posts 18439

Re: Error after updating to latest version

It sounds like there are more corrupt files. There are xml files used to configure settings for each feature, they are located under /Setup/applications/[featurename]/FeatureDefinitions

So the safest things to do is upload the /Setup/applications folder again, watching for any transfer errors. I'm wondering if there is something funky about your FTP client that is making these corrupt files. I worry what other corrupt files might be scattered around to cause errors or bugs later. The files in the package are not corrupt but somehow some of them are getting corrupted during the upload process.

I use FileZilla, it gives a clear indicator of any transfer failures so if an error occurs you can retry on any files that failed.

Hope it helps,

Joe

3/28/2009 7:57:56 AM
Gravatar
Total Posts 72

Re: Error after updating to latest version

I use FireZilla as well - I was vey careful uploading everything as well - so very strange - will upload all again even more carefully

Thanks

3/28/2009 8:02:53 AM
Gravatar
Total Posts 18439

Re: Error after updating to latest version

Once you get it working again don't forget to set that CustomErrors setting in Web.config back to RemoteOnly

Best,

Joe 

3/29/2009 1:55:17 AM
Gravatar
Total Posts 72

Re: Error after updating to latest version

Hi again,

Setup seemed to work ok and I got the pages back up.  My CSS still looked the same - no changes made to the layout.master file but when I made the change as below as per what you mentioned to do (as I haven't updated my custom CSS for 6 months), the CSS went all out of whack.  But, thats me going to have to tinker around with it more.

--------------------------------------
1. open layout.master file in a text editor and replace this:

<portal:StyleSheet id="StyleSheet" runat="server" />
with this
<portal:StyleSheetCombiner id="StyleSheetCombiner" runat="server" />

-------------------------------------

But if you take a look at my clients website, http://www.petpaws.com.au/privacy-policy.aspx you will notice that there is a message

"We're sorry but we could not find the page you are looking for. Please try the Site Map.
Other things to try:"

Doesn't matter what link you click on I get the same.  I have made no changes to the website at all (kept my original layout.master file and custom skin, but I did clear one of the tables you advised me to which was showing the wrong directory path - apart from that nothing.

Will tinker around in the Admin to see if I can fix and search some of the forums re not being able to find pages that do exist.  Probably something simple though.

Cheers

 

 

3/29/2009 6:32:07 AM
Gravatar
Total Posts 72

Re: Error after updating to latest version

Hi

This is the log file contents - hope it yields the problem :)

----------------------

2009-03-29 06:20:27,532 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2009-03-29 07:17:04,428 INFO mojoPortal.Web.Global - Application Started.
2009-03-29 07:22:25,337 ERROR mojoPortal.Web.PageNotFoundHttpModule - PageNotFoundHttpModule handled error.
System.Web.HttpException: The file '/Default.aspx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2009-03-29 07:22:42,446 ERROR mojoPortal.Web.PageNotFoundHttpModule - PageNotFoundHttpModule handled error.
System.Web.HttpException: The file '/Default.aspx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2009-03-29 07:22:52,118 ERROR mojoPortal.Business.WebHelpers.UserSignInHandlers.UserSignInHandlerProviderConfig - System.Xml.XmlException: Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 11, position 24.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParsePI(BufferBuilder piInDtdStringBuilder)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at mojoPortal.Business.WebHelpers.UserSignInHandlers.UserSignInHandlerProviderConfig.GetConfig()
2009-03-29 07:22:52,118 ERROR mojoPortal.Business.WebHelpers.UserSignInHandlers.UserSignInHandlerProviderManager - UserSignInHandlerProviderConfig could not be loaded so empty provider collection was returned
2009-03-29 07:23:58,837 ERROR mojoPortal.Web.PageNotFoundHttpModule - PageNotFoundHttpModule handled error.
System.Web.HttpException: The file '/Default.aspx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2009-03-29 07:24:23,587 ERROR mojoPortal.Web.mojoBasePage - 59.101.161.120-en-GB - /Admin/AdminMenu.aspx
System.Xml.XmlException: Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 23, position 3.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParsePI(BufferBuilder piInDtdStringBuilder)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at mojoPortal.Web.ContentAdminLinksConfiguration.GetConfig(Int32 siteId)
at mojoPortal.Web.AdminUI.AdminMenuPage.BuildAdditionalMenuListItems()
at mojoPortal.Web.AdminUI.AdminMenuPage.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2009-03-29 07:24:23,712 ERROR mojoPortal.Web.Global - 59.101.161.120-en-GB - /Admin/AdminMenu.aspx
System.Xml.XmlException: Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 23, position 3.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParsePI(BufferBuilder piInDtdStringBuilder)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at mojoPortal.Web.ContentAdminLinksConfiguration.GetConfig(Int32 siteId)
at mojoPortal.Web.AdminUI.AdminMenuPage.BuildAdditionalMenuListItems()
at mojoPortal.Web.AdminUI.AdminMenuPage.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2009-03-29 07:28:54,089 ERROR mojoPortal.Web.Global - 59.101.161.120-en-GB - /ClientScript/ibox.js.aspx
System.Web.HttpParseException: There can be only one 'page' directive. ---> System.Web.HttpException: There can be only one 'page' directive.
at System.Web.UI.TemplateParser.ProcessError(String message)
at System.Web.UI.TemplateParser.ProcessDirective(String directiveName, IDictionary directive)
at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)
at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive)
at System.Web.UI.PageParser.ProcessDirective(String directiveName, IDictionary directive)
at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
--- End of inner exception stack trace ---
at System.Web.UI.TemplateParser.ProcessException(Exception ex)
at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
2009-03-29 07:28:57,730 ERROR mojoPortal.Web.PageNotFoundHttpModule - PageNotFoundHttpModule handled error.
System.Web.HttpException: The file '/Default.aspx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2009-03-29 07:29:15,042 ERROR mojoPortal.Web.Global - 59.101.161.120-en-GB - /ClientScript/ibox.js.aspx
System.Web.HttpParseException: There can be only one 'page' directive. ---> System.Web.HttpException: There can be only one 'page' directive.
at System.Web.UI.TemplateParser.ProcessError(String message)
at System.Web.UI.TemplateParser.ProcessDirective(String directiveName, IDictionary directive)
at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)
at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive)
at System.Web.UI.PageParser.ProcessDirective(String directiveName, IDictionary directive)
at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
--- End of inner exception stack trace ---
at System.Web.UI.TemplateParser.ProcessException(Exception ex)
at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
2009-03-29 07:29:28,167 ERROR mojoPortal.Web.PageNotFoundHttpModule - PageNotFoundHttpModule handled error.
System.Web.HttpException: The file '/Default.aspx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2009-03-29 07:29:44,871 ERROR mojoPortal.Web.PageNotFoundHttpModule - PageNotFoundHttpModule handled error.
System.Web.HttpException: The file '/Default.aspx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2009-03-29 07:30:00,308 ERROR mojoPortal.Web.PageNotFoundHttpModule - PageNotFoundHttpModule handled error.
System.Web.HttpException: The file '/Default.aspx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 

 

3/29/2009 6:33:49 AM
Gravatar
Total Posts 18439

Re: Error after updating to latest version

Hi Chris,

The 404 sounds like maybe the friendly urls got deleted or else have incorrect mappings from moving the site. In the petpaws site I would go into Administration Menu >  Add/Edit Pages, find the pages in the list and select it then click the gears to get to page settings. Then clicking the save button may restore the missing url. You will have to do it for each page that is giving a 404.

If it won't let you use the same url then it means the url is there but the mapping is not correct like if you moved the site from localhost/petpaws to the current location the url mappings will have /petpaws in  them and that would be a non existent page. In that case then do delete them from the mp_FriendlyUrls table or use the Advanced Tools > Url Manager to correct or delete them.

Hope it helps,

Joe

3/29/2009 6:34:46 AM
Gravatar
Total Posts 18439

Re: Error after updating to latest version

Or else you failed to upload the Default.aspx file in the root. 

3/29/2009 7:17:25 AM
Gravatar
Total Posts 72

Re: Error after updating to latest version

Lol

Heres me trying to sort out the pages and forgot about the default.aspx.  I renamed it so I could put up a basic html default page whilst the site as down.

Anyway, just removed the html default page and renamed back to default.aspx and presto - all up and running.  And the weird thing, after finally getting the web host to sort out the issues their end, and updating to the latest version, I have never seen pages render that quickly before (and have been using mojo for a year now).  Somethings working right,

Thanks for your help


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