Tag | Sharepoint 2010 Posts

So I kept getting this really weird “Unable to load Visual Studio Project” basically it was the I’m missing a template error message look in the output. I eventually realize there is a dependency for the web tools in Visual Studio. It doesn’t yell at you when you install Visual Studio 2010 and say “hey you need so and so tools”. So remember guys install the “Web Tools” if you want to do SharePoint 2010 Development or open up old projects. Most people don’t run into this issue because they take the ...
My most recent project has been to migrate a bunch of sites from WSS 3.0 (SharePoint 2007) to SharePoint Server 2010. The users are currently working with WSS 3.0 and Office 2003, so the new ribbon based UI in 2010 will be completely new. My client wants to avoid the new SharePoint 2010 look and feel until they’ve had time to train their users, so we’ve been testing the upgrades by keeping them with the 2007 user interface. Permission to perform the Visual Upgrade One of the first things we noticed ...
I have seen many Sharepoint Newbies cracking their head to create a Console/Windows application in VS2010 and make it talk to Sharepoint 2010 Server. I had the same problem when i started with Sharepoint in the begining. It is important for you to acknowledge that SharePoint 2010 is based on .NET Framework version 3.5 and not version 4.0. In VS 2010 when you create a Console/Windows application, Make Sure you select .Net Framework 3.5 in the New Project Dialog Window.If you have missed while creating ...
Eric Ligman, from Microsoft, posted a great blog post this week listing all of the SharePoint 2010 Virtual Labs that are available from Microsoft. His blog entry is here: http://blogs.msdn.com/b/mss... He also posted other resources as well. I’ve copied his Virtual Lab links here: SharePoint Server 2010 Virtual Labs MSDN Virtual Lab: SharePoint Server 2010: Introduction ...

Useful advice for SP2010 development


Master List of SharePoint 2010 Custom Development Best Practices
http://nikspatel.wordpress.com/2011/06/22/sharepoint-2010-development-best-practices/

