Microsoft Content Management Server - Javascript Error using Author Console when Switch to Edit

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > March 2004 > Javascript Error using Author Console when Switch to Edit





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 Javascript Error using Author Console when Switch to Edit
Steve

2004-03-03, 7:36 pm

Hello,

I am getting a JavaScript error when I click on "Switch to
Edit" using Author Console on a new CMS Site. This new
site is just a mirror of a similiar CMS site an another
server. On the original site, there are no JavaScript
errors and everything is working fine. Here is how I
migrated the orginal site.

1. Checked all source code into Visual Soure Safe (VSS)
2. Extracted CMS DB contents to an .sdo file.
3. Logged into new server and recreated CMS site from the
code in VSS (and then compiled it)
4. Import .sdo package to new server via Site Manager.
5. Accessed the new site URL (that I built in step 3).
6. All content is there, site looks good, but as soon as I
click on "Switch to Edit Site", I get this JavaScript
error.

Line: 312
Char: 1
Error: Object expected
Code: 0
URL: http://rc-ble01-5/hnfs/templates/BeneHome.aspx?
NRMODE=Published&NRORIGINALURL=%2fbene%2fhome%
2f&NRNODEGUID=%7b6987E95C-D321-4963-B3EC-1BBFAC1DF7F6%
7d&NRCACHEHINT=ModifyLoggedIn

....and here is lines 310-312 is this in the HTML source
code...

310: <a
311: id=SwitchToPresentationUnpublishedAnchor

312: onclick="CMS_preparePostbackUrl('/NR/exeres/6987E95C-
D321-4963-B3EC-1BBFAC1DF7F6,frameless.htm?
NRMODE=Unpublished&WBCMODE=PresentationUnpublished&wbc_purp
ose=Basic');__doPostBack('DefaultConsole
1$Console1
$PresentationPublishedModeContainer1
$SwitchToPresentationUnpublishedAction1'
,'');return false"
href="#"
target=_self>


Any Ideas? This has happend on 2 servers now... the site
runs great on all 3 servers, but I can only "Switch to
Edit" w/out Javascript Errors on the orginal server where
the site was developed. Thanks for your help!
Stefan [MSFT]

2004-03-04, 6:35 am

Hi Steve,

check out this article:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm#21B7B163-820E-439C-9D36-24A94BB15B30

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Steve" <anonymous@discussions.microsoft.com> wrote in message
news:660101c40180$84d28f90$a301280a@phx.gbl...
> Hello,
>
> I am getting a JavaScript error when I click on "Switch to
> Edit" using Author Console on a new CMS Site. This new
> site is just a mirror of a similiar CMS site an another
> server. On the original site, there are no JavaScript
> errors and everything is working fine. Here is how I
> migrated the orginal site.
>
> 1. Checked all source code into Visual Soure Safe (VSS)
> 2. Extracted CMS DB contents to an .sdo file.
> 3. Logged into new server and recreated CMS site from the
> code in VSS (and then compiled it)
> 4. Import .sdo package to new server via Site Manager.
> 5. Accessed the new site URL (that I built in step 3).
> 6. All content is there, site looks good, but as soon as I
> click on "Switch to Edit Site", I get this JavaScript
> error.
>
> Line: 312
> Char: 1
> Error: Object expected
> Code: 0
> URL: http://rc-ble01-5/hnfs/templates/BeneHome.aspx?
> NRMODE=Published&NRORIGINALURL=%2fbene%2fhome%
> 2f&NRNODEGUID=%7b6987E95C-D321-4963-B3EC-1BBFAC1DF7F6%
> 7d&NRCACHEHINT=ModifyLoggedIn
>
> ...and here is lines 310-312 is this in the HTML source
> code...
>
> 310: <a
> 311: id=SwitchToPresentationUnpublishedAnchor

> 312: onclick="CMS_preparePostbackUrl('/NR/exeres/6987E95C-
> D321-4963-B3EC-1BBFAC1DF7F6,frameless.htm?
> NRMODE=Unpublished&WBCMODE=PresentationUnpublished&wbc_purp
> ose=Basic');__doPostBack('DefaultConsole
1$Console1
> $PresentationPublishedModeContainer1
> $SwitchToPresentationUnpublishedAction1'
,'');return false"
> href="#"
> target=_self>
>
>
> Any Ideas? This has happend on 2 servers now... the site
> runs great on all 3 servers, but I can only "Switch to
> Edit" w/out Javascript Errors on the orginal server where
> the site was developed. Thanks for your help!



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com