Tag | MOSS Posts

While working with a customer, we had this interesting requirement related to SP 2010 content migration. The migration process would take its own sweet time, but we wanted to migrate people search first. In 2010, when you search for a person it would search against its profile database and show you the relevant results, this is what you would expect. But what if you want the search result to show you a result from MOSS 2007 profile database and when you click on my site of an individual, it takes ...

In the recent update of Visual Studio 2010 productivity power tool there are few new interesting features introduced. You can download the Productivity tool from http://bit.ly/9nybU6 . There are certain new features like Quick Find which allows you find and advance find dialog option with in code editor with nice highlighting features, nice enhancement of add reference window. Kunal Chowdhury has some nice blog post where he talked about above two new productivity tool features. You can find the ...

In the past weeks I have discussed about the Preview ASP.NET MVC 4. So, now I will show another great features in ASP.NET MVC 4. After installing, you will have new ASP.NET MVC4 Web Application template when creating new project in VS.NET 2010. Once you click OK the following dialog box will appear If you have experience with ASP.NET MVC3, you will realize that the selected template int he previous screen, Mobile Application, wasn't there up to now. So, in ASP.NET MVC4 we have new Mobile Application ...

Here I will explain how to get the column names and corresponding datatypes in particular table using SQL Server. Description: I have one table with lot columns in database at that time I tried to know the column names and corresponding datatypes and their maximum sizes in particular table for that I written the following query in SQL server to get column names and datatypes in particular table. USE MySampleDB GO SELECT column_name 'Column Name', data_type 'Data Type', character_maximum_length 'Maximum ...

If you are planning to deploy your application with SQL CE as your application backend then here are the steps you need to perform. If you’re planning to deploy your application with SQL Server, than please read this post, How to Deploy an ASP.NET MVC 3 App to Web Hosting with "\bin Deployment" I assume that you have your ASP.NET MVC 3 application ready to be deployed with SQL CE 4.0 and EF 4.1. But make sure you have add assembly and for SQL CE 4.0 using NuGet. I recommend you to use NuGet here ...

Soon, the latest ASP.NET MVC will be launched. I cant wait to try as whole. This is the preview of this new product- Web Platform Installer – Installs the MVC4 Project Templates.- Nuget package – perfect for upgrading an existing MVC3 project- Stand Alone Installer- Installs the MVC4 Project Templates. This is the cool design with new features In addition to CSS design there is improved functionality in the new template. The template support technique called adaptive rendering to support theme on ...

Step by Step Installation Guide to Install Windows 8 Developer Preview on Virtual Box Microsoft revealed Developer Preview of Windows 8 on 13th September 2011. Windows 8 is adhering Metro Design Gudielines. Without going much into deep technical discussions on features of Windows 8 , in this post I have targeted to show you installation steps of Windows 8 on virtual box. So to start with go and dowanlaod Windows 8 developer preview from below link. Choose appropirate link as for your system (32 bit ...

There are plenty of posts and articles out there that provide retrospectives of, and pay homage to, Steve Jobs’ tenure as Apple CEO. I’m not an expert on Apple or Jobs, and this is not one of those posts. But Steve Jobs’ resignation from the CEO post does mark the end of a related era I know something about. It’s the era that Bill Gates and Steve Jobs defined together. And now that both of them have ended their CEO runs and receded to roles as Chairmen of the Board, it’s important to consider just ...

I’ve had a lot of bad things happen to me in my life. The past few weeks I believe have been a huge test I’ve had some problems with my personal life and some natural disasters. I was thinking during this entire experience what doesn’t kill me makes me stronger. I am going through something traumatic, but you know what I can survive it. I am an incredibly durable person. When things suck I go into crisis mode when I’m on my own. I believe that what made this possible is all the traumas in my life. ...

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 ...

What is Common Service Locator?Today we have many Inversion of Control/Dependency Injection Containers like NInject,StructureMap,Unity,.. etc in the .NET world.Most of these vary quite widely in terms of configuration and initialization/registration of the instances.But they provide more or less similar interface while resolving the dependencies and returning object instances.Common Service Locator framework extracts these commonalities out and provides an abstraction on top of these IoC/DI containers.This ...

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 ...

UPDATE (11/11/2013): This post is specifically for SharePoint 2007. I have a slightly different scenario for SharePoint 2010 but managed to achieve Spell Check using a different method. Here's my blog post for SharePoint 2010.This post is a compiled version of Steve Cavanagh's blog post on How To: Spell Check an InfoPath form displayed via XmlFormView. Many are not able to follow Steve's instructions due to lack of details. See below a downloadable zip of all changes need installed for your InfoPath ...

Thought I should bring this to attention since it’s a weird issue and the solution isn’t obvious when googling. The issue is - In MOSS an Ajax-Partial postback, causes the page to loose its page title. Like shown below So whats the fix? Appaprently additional spaces between the <title> and the <asp:ContentPlaceHolder> cause this issue. The solution is to remove the spaces. <title id=”onetidTitle”><asp... id=”PlaceHolderPageTitle” runat=”server”/></tit... ...

Hi All, just wanted to point out a teensy weensy but maybe very useful tip. It might be outdated information if you are using SharePoint 2010, but if you are using SharePoint 2007 then you might find this useful. I am sure all of you working with SharePoint has come across Heather Solomon through her blog, it being a really wonderful resource for skinning SharePoint. Heather also has provided a ton of help to the SharePoint community by sharing the minimal masterpages for WSS and MOSS. What I wanted ...

This one was not easy to solve ... Error: The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured. Context: Some pages were not crawled (giving the above error) and, what is worse, all the sub content of that site was not crawled either! (the pages were the homepages of the site) Solution:The pages that could not be crawled due to this error contained a custom web part. This web part used default credentials for a given action. ...

In the last couple of months SharePoint traffic (consulting, training and speaking) has picked up. And with that also the requests for deployments. There are good, great, bad and really bad things around this. But that is for another topic. However part of the good and great has been the fact of organizations wanting to do a proof of concept deployment (even when WSS or MOSS has been deployed). We can go through a session (Microsoft has the SDPS concept, SharePoint Deployment Planning Services) of ...

Most of the time, I get question from new friends who work in other technologies that "SharePoint is for Content Management/WebSite Creation?". Well, it's common because SharePoint is sucessor of Microsoft Content Management Server (CMS) which dedicatedly used for Web Content Management. SharePoint Portal 2001 predominantly focus on Content Management feature, whereas the later releases came with more features. It's very easy to create Colloboration portal with SharePoint in Minutes where it requires ...

SharePoint 2010 is released and available in 3 Editions. They are Microsoft SharePoint Foundation 2010 Microsoft SharePoint Server 2010 Standard Edition Microsoft SharePoint Server 2010 Enterprise Edition Before start implementing Sharepoint, its must to select the right edition for given requirement. When we recommend SharePoint to customers, they first ask what's the cost? Well, it's based on what for SharePoint is going to be used. 1. Microsoft SharePoint Foundation 2010 MSF 2010 is the least ...

Creating a Custom Site Definition: · http://msdn.microsoft.com/e... · http://msdn.microsoft.com/e... Adding Pages to a Site Definition: Each page in the onet.xml is defined in a <Module> tag. For e.g. <ModuleName="Home"Url="$... Similarly if we want to add more than one page we can add the same in module tag. For e.g. <ModuleName="Home"Url="$... All ...

Visual Studio 2010 is the new and improved development tool for SharePoint 2010. Major improvements are that all the Project Templates for SharePoint 2010 are included out of the box. This means a better development experience with debugging, unit testing, TFS!!! and automated builds! As I was experimenting with the overall experience I noticed some funny things I thought I would blog about. 1) Visual Web Parts are the only option available as part of a template. This can be kind of confusing to ...

Features A SharePoint feature is a collection of SharePoint elements that can help to accomplish a particular functionality. Features reduce the complexity involved in making simple site customizations, and are robust when upgrades are applied to a deployment.Definition of a site or a template can be easily transformed by simply toggling a particular Feature on or off in the user interface. For example :- Publishing features of MOSS provide all the required functionality like publishing layouts, ...

The past few months I’ve been playing architect and admin, rather than developer. I have worked with a couple 2010 environments for play and work and at least one upgrade. So here are just a few tidbits that you might not know that I’ve found… When working with the blank site definition you have to activate the taxonomy features through stsadm if you want to use managed metadata. Here is a good article: http://neoassyrian.blogspot... There is a bug ...

One of my clients wanted to have over the set limit of left navigation (Quick Launch) links to allow ease of access for their clients. SharePoint 2010 has a default setting of 20 links for the Quick Launch. To increase this number find your site’s web.config files and make changes to the following SiteMap Providers. <add name="CurrentNavSiteMapProv... description="CMS provider for Current navigation, no encoding of output" type="Microsoft.SharePoint.... ...

I have been working with a client that has several metadata property mappings. One of them being a "Yes\No" FIeld. The client has a "Confidential" field wich is really a check box. If a document is confidential then it is checked off, by default all documents are NOT confidential therefore, they field is un-checked. Well needless to say during a search query on that field, it would say, "error occured" What the "H" is going on here!!?? looking at the windows logs didn't help as it was complaining ...

I found it very odd that this was not available when doing some search engine queries. My requirement was to take in an AD user name and query SharePoint 2010 to determine the SharePoint groups in which the account belongs. The code was to run from within a RIA Authentication Service, which is code run on a server and is not likely on the SharePoint server. This code will also work with SharePoint 2007 (WSS 3.0 and MOSS 2007). You will need to add a Web Reference to http(s)://<spservername&... ...

My first inplace upgrade of a MOSS 2007 farm to sharepoint went pretty smooth. I read the preupgrade documentation and was comfortable with the steps. Since it was a fairly new installation of Moss changes were minimal and I wasn't anticipating too many problems The one issue I got was after installing the software on all of the farm. I went to the first machine which ran Sharepoint 2010 central administration and ran the Sharepoint 2010 Products Configuration Wizard. I received the message that ...

Here is the list of Zone ID’s for the Blank WebPart Page (BlankWebPartPage.aspx") that is part of the Publishing Portal with MOSS 2007: TitleBar Header TopLeftRow TopRightRow CenterLeftColumn CenterColumn CenterRightColumn Footer RightColumn I was in need of these and wasn’t able to find them with a simple search on Google so I wanted to share them with you. To get a list of WebPartZone objects for a page that a webpart lives on can be done with the following code: foreach (WebPartZone zone in this.WebPartManager.Zones) ...

It’s been more than a month since SharePoint 2010 RTMed. And a lot of people have downloaded and set up their very own SharePoint 2010 development rigs. And quite a few people have written blogs about setting up good development environments, there is even an MSDN article on it. Two of the blogs worth noting are from MVPs Sahil Malik and Wictor Wilén. Make sure that you check these out as well. Part of the bad side-effects of being a geek is the need to do the technical stuff the best way possible ...

In almost every talk I have done on Entity Framework I get questions on how to do custom SSDL or SQL when using model first development. Quite a few of these questions have required custom changes to the SSDL, which of course can be a problem if it is getting auto generated. Luckily, there is a tool that can help. In the Visual Studio Gallery on MSDN, there is the Entity Designer Database Generation Power Pack. You have the ability to select different generation strategies and it also allows you ...

*Moved to: Integrate SharePoint 2010 with Team Foundation Server 2010Our client is using a brand new shiny installation of SharePoint 2010, so we need to integrate our upgraded Team Foundation Server 2010 instance into it. In order to do that you need to run the Team Foundation Server 2010 install on the SharePoint 2010 server and choose to install only the “Extensions for SharePoint Products and Technologies”. We want out upgraded Team Project Collection to create any new portal in this SharePoint ...

I recently got an error when adding a new SharePoint 2007 (SP2) server to our existing MOSS farm. I had run the installation fine, and was walking through the SharePoint Configuration Wizard, when I got an error on step 2: “Resource retrieved id PostSetupConfigurationFaile... is Configuration of SharePoint Products and Technologies failed.” I searched the net, but didn’t really find anything. I then remembered that I had forgotten to run the latest SharePoint updates (for us, the latest applied ...

If you get the following error, while running the SharePoint Products and Technologies Configuration Wizard: Internet Information Services is not installed. You must have Internet Information Services installed in order to use the SharePoint Products and Technologies Configuration Wizard In order to resolve this, Open Server Manager, go to Roles and right click on Web Server And in the Window that comes up, Enable the option that says IIS 6 Metabase Compatibility (Installed) Technorati Tags: Windows ...

When you try to install MOSS 2007 on Windows 2008 R2, if you are using an installation media that is older than SP2, you would get the following error, saying that “This program is blocked due to compatibility issues” All is not lost though, all you need to do is to slip stream the SP2 updates to the MOSS 2007 Setup. Here’s a nice how to on how to do that. http://blogs.technet.com/se... Once you slipstream the SP2 updates, you ...

In WSS 3.0/MOSS 2007 we had to resort to things like HttpModules [1] for errors, access denied, or for 404 errors updating the WebApp properties [2] Well, in 2010, thanks to Andrew Connell for pointing this out, Todd Carter blogs about what we now have in SPS 2010 here: http://todd-carter.com/post... [1] http://blogs.msdn.com/ketaa... [2] http://blogs.msdn.com/jingm... ...

It was time of my first onsite client assignment on SharePoint. Client had one server production environment. They wanted to upgrade the topology with completely new SharePoint Farm of three servers. So, the task was to move whole MOSS 2007 stuff to the new server environment without impacting data. The last three words “… without impacting data…” were actually putting pressure on my head. Moreover SSP was required to move because additional information has been added for users apart from AD import. ...

WSS 3.0/MOSS 2007 Active Directory Forms Based Authentication PeoplePicker no users found After finding these steps online from http://dattard.blogspot.com... in order to setup Active Directory Forms Based Authentication I was all set to complete this task, except for one problem. These steps are missing one very important vital step in order for FBA to work with Active Directory. A supplement to step 3 before granting access in step 5 through the people picker. ...

I wrote this two years ago and thought it was worth posting… Some may think this is a daunting task and some may even say “what a waste of time” and want to open MS Project and start typing out tasks because someone asked for an estimate and a task list. Hell, maybe you even use Excel and pump out a spreadsheet with some real scientific formula for guessing how long it will take to code a bunch of classes. However, this short exercise will provide the basis for the entire project, whether small or ...

In my last blog post, I wrote how to deploy a SharePoint theme using Features and a solution package. As promised in that post, here is how to update an already deployed master page. There are several ways to update a master page in SharePoint. You could upload a new version to the master page gallery, or you could upload a new master page to the gallery, and then set the site to use this new page. Manually uploading your master page to the master page gallery might be the best option, depending ...

Hello Guys, I am Dipesh Bhanani, An IT Consultant from an MNC. I have worked with many client as a SharePoint Consultant ever since. I have been on various successful engagements deploying Project Server 2003/2007, SharePoint 2003, MOSS 2007 and InfoPath 2007. People have asked me for years why I don’t start blogging. I have come across many technical hurdles in the ocean of SharePoint and resolved them passionately. So I thought why I should not share my knowledge to alleviate SharePoint troubles. ...

A while back, maybe 6 months, I got some bad news about 2010. Microsoft was removing Office from the MOSS equivalent of 2010, so basically my alias would be obsolete the second 2010 caught on in the community. I thought about it for some time. I had some discussions with friends in the community. I even noticed that the MOSSMan changed his twitter id. I started my blog around a WSS 3.0 project when I worked for LRS in there St. Louis Office in February/March 2007. So I think it’s fitting to keep ...

I came across this error when i was trying to ajaxify my sharepoint site. After adding the AjaxifyMoss from the codeplex developed by Richard Finn. And tried loading my site i got the error Error: The base type 'System.Web.UI.MasterPage' is not allowed for this page So i decided to check the web.config and i noticed the SafeControl tag doesn't have the .Net 2.0 assembly included despite the fact i added both vsersios 2.0 and 3.5. Its possible the.Net 3.5 assebply overwrote the 2.0. Anyway after i ...

In the previous post I mentioned about manipulating SharePoint PeoplePicker control using JavaScript, in this post I will show how to validate the InputFormTextBox contol using custom JavaScript function. Here is the nice post by Becky Isserman on why not to use RequiredFieldValdator or InputFormRequiredFieldValid... with InputFormTextbox. function ValidateComments() { //retrieve the text from rich text editor. var text = RTE_GetRichEditTextOnly("&l... rteComments.ClientID %>"); if (text != ...

So I was playing around with NavigationNodeCollection, which is basically like SPNavigationNodeCollection just to make sure it worked without a hitch…Here is a little sample snippet of what should work: Unfortunately, you get a nice little javascript error that does not allow you to access the child nodes. I tried a foreach() loop that gets a NavigationNode for each parent then loops through the NavigationNode.Children that did not work either. I threw in two ExecuteQueryAsync statements thinking ...

I’m not sure if this bug exists on any other environment, but here are a few issues I ran into when trying to use SPRoleAssignment and SPGroup: When trying to use Web.Groups[“GroupName”] it basically told me the group did not exist, so I had to change the code to use Web.SiteGroups[“GroupName”]. I could not add the Role Assignment to the Web and run a Web.Update() without adding an additional Web.AllowUnsafeUpdates= true; , however on my virtual machine I could do a Web.Update() without the extra ...

After extending a windows Authenticaton site in sharepoint to use Forms Authentication a user compained she couldn't export a list to spreadsheet and that the option under the actions menu was missing. So i taught it has to do with the FBA setup after some reasearch. I found this solution on MSDN Microsft good on you this time So basically Form Authentication will reduce some functionality such as in document llibrary we wont see new document, edit in spread sheet,open with windows explorer etc. ...

I had an interesting scenario where a bunch of memory leaks were showing up. I googled around and found a bunch of issues. I'm sure if you are reading this, you have either just started the search or have been to every blog post about memory leaks. This might be a bit repetative but if you are in the first group that just started maybe this is a nice way to point you in the right direction. You are probably experiencing errors that start like this: "Potentially excessive number of SPRequest objects ...