Friday, October 16, 2009

Identifying the Worker process

While debugging my web part, it was very annoying to look for the specific w3wp.exe and get it attached to step through the code. Most of the times, I could see there were multiple w3wp.exe listed when I went to “Debug –> Attach to process…”.

Unnecessarily, I had to attach them to all.

Apparently, there is a way to look for your process and attach your Visual Studio environment only to that worker process. Microsoft has a vbscript command that does just that. To get the list of the worker process and figure the one which you need, follow the below steps:

  1. Go to Command prompt.
  2. Go back to the Root directory “C:”.
  3. Type IISAPP.vbs and press enter.

This will give you the required list. Now you can easily identify the Process ID of the SharePoint site by looking at the AppPoolID.

Technorati Tags: ,,,,

Wednesday, September 9, 2009

Customizing "Created By" column in Survey lists

Well, I had'to modify the display of a column in a Survey, where it was required to get the email ID displayed instead of the User's name.
By default, you cannot edit the “Created by” in the question lists. But there's a workaround for you to edit this column as per the below steps:

1. Open your survey, click "Survey Settings" (You will need the Admin rights for this).
2. In the Questions section, click any question of your survey;
3. Change the URL parameter in the Browser:
set Field=Author,
Change the aspx page to FldEditEx.aspx
4. The URL should resemble something like this:
http://yourserver/_layouts/FldEditEx.aspx?List=yourlistGUID&Field=Author
(replace "yourserver" and "yourlistGUID" accordingly)

After this you can select the field you want to display in “Created by”, which can be anything from the dropdown list:
- email
- ID
- Firsname
- Lastname, etc.

Things to remember:
- Page to use: "FldEditEx.aspx"
- Use the respective Internal column names for the columns to modify:
[Created By] = “Author”
[Modified] = “Editor”
[View Response] = "DisplayResponseNoMenu"

Interesting !!! kind of hacking the SharePoint.

Monday, June 1, 2009

Microsoft Search "Bing" launched today

The most surprising news for today I came to know is that of Microsoft going live this morning with the new "Google Rivalry", ahead of its scheduled June 3rd launch date. Well, MS has already invested a lot to distinguish itself from the earlier efforts in search. Certainly there’s far more verb potential in Bing than “Microsoft Live Search,” the service it’s supposed to replace.

So if you visit www.live .com today you'll be redirected to the www.bing.com as here:

image

Cool !!! Head-to-head with Google.

This is a quest for survival. MS knows it got to take this on.

So few people believe that the term "Bing" could actually have been derived from "Bing Is Not Google".

Now that means business to Microsoft.

Technorati Tags: ,,,,

Friday, May 29, 2009

How to get a list of all features deployed in your environment

Ever wondered how powerful is the STSADM command in MOSS. Actually it is the core of all action items you need to perform. To your much interest, you will be really excited to know about what Gary LaPointe has to share with you. Take a look at this site where he has a bunch of extended commands for SharePoint.

I was actually looking for a quick and easy way to get a list of all the features deployed to the servers in the farm. I had a set of 6 servers, so I simply wanted to run a line-of-code on all of them to help me identify them. Thanks to my colleague Jeff, who pointed out this command to me and help in getting a quick resolution.

Gary's command are all pre-fixed by "gl-" and below is an example of the enumfeatures which did the job for me. Take a look:

C:\>stsadm -o gl-enumfeatures -url http://myserver:1237

1. TeamCollab: Team Collaboration Lists (Web - Active)

2. ReviewWorkflows: Routing Workflows (Site - Active)

3. PremiumWeb: Office SharePoint Server Enterprise Site features (Web - Active)

4. PremiumWebApplication: Office SharePoint Server Enterprise Web application features (WebApplication - Active)

5. MyTestFolder: Cases (Web - Inactive)

6. TransMgmtLib: Translation Management Library (Web - Active)

