Issues with Backup and Restore
I'm trying to use aspx master pages on my public site, but I get this error with every page:
Code blocks are not allowed in this file.
Am I (unbelievably) stuck with html only?
I'm trying to use aspx master pages on my public site, but I get this error with every page:
Code blocks are not allowed in this file.
Am I (unbelievably) stuck with html only?
You can use Master Pages but you can't execute code in your .aspx files due to security issues so they probably aren't very useful to you.
You can use standard asp.net controls except for the ones that access the database.
-Tara
I tried adding a master page with no code but it didn't work. Then tech support informed me that aspx isn't supported if you are using a "3rd party tool" to upload your site - and I'm using SharePoint Designer so I'm out of luck.
I really hope microsoft plans to fix this soon. I don't see how I can recommend Office Live to my clients when it doesn't even have basic features like aspx and external javascript files.
Hi -
For developer related questions, this forum is your best source of information as the actual product team (e.g. me) is answering the questions. Many times we can supply more detailed information.
Can you provide a snippet of your code so we can see what you are doing and try to assist?
Thanks,
Tara
Hi Tara,
In our development environment, we are experiencing issues with the Discussion forum (out-of-the-box component). Are there any known issues with MOSS 2007 Backup/Restore? Note that we did not use any custom web parts or other components. This is just a blank page with discussion forum which is failing with the error listed below. Note that this error does not occur in the "source" environment. It only occurs in the new web application where we restored the backup of the source.
If there are no known issues with backup/restore, what is the recommended way of backing up and restoring the MOSS 2007 environment which contains a large number of sites (1800+), variations (nine languages) and custom web parts?
Thank you
Samir
Server Error in '/' Application.
Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: Microsoft.SharePoint.WebPartPages.WebPartPageUserException: Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION)) Source Error:
| An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
[WebPartPageUserException: Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))] Microsoft.SharePoint.WebPartPages.SPWebPartManager.SaveChangesCore(SPLayoutProperties layoutProperties, Boolean httpGet, Boolean saveCompressed, Boolean skipRightsCheck, Guid& newTypeId, Byte[]& newAllUsersProperties, Byte[]& newPerUserProperties, String[]& newLinks) +2004 Microsoft.SharePoint.WebPartPages.SPWebPartManager.SaveChangesCore(SPLayoutProperties layoutProperties, Boolean httpGet, Boolean saveCompressed, Boolean skipRightsCheck) +153 Microsoft.SharePoint.WebPartPages.SPWebPartManager.SaveChangesInternal(SPLayoutProperties layoutProperties, Boolean skipRightsCheck) +498 Microsoft.SharePoint.WebPartPages.SPWebPartManager.SaveChanges(SPLayoutProperties layoutProperties, Boolean skipRightsCheck) +396 Microsoft.SharePoint.WebPartPages.WebPart.SavePropertiesToStore(SPLayoutProperties layoutProperties) +125 Microsoft.SharePoint.WebPartPages.WebPart.SavePropertiesInternal(SPLayoutProperties layoutProperties) +422 Microsoft.SharePoint.WebPartPages.WebPart.OnUnload(EventArgs e) +626 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +267 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +204 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +204 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +204 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +204 System.Web.UI.Page.UnloadRecursive(Boolean dispose) +20 System.Web.UI.Page.ProcessRequestCleanup() +40 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154 System.Web.UI.Page.ProcessRequest() +86 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 Microsoft.SharePoint.Publishing.TemplateRedirectionPage.ProcessRequest(HttpContext context) +153 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 |
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Samir,
It sounds like you are hosting MOSS so I think that you should look for the MOSS 2007 discussion forum. This forum is for Office Live developers.
Thanks,
Tara