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




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

    "Object Expected" error when switching to edit mode  
Matt Delfs


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


 
05-23-05 10: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







[ Post a follow-up to this message ]



    RE: "Object Expected" error when switching to edit mode  
Mark Carranza


Report This Message To A Moderator Edit/Delete Message


 
05-24-05 01:48 AM

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...>
MCMS+2002+-+(complete)+FAQ.htm#21B7B163-820E-439C-9D36-24A94BB15B30

Deeper discussions:
http://groups-beta.google.com/group...&tab=w
g

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 t
ry
> 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 defaul
t
> console returns an "object expected" error.  When I do this from a
> workstation with Visual Studio installed and I have the option of debuggin
g
> 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-13BA64
E9
> 41C1,frameless.htm?NRMODE=Unpublished&WBCMODE=PresentationUnpublished&wbc_
pu
>  rpose=Basic');__doPostBack('DefaultConso
lePortalHomepage$Console1$Presenta
ti
>  onPublishedModeContainer1$SwitchToPresen
tationUnpublishedAction1','');retu
rn
> 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 expectin
g
> and HOW I can get passed it?
>
>
>
> Thanks,
>
> Matt Delfs
>
>
>





[ Post a follow-up to this message ]



    Re: "Object Expected" error when switching to edit mode  
Stefan [MSFT]


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


 
05-24-05 07:52 AM

Hi Matt,

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

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-13BA64
E9
> 41C1,frameless.htm?NRMODE=Unpublished&WBCMODE=PresentationUnpublished&wbc_
pu
>  rpose=Basic');__doPostBack('DefaultConso
lePortalHomepage$Console1$Presenta
ti
>  onPublishedModeContainer1$SwitchToPresen
tationUnpublishedAction1','');retu
rn
> 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
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:40 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