Friday, July 6, 2012

[sharepointdiscussions] Digest Number 4476

16 New Messages
Digest #4476
1a
SharePoint DB Attach Upgrade by "tmluby" tm_luby
1b
Re: SharePoint DB Attach Upgrade by "McAllister, Greg" gregoryj.mcallister
2a
Odd behavior from Powershell script by "Patrick Reeves" patrick_w36
2b
Re: Odd behavior from Powershell script by "Cheetham, Phillip" phillip_cheetham
2c
Re: Odd behavior from Powershell script by "Patrick Reeves" patrick_w36
3a
How to create a master page for 100 sites by "brother.gabriel" brother.gabriel
3b
Re: How to create a master page for 100 sites by "Peter Brunone" peter_brunone
3c
Re: How to create a master page for 100 sites by "brother.gabriel" brother.gabriel
3d
Re: How to create a master page for 100 sites by "nicolas.roquebert@gmail.com" cerbaire78
3e
3f
Re: How to create a master page for 100 sites by "Alcock, Bruce G." brucealcock
3g
3h
Re: How to create a master page for 100 sites by "brother.gabriel" brother.gabriel
3i
Re: How to create a master page for 100 sites by "Daniel A. Galant" figment16@att.net
4
SP2010 Developer Dashboard by "frontierrog@yahoo.com" frontierrog
5

Thu Jul 5, 2012 6:49 am (PDT) . Posted by: "tmluby" tm_luby
Has anyone seen an instance where the stsadm preupgradecheck passed on Features, but the Test-SPContentDatabase found errors and the mount failed? 
 
On my first attempt when the preupgrade failed, I got errors that looks like the following:
 
[powershell] [SPContentDatabaseSequence] [ERROR] [7/3/2012 1:17:58 PM]: Found a missing feature Id = [065c78be-5231-477e-a972-14177cc5b3c7]
[powershell] [SPContentDatabaseSequence] [ERROR] [7/3/2012 1:17:58 PM]: The feature with Id 065c78be-5231-477e-a972-14177cc5b3c7 is referenced in the database {DBName]
 
I found a tool on codeplex that found and cleaned up these features and then my  stsadm preupgradecheck passed.  I backed up the DB again and tried the test again, but it still fails.
 
Theresa

[Non-text portions of this message have been removed]

Thu Jul 5, 2012 7:19 am (PDT) . Posted by: "McAllister, Greg" gregoryj.mcallister
I have seen this on my installation as well. The attach process was scrapped and we went back to the drawing board. We then tried a full migration using a third party migration tool. I soon discovered though that while appearing to be successful, we found many anomalous errors and are now doing what I wanted to do originally. Unfortunately my boss did not find it to be a viable process and shot me down...well now we are doing what I recommended from the beginning - Rebuild the structure, either as is or consult with the users and make any structure changes that are felt to be necessary and then use the migration tools to copy only the data from the 2007 environment to 2010. This way you get your versions and your metadata but none of the 2007 structure which may include FAB 40 structures, third party tool embedded items, or other unknowns that will give you grief later. By just migrating data, you get to take advantage of all the SP 2010 environment in its pure state, unencumbered with any ghosts from SP2007. Of course we only had 1700+ sites to rebuild as far as structure but it is clean and run likes clockwork. Hope this gives you some hope.

Regards,

Greg

[Non-text portions of this message have been removed]

Thu Jul 5, 2012 6:51 am (PDT) . Posted by: "Patrick Reeves" patrick_w36
I've run into a very odd problem while using powershell to pre-load users
into a site collection database.

My script is very simple-
$u = get-content d:\mossscripts\users.txt

foreach ($a in $u)
{
New-SPUser -UserAlias $a -Web https://MossSite -Group Fixit
}

When the script is run, none of the web apps on the farm are available.
Sometimes it will say configuration database unavailable, sometime it will
toss up a authentication prompt that will not authenticate.
As soon as I stop the script everything returns to normal.

Any idea what is happening here and how I can avoid this?

Patrick

[Non-text portions of this message have been removed]

Thu Jul 5, 2012 7:19 am (PDT) . Posted by: "Cheetham, Phillip" phillip_cheetham
Are you running the script as a user that has permissions to add users to the targeted web applications?