7. MultipleUploadWebpart: MultipleUploadWebpart (Site - Inactive)

8. GlobalWebParts: Global Web Parts (Farm - Active)

9. DisplayUserProfiles: DisplayUserProfiles (Site - Active)

10. SmartTools.jQuery: SmartTools.jQuery v1.2 (Site - Active)

11. OSearchEnhancedFeature: Office Server Enterprise Search (WebApplication - Active)

12. BaseWebApplication: Office SharePoint Server Standard Web application features (WebApplication - Active)

13. MySiteFeatureStapler: My Site Creation Feature Stapler (Farm - Active)

14. SpellChecking: Spell Checking (Farm - Active)

15. SmartTools.DockNavigation: SmartTools.DockNavigation v1.0 BETA2 (Web - Active)

16. SignaturesWorkflow: Collect Signatures Workflow (Site - Active)

17. Reporting: Reporting (Site - Active)

18. UserChangePassword: User Change Password Web Part (Site - Active)

19. PremiumSite: Office SharePoint Server Enterprise Site Collection features (Site - Active)

20. PublishingWeb: Office SharePoint Server Publishing (Web - Inactive)

21. BaseWeb: Office SharePoint Server Standard Site features (Web - Active)

22. MySiteCustomListInstance: Case Custom List (Web - Inactive)

23. MySiteDocumentLibrary: ListDefinition1 (Web - Inactive)

24. MyCoolDemoContentType1: MyCoolDemoContentType1 (Site - Inactive)

25. BaseSite: Office SharePoint Server Standard Site Collection features (Site - Active)

26. OSearchBasicFeature: Office Server Site Search (WebApplication - Active)

27. TranslationWorkflow: Translation Management Workflow (Site - Active)

28. ExpirationWorkflow: Disposition Approval Workflow (Site - Active)

29. MyCoolDemoField1: MyCoolDemoField1 (Site - Inactive)

30. DataConnectionLibraryStapling: Data Connection Library (Farm - Active)

31. ExcelServer: Excel Services Farm Feature (Farm - Active)

32. SearchWebParts: Office SharePoint Server Search Web Parts (Site - Inactive)

33. PublishingSite: Office SharePoint Server Publishing Infrastructure (Site - Inactive)

34. MySiteDocumentLibraryInstance: MyWorkspace Document Library (Web - Inactive)

35. IssueTrackingWorkflow: Three-state workflow (Site - Active)

You may install the extensions from the site and start exploring with all of them.

Tuesday, May 12, 2009

Installing Windows 7 RC

I know I had earlier promised of coming up with the Windows 7 Beta install steps, but looking at the RC getting released very soon, I thought of holding it off for a while. And that was a good decision. Here I am, coming up with the RC screen shots. I know most of us are eagerly waiting for 7 to jump from XP, skipping that Vista in-between.

So if you are ready, start with downloading the RC from this url: Download Windows 7 RC here

As from Microsoft "The RC will be available at least through July 2009 and we're not limiting the number of product keys, so you have plenty of time."

Also, this RC expires on June 1, 2010. Starting on March 1, 2010, your PC will begin shutting down every two hours. Wow, that will be real frustrating for those not having the genuine license.

Okay now that you have the installer, let get started.

Start the Windows 7 Install.

image

Select the language, Keyboard options and click next.

image

Click "Install Now". What follows now are very intuitive steps, go on...

image

image

Accept the license.

image

Select "Custom (Advanced)".

image

Verify and select your install locations.

image

The installation proceeds for each row items and finally completes with a restart.

image

image

image

image

image

image

image

image

Provide a username, PC name.

image

Have your favorite password entered. Then enter the key next.

image

Select "Use recommended settings".

image

image

You may select the kind of network applicable for you, I select Home.

image

image

image

image

image

image

image

And there we are, cool and simple enough !!!

Let's start with exploring the much awaited piece of cake from Microsoft.

Technorati Tags: ,,,,