If you are installing SharePoint 2010 on a new box you might see the Setup Errors notification from the installer. In my case, I am using Windows Server 2008 R2, but I have seen the similar Error on Windows 7 as well with little less requirements. As you can understand all the “-“ bullets are the requirements that needs to be installed or configured on the box. There are two ways to do this 1) Microsoft SharePoint 2010 Product Preparation tool In the SharePoint 2010 Splash Form, you can find that ...
In my attempt of installing and configuring SharePoint 2010 Farm, I have given a new Windows Server 2008 R2 box that should have SQL Server 2008. So when I attempt to install SQL Server 2008 on it, I came across the following error message. Not so weird because every server product have a set of requirement to be installed. First off, before you do any thing Just run the Windows Update. That’s recommended because there can be some thing else that is not mention in this post or any other but can hanged ...
One of the things that I’ve heard people complain over the years after the release of SharePoint 2010 is the disappearance of Drag & Drop web parts capability. This feature was useful because it allowed the page designer to add as many web parts on a page without having to click add and repeating the process all over again. This feature is available on SharePoint 2010 with a little manipulation of the site URL of the page that you want to modify by adding the “?toolpaneview=2” If your URL is ...
Recently a colleague of mine encountered the error below and wanted to know how to get past itRecently a colleague of mine encountered the error below and wanted to know how to get past it. When configuring SharePoint 2010 Publish Portal you encounter the following error “The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator. “ This issue is caused by lack of Session State Service ...
I have some basic rules when it comes to checked in code to TFS. The one at the top of the list of rules is that, any developer should get the latest code from TFS, deploy and have a working web part, workflow or any other customization in SharePoint. This means that all dependencies should be deployed with the customization. If the web part uses a custom list as a data source, then a developer should not have to manually create site columns with the ‘correct’ internal and display name, list instances ...
A while back I was helping a client upgrade SharePoint 2007 code to SharePoint 2010 and I came across this interesting problem. I was working web parts that were created in Visual Studio 2008 using WSPBuilder extensions. The first order of business was to convert them to Visual Studio 2010 templates instead of using WSPBuilder 2010 extensions. Why Use Visual Studio 2010 templates? There are two main reasons I highly recommend using Visual Studio 2010 templates instead of using WSPBuilder 2010 templates. ...
Red Gate launched the Ants Performance Profiler 7.0 product today. This application is simply amazing! SharePoint 2010 support! Decompilation without PDB using Reflector’s engine! Azure and EC2 Support! Seriously, if you need a profiler for your .NET applications this one takes the cake. They have some great videos online to show you how the product works and the team is very interactive if you have questions or concerns. There is also a 14 day trial so you can give it a go. The license fee is only ...
Today's $10 Deal of the day at http://www.apress.com/97814... is SharePoint 2010 User’s Guide."In this book, Seth Bates and Tony Smith walk you through the components and capabilities that make up a SharePoint 2010 environment. Their expertise shines as they provide step-by-step instructions for using and managing these elements, as well as recommendations for how to best leverage them." ...
There has been this notion that breadcrumbs disappeared in SharePoint 2010 but that’s entirely not true. Microsoft replaced the traditional breadcrumbs with the folder in the ribbon. Most of the time, end-users have a difficult time finding this navigation thus preferring the traditional breadcrumb. Here is a post from Erik Swenson on how to add or replace the folder breadcrumb, the only change I would recommend making, is changing your SiteMapProvider to CurrentNavSiteMapProviderNo... to prevent ...
Say you're an experience .NET developer, but you want to broaden your horizon and dive into SharePoint 2010 development? I'm giving a 8 day deep dive training in Oslo on March 14th, 2012.Topics that I'll address are:installationconfigurati... and viewscontent typeswebpartsevent receiverstimerjobsoptimizat... large listsany many moreIt's an 8 day training, so it's quite intensive. We're starting on a Wednesday, continue until Friday, have a break in the weekend and then the whole next ...
The problem As you might know, Site Definitions are not supported on Office365. This is not a restriction of Office365 as such, but more a Sandboxing restriction. In a SharePoint 2010 Sandboxed environment you’re not allowed to deploy files to the file system. And a SharePoint Site Definition requires that. The answer lies in the newly introduced web template tag. In this post I will describe, step by step, how to create a web template, and how to create a new Site Collection based on that web template. ...
I just spent a good portion of today of part of yesterday on a really weird issue. Our sites had some custom branding for a client and the quick launch displayed perfectly for the root site. When you clicked on all the subsites the quick launch bar would not display. Myself and one of the branding guy’s at Planet, Jaimie Luetjen, were spinning our wheels (and I don’t think it helps that I have a cold). Finally Jaimie is able to login to the site and he threw up a live meeting, so we could figure ...
I've been heads down with migration to SharePoint 2010 and I have been using ControlPoint to do a lot of the administering of our various sites. I had worked with this tool before in 2007 and they have really done a lot of upgrades regarding functionality. You can move sites and content between your environments, run reports, and there is a lot of functionality that really makes your life easier and helps to eliminate doing something several times on your different environments. I have had to call ...
Before I describe about my session, let me introduce the history of making this great event. We SharePoint Experts Community arranged this Community Day jointly with Microsoft to introduce SharePoint 2010 on 7th January 2012 which is the first time in Bangladesh. Thanks to Microsoft Bangladesh to Sponsor the whole Program and others co-sponsors. We planned 6 months ago to arrange this type of event for Developers and IT Professional who might be interested about SharePoint Technology and proposed ...
I originally heard about this website several years ago when I was attending user groups with Rob Reynolds and Dru Sellers. At the time it was still early on in my career and I didn't feel it was the right time to start something like this. Now, 5 years later, I feel it's tje right time to start giving back, or at least trying to, and hopefully help someone like so many have helped me along the way.I am a programmer in Topeka, Ks. I moved here after graduating from Kansas State University and began ...
I’m not sure I have ever thrown this down in writing. I probably have said this 800 or 900 times, but I think that HTML 5 in SharePoint 2010 sucks. The support is terrible in the two most prevalent web browsers at the enterprise level – Internet Explorer and Firefox. If you can’t even get the video tag to work in IE 9 or the latest version of Firefox then that’s a huge fail for the product with HTML 5. What I think needs to be done in the product to improve HTML 5 support so that we can move towards ...
This is a strangest error I have come across whilst working with SharePoint 2010, the full error is this. [12/20/2011 5:29:10 PM] Warning: [WSS_Content] The operation did not proceed far enough to allow RESTART. Reissue the statement without the RESTART qualifier. RESTORE DATABASE is terminating abnormally. The error message was written to the file restore.log found in the SharePoint backup folder, it seems that the following keyword in TSQL caused the error. IF EXISTS ( SELECT * FROM master..sysdatabases ...
Renaming SharePoint service app databases When you install SharePoint 2010 and use the wizards, you will be asked which services you’d like to install. By default all but Lotus-Notes-Connector are preselected. SharePoint will install the services and assign a plethora of databases to serve these services. Alas, horror of horror, all these databases are named by Microsoft and all end with GUIDs. DBAs and other keepers of standards abhor it. Sometimes they even go a step further and want the DB names ...
© 2011 By: Dov Trietsch. All rights reserved Ranking Ranking is quite common in the internet. Readers are asked to rank their latest reading by clicking on one of 5 (sometimes 10) stars. The number of stars is then converted to a number and the average number of stars as selected by all the readers is proudly (or shamefully) displayed for future readers. SharePoint 2007 lacked this feature altogether. SharePoint 2010 allows the users to rank items in a list or documents in a library (the two are ...
I got this error today while trying to access my new SharePoint 2010 environment via PowerShell: Cannot access the local farm. Verify that the local farm is properly configured, currently available, and that you have the appropriate permissions to access the database before trying again. If I would have just read the error message a little more carefully, I would have realized that I should start by looking at my permissions in SQL – which my account didn’t. This happened because I installed SQL ...
I have posted all my demo code that I used and the exe for the VSEWSS Import Tool here: https://skydrive.live.com/?... If anyone has any questions send me an email at rebecca.isserman@gmail.com. Thanks for all who attended. Technorati Tags: SharePoint 2010,SharePoint Conference,SPC395,Code Upgrade ...
Today's $10 Deal of the day at http://www.apress.com/97814... from APress is Pro SharePoint 2010 Solution Development Combining .NET, SharePoint, and Office 2010 "This book takes a practical problem-solution approach to common business challenges. You'll not only encounter interesting code samples, but also see how to combine these examples with the Microsoft collaboration platform's services. " ...
Today's $10 Deal of the day from APress at is "Office and SharePoint 2010 User's Guide" "Together with SharePoint 2010, Office users can achieve goals like web sites with a consistent single view, improved collaboration within their organization, and better document management, and may even get one step closer to the paperless office we've been promised for years." ...
If you’ll be at the Sharepoint Conference this year, here’s something you’ll want to tuck into your back pocket. See the following information on some cool Sharepoint solutions and some fun stuff to boot, courtesy of my employer. From Oct. 3 to 6 at the SharePoint Conference 2011 in Anaheim, Calif. Neudesic experts will be on hand to demonstrate innovative “SharePoint Plus” solutions. “SharePoint Plus” solutions enhance social, mobile, business intelligence and user experience capabilities to Microsoft’s ...
Today's $10 Deal of the Day from APress at http://www.apress.com/97814... is SharePoint 2010 as a Development Platform. "This book takes an in-depth, all-encompassing approach to programming concepts, the extensibility interfaces, and how to embrace SharePoint as a toolkit full of features available to web developers. " ...
Our SharePoint team at work noticed that our SharePoint 2010 farm wasn’t returning search results based on the contents of OneNote files that were saved in document libraries. I did a little research and found a solution, by putting together steps from different posts. First, some details: we’re running SharePoint 2010 SP1 (with the June 2011 CU) on Windows Server 2008 R2 SP1. However, this issue was seen before we applied the service packs and cumulative updates, so I’m not sure what effect, if ...
I had added some code behind to a SharePoint 2010 master page and it worked beautifully! I followed Andrew Connell’s blog and article on MSDN. I had actually created two more master pages with an identical code behind as they each needed the same bits. I had each inherit from the same code behind file. Everything worked great until we were having some problems with one of our developers opening a css file form the VPN. So I thought I would just change the master page in SPD temporarily to use a css ...
I have a client that desired to have the MOSS 2007 capability of My Links but in no way wanted My Sites in SharePoint 2010. I took some steps that gave them the capability of My Links by creating a personalized web part that could be linked to in a modal. It worked, However, in addition, they didn’t want users without web admin rights to see the SharePoint ribbon. The result was that admins could use the web part and the personalization data would be kept by SQL in the personalization database. Members ...
Occasionally I write a rant or two and this one has been boiling for ages. First off you need to read Mike Watson’s Blog Post on Silverlight Ambiguity in Office 365: http://jmikewatson.wordpres... So now let’s get started. First off this post has been boiling since I have heard the question in one of my sessions last year “What do you think will happen to Silverlight now that HTML 5 exists?”. I brushed it aside. I ignored it when ...
I have been working with power shell quite a bit lately, I thought I’d write about 3 tips that have helped me. Notice how it is titled, "Helpful"? not "Ground breaking". It includes helpful commands that I have been using and a nice little Script editor that has one feature enough to win me over. Other's have writen about the commands (most of the time I write so I remember what I've done and how I have resolved issues) but I have not seen others write about other script editors. If you have been ...
Today at work we had an interested request come in from a client. They had an iPad and couldn’t scroll on their SharePoint 2010 website. I went ahead and pulled out my iPad 2 even though I am mostly a Microsoft guy and decided to look around on their site. Their homepage loaded fine and a couple others did also. I kept browsing and discovered one page that just cut off when you tried scrolling. I decided to try all of the iOS web browsers that are free so I downloaded them all and none of them solved ...
In this Issue: XamlNinja(-2-), Ollie Riches(-2-), Michael Washington, Bart Czernicki, Chris Craft, Colin Eberhardt, Kunal Chowdhury, Jasim Schluter, Pete Vickers, Samuel Jack, and Mike Ormond. Above the Fold: Silverlight: "Creating Inner Shadow Effects for WPF and Silverlight" Samuel Jack WP7: "WP7Contrib: Transient caching with In Memory Cache Provider" Ollie Riches LightSwitch: "Using OLAP for LightSwitchUsing OLAP for LightSwitch" Michael Washington Shoutouts: The folks at SilverlightShow have ...
Have you ever get the following error when you run Central Administration in SharePoint Server? I hope you haven’t yet and make yourself ready to fix this error for future Config Error There is a duplicate 'system.web.extensions/scri... defined Problem: I have installed SharePoint 2010 in a server and recently I got this error in my server when I tried to run central administration. I was stuck here to resolve this issue as it was my staging server and I can not re-build ...
UPDATE! July 8th, 2011 -- I’ve been reading Chris Poteet’s blog for a while (probably since Day of .Net Ohio in 2008 or 2009) and he recently started a new blog covering odd user interface quirks and inconsistencies with SharePoint. He’s titled the blog, Unexpected Error. Well, today Chris was kind enough to mention me for follow Friday on Twitter and I followed the link to his blog again – and was stunned to see that I had written a post this week that is pretty much the same one he wrote two weeks ...
By Default ULS trace logs are logged to text file in 14 Hive\LOGS. In sharepoint 2010 we have a provision to move these logs to WSS_Logging database. Follow these steps to get ULS tracelogs to WSS_Logging Database. Open the SharePoint Central Administration site Navigate to the Monitoring section Select Review Job Definitions Click on the job with the name Diagnostic Data Provider: Trace Log Click on the Enable button to enable it Click on Run Now, to start it immediately ...
I have had some time this week to try out some tools that I have been meaning to try out. This week I am trying out the SP 2010 Diagnostic Studio. I installed it successfully and tried it on my development evironment. I was able to build a report and a snapshot of the environment. I decided to turn my attention to my Employer's intranet environment. This would allow me to analyze it and measure it against benchmarks. I didn't want to install the Diagnostic studio on the Production Envorinment, lucky ...
Quick tip: you can’t include a backslash in the name of the SharePoint 2010 Content Type. In fact, there are several illegal characters: \ / : * ? " # % < > { } | ~ & , two consecutive periods (..), or special characters such as a tab. What, you didn’t know that after entering one of these characters in the name? Is it because you saw this screen: Oh, that’s right….you need to turn off custom errors in the layouts folder…See this blog post for details and you’ll also need to turn off for ...
If you have large files in a content source that is being indexed by Sharepoint you might run into the following error message: “The file reached the maximum download limit. Check that the full text of the document can be meaningfully crawled.” This is usually caused because SharePoint’s MaxDownloadSize setting is set lower than the size of the file you are attempting to index. You can increase this value, restart the service then kick off a full crawl in order to fix this issue, but SharePoint 2007 ...
I’ve written a couple of posts about SharePoint 2010 Administrator training/learning, so I thought I should follow up with some tips for developer training as well…. Microsoft has two exams for SharePoint 2010 developers. The first is Exam 70-573, Application Development. The second is Exam 70-576, Designing and Developing Microsoft SharePoint 2010 Applications. Those links cover the topics for each exam as well as some Microsoft preparation materials. One of the best sites, and one that I relied ...
I wrote a post last August with details about what materials I used in order to study for the two Microsoft SharePoint 2010 Administration Exams (70-667 & 70-668) : http://kellydjones.com/arch... This question still comes up a lot, so I thought I’d post an update with some more learning materials. First, I’ve recently discovered Safari books online. Safari books online has a lot of SharePoint books, including Wrox books – which I’ve found that I keep gravitating to. There’s ...
In this Issue: Kunal Chowdhury(-2-), Michael Crump(-2-), Xpert360, Jesse Liberty(-2-), John Papa, Vikram Pendse, and Michael Washington. Above the Fold: Silverlight: "Michael’s “Mega Collection of Silverlight 5 Beta” Demos" Michael Crump WP7: "Silverlight TV 76: Animations on Windows Phone in the Bird Hunt Game" John Papa Training: "I Want To Make Cars Not Car Engines" Michael Washington Shoutouts: Jeremy Likness has a post up about the Telerik controls for WP7... not only does Telerik utilize Jeremy's ...
I wanted to get familiar with SharePoint 2010 because I have noticed how the market is starting to demand it. Also, most of the SharePoint 2010 guides on the net are outdated. They show everything from registry hacks/editing xml files to installing hot fixes/service packs. My guide uses the latest bits as of 6/7/11 to create a SharePoint 2010 server inside of an Virtual Machine. This will be more than enough to begin creating Silverlight Web Parts inside of SharePoint 2010. NOTE: I did not want to ...
After creating my InfoPath form and setting it to publish to a Forms Library in SharePoint 2010, I found that I wanted to fine tune the experience that the user has when submitting a form. The first thing to change was the annoying dialog asking the user for a filename. Many users will have no idea what SharePoint is asking them for, or worse, they enter a name that’s already used by another form (and either overwriting it or getting an error). To see what I mean, simply create an InfoPath 2010 form ...
There are a couple of ways to integrate Content Types with InfoPath forms libraries. I’m going to cover one scenario, but I’m sure there are more. My scenario is that I want to submit a form to a SharePoint 2010 Forms library and align the data collected on the form to existing columns in my Content Type. Here’s a summary of the steps: · Create a Site Content Type in SharePoint 2010 (my example is HR Forms) · Create a Forms Library in SharePoint 2010 (my example is HR Forms Test) · Add the Site Content ...
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans... mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-... ...