tag:blogger.com,1999:blog-331808942024-03-21T04:37:55.351-05:00secbeatsbig10a personal blog about sports, daily life, techie stuff, and funny family stories etc. from an SEC college football fan (GO VOLS!!!), techie, and family guy who loves sports of all kinds...secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.comBlogger90125tag:blogger.com,1999:blog-33180894.post-7423393266729581242013-11-02T20:55:00.002-05:002013-11-02T20:57:25.405-05:00SharePoint 2013 Password out of sync with Active Directory Password errorThis works for SP 2010 and SP 2013 - let's say someone reset your SharePoint service account password in Active Directory and you are not letting SP 2013 manage your passwords as Managed Accounts. Let's say they also changed your Search service account and SQL service account passwords as well. Yeah, this happened to me. So you ask them for the new password. Then type it in as follows in Powershell:
<p>
PS C:\Users\Administrator> stsadm.exe -o updatefarmcredentials -userlogin DC07\SQLSvc -password mycoolpassword23!
<br/>
Operation completed successfully.
<br/>
PS C:\Users\Administrator> stsadm.exe -o updatefarmcredentials -userlogin DC07\SPFarm -password mycoolpassword23!
<br/>
Operation completed successfully.
<br/>
PS C:\Users\Administrator> stsadm.exe -o updatefarmcredentials -userlogin DC07\SPSearch -password mycoolpassword23!
<br/>
Operation completed successfully.
<br/>
PS C:\Users\Administrator>
</p>secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-52888461537228573632013-09-30T16:06:00.000-05:002013-09-30T16:11:17.106-05:00Powershell Daily Automated backup of SP 2013 Site Collections<b>Need to backup your SharePoint 2013 Site collections daily into named.bak files?</b>
<br/>
<br/>
Well the script is not elegant or pretty and does not scale well if you have thousands of site collections (but you can slightly modify this script and simply get the sp web top level farm root then iterate in a for loop aka: "for each site in sites"... - just google how to do that in sharepoint powershell if needed and you are too lazy to add in each site collection url by hand - I have done 4 below and each time I need a new one backed up I just add it manually to the script file - 3 lines)
<br/>
<br/>
Login to SharePoint Web Server node as SP farm admin.
<br/>
<br/>
<b>Step 1: </b>Copy the following to text file save as c:\projects\transfer\backupdaily.ps1 (rename the backup dir, site collection names, and site collection urls according your site collection needs):
<p>
<b>
<br/>
Add-PSSnapin "Microsoft.SharePoint.PowerShell"
<br/>
Set-ExecutionPolicy -ExecutionPolicy "Unrestricted" -Force
<br/>
<br/>
$backupdir = "C:\projects\transfer\"
<br/>
<br/>
$mm = (Get-Date).Month
<br/>
$dd = (Get-Date).Day
<br/>
$yyyy = (Get-Date).Year
<br/>
$hh = (Get-Date).Hour
<br/>
$min = (Get-Date).Minute
<br/>
$ss = (Get-Date).Second
<br/>
$backupdatetime = "$mm" + "$dd" + "$yyyy" + "_" + "$hh" + "$min" + "$ss"
<br/>
$backupdatetime
<br/>
<br/>
$backupfile = "$backupdir" + "root_" + "$backupdatetime" + ".bak"
<br/>
$backupfile
<br/>
Backup-SPSite -Identity "http://sdspweb01/" -Path "$backupfile" -Force -Verbose
<br/>
<br/>
$backupfile = "$backupdir" + "change_" + "$backupdatetime" + ".bak"
<br/>
$backupfile
<br/>
Backup-SPSite -Identity "http://sdspweb01/sites/change" -Path "$backupfile" -Force -Verbose
<br/>
<br/>
$backupfile = "$backupdir" + "assets_" + "$backupdatetime" + ".bak"
<br/>
$backupfile
<br/>
Backup-SPSite -Identity "http://sdspweb01/sites/assets" -Path "$backupfile" -Force -Verbose
<br/>
<br/>
$backupfile = "$backupdir" + "standards_" + "$backupdatetime" + ".bak"
<br/>
$backupfile
<br/>
Backup-SPSite -Identity "http://sdspweb01/sites/standards" -Path "$backupfile" -Force -Verbose
</b>
</p>
<br/>
<br/>
<b>Step 2:</b>
You can use Windows Task Scheduler to run this powershell task on a scheduled basis:
Open Administrative Tools on the SharePoint web server (any SharePoint web server node)
Open Task Scheduler
Create new basic task
Set it daily at a certain time always (for example)
For Action select Run a program
For program type in: <b>powershell -file c:\projects\transfer\backupdaily.ps1</b> (change to your filename and path where the powershell script is saved)
If prompted a question about arguments, just click yes.
Click run with highest privilege in the checkbox.
Save it.
<br/>
<br/>
<b>What it will do:</b>
<br/>
At the certain time each day it will create 4 (however many site collections you have) new files in the backup directory you selected.
<br/>
Files will be named like "root_9302013_15451.bak" and "change_9302013_15451.bak" next day could be like: "root_10012013_15452.bak" and "change_10012013_15451.bak" (assuming I set them to fire at 3:45pm each day)secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-20889864264519163702013-08-06T14:01:00.000-05:002013-08-06T14:01:51.967-05:00NetFx3 error on Windows Server 2012 installing SQL Server 2012So I got a NetFx3 error on SQL Server 2012 installation saying that one or more windows features was not enabled. It was missing .net3.5 Windows Server 2012 comes with .net 4.5 but the SQL Server 2012 amazingly requires .net 3.5 (weird, cmon MSFT!). Anyway when I go to server manager in windows 2012 and try to add the legacy .net 3.5 feature, it failed. Therefor you have to run a command prompt as administrator and have access to the install files for your windows server 2012 and run this command (see screenshots below):
The error during SQL Server install:
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl8sE58sxZelpKB0aia5bOXTfP7HssKr7wpXXbGqoFpdu_MnxVr27a0Me6IcA71HTH6BgdUj6fTGByVf_62iGPX6RovmU3KRswCPW6glWXGh31yNtQ_T3qL0DY8c_uoE048nOaJw/s1600/sqlinstallerror1.png" imageanchor="1" ><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl8sE58sxZelpKB0aia5bOXTfP7HssKr7wpXXbGqoFpdu_MnxVr27a0Me6IcA71HTH6BgdUj6fTGByVf_62iGPX6RovmU3KRswCPW6glWXGh31yNtQ_T3qL0DY8c_uoE048nOaJw/s320/sqlinstallerror1.png" /></a>
Try to install from Windows Server 2012 Server Manager Console and still no dice:
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFQUpSXuW90-pH9XUSU7V7V-qMGQjYFbgd2oKl8qc_LQCO7ltPpesZEK_lMh1nZLp8Fbc-qVLtGuFwO-YwALrl9tM4K5hjBZ1wKYAAqzM8c6pOK_47zbffyNeiC-6-Ql-06tRrAg/s1600/windows2012installfeatureerror.jpg" imageanchor="1" ><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFQUpSXuW90-pH9XUSU7V7V-qMGQjYFbgd2oKl8qc_LQCO7ltPpesZEK_lMh1nZLp8Fbc-qVLtGuFwO-YwALrl9tM4K5hjBZ1wKYAAqzM8c6pOK_47zbffyNeiC-6-Ql-06tRrAg/s320/windows2012installfeatureerror.jpg" /></a>
Try to install from command prompt (note the /all switch - it is needed because it will fail if you do not include this switch) - SUCCESS!!:
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi51KczCrX4pyoIsr4t1-K5QiwJYVRunqlHVJkxafM8dJ4RqqcdaogGgWfnkQzr9IYbp-qyqp5uErDNosRw66hi0k2AWJAcokCZLHmnV_ug8YIjm-ND34D0AqjUkt208Q41jxTw0Q/s1600/windowsserver2012installfeaturefromcommandprompt.png" imageanchor="1" ><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi51KczCrX4pyoIsr4t1-K5QiwJYVRunqlHVJkxafM8dJ4RqqcdaogGgWfnkQzr9IYbp-qyqp5uErDNosRw66hi0k2AWJAcokCZLHmnV_ug8YIjm-ND34D0AqjUkt208Q41jxTw0Q/s320/windowsserver2012installfeaturefromcommandprompt.png" /></a>
Even though the feature was installed with success, it is a pain, because when you return to SQL Server install and click ok, it does not give you option of retrying the SQL Server install now that you fixed the failed feature. You have to let the entire rest of the install complete, with MANY errors (apparently MSFT makes a LOT of pieces of SQL Server 2012 dependent on .net 3.5!!!). Then once the orig install completes you will see something like this with many partial installed SQL Server 2012 features. You will then have to RERUN the SQL Server 2012 installer to pick up the bad things that were missed. Hopefully you wrote down the settings you used before! Good luck.
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDtf9kfte-P89NBZebr6j8EG4nKVDDxOHNzF8Q0AKUIt6ca_BE_XtRS9B7HWL2ycAMTpT44MVOeOu12t3fqr3kjNk7U89oAVgKq8mYJCik36kNcv2hUTEBlsuHJGj_VckwsUr7hA/s1600/sqlinstallerror2.png" imageanchor="1" ><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDtf9kfte-P89NBZebr6j8EG4nKVDDxOHNzF8Q0AKUIt6ca_BE_XtRS9B7HWL2ycAMTpT44MVOeOu12t3fqr3kjNk7U89oAVgKq8mYJCik36kNcv2hUTEBlsuHJGj_VckwsUr7hA/s320/sqlinstallerror2.png" /></a>secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-49922562045851833662013-05-07T08:49:00.002-05:002013-05-07T08:49:43.204-05:00SharePoint 2013 Editions ComparisonThis guy has a nice post on comparing the editions of SP 2013:
<a href="http://blog.blksthl.com/2013/01/14/sharepoint-2013-feature-comparison-chart-all-editions/">http://blog.blksthl.com/2013/01/14/sharepoint-2013-feature-comparison-chart-all-editions/</a>secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-10478973799471571192013-04-12T13:21:00.001-05:002013-04-12T13:21:20.864-05:00Shredded Storage DeDuplication and RBS in SharePoint 2013My take on all of this (and I used to be a SQL DBA) The jury is out on Shredded Storage vs RBS or in conjunction with RBS. My feeling is <1mb configure for RBS. Use RBS in conjunction with Shredded Storage in SP 2013. Maybe you will find that if you increase from 1mb to 3mb or 5mb it performs better and reduces the size of the content db.
Key facts:
• You cannot disable shredded storage in SP 2013, you can only modify the “chunk” size of the shreds
• Shredded Storage can be used with or without RBS
• Shredded Storage works best for Office documents, in SharePoint Document Libraries with Versioning enabled, and many subsequent edits (versions) to the document
• Shredded Storage worsens file upload and file download times in most cases (some cases Significantly slower in SP 2013) – so Microsoft solved one problem but created another.
o Ask yourself, what is the usage pattern of your particular sharepoint application – take Workspace for example, compare and contrast this against tatxech internal Collaboration aka the new SP 2013 my.corptax.com
o The key takeaway from one of the links explains this best:
o Link quote – “For me, the decision to disable shredding is a bit nearsighted. Not all organizations use SharePoint for document collaboration where content is being updated/edited in large quantities. I would even argue that while some organizations do have collaboration sites where lots of editing occurs, they almost certainly have other sites where documents are simply uploaded and downloaded without edits or new versions being created.”
o I personally believe like with all Microsoft technologies, they will continue to evolve Shredded Storage, and I feel fine grained control will be provided in future releases and CUs of SP 2013:
Link quote - “Unfortunately you are relegated to living with Shredded Storage in hopes that Microsoft will provide, at a minimum the ability to disable the feature. An even better would be an option to control Shredded Storage at the site or site collection level for added flexibility.”
• Shredded Storage reduces network IO and CPU Utilization in most cases
Start From here: http://social.technet.microsoft.com/Forums/en-US/sharepointgeneral/thread/18cfac66-1ed8-4a96-814b-25319b0f1686
Note that Shredded Storage is not deduplication. If there are two copies of the same document located on the same content database, it will store two copies of that document. Shredded is used for versioning of a single document (Office documents), storing only the differences between the versions, unlike in previous versions of SharePoint where it stores a complete document for every version.
If you want deduplication, you're going to have to look for a 3rd party RBS provider, like Metalogix's StoragePoint, which will only store a single copy in the RBS data store no matter how many times the item is referenced in SharePoint, given it is identical.
http://sharepointpromag.com/blog/sharepoint-2013-shredded-storage-and-end-world
http://blogs.technet.com/b/wbaer/archive/2012/11/12/introduction-to-shredded-storage-in-sharepoint-2013.aspx
The Impact of Shredded Storage on SP 2013:
https://www.nothingbutsharepoint.com/sites/itpro/Pages/The-Impact-of-Shredded-Storage-on-SharePoint-2013.aspx
Detailed performance test results of shredded storage (SP 2013) vs non shredded SP 2010:
http://www.metalogix.com/blog/blog-article/13-02-19/The_Impact_of_Shredded_Storage_on_SharePoint_2013
The table below compares SharePoint 2010 and SharePoint 2013 upload and download times on the same document set. Our lab testing confirms that SharePoint 2013 uploads and downloads are slower — and in some cases significantly slower — than SharePoint 2010. This is a direct result of Shredded Storage. The overhead involved in determining how to split a document into smaller pieces and store those smaller pieces definitely has an impact on the performance for uploads and downloads.
Upload (speed in milliseconds) Download (speed in milliseconds)
Scenarios File Name File Type File Size (KB) SP2010 (A) SP2013 (B) Difference (A-B) SP2010 ( C) SP 2013 (D) Delta (C-D)
1 AA_Small TIF TIF 60 0.58 0.25 0.33 0.02 0.03 -0.01
2 AB_PDF Sample PDF 625 0.11 0.39 -0.29 0.02 0.05 -0.03
3 AC_SharePoint Training PPTX 669 0.15 0.72 -0.57 0.02 0.12 -0.10
4 AD_Drawing1 VSD 759 0.16 0.47 -0.31 0.02 0.05 -0.03
5 AE_1 MB Word Doc 2010 DOCX 1,082 0.35 0.66 -0.30 0.03 0.10 -0.07
6 AF_LV111-01-10 DWG 1,208 0.15 0.55 -0.41 0.03 0.07 -0.03
7 AG_1 mb image JPG 1,210 0.20 0.64 -0.43 0.03 0.07 -0.04
8 AH_Drawing2 VSD 1,659 0.24 0.78 -0.54 0.04 0.09 -0.05
9 AI_Customer 2009 PPT 2,192 0.34 0.93 -0.59 0.05 0.10 -0.06
10 AJ_2mb TIF Image TIF 2,579 0.32 1.01 -0.69 0.05 0.12 -0.07
11 AK_2mb Image JPG 2,725 0.34 1.06 -0.72 0.06 0.14 -0.08
12 AL_LV111-02-10 DXF 2,783 0.33 1.10 -0.77 0.06 0.16 -0.10
13 AM_3_6mb PDF Sample PDF 3,690 0.49 1.47 -0.98 0.07 0.21 -0.13
14 AN_4 MB PDF PDF 4,078 0.50 1.60 -1.10 0.08 0.19 -0.11
15 AO_Corporate Presentation 2007 PPT 4,248 0.49 1.69 -1.21 0.08 0.20 -0.11
16 AP_Analyst Briefing - 2008 PPT 4,434 0.54 1.68 -1.15 0.08 0.18 -0.10
17 AQ_4_5 mb Video MOV 4,627 0.46 1.77 -1.31 0.10 0.19 -0.09
18 AR_4_5 mb wmv video WMV 4,680 0.51 1.81 -1.30 0.24 0.18 0.06
19 AS_Internet Safety Presentation PPT 4,839 0.42 1.84 -1.42 0.24 0.20 0.05
20 AT_5mb Image JPG 5,267 0.50 2.15 -1.66 0.21 0.23 -0.02
21 AU_LV111-01-10 DXF 5,425 0.42 2.02 -1.60 0.28 0.25 0.03
22 AV_5_3 JPG JPG 5,457 0.55 2.08 -1.53 0.19 0.23 -0.04
23 AW_LV111-02-FL DXF 5,866 0.48 2.11 -1.63 0.24 0.22 0.02
24 AX_Corporate Slide Deck_April 2009 PPT 5,936 0.53 2.29 -1.76 0.18 0.27 -0.09
25 AY_LV111-01-FL DXF 5,972 0.44 2.22 -1.78 0.13 0.27 -0.14
26 AZ_7mb Excel File XLSX 7,415 0.68 0.89 -0.22 0.33 0.28 0.05
27 BA_SPC14_348_WhatsNewDevs PPTX 8,935 0.76 1.55 -0.80 0.30 0.95 -0.65
28 BB_SPC 2009 PPT 9,255 0.89 3.33 -2.45 0.39 0.34 0.04
29 BC_11_7mb Excel File XLSX 11,974 0.92 1.25 -0.33 0.73 0.32 0.41
30 BD_14_5 MB PDF PDF 14,861 1.24 5.08 -3.85 0.73 1.10 -0.38
31 BE_26 MB XLSX XLSX 26,557 2.24 2.79 -0.54 1.31 2.29 -0.97
32 BF_28MB_txt_TestFile TXT 28,787 2.05 8.58 -6.53 0.82 2.32 -1.49
33 BG_33_1 MB WORD 2010 Doc DOCX 33,947 2.53 3.24 -0.71 0.62 3.02 -2.40
34 BH_50MB_txt_TestFile TXT 54,265 3.69 15.92 -12.23 0.83 3.73 -2.90
35 BI_55 MB XLSX XLSX 56,356 4.18 4.90 -0.72 2.29 5.48 -3.19
36 BJ_70 MB WORD 2010 Doc DOCX 71,694 5.39 5.99 -0.59 6.55 6.36 0.19
37 BK_100 MB XLSX XLSX 103,108 8.85 8.16 0.69 5.83 7.86 -2.03
38 BL_103 MB WORD 2010 Doc DOCX 105,411 7.78 7.91 -0.13 4.84 7.20 -2.36
39 BM_180MB_txt_TestFile TXT 184,288 13.52 10.53 2.98 13.55 5.82 7.72
40 BN_190 mb Word Doc 2003 DOC 195,899 14.65 12.01 2.63 14.30 8.22 6.08
41 BO_250 mb Movie MOV 255,454 20.30 15.70 4.60 20.35 10.22 10.14
42 BP_382 mb Word Doc 2003 DOC 391,739 29.25 26.70 2.55 12.22 16.76 -4.55
43 BQ_540MB_txt_TestFile TXT 552,862 45.21 42.21 3.00 31.71 17.36 14.35
One Size Does Not Fit All
The test results above led us to examine the configuration options for Shredded Storage to determine if we could mitigate the negative impact on uploads and downloads. Unfortunately your options are limited. Contrary to other blog posts on the topic, Shredded Storage cannot be disabled. You actually had the option to disable shredding in the SharePoint 2013 beta but that option was eliminated in the RTM build. The only remaining option is changing the default shred or "chunk" size that files will split into when they are stored.
For me the decision to disable shredding is a bit nearsighted. Not all organizations use SharePoint for document collaboration where content is being updated/edited in large quantities. I would even argue that while some organizations do have collaboration sites where lots of editing occurs, they almost certainly have other sites where documents are simply uploaded and downloaded without edits or new versions being created.
A common example is document imaging where PDF/TIFF images are stored within SharePoint. Those images never change. Or, how about a document center that contains tens of thousands of published documents that are being read rather than updated? What's more, Shredded Storage provides little value for these scenarios. It is true that even with versioning disabled the I/O between the client, SharePoint Server, and database Server will be optimized. However you will not reduce overall storage requirements.
Unfortunately you are relegated to living with Shredded Storage in hopes that Microsoft will provide, at a minimum the ability to disable the feature. An even better would be an option to control Shredded Storage at the site or site collection level for added flexibility.
Solving one problem by introducing another significant problem is going to make for some unhappy campers who are already struggling to keep up with the explosive growth of their SharePoint content.
In part 2, we will address using RBS with Shredded Storage, including debunking myths, reviewing how RBS functions with Shredding Storage, and discussing best practices for optimizing RBS.
Lastly another article by Metalogix CO-CTO:
https://www.nothingbutsharepoint.com/sites/itpro/Pages/Dispelling-the-Myths-of-Shredded-Storage-in-SharePoint-2013.aspx
secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-67346223291784988582013-04-12T09:25:00.003-05:002013-04-12T09:25:45.129-05:00Remote Blob Storage (RBS) - to blob or not to blobA great article about Remote Blob Storage can be found here:
<a href="http://www.avepoint.com/misc/askthemvp/to_blob_or_not_to_blob.pdf">TO BLOB OR NOT TO BLOB.pdf</a>
By Avepoint.
Enjoy!
secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-83254936844936070032013-04-09T08:06:00.002-05:002013-04-09T08:06:52.882-05:00Find size of all sites and subsites in SharePointA great tool to find the size of all sites and subsites in SharePoint:
<a href="http://spusedspaceinfo.codeplex.com/">http://spusedspaceinfo.codeplex.com/</a>
secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-57422719220310292482013-03-28T09:38:00.000-05:002013-03-28T09:45:09.814-05:00SharePoint 2010: Error 7043 "Load control template file /_controltemplates/TaxonomyPicker.ascx failed"SharePoint 2010: Error 7043 "Load control template file /_controltemplates/TaxonomyPicker.ascx failed"
I see this in many SP 2010 error logs.
Here is how to fix this annoying message:
This is not causing any issues except for a wrong ULS log message a single time in a web application process life time, the exception is caught and that template file is skipped. This message should be treated as log noise and can be ignored.
To change this behavior:
Navigate to /14/TEMPLATE/ControlTemplates/TaxonomyPicker.ascx user control
Open the user control in a text editor and locate the first line
Find the character string ,(ampersand#44;) and replace with a comma ‘,’ (without quotes).
Save the user control
See the Microsoft kb here: <a href="http://support.microsoft.com/kb/2481844">http://support.microsoft.com/kb/2481844</a>secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-48856333554138572732013-02-18T08:20:00.002-06:002013-02-18T08:20:28.632-06:00SharePoint 2010 add Site Pages to your site<p>Ever wondered why some sites have a Site Pages library and a Site Assets library some don't?</p>
<p>The answer lies in a feature called Wiki Page Home Page, which is enabled by default for Team Sites in SharePoint 2010. However, other types of site templates may not activate that feature by default, and if that’s the case, those libraries won’t be there.
</p>
<p>
If you need them, you have a few options:
</p>
<p>
<b>EASIEST BUT CHANGES YOUR HOME PAGE:
</b>Activate the “Wiki Page Home Page” feature. The feature will create those libraries and will also create a wiki page and set it as the home (welcome) page for your site.
</p>
<p>
<b>BETTER WAY:</b>
If you only need the libraries and don’t want your home page changed, you can have SharePoint Designer 2010 create the libraries for you:
Open SharePoint Designer.
In the “Site Objects” pane on the left, click “Site Pages.” SP Designer will load the contents of the Site Pages library and tell you it’s empty. However, it also creates the Site Pages library for you in the process.
Do the same thing for “Site Assets” (also in the Site Objects pane).
</p>
<p>
<b>PROGRAMMATIC CHECKS:</b>
If you have code that depends on the existence of these libraries (such as a feature receiver), you can use two methods on the SPListCollection class to ensure the libraries are there:
EnsureSitePagesLibrary()
EnsureSiteAssetsLibrary()
</p>secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-41097655702537855722012-10-23T14:47:00.000-05:002012-10-23T14:48:02.059-05:00Web Proxy Debugger for javascript css and other filesSo when you are writing javascript, ecmascript, css, html, etc or other web files, and dealing with Sharepoint 2010 (or pure custom .net or php or java, or any platform really), you get into this cycle (at least with SP 2010) of making a quick change to the .js file and then having to upload it to the server (SP server /SiteAssets/ folder for example) and then check it in, and then hit F5 to reload your page and then retest only to see you made a dumb typo or set an alert which you then have to remove and repeat the process.
BORING, and TIME CONSUMING.
Instead try Fiddler2 a cool local web proxy, that allows instant changes to your css html or other files such as .js and a simple F5 to reload the page in question to test those changes.
Here is how to use it:
Fiddler – web, Javascript and css debugger for windows
Start the browser on the page
Start Fiddler
Reload browser
find the file you want in fiddler on the left, drag it to the autoresponder (check enable automatic and unmatched request passthrough)
click bottom arrows dropdown in fiddler right side and find the js file or css file you just dragged and dropped.
http://www.fiddler2.com/fiddler2/
secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-72639562818040143582012-07-19T04:22:00.001-05:002012-07-19T04:22:39.244-05:00Steve Jobs Quote - Your Time is Limited..."Your time is limited, so don't waste it living someone else's life. Don't be trapped by dogma which is living with the results of other people's thinking. Don't let the noise of others' opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary." - Steve Jobs 2005secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-6000160209663756662012-06-27T23:06:00.001-05:002012-06-27T23:07:23.285-05:00Images for the post below "Install SP 2010 without an internet connection"<p>
<b>Sorry for the blurryness!</b>
<a href="http://lh5.ggpht.com/-p2zria1GcB0/T-vYKeF4x5I/AAAAAAAAF_4/whzVdXCGBsk/s1600-h/image%25255B6%25255D.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-Uw7Zvh8iyyY/T-vYKo45irI/AAAAAAAAGAA/ec07S5X0qgE/image_thumb%25255B4%25255D.png?imgmax=800" width="1589" height="721" /></a></p> <p><a href="http://lh4.ggpht.com/-zGXPYo0FwaE/T-vYLPOo8vI/AAAAAAAAGAI/mTgpn_1NlP0/s1600-h/image%25255B9%25255D.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-qEtN14GV-A4/T-vYLXAjDcI/AAAAAAAAGAQ/nFbifMIHRuk/image_thumb%25255B5%25255D.png?imgmax=800" width="244" height="139" /></a> SUCCESS!!!!</p>secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-1046975286929954452012-06-27T22:51:00.000-05:002012-06-27T22:52:10.295-05:00Install SharePoint 2010 without an Internet ConnectionSometimes your servers do not have a live connection to the internet. In this case the SP 2010 default installer runs a PrerequisiteInstaller.exe file first to download from the internet all the SP 2010 prereqs for you. Very handy. Unless you have no internet connection from that server. UGH.
No fear, you must first download all the prerequisites you need. There are dozens of blog posts and articles out there on how to do this. But the best way to find out what you really need is to go into a command prompt and navigate to the setup directory of the SP 2010 install DVD, and type PrerequisiteInstaller.exe /?
It will pop up a dialog showing exactly all the switches and prerequisites this particular version of the SP 2010 bits is looking for. Then go to the other guys blog posts and get to the msft sites they reference, and download the correct version (x64 or whatnot) of each one into a simple folder called something like c:\sp\run\ or whatnot.
Then install them one by one or multiple from the command line as Administrator like so:
PrerequisiteInstaller.exe /SQLnCli:c:\sp\run\Sqlncli.msi /PowerShell:c:\sp\run\WindowsPowerShell-60-KB968930-x64.msu
you can put as many on there as you want but I find running them one or two to three at a time is best.
Once done installing all the prereqs, then you can finally run the setup.exe for SP 2010 and move on with your life. Then later gripe at the windows admin who setup your vms or servers with no LIVE internet connection or STRICT browsing policies. WHAT A BOZO!
Enjoy!secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-4267478767581258912011-11-20T16:55:00.001-06:002011-11-20T16:55:54.531-06:00Move a Site Collection from one content DB to anotherHere is how to move a site collection from one content database to another in SharePoint 2010 Powershell command prompt:
<a href="http://technet.microsoft.com/en-us/library/cc825328.aspx">http://technet.microsoft.com/en-us/library/cc825328.aspx</a>
To move all site collections in a content database to another content database, there is a command in the above link as well.
NOTE: The SQL Server database properties must have enough space in the transaction logs. Setting Auto Shrink and Auto Close to True, and changing the growth of the transaction log file to auto grow and 10% increments or something, as well as changing the Transaction Recovery Model from Full to Simple, for the DESTINATION database, is probably a good idea or you will get an error that the transaction log is full or does not have enough room.secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-22725589892174585042011-11-18T12:22:00.001-06:002011-11-18T12:30:48.150-06:00Move Content Databases in SharePoint 2010So recently I was working with a large insurance company who had multiple SP 2010 and SP 2007 farms. Each farm had a production, a test, and a dev environment as well. The business owners frequently want to do periodic refreshes of specific site collections from PROD to SYS (test). The issue is they have no granular backup/restore SharePoint backup agents. We are addressing that by looking to purchase Symantec Backup Exec or CommVault or Tivoli Storage Manager or other SP specific backup agents that allow granular backup and restore down to the list or item level.
But I digress. Another solution in the interim is to move an entire content db from PROD to SYS. A content db can contain up to 9,000 site collections by default (well 15,000 max but you get a warning at 9k). Well, they had designed one particular app the Newstand to run in its own content db for the very reason that it would grow large in size. However, they failed to communicate that to their team so then another site collection was requested to be put into the db. There were supposed to be custom code changes that did not allow more than one site collection to be created, but those code changes did not work.
Therefore, now we have a problem. 2 site collections in one content db, and no SharePoint specific backup tools to move them. I tried the granular backup and restore using powershell and that did not work (well it presented me with 10 errors or so ad I overcome all of them, until the very end when msft tells me - it simply cannot be restored. No other info, lovely!).
So what to do, I told the business I am going to just move the entire content db from PROD to SYS and they will have to recreate the other SYS site collections (/sites/marketing/*).
So here is how Microsoft says to move content databases in SharePoint 2010: <a href="http://technet.microsoft.com/en-us/library/cc287899.aspx">http://technet.microsoft.com/en-us/library/cc287899.aspx</a>
Enjoy!secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-44467181562259915052011-11-08T07:47:00.001-06:002011-11-08T07:47:33.936-06:00secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-30552527762283483832011-10-31T00:22:00.002-05:002011-10-31T00:28:43.158-05:00Check out this great MSN video: BCS Blog: Overview DemoWant to learn how to hook SharePoint 2010 up to external data sources:<br /><br /><a href="http://www.microsoft.com/resources/msdn/en-us/office/media/video/sharepoint.html?cid=sharepoint-video&VideoID=e3ead67c-f8f1-4b16-9441-fb5199fa68fd&from=mscomsharepoint">Check out this great MSN video: BCS Blog: Overview Demo</a>secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-62686674094107219852011-08-03T08:19:00.000-05:002011-08-03T08:21:05.099-05:00Meta refreshHere is an example of Meta refresh
<br /><html_tag>
<br /><head>
<br /><title>Lyons Consulting Group, Inc. Webmail</title>
<br /><META
<br />http-equiv="refresh" content="0;URL=https://mail.lyonscg.com/owa/">
<br /></head>
<br />
<br /><body bgcolor="#ffffff">
<br />
<br /></body>
<br /></html_tag>secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-33657007021172064432010-12-02T08:39:00.001-06:002010-12-02T08:39:57.706-06:00Test post from windows live writer<p>Trying a new post from the recently downloaded Windows Live 2011 LiveWriter</p> <p>Have a nice day!</p> secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-61797233729912936922010-01-04T10:04:00.002-06:002010-01-04T10:04:59.376-06:005 social networking bookmarking sites which may help webmasters generate traffichttp://www.madville.com/out/tech/316835_five_social_bookmarking_sites_which_may_help_webmasters_to_generate_traffic_webuponsecbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-11510773083670404542009-12-15T15:46:00.002-06:002009-12-15T15:48:48.958-06:00How to set up email forwarders in Exchange Server 2007<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheSa80vyk-Uqw9bPr7m1W5wiOP7_7TGnL9ZxaVhs-Aft1XTYBTGqXd1BvEjOm07uBZ8JHreHClPIpKs_-cFnnGY_IhnebiH2S2hjW4wVmNm7jxsRhGGBoXNVbOlCuDItHfjZynXA/s1600-h/emailforwarder.JPG"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 245px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheSa80vyk-Uqw9bPr7m1W5wiOP7_7TGnL9ZxaVhs-Aft1XTYBTGqXd1BvEjOm07uBZ8JHreHClPIpKs_-cFnnGY_IhnebiH2S2hjW4wVmNm7jxsRhGGBoXNVbOlCuDItHfjZynXA/s320/emailforwarder.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5415583044514273794" /></a><br />Login to the Exchange server<br />Open the Exchange Management Console<br />First create a mail contact then set up the forwarder.<br /><br />Detailed instructions :<br /> To create a MailContact using the Exchange Management Console:<br /><br />1. Expand Recipient Configuration | Mail Contact<br />2. In the Action pane, click New Mail Contact<br />3. To create a new Contact object, leave the default (New Contact) selected | click Next<br />4. Type First name, Last name<br />5. Click Edit to add the external email address<br />6. Click New to complete creation of new MailContact<br /><br /> To forward mail for a recipient to the MailContact using the Exchange Management Console:<br /><br />1. Expand Recipient Configuration | Mailbox | select mailbox | properties | Mail Flow Settings tab | Delivery Options <br />2. Under Forwarding address, select the Forward to checkbox<br />3. Click Browse to select the MailContact<br /> <br />Figure 1: Modifying Delivery Options to forward email to an alternate recipient<br /><br />4. Optional: If a copy of the message needs to be delivered to both the external recipient and the original recipient's mailbox, select theDeliver message to both forwarding address and mailbox<br />5. Click OK to close Delivery Options properties<br />6. Click OK to close recipient's propertiessecbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-13624477513310612262009-12-10T08:10:00.004-06:002009-12-10T08:12:13.987-06:00MOSS 2007 server not sending email for domainSo one of our Sharepoint 2007 Servers was not sending out email to anyone anymore after a datacenter move. The reason was dns issues related to the move.<br /><br />Here is how it was solved:<br />MB - per yesterdays research and changes: A request was sent to NetSource to create a reverse DNS for the IP 68.70.161.12 to point to portal.harmonicconsulting.com. HarmonicConsulting.com MX records we edited to add portal.harmonicconsulting.com as a e-mail server with a low priority. The SMTP server was reconfigured to relay mail for the harmonicconsulting.com domain to google and Sharepoint was configured to use the local SMTP server to send mail. Rlaying to harmoinic from the SMTP server worked - I can't seem to add myself to the notification list here so I will wait to hear badck from the real bacuff to verify this is working now. - Marksecbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-67077515584102081632009-11-23T13:16:00.002-06:002009-11-23T13:19:39.096-06:00Forgot root passwordForget your root password?<br />On Red Hat/Centos most any linux box:<br /><br />1. Get physical access to the box<br />2. reboot it<br />3. during the grub menu, type e<br />4. go down to the line that has 'quiet' in it, usually that's the one I use but it doesnt'really matter. what you are basically going to do is type single at the end of whatever line you want to boot.<br /><br />*this will also walk you though it<br /><a href="http://www.cyberciti.biz/faq/grub-boot-into-single-user-mode/">http://www.cyberciti.biz/faq/grub-boot-into-single-user-mode/</a><br /><br /><br />5. this will dump you to single user mode, and you can just do passwd to set new root passwordsecbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-70201840989695539612009-11-11T08:44:00.003-06:002009-11-11T08:45:51.576-06:00Roaming Profiles Windows Server 2003Trying to set up roaming profiles on Windows Server 2003 domain?<br /><br />Try this:<br /><br />To setup roaming profiles, first log onto your server and open Active Directory users and Computers. Right click on a user; choose properties and the click the profiles tab. In the profile box type the UNC path of the shared folder you made on the server. For example you would type: <br /><br />\\servername\profiles\%username%<br /><br />Where servername is the name of your server and the profiles folder is on the root of the C or D or whatever data drive the server is using. Do not type in the users name at the end but make sure it says %username% like in the example.<br /><br />Make sure you have created this profiles folder and shared it with the same name as the folder. You can leave the share permissions wide open if you want because the %username% will create the users profile with permissions that grant only the user the right to view the contents.<br /><br />The next time the user logs in, the users local profile will be copied to the new profiles folder on the server creating a new folder with the users name and permissions set up so that only the user can access it.secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0tag:blogger.com,1999:blog-33180894.post-52470790564846093452009-11-10T15:25:00.003-06:002009-11-10T15:28:19.747-06:00Rhapsody Playlist - GLEE TV Show hits ;-)dorky post but trying some html generated from rhapsody to see if images are sent properly or are red xs after the post.<br /><br />http://rhaplinks.real.com/rhaplink?rhapid=6393732&type=playlist&title=Playlist&from=msn<br />1. Sweet Caroline (Glee Cast Version) - Glee Cast<br />2. Bust A Move (Glee Cast Version) - Glee Cast<br />3. Don't Stop Believin' (Glee Cast Version) - Glee Cast<br />4. Halo / Walking On Sunshine (Glee Cast Version) - Glee Cast<br />5. Gold Digger (Glee Cast Version) - Glee Cast<br />6. Can't Fight This Feeling (Glee Cast Version) - Glee Cast<br />7. Rehab (Glee Cast Version) - Glee Cast<br />8. Dancing With Myself (Glee Cast Version) - Glee Cast<br /><br />or this version (generic, not the blogger format as above):<br /><a href="http://rhaplinks.real.com/rhaplink?rhapid=6393746&type=playlist&title=Playlist&from=msn">http://rhaplinks.real.com/rhaplink?rhapid=6393746&type=playlist&title=Playlist&from=msn</a>secbeatsbig10http://www.blogger.com/profile/04725994754175987941noreply@blogger.com0