Problem creating hierarchies for a variation in MOSS.

 

http://blog.thekid.me.uk

Add to del.icio.us Digg It

I had in interesting problem the other day…I couldn’t create the hierarchies for a variation because of the following error.

No Variation Root Web has been set – hierarchies cannot be created until a Variation Root is set.

This was strange because the root web had been set and the hierarchies had been created for it. Also, If I went to the settings for variations I couldn’t set the root web because the hierarchies had been created…I was a bit stuck.

clip_image002

So, using reflector, I found the code which produced the error message to see what was wrong. The code appeared to be checking a root document library called the ‘Relationships List’ to find out what the root web was…there must have been something wrong with that list. Navigating to the library (http://<your site>/relationships list/allitems.aspx) you will see a number of entries (possibly only one) which is used internally by SharePoint. None of the entries have titles so you have to find the one for the root web.

clip_image004

I have looked at a few SharePoint publishing sites and the root web entry always had the GroupID of F68A02C8-2DCC-4894-B67D-BBAED5A066F9 and so this may be the default. However, once you locate the root web entry you will see an entry similar to above, where the web address is not set. 

On changing this entry to point to the correct root web (as below) the error went away and I was once again able to create variations.

clip_image006

http://blog.thekid.me.uk/archive/2007/10/17/problem-creating-hierarchies-for-a-variation-in-moss-.aspx

Gửi phản hồi

Mời bạn điền thông tin vào ô dưới đây hoặc kích vào một biểu tượng để đăng nhập:

WordPress.com Logo

Bạn đang bình luận bằng tài khoản WordPress.com Log Out / Thay đổi )

Twitter picture

Bạn đang bình luận bằng tài khoản Twitter Log Out / Thay đổi )

Facebook photo

Bạn đang bình luận bằng tài khoản Facebook Log Out / Thay đổi )

Google+ photo

Bạn đang bình luận bằng tài khoản Google+ Log Out / Thay đổi )

Connecting to %s

%d bloggers like this: