Javascript Error using Author Console when Switch to Edit
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Javascript Error using Author Console when Switch to Edit




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Javascript Error using Author Console when Switch to Edit  
Steve


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-04-04 12:36 AM

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!





[ Post a follow-up to this message ]



    Re: Javascript Error using Author Console when Switch to Edit  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-04-04 11:35 AM

Hi Steve,

check out this article:
http://download.microsoft.com/downl...>
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!







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:57 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register