Feeds:
Posts
Comments

Archive for the ‘Customization’ Category

Dear all,

this is a quick one.

 

The Problem.

Recently I had the problem of not being able to create a page based on a custom master page and page layout. The error shown was:

image

“List does not exist”

“The page you selected contains a list that does not exist”

When clicking on “Site Actions”-> “Create Page”, it simply wouldn’t show the insertion mask for title and URL, but issue the above shown error. The solution for this is easy and quick.

The Solution.

It is quite easy to solve this problem. The authenticated users just don’t have the permissions to read the master page gallery – or in other words: No masterpage access, no new page (which makes sense). Hence, you can go to:

Site Actions –> Site Settings –> Master pages and page layouts –> Settings –> Document library settings –> Permissions

and add there the group NT AUTHORITY\authenticated users (Read, Restricted Read), just like in the screenshot given below:

image

Return to the site or page where you initially wanted to create a page, and you will see it is going to create the page without problems.

 

I hope this was of some help!

Have a good time and stay tuned to the next blog post!

Best regards,

Martin

Advertisements

Read Full Post »

Howdy folks,

if you are searching for the already installed MOSS 2007 language packs and don’t know where to find them, open the Registry Editor and search for the following path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\InstalledLanguages

It will give you a list with the installed languages, providing the corresponding LCIDs (e.g. 1033 for “English”).

image

Fig. 1: RegEd reporting three installed language packs for MOSS 2007.

 

Make sure not to change any settings in this place, as MOSS 2007 will manipulate these settings automatically upon installation/uninstallation of a language pack.

 

Enjoy and have a good time!

Best regards,

Martin

Read Full Post »

Howdy guys,

It’s time for a new trouble report. It is a minor issue, but getting behind it was not trivial (in fact, I got there by chance 😉 ).

So, we had the following problem: When creating a page which was using a page layout with pre-added WebParts, it would throw an exception everytime we were trying to access that page, stating:

 

Cannot complete this Action.

 

Not much information, is it? Also, the stack trace did not really provide any helpful points for resolving the issue.

So, the next step clearly was to investigate the page layout in question. Using SP Designer 2007 I accessed the page layout and looked through the corresponding aspx.

Blog_PageLayout

 

Oh, wonder! I found two (different) webparts with the same id! Actually, this was the cause for the exception.

 

Solution: I just replaced the trailing “1” of AnotherWebPart’s id with a “2” (manually). And make sure the id you are giving won’t interfere with another existing web part (in our case, “YetAnotherWebPart’s id”).

 

I am aware there are multiple causes for the exception “Cannot complete this action.” – but if your pages show the same symptoms (exception occurs when trying to access the page with a specific layout, layout containing various webparts), then you might give it a shot!

Best regards and stay tuned till the next time!

Martin

Read Full Post »

Hello all,

Following scenario: Let’s assume we have a MOSS 2007 site containing some pages. Furthermore, let’s assume we want to create a site template out of this exisiting site. In fact, it is possible to save it, but the option is a bit hidden.

Assuming, we have the following site:

http://server:port/mysite/

And we want to save this site as a template (.stp) for reuse, then, unfortunately, there is no link or option in the “Site Settings” for fulfilling this need. But we can do the following:

Append “_layouts/savetmpl.aspx” to the URL of our site, and voilà: The Save template page will open, giving us the opportunity to save the current site as a template.  In the above case, this means the URL would have to look like:

http://server:port/mysite/_layouts/savetmpl.aspx

Which brings us to the following mask:

image

Figure 1: The “Save Site as Template” mask

After that, you can comfortably access the newly created site template under

Site Settings –> Modify All Site Settings –> (Column: Galleries:) Site Templates.

If the latter menu point doesn’t show up, be sure you are in the top level site settings (otherwise go there using “Go to top level site settings”)

Best regards,

Martin

Read Full Post »