Thursday, April 16, 2009

Call it Microsoft SharePoint 2010

Yes, that's the name we will be using going forward with the next release of the SharePoint.

MOSS has been taken away citing the official needs of the name "Office" should explicitly be attached to the Microsoft Office clients.

Nevermind, SharePoint will still be a great tool to work on with lots of new upcoming features.

Happy Twenty-Ten !!!

 

Technorati Tags: ,,

Tuesday, March 31, 2009

SharePoint 14 -New services

It looks like SharePoint 14 is going to be cool in a multiple ways. Trust me, the look-n-feel will definitely give you throbs, if you think finding an option to configure AAM or setting up a Policy for Web Applications is very easy to find. This may again take a while for of all of us to get used to the drill-downs of the Central Admin options.

The new layout of the Central Administration is drastically changing. Though still in its ALPHA stage, a lot would change in the coming BETA and any further releases. So it all depends on the feedback Microsoft gets back. So hold on tight and wait for the exciting 14 release (maybe late 2009 or early 2010).

To give you a bit of taste, here are few of the MUST-HAVEs that was always desired in MOSS 2007.

- Web Analytics Web Service

- Word viewing Service

- LotusNotes connector

- Visio Graphics Service

- BDC Service

- Application Registry Service

to name a few. Not gauranteed, but we may possibly see these getting integrated into the next release.

I also expect Microsoft to either acquire some of the great SharePoint tools available today in the market or have it developed internally. These could be SharePoint Security Explorer, Backup-Restore from AvePoint, Idera and some cool web parts from Bamboo Solutions. There are also some Imaging solutions which are highly wanted in the MOSS world.

Stay tuned...

Technorati Tags: ,,

Tuesday, March 24, 2009

Know your WSS 3.0 or MOSS version numbers

This can be really helpful in case you are planning for an upgrade or trying to migrate content from one another.

I found this Blog where Dirk has tried to compile all of them in a tabular format. Nice work from him !

Updated: Aug 17, 2010

Bringing the tabular data from Dirk's site here as recently I experienced problem accessing his site.

Remember that you can find these version numbers in Central Administration -> Operations -> Servers in Farm (/_admin/FarmServers.aspx)

Here is a quick table for those who want to find out what version of WSS/MOSS you are currently patched up to:

Service Pack/Hotfix Version

WSS V3.0

MOSS 2007

Infrastructure Update (KB951695 & KB951297)

12.0.0.6318

12.0.0.6318

Post-SP1 hotfix (KB948945)

12.0.0.6303

12.0.0.6303

Post-SP1 hotfix (KB941274)

12.0.0.6301

12.0.0.6301

Post-SP1 hotfix (KB941422)

12.0.0.6300

12.0.0.6300

Service Pack 1

12.0.0.6219

12.0.0.6219

Release To Manufacturing (RTM)

12.0.0.4518

12.0.0.4518

Technorati Tags: ,,,,,

Thursday, March 19, 2009

Microsoft Internet Explorer 8 beta for you !

Microsoft has made the next generation browser available for download here. 

Windows Internet Explorer 8, as described is easier to use, faster and offers leading-edge security features in direct response to people's increasing concerns about online safety.

Furthermore, It can be downloaded in 25 different languages starting at noon EDT on March 19.

Tuesday, March 17, 2009

How-to see descriptive Error messages in MOSS

How many times you have cursed Microsoft for that single line error message that always appear for so many different reasons but always says "An unexpected error has occured." :-(

To have a more detailed messages in MOSS while you perform your development tasks, you may want to enable debugging in the web.config file for the SharePoint web application. Please note here that this is not recommended to be done in a Production environment.

Edit your web.config file as shown in red below:

<SafeMode MaxControls="200" CallStack="true" DirectFileDependencies="10"TotalFileDependencies="50" AllowPageLevelTrace="false">

And:

<customErrors mode="Off" />

And get rid of any bugs from your application quickly.