From: sharepointdiscussions@yahoogroups.com [mailto:sharepointdiscussions@yahoogroups.com] On Behalf Of Patrick Reeves
Sent: Wednesday, July 04, 2012 3:58 PM
To: sharepointdiscussions@yahoogroups.com
Subject: [sharepointdiscussions] Odd behavior from Powershell script

I've run into a very odd problem while using powershell to pre-load users
into a site collection database.

My script is very simple-
$u = get-content d:\mossscripts\users.txt

foreach ($a in $u)
{
New-SPUser -UserAlias $a -Web https://MossSite -Group Fixit
}

When the script is run, none of the web apps on the farm are available.
Sometimes it will say configuration database unavailable, sometime it will
toss up a authentication prompt that will not authenticate.
As soon as I stop the script everything returns to normal.

Any idea what is happening here and how I can avoid this?

Patrick

[Non-text portions of this message have been removed]

-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.

[Non-text portions of this message have been removed]

Thu Jul 5, 2012 8:11 am (PDT) . Posted by: "Patrick Reeves" patrick_w36
Yes. The ID the script is running under is both a farm admin and site
collection admin on the target site collection.

I am guessing this is a database issues, as I put a 500ms delay between add
attempts the sites stayed up and the failure rate dropped significantly.

My guess is that there are a lot of actions that happen when a new user is
added to the site collection database for the first time (
http://todd-carter.com/post/2011/09/23/SharePoint-UserInfo-Table-Population-Tool.aspx)
and that slamming them in a full speed was overwhelming the database server.

Patrick

On Thu, Jul 5, 2012 at 6:54 AM, Cheetham, Phillip <
phillip.cheetham@cityofboston.gov> wrote:

> **
>
>
> Are you running the script as a user that has permissions to add users to
> the targeted web applications?
>
> From: sharepointdiscussions@yahoogroups.com [mailto:
> sharepointdiscussions@yahoogroups.com] On Behalf Of Patrick Reeves
> Sent: Wednesday, July 04, 2012 3:58 PM
> To: sharepointdiscussions@yahoogroups.com
> Subject: [sharepointdiscussions] Odd behavior from Powershell script
>
>
> I've run into a very odd problem while using powershell to pre-load users
> into a site collection database.
>
> My script is very simple-
> $u = get-content d:\mossscripts\users.txt
>
> foreach ($a in $u)
> {
> New-SPUser -UserAlias $a -Web https://MossSite -Group Fixit
> }
>
> When the script is run, none of the web apps on the farm are available.
> Sometimes it will say configuration database unavailable, sometime it will
> toss up a authentication prompt that will not authenticate.
> As soon as I stop the script everything returns to normal.
>
> Any idea what is happening here and how I can avoid this?
>
> Patrick
>
> [Non-text portions of this message have been removed]
>
> -----------------------------------------
> The substance of this message, including any attachments, may be
> confidential, legally privileged and/or exempt from disclosure
> pursuant to Massachusetts law. It is intended
> solely for the addressee. If you received this in error, please
> contact the sender and delete the material from any computer.
>
> [Non-text portions of this message have been removed]
>
>
>

--
COHERENCY NOTICE: The materials in this e-mail message, including any
attachments, were composed in an attempt to present the coherent message of
the sender. It is for this sole purpose that the intended recipient(s) were
sent this e-mail message. If the message, however, does not reflect the
coherent thoughts intended by the sender, be advised that any
misinterpretation of the message by the recipient(s) is strictly
prohibited. If you have received this e-mail and find that it does not
appear to contain a single coherent thought, immediately notify the sender
by reply e-mail and understand that not every message can be perfect.

[Non-text portions of this message have been removed]

Thu Jul 5, 2012 8:24 am (PDT) . Posted by: "brother.gabriel" brother.gabriel
Salvete! I want to create a master page that masters 100 sites. This should be so that if I add a web-part to the page, it gets inherited to the 100 sites.

However, you can't put web-parts in master pages.

Also, I don't have a development server, so I can't use VS which is on my desktop - just Sharepoint Designer.

What can I do?

Thu Jul 5, 2012 8:48 am (PDT) . Posted by: "Peter Brunone" peter_brunone
I guess I haven't looked into this -- but why can't you put a webpart in a
master page?

On Thu, Jul 5, 2012 at 10:24 AM, brother.gabriel <brgabriel@sspx.org> wrote:

> Salvete! I want to create a master page that masters 100 sites. This
> should be so that if I add a web-part to the page, it gets inherited to the
> 100 sites.
>
> However, you can't put web-parts in master pages.
>
> Also, I don't have a development server, so I can't use VS which is on my
> desktop - just Sharepoint Designer.
>
> What can I do?
>
>

[Non-text portions of this message have been removed]

Thu Jul 5, 2012 9:05 am (PDT) . Posted by: "brother.gabriel" brother.gabriel
Well, at least I can't do it in Sharepoint Designer... Maybe it can be done in VS, but I have an obstacle there...

--- In sharepointdiscussions@yahoogroups.com, Peter Brunone <peter.brunone@...> wrote:
>
> I guess I haven't looked into this -- but why can't you put a webpart in a
> master page?
>
> On Thu, Jul 5, 2012 at 10:24 AM, brother.gabriel <brgabriel@...> wrote:
>
> > Salvete! I want to create a master page that masters 100 sites. This
> > should be so that if I add a web-part to the page, it gets inherited to the
> > 100 sites.
> >
> > However, you can't put web-parts in master pages.
> >
> > Also, I don't have a development server, so I can't use VS which is on my
> > desktop - just Sharepoint Designer.
> >
> > What can I do?
> >
> >
>
>
> [Non-text portions of this message have been removed]
>

Thu Jul 5, 2012 9:09 am (PDT) . Posted by: "nicolas.roquebert@gmail.com" cerbaire78
Hi there,

I think the best way is to use a delegate control in the master page, and to activate a feature that put a user control in that delegate control (I don't remember if possible with a webpart, to check). Then you can also activate your feature at different scope.

Nicolas

-----Original Message-----
From: "brother.gabriel" <brgabriel@sspx.org>
Sender: sharepointdiscussions@yahoogroups.com
Date: Thu, 05 Jul 2012 16:04:59
To: <sharepointdiscussions@yahoogroups.com>
Reply-To: sharepointdiscussions@yahoogroups.com
Subject: [sharepointdiscussions] Re: How to create a master page for 100 sites

Well, at least I can't do it in Sharepoint Designer... Maybe it can be done in VS, but I have an obstacle there...

--- In sharepointdiscussions@yahoogroups.com, Peter Brunone <peter.brunone@...> wrote:
>
> I guess I haven't looked into this -- but why can't you put a webpart in a
> master page?
>
> On Thu, Jul 5, 2012 at 10:24 AM, brother.gabriel <brgabriel@...> wrote:
>
> > Salvete! I want to create a master page that masters 100 sites. This
> > should be so that if I add a web-part to the page, it gets inherited to the
> > 100 sites.
> >
> > However, you can't put web-parts in master pages.
> >
> > Also, I don't have a development server, so I can't use VS which is on my
> > desktop - just Sharepoint Designer.
> >
> > What can I do?
> >
> >
>
>
> [Non-text portions of this message have been removed]
>

[Non-text portions of this message have been removed]

Thu Jul 5, 2012 9:53 am (PDT) . Posted by: "pstork@att.net" pstorkoh
If the publishing features are turned on you can add Web parts to a Publishing
Page Layout.  Any page created from that layout will automatically have the web
part on it.   
 Paul Papanek Stork

________________________________
From: brother.gabriel <brgabriel@sspx.org>
To: sharepointdiscussions@yahoogroups.com
Sent: Thu, July 5, 2012 11:26:29 AM
Subject: [sharepointdiscussions] How to create a master page for 100 sites

 
Salvete! I want to create a master page that masters 100 sites. This should be
so that if I add a web-part to the page, it gets inherited to the 100 sites.

However, you can't put web-parts in master pages.

Also, I don't have a development server, so I can't use VS which is on my
desktop - just Sharepoint Designer.

What can I do?

[Non-text portions of this message have been removed]

Thu Jul 5, 2012 10:25 am (PDT) . Posted by: "Alcock, Bruce G." brucealcock
Paul, your answer raises another question related to team sites and publishing features:
By default, we like to create new sites using the Team Template.
But we then like to turn on publishing features because we like a lot of the add-ons it provides.
However, we don't want to the overhead of having to approve pages before they get modified, and these sites are still team sites.
These are intranet sites and we don't need to be concerned with pages edits being approved before they are visible to the everyone else.
What are the down sides to doing this? Is this a good strategy?
thanks,
-bruce
Bruce Alcock
System Engineer
OU Information Technology



From: sharepointdiscussions@yahoogroups.com [mailto:sharepointdiscussions@yahoogroups.com] On Behalf Of pstork@att.net
Sent: Thursday, July 05, 2012 11:54 AM
To: sharepointdiscussions@yahoogroups.com
Subject: Re: [sharepointdiscussions] How to create a master page for 100 sites



If the publishing features are turned on you can add Web parts to a Publishing
Page Layout. Any page created from that layout will automatically have the web
part on it.
Paul Papanek Stork

________________________________
From: brother.gabriel <brgabriel@sspx.org<mailto:brgabriel%40sspx.org>>
To: sharepointdiscussions@yahoogroups.com<mailto:sharepointdiscussions%40yahoogroups.com>
Sent: Thu, July 5, 2012 11:26:29 AM
Subject: [sharepointdiscussions] How to create a master page for 100 sites


Salvete! I want to create a master page that masters 100 sites. This should be
so that if I add a web-part to the page, it gets inherited to the 100 sites.

However, you can't put web-parts in master pages.

Also, I don't have a development server, so I can't use VS which is on my
desktop - just Sharepoint Designer.

What can I do?

[Non-text portions of this message have been removed]


[Non-text portions of this message have been removed]

Thu Jul 5, 2012 10:30 am (PDT) . Posted by: "pstork@att.net" pstorkoh
Its a pretty common practice and there is no particular down side.  Just turn of
Require Approval on the pages document library and you won't have the overhead
of needing to approve published pages.
 Paul Papanek Stork

________________________________
From: "Alcock, Bruce G." <balcock@ou.edu>
To: "sharepointdiscussions@yahoogroups.com"
<sharepointdiscussions@yahoogroups.com>
Sent: Thu, July 5, 2012 1:25:30 PM
Subject: RE: [sharepointdiscussions] How to create a master page for 100 sites

 
Paul, your answer raises another question related to team sites and publishing
features:
By default, we like to create new sites using the Team Template.
But we then like to turn on publishing features because we like a lot of the
add-ons it provides.
However, we don't want to the overhead of having to approve pages before they
get modified, and these sites are still team sites.
These are intranet sites and we don't need to be concerned with pages edits
being approved before they are visible to the everyone else.
What are the down sides to doing this? Is this a good strategy?
thanks,
-bruce
Bruce Alcock
System Engineer
OU Information Technology

From: sharepointdiscussions@yahoogroups.com
[mailto:sharepointdiscussions@yahoogroups.com] On Behalf Of pstork@att.net
Sent: Thursday, July 05, 2012 11:54 AM
To: sharepointdiscussions@yahoogroups.com
Subject: Re: [sharepointdiscussions] How to create a master page for 100 sites

If the publishing features are turned on you can add Web parts to a Publishing
Page Layout. Any page created from that layout will automatically have the web
part on it.
Paul Papanek Stork

________________________________
From: brother.gabriel <brgabriel@sspx.org<mailto:brgabriel%40sspx.org>>
To:
sharepointdiscussions@yahoogroups.com<mailto:sharepointdiscussions%40yahoogroups.com>

Sent: Thu, July 5, 2012 11:26:29 AM
Subject: [sharepointdiscussions] How to create a master page for 100 sites

Salvete! I want to create a master page that masters 100 sites. This should be
so that if I add a web-part to the page, it gets inherited to the 100 sites.

However, you can't put web-parts in master pages.

Also, I don't have a development server, so I can't use VS which is on my
desktop - just Sharepoint Designer.

What can I do?

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

Thu Jul 5, 2012 2:31 pm (PDT) . Posted by: "brother.gabriel" brother.gabriel
Hmmm... How do I get there from where I am? At present, I do have publishing enabled, but the sites are based on a masterpage that I customized from the v4.master. You actully CAN add a webpart in SPD, but the thing gets inserted right in the area of the Quicklaunch and you can't move it out of there.

What I want to do is to add a web-part to a web-part zone, but have it effect all the subsites based on that master.

Now, I'm not adverse to recreating my 100 subsites, as I don't have too much invested in them. But I don't understand how to make this work right.

--- In sharepointdiscussions@yahoogroups.com, pstork@... wrote:
>
> If the publishing features are turned on you can add Web parts to a Publishing
> Page Layout.  Any page created from that layout will automatically have the web
> part on it. Â Ã‚ 
>  Paul Papanek Stork
>
>
>
>
>
>
> ________________________________
> From: brother.gabriel <brgabriel@...>
> To: sharepointdiscussions@yahoogroups.com
> Sent: Thu, July 5, 2012 11:26:29 AM
> Subject: [sharepointdiscussions] How to create a master page for 100 sites
>
>  
> Salvete! I want to create a master page that masters 100 sites. This should be
> so that if I add a web-part to the page, it gets inherited to the 100 sites.
>
> However, you can't put web-parts in master pages.
>
> Also, I don't have a development server, so I can't use VS which is on my
> desktop - just Sharepoint Designer.
>
> What can I do?
>
>
>
>
> [Non-text portions of this message have been removed]
>

Thu Jul 5, 2012 3:02 pm (PDT) . Posted by: "Daniel A. Galant" figment16@att.net
You can't place something on the master page and have it appear with the
content are of the page. That placeholder (placeholdermain) is filled with
whatever your actual page content is, thereby replacing anything you might
put there on your master page. There is no "merge" of this content region.
Now as I believe was mentioned, you can place your web part into the page
layout, and have it appear on pages that use that layout.

Daniel A. Galant | 636-448-3240

MCITP - Enterprise Administrator | MCTS – SharePoint | MCTS - WSS v3 | MCTS
– OCS | MCSE+Messaging | MCSE+Security | MCT

daniel@netdesignit.com

Imagine what we could be... if we could just imagine.

From: sharepointdiscussions@yahoogroups.com
[mailto:sharepointdiscussions@yahoogroups.com] On Behalf Of brother.gabriel
Sent: Thursday, July 05, 2012 2:32 PM
To: sharepointdiscussions@yahoogroups.com
Subject: [sharepointdiscussions] Re: How to create a master page for 100
sites

Hmmm... How do I get there from where I am? At present, I do have publishing
enabled, but the sites are based on a masterpage that I customized from the
v4.master. You actully CAN add a webpart in SPD, but the thing gets inserted
right in the area of the Quicklaunch and you can't move it out of there.

What I want to do is to add a web-part to a web-part zone, but have it
effect all the subsites based on that master.

Now, I'm not adverse to recreating my 100 subsites, as I don't have too much
invested in them. But I don't understand how to make this work right.

--- In sharepointdiscussions@yahoogroups.com
<mailto:sharepointdiscussions%40yahoogroups.com> , pstork@... wrote:
>
> If the publishing features are turned on you can add Web parts to a
Publishing
> Page Layout. Any page created from that layout will automatically have
the web
> part on it.  Â
> Â Paul Papanek Stork
>
>
>
>
>
>
> ________________________________
> From: brother.gabriel <brgabriel@...>
> To: sharepointdiscussions@yahoogroups.com
<mailto:sharepointdiscussions%40yahoogroups.com>
> Sent: Thu, July 5, 2012 11:26:29 AM
> Subject: [sharepointdiscussions] How to create a master page for 100 sites
>
> Â
> Salvete! I want to create a master page that masters 100 sites. This
should be
> so that if I add a web-part to the page, it gets inherited to the 100
sites.
>
> However, you can't put web-parts in master pages.
>
> Also, I don't have a development server, so I can't use VS which is on my
> desktop - just Sharepoint Designer.
>
> What can I do?
>
>
>
>
> [Non-text portions of this message have been removed]
>

[Non-text portions of this message have been removed]

Thu Jul 5, 2012 8:53 am (PDT) . Posted by: "frontierrog@yahoo.com" frontierrog
I'm trying to get to the Developer Dashboard in SP2010. Is code the only way to use it?

Thu Jul 5, 2012 12:06 pm (PDT) . Posted by: "Xiao Jie" katie_xz
Hi,

We are a mid size web environment serving 11000 members and using MOSS 2007 going to be SP2010.

Is installing Corasworks on SP a good way to go? Any bad experiences, folks?

Thanks,
Katie

No comments: