|
Home > Archive > Microsoft Content Management Server > October 2005 > MsibCreateNewRichPageAction Error in Default Console
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
MsibCreateNewRichPageAction Error in Default Console
|
|
| Susan H 2005-09-02, 5:55 pm |
| When we click "Switch to Edit Site" on the Default Console, we get an error.
This only happens on pages that allow you to make the page "Rich" such as on
our products pages.
Full error detail is below, but basically it looks like the variable
UrlNewWindow is not being initialized or Init() is not being called inside of
the MsibCreateNewRichPageAction Web Author control. It is during the
get_ActionJavascript method, when the control is data binding and trying to
fill in that link, that the page fails.
The other interesting information is that this only happens in our
production environment. If I copy every file and dll down to our staging
server, we do not see
this error. I have checked some permissions on the NR folders, but cannot
see
anything that would be causing this. I don't know if it's code or security.
Just recently we upgraded our production environment to Windows Server 2003
Service Pack 1, but unfortunately I don't know how long this issue has been
occurring, other than to say I know this has worked on production in the past.
Could you please provide me with tips as to how to determine where the
problem lies.
We are using Commerce Server 2002 w FP1, MSIB 2.5, and Content Management
Server, on Windows Server 2003 SP1. Our staging environment is the same to
my knowledge.
Error Details:
============
Error Details:
============
An unhandled exception of type
Microsoft.ContentManagement.WebControls.WebAuthorException has occurred :
The property cannot be accessed before the Control.OnInit() phase.
[source = Microsoft.ContentManagement.WebControls]
[method call = get_UrlNewWindow]
[stack trace = at
Microsoft.ContentManagement.WebControls.ConsoleControls.BaseNewWindowAction.get_UrlNewWindow()
at
Microsoft.Solutions.Framework.MsibCreateNewRichPageAction.get_ActionJavascript()
at _ASP.DefaultConsole_ascx.__DataBind__control17(Object sender,
EventArgs e)
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBind()
at
Microsoft.ContentManagement.WebControls.BaseWebAuthor.Render(HtmlTextWriter
output)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at _ASP.DefaultConsole_ascx.__Render__control1(HtmlTextWriter __output,
Control parameterContainer)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Control.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter
writer)
at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at _ASP.CandyDetails_aspx.__Render__control1(HtmlTextWriter __output,
Control parameterContainer)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Control.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain()]
| |
| Stefan [MSFT] 2005-09-02, 5:55 pm |
| Hi Susan,
I haven't seen this before but the Init method should be the first to be
called on every control.
If this does not happen then it looks as if something wrong in the .NET
framework installation.
I would suggest to reinstall the .NET framework - if this does not help I
assume you would have to open a support call with Microsoft.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Susan H" <susanjane@newsgroups.nospam> wrote in message
news:7FADD627-B2E8-4CEF-856F-9C31720C485F@microsoft.com...
> When we click "Switch to Edit Site" on the Default Console, we get an
> error.
> This only happens on pages that allow you to make the page "Rich" such as
> on
> our products pages.
>
> Full error detail is below, but basically it looks like the variable
> UrlNewWindow is not being initialized or Init() is not being called inside
> of
> the MsibCreateNewRichPageAction Web Author control. It is during the
> get_ActionJavascript method, when the control is data binding and trying
> to
> fill in that link, that the page fails.
>
> The other interesting information is that this only happens in our
> production environment. If I copy every file and dll down to our staging
> server, we do not see
> this error. I have checked some permissions on the NR folders, but cannot
> see
> anything that would be causing this. I don't know if it's code or
> security.
>
> Just recently we upgraded our production environment to Windows Server
> 2003
> Service Pack 1, but unfortunately I don't know how long this issue has
> been
> occurring, other than to say I know this has worked on production in the
> past.
>
> Could you please provide me with tips as to how to determine where the
> problem lies.
>
> We are using Commerce Server 2002 w FP1, MSIB 2.5, and Content Management
> Server, on Windows Server 2003 SP1. Our staging environment is the same
> to
> my knowledge.
>
>
> Error Details:
> ============
> Error Details:
> ============
> An unhandled exception of type
>
> Microsoft.ContentManagement.WebControls.WebAuthorException has occurred :
> The property cannot be accessed before the Control.OnInit() phase.
> [source = Microsoft.ContentManagement.WebControls]
> [method call = get_UrlNewWindow]
> [stack trace = at
> Microsoft.ContentManagement.WebControls.ConsoleControls.BaseNewWindowAction.get_UrlNewWindow()
> at
> Microsoft.Solutions.Framework.MsibCreateNewRichPageAction.get_ActionJavascript()
> at _ASP.DefaultConsole_ascx.__DataBind__control17(Object sender,
> EventArgs e)
> at System.Web.UI.Control.OnDataBinding(EventArgs e)
> at System.Web.UI.Control.DataBind()
> at System.Web.UI.Control.DataBind()
> at System.Web.UI.Control.DataBind()
> at System.Web.UI.Control.DataBind()
> at System.Web.UI.Control.DataBind()
> at System.Web.UI.Control.DataBind()
> at System.Web.UI.Control.DataBind()
> at
> Microsoft.ContentManagement.WebControls.BaseWebAuthor.Render(HtmlTextWriter
> output)
> at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
> at _ASP.DefaultConsole_ascx.__Render__control1(HtmlTextWriter __output,
> Control parameterContainer)
> at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
> at System.Web.UI.Control.Render(HtmlTextWriter writer)
> at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
> at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
> at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter
> writer)
> at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)
> at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
> at _ASP.CandyDetails_aspx.__Render__control1(HtmlTextWriter __output,
> Control parameterContainer)
> at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
> at System.Web.UI.Control.Render(HtmlTextWriter writer)
> at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
> at System.Web.UI.Page.ProcessRequestMain()]
| |
| Susan H 2005-09-02, 8:47 pm |
| Stefan:
Thank you for your reply. Honestly, reinstalling the .NET Framework on our
production servers is a Big Deal and Bad Thing. The only major change to the
servers was the installation of Windows Server 2003 Service Pack 1.
I would like just to ask if you know of any way which security changes could
have affected this at all.
For example, I can see that in the Init method of the
MsibCreateNewRichPageAction object, there is a method call to
GetRichProductAttributes(), as well as calls to get property values for
destinationChannelGuid, ProductPosting.CSQueryStrings, etc. These seem to
play a part in setting the variable UrlNewWindow, and its *not* being set is
what's causing the error. I don't know if some security setting is preventing
those method calls or properties to not be accessed properly. I'm shooting
in the dark.
I'm simply trying to find out, before taking a "dramatic" step such as
reinstalling or opening up a MS Ticket, if there are other smaller steps I
can take to research the problem.
Thank you very much for any additional advice you can provide.
Susan
"Stefan [MSFT]" wrote:
> Hi Susan,
>
> I haven't seen this before but the Init method should be the first to be
> called on every control. If this does not happen then it looks as if something
> wrong in the .NET framework installation.
>
> I would suggest to reinstall the .NET framework - if this does not help I
> assume you would have to open a support call with Microsoft.
>
> Cheers,
> Stefan
| |
| Stefan [MSFT] 2005-09-03, 7:50 am |
| Hi Susan,
unfortunatelly I have never used MSIB.
So I cannot answer your question.
I assumed it is an authoring machine as the problem occurs in the console
and authoring is usually not done on a production machine.
As this is your production box I would recommend to open a support call with
Microsoft to ensure that the problem is analyzed in detail.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Susan H" <susanjane@newsgroups.nospam> wrote in message
news:9211F0C6-6D6A-466E-9056-8F61C09E4017@microsoft.com...
> Stefan:
>
> Thank you for your reply. Honestly, reinstalling the .NET Framework on
> our
> production servers is a Big Deal and Bad Thing. The only major change to
> the
> servers was the installation of Windows Server 2003 Service Pack 1.
>
> I would like just to ask if you know of any way which security changes
> could
> have affected this at all.
>
> For example, I can see that in the Init method of the
> MsibCreateNewRichPageAction object, there is a method call to
> GetRichProductAttributes(), as well as calls to get property values for
> destinationChannelGuid, ProductPosting.CSQueryStrings, etc. These seem to
> play a part in setting the variable UrlNewWindow, and its *not* being set
> is
> what's causing the error. I don't know if some security setting is
> preventing
> those method calls or properties to not be accessed properly. I'm
> shooting
> in the dark.
>
> I'm simply trying to find out, before taking a "dramatic" step such as
> reinstalling or opening up a MS Ticket, if there are other smaller steps I
> can take to research the problem.
>
>
> Thank you very much for any additional advice you can provide.
> Susan
>
> "Stefan [MSFT]" wrote:
>
>
>
| |
| Susan H 2005-10-26, 8:50 pm |
| This issue has been solved via a tech support call with Microsoft. The
technician was very polite and helpful, and it turns out that is was a rare
but very easy solution.
Apparently, the location (in CMS) where the templates were being stored had
been moved without the knowledge of our developers. The "default rich
product template path" was being queried, and no template was found at that
location. Therefore, the link was not created and this error was caused.
Ths info can be found was in 2 ways:
(1) Look in the Commerce Server Manager. Navigate to Commerce Sites -->
SITE_NAME --> Site Resources --> Content Connector. Look at the value for
the property "Default Rich Product Template"
(2) Open Visual Studio .NET and view the MCMS Template Explorer. Right-click
on your Rich Product Template and select Properties. Look at the value for
the property "Path"
When you have the path that is being used, open up your Site Manager for
Microsoft Content Management Server. Click on "Template Gallery" on the
left-hand side. Make sure that your template is located in the path that was
specified using the 2 methods above.
|
|
|
|
|