Microsoft Content Management Server - Save Placeholder failed (after upgrade)

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > September 2005 > Save Placeholder failed (after upgrade)





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

2005-09-20, 7:48 am

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


Stefan [MSFT]

2005-09-20, 7:48 am

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
>



David

2005-09-20, 8:48 pm

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



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com