Having difficulty adding a new web part zone to default.aspx in a custom site
definition. We're trying to put the image web part in place of the home logo
that is above the Quick Launch nav. The <form> and </form> tags have both
been moved next to the opening and closing <body> tags in the page, and
appear to be balanced. However, when the a site is generated from the
template, the follwoing error appears:
*************************
An unexpected error has occurred.

Web Parts Maintenance Page: If you have permission, you can use this page to
temporarily disable Web Parts or remove personal settings. For more
information, contact your site administrator.
*************************

Anyone have any idea what we're doing wrong?

Re: Adding Web Part Zone to default.aspx in Site Definition by Jenn

Jenn
Fri Sep 24 10:49:18 CDT 2004

I think I was having the same sorta issue, maybe someone has some input. I
copied the C:\Program Files\Common Files\Microsoft Shared\web server
extensions\60\TEMPLATE\1033\STS folder to a new one and then when I opened
the default.aspx of STSNEW in frontpage it didn't show any webpart zones and
it broke QuickLaunch bar. Is there a better way to modify the default
templates ?

"ChicagoDevGuy" <ChicagoDevGuy@discussions.microsoft.com> wrote in message
news:C62587AC-1988-4DA9-A171-E5769884039E@microsoft.com...
> Having difficulty adding a new web part zone to default.aspx in a custom
> site
> definition. We're trying to put the image web part in place of the home
> logo
> that is above the Quick Launch nav. The <form> and </form> tags have both
> been moved next to the opening and closing <body> tags in the page, and
> appear to be balanced. However, when the a site is generated from the
> template, the follwoing error appears:
> *************************
> An unexpected error has occurred.
>
> Web Parts Maintenance Page: If you have permission, you can use this page
> to
> temporarily disable Web Parts or remove personal settings. For more
> information, contact your site administrator.
> *************************
>
> Anyone have any idea what we're doing wrong?



Re: Adding Web Part Zone to default.aspx in Site Definition by ChicagoDevGuy

ChicagoDevGuy
Fri Sep 24 12:47:03 CDT 2004

I haven't run into that problem. In my default.aspx file, the default zones
are there. Only when I try to add a zone above the Quick Launch does the
error get thrown.

"Jenn" wrote:

> I think I was having the same sorta issue, maybe someone has some input. I
> copied the C:\Program Files\Common Files\Microsoft Shared\web server
> extensions\60\TEMPLATE\1033\STS folder to a new one and then when I opened
> the default.aspx of STSNEW in frontpage it didn't show any webpart zones and
> it broke QuickLaunch bar. Is there a better way to modify the default
> templates ?
>
> "ChicagoDevGuy" <ChicagoDevGuy@discussions.microsoft.com> wrote in message
> news:C62587AC-1988-4DA9-A171-E5769884039E@microsoft.com...
> > Having difficulty adding a new web part zone to default.aspx in a custom
> > site
> > definition. We're trying to put the image web part in place of the home
> > logo
> > that is above the Quick Launch nav. The <form> and </form> tags have both
> > been moved next to the opening and closing <body> tags in the page, and
> > appear to be balanced. However, when the a site is generated from the
> > template, the follwoing error appears:
> > *************************
> > An unexpected error has occurred.
> >
> > Web Parts Maintenance Page: If you have permission, you can use this page
> > to
> > temporarily disable Web Parts or remove personal settings. For more
> > information, contact your site administrator.
> > *************************
> >
> > Anyone have any idea what we're doing wrong?
>
>
>

Re: Adding Web Part Zone to default.aspx in Site Definition by timothy

timothy
Fri Oct 22 15:50:58 CDT 2004

I am having the same problem, did you ever find a fix ? I can add
the web part zone just fine via Front Page (right above the quick
launch bar) but it just won't take it if I change the site template.
I get the same error message.



> > > that is above the Quick Launch nav. The <form> and </form> tags have both
> > > been moved next to the opening and closing <body> tags in the page, and
> > > appear to be balanced. However, when the a site is generated from the
> > > template, the follwoing error appears:
> > > *************************
> > > An unexpected error has occurred.
> > >
> > > Web Parts Maintenance Page: If you have permission, you can use this page
> > > to
> > > temporarily disable Web Parts or remove personal settings. For more
> > > information, contact your site administrator.
> > > *************************
> > >
> > > Anyone have any idea what we're doing wrong?
> >
> >
> >

Re: Adding Web Part Zone to default.aspx in Site Definition by ChicagoDevGuy

ChicagoDevGuy
Sun Oct 24 19:51:01 CDT 2004

No, never found a fix. Still interested.

"Tim Platt" wrote:

> I am having the same problem, did you ever find a fix ? I can add
> the web part zone just fine via Front Page (right above the quick
> launch bar) but it just won't take it if I change the site template.
> I get the same error message.
>
>
>
> > > > that is above the Quick Launch nav. The <form> and </form> tags have both
> > > > been moved next to the opening and closing <body> tags in the page, and
> > > > appear to be balanced. However, when the a site is generated from the
> > > > template, the follwoing error appears:
> > > > *************************
> > > > An unexpected error has occurred.
> > > >
> > > > Web Parts Maintenance Page: If you have permission, you can use this page
> > > > to
> > > > temporarily disable Web Parts or remove personal settings. For more
> > > > information, contact your site administrator.
> > > > *************************
> > > >
> > > > Anyone have any idea what we're doing wrong?
> > >
> > >
> > >
>

Re: Adding Web Part Zone to default.aspx in Site Definition by jonnysg01

jonnysg01
Tue Nov 02 14:05:31 CST 2004

To Add a Web Part Zone above the Quick Launch nav you must first
remove the form in the page and put a form runat="server" between
<body> and </body> to put everything in.
The problem is that Quick Launch nav use
System.Threading.Thread.CurrentThread.CurrentUICulture.LCID and you
cant use this in a form. What you can do it's just replace it by 1033
or you can create a function in javascript like me at the top of the
page (not in the form) to redirect with the
<%=System.Threading.Thread.CurrentThread.CurrentUICulture.LCID%>
parameters. After this, you will be able to put a web part zone above
the Quick Launch nav.

"ChicagoDevGuy" <ChicagoDevGuy@discussions.microsoft.com> wrote in message news:<4499A601-221B-4E5D-9898-A18CA6C54AC4@microsoft.com>...
> No, never found a fix. Still interested.
>
> "Tim Platt" wrote:
>
> > I am having the same problem, did you ever find a fix ? I can add
> > the web part zone just fine via Front Page (right above the quick
> > launch bar) but it just won't take it if I change the site template.
> > I get the same error message.
> >
> >
> >
> > > > > that is above the Quick Launch nav. The <form> and </form> tags have both
> > > > > been moved next to the opening and closing <body> tags in the page, and
> > > > > appear to be balanced. However, when the a site is generated from the
> > > > > template, the follwoing error appears:
> > > > > *************************
> > > > > An unexpected error has occurred.
> > > > >
> > > > > Web Parts Maintenance Page: If you have permission, you can use this page
> > > > > to
> > > > > temporarily disable Web Parts or remove personal settings. For more
> > > > > information, contact your site administrator.
> > > > > *************************
> > > > >
> > > > > Anyone have any idea what we're doing wrong?
> > > >
> > > >
> > > >
> >

Re: Adding Web Part Zone to default.aspx in Site Definition by timothy

timothy
Mon Nov 08 17:30:57 CST 2004

Jonathan, I just gave it a shot, and that did indeed fix the problem.
Thanks for posting, you've saved me a lot of work!


> To Add a Web Part Zone above the Quick Launch nav you must first
> remove the form in the page and put a form runat="server" between
> <body> and </body> to put everything in.
> The problem is that Quick Launch nav use
> System.Threading.Thread.CurrentThread.CurrentUICulture.LCID and you
> cant use this in a form. What you can do it's just replace it by 1033

Re: Adding Web Part Zone to default.aspx in Site Definition by Mike

Mike
Tue Nov 09 08:52:36 CST 2004

Would either of you care to put this into the kind of simple language (and
complete detail) I need to enable me to put this in section IV of the WSS
FAQ ?

Mike Walsh, Helsinki, Finland
WSS FAQ at http://wss.collutions.com
Please reply to the newsgroup

"Tim Platt" <timothy.r.platt@gmail.com> wrote in message
news:9ed42dba.0411081530.473ccd45@posting.google.com...
> Jonathan, I just gave it a shot, and that did indeed fix the problem.
> Thanks for posting, you've saved me a lot of work!
>
>
>> To Add a Web Part Zone above the Quick Launch nav you must first
>> remove the form in the page and put a form runat="server" between
>> <body> and </body> to put everything in.
>> The problem is that Quick Launch nav use
>> System.Threading.Thread.CurrentThread.CurrentUICulture.LCID and you
>> cant use this in a form. What you can do it's just replace it by 1033