Microsoft Content Management Server - "Object Expected" error when switching to edit mode

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > May 2005 > "Object Expected" error when switching to edit mode





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 "Object Expected" error when switching to edit mode
Matt Delfs

2005-05-23, 5:53 pm

Greetings,



I have been having problems today with one of my MCMS servers whenever I try
to switch from "live mode" to "edit mode". After logging in to my content
authoring server, clicking on the "Switch to Edit Site" link on the default
console returns an "object expected" error. When I do this from a
workstation with Visual Studio installed and I have the option of debugging
I can dig further and determine that the source of the error is the
following block of code:



<A id="SwitchToPresentationUnpublishedAnchor" href="#"
onclick="CMS_preparePostbackUrl('/NR/exeres/5944036D-0716-4645-A613-13BA64E9
41C1,frameless.htm?NRMODE=Unpublished&WBCMODE=PresentationUnpublished&wbc_pu
rpose=Basic');__doPostBack('DefaultConso
lePortalHomepage$Console1$Presentati
onPublishedModeContainer1$SwitchToPresen
tationUnpublishedAction1','');return
false" target=_self>
Switch To Edit Site
</A>



To further complicate matters, I do NOT get this error if I perform these
steps from the content authoring server itself. I recently did an update of
the underlying aspx template files and the web application from my
development server, but everything is working fine on that server. Does
anyone know WHAT this message means, WHAT "object" is the webpage expecting
and HOW I can get passed it?



Thanks,

Matt Delfs


Mark Carranza

2005-05-23, 8:48 pm

I'm having a similar problem:
Here's the standard fix which seems to help most people (page will load then
wait a while, and it will move to article)
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm#21B7B163-820E-439C-9D36-24A94BB15B30

Deeper discussions:
http://groups-beta.google.com/group...lr=&sa=N&tab=wg

This happens for me intermittently, if I view source, good pages show:

<script language="javascript" type="text/javascript" ...
src="/MyCMSApp/CMS/WebAuthor/Client/CommonClient.js"></script>
src="/EFISalesPortal/CMS/WebAuthor/Client/Windows.js"></script>
src="/EFISalesPortal/CMS/WebAuthor/Client/Console.js"></script>
src="/EFISalesPortal/CMS/WebAuthor/Client/OptionsClient.js"></script>
src="/EFISalesPortal/CMS/WebAuthor/Client/JavaScriptUIStrings.js"></script>
src="/EFISalesPortal/CMS/WebAuthor/Client/Dates.js"></script>
src="/EFISalesPortal/CMS/WebAuthor/Client/AuthFormClient.js"></script>

But then I go to an ASP.NET, non-posting, or non-channel page, I go back to
a posting and BOOM! these lines DO NOT appear in my "view source" and I get
the same error. Help?

I hope your problem is easily fixed!

"Matt Delfs" wrote:

> Greetings,
>
>
>
> I have been having problems today with one of my MCMS servers whenever I try
> to switch from "live mode" to "edit mode". After logging in to my content
> authoring server, clicking on the "Switch to Edit Site" link on the default
> console returns an "object expected" error. When I do this from a
> workstation with Visual Studio installed and I have the option of debugging
> I can dig further and determine that the source of the error is the
> following block of code:
>
>
>
> <A id="SwitchToPresentationUnpublishedAnchor" href="#"
> onclick="CMS_preparePostbackUrl('/NR/exeres/5944036D-0716-4645-A613-13BA64E9
> 41C1,frameless.htm?NRMODE=Unpublished&WBCMODE=PresentationUnpublished&wbc_pu
> rpose=Basic');__doPostBack('DefaultConso
lePortalHomepage$Console1$Presentati
> onPublishedModeContainer1$SwitchToPresen
tationUnpublishedAction1','');return
> false" target=_self>
> Switch To Edit Site
> </A>
>
>
>
> To further complicate matters, I do NOT get this error if I perform these
> steps from the content authoring server itself. I recently did an update of
> the underlying aspx template files and the web application from my
> development server, but everything is working fine on that server. Does
> anyone know WHAT this message means, WHAT "object" is the webpage expecting
> and HOW I can get passed it?
>
>
>
> Thanks,
>
> Matt Delfs
>
>
>

Stefan [MSFT]

2005-05-24, 2:52 am

Hi Matt,

that sounds like the following issue:
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

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"Matt Delfs" <mdelfs@presidiotrust.gov> wrote in message
news:umsj%23M%23XFHA.2588@TK2MSFTNGP14.phx.gbl...
> Greetings,
>
>
>
> I have been having problems today with one of my MCMS servers whenever I
> try
> to switch from "live mode" to "edit mode". After logging in to my content
> authoring server, clicking on the "Switch to Edit Site" link on the
> default
> console returns an "object expected" error. When I do this from a
> workstation with Visual Studio installed and I have the option of
> debugging
> I can dig further and determine that the source of the error is the
> following block of code:
>
>
>
> <A id="SwitchToPresentationUnpublishedAnchor" href="#"
> onclick="CMS_preparePostbackUrl('/NR/exeres/5944036D-0716-4645-A613-13BA64E9
> 41C1,frameless.htm?NRMODE=Unpublished&WBCMODE=PresentationUnpublished&wbc_pu
> rpose=Basic');__doPostBack('DefaultConso
lePortalHomepage$Console1$Presentati
> onPublishedModeContainer1$SwitchToPresen
tationUnpublishedAction1','');return
> false" target=_self>
> Switch To Edit Site
> </A>
>
>
>
> To further complicate matters, I do NOT get this error if I perform these
> steps from the content authoring server itself. I recently did an update
> of
> the underlying aspx template files and the web application from my
> development server, but everything is working fine on that server. Does
> anyone know WHAT this message means, WHAT "object" is the webpage
> expecting
> and HOW I can get passed it?
>
>
>
> Thanks,
>
> Matt Delfs
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com