Save Placeholder failed (after upgrade)
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 > Save Placeholder failed (after upgrade)




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

    Save Placeholder failed (after upgrade)  
David


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


 
09-20-05 12:48 PM

Hi Stefan,

We are getting an error. We know what is causing it, but don't know how to
get around it.

We upgraded to MCMS 2002 from a previous version (before I joined the
organisation). Since the upgrade, we are getting the save placeholder failed
error.

We know it is down to resources that the person had prior to the upgrade,
but since the upgrade, those resources are no longer available. From what I
understand, we had a resource transfer for the upgrade, but what appears to
be happening is that the old resources are still linked to (even though not
showing up on the page). The net result is that the page is referencing the
new resource and old resource but only showing the new.

This is fine whilst the page is only being viewed, but when editing then
saving, the save is trying to reference the old resource, which of course,
they no longer have access to, which then fails the save.

How can we get around this? Something I am thinking is probably in the save
process. During the save, read all the GUIDs, check access rights against
the GUID and remove where no access. How can I go about doing something like
this?

Currently, we can view the HTML, copy all the code out into notepad, do a
save, do an edit (on the page) paste back from notepad after removing the
spurious stuff, then save. Bit of a pain to go through that on our site, so
an automated way would be most welcome.

We are using C#.

Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available







[ Post a follow-up to this message ]



    Re: Save Placeholder failed (after upgrade)  
Stefan [MSFT]


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


 
09-20-05 12:48 PM

Hi David,

this will happen if the resource links are still in the placeholders.
E.g. something like this:

<a href="...resourceurl"></a>

You will not see this as no visible content is in the placeholder.
You need to open the posting in edit mode, switch the placeholder control to
html view and remove the invalid resource links.

Or - to automate this - implement the following solution:
http://blogs.technet.com/stefan_gos.../07/175298.aspx

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
----------------------


"David" <david.colliver.NEWS@revilloc.REMOVETHIS.com> wrote in message
news:utkLjzcvFHA.3860@TK2MSFTNGP09.phx.gbl...
> Hi Stefan,
>
> We are getting an error. We know what is causing it, but don't know how to
> get around it.
>
> We upgraded to MCMS 2002 from a previous version (before I joined the
> organisation). Since the upgrade, we are getting the save placeholder
> failed error.
>
> We know it is down to resources that the person had prior to the upgrade,
> but since the upgrade, those resources are no longer available. From what
> I understand, we had a resource transfer for the upgrade, but what appears
> to be happening is that the old resources are still linked to (even though
> not showing up on the page). The net result is that the page is
> referencing the new resource and old resource but only showing the new.
>
> This is fine whilst the page is only being viewed, but when editing then
> saving, the save is trying to reference the old resource, which of course,
> they no longer have access to, which then fails the save.
>
> How can we get around this? Something I am thinking is probably in the
> save process. During the save, read all the GUIDs, check access rights
> against the GUID and remove where no access. How can I go about doing
> something like this?
>
> Currently, we can view the HTML, copy all the code out into notepad, do a
> save, do an edit (on the page) paste back from notepad after removing the
> spurious stuff, then save. Bit of a pain to go through that on our site,
> so an automated way would be most welcome.
>
> We are using C#.
>
> Best regards,
> Dave Colliver.
> http://www.AshfieldFOCUS.com
> ~~
> http://www.FOCUSPortals.com - Local franchises available
>







[ Post a follow-up to this message ]



    Re: Save Placeholder failed (after upgrade)  
David


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


 
09-21-05 01:48 AM

Thanks Stefan,

This is exactly what we were doing (or advising to do) but because we have
so many pages and so many authors, it is a recurring issue.

I will have a look at the code. It looks like what we need.

Best regards,
Dave Colliver.
http://www.SheffieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available


"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:uL6bxzdvFHA.908@tk2msftngp13.phx.gbl...
> Hi David,
>
> this will happen if the resource links are still in the placeholders.
> E.g. something like this:
>
> <a href="...resourceurl"></a>
>
> You will not see this as no visible content is in the placeholder.
> You need to open the posting in edit mode, switch the placeholder control
> to html view and remove the invalid resource links.
>
> Or - to automate this - implement the following solution:
> http://blogs.technet.com/stefan_gos.../07/175298.aspx
>
> 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
> ----------------------
>
>
> "David" <david.colliver.NEWS@revilloc.REMOVETHIS.com> wrote in message
> news:utkLjzcvFHA.3860@TK2MSFTNGP09.phx.gbl... 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





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