Google

My Books recommendations

Monday, September 7, 2009

Site templates not available in create site page

When you click on the “create site” in site action menu, or by going to view all content and create sites and workspaces you will see that, not all site templates are available to create site from.

 

The solution: The reason might be that you have NOT enabled self service site creation option in the central administration.

 

Go to Central administration site of your sharepoint server > click on Application Management > under Application Security section, click on self-service site management and choose option “On” and click “OK”

 

 

 

Go back to the site action manu and create site this should now point you to a new page called scsignup.aspx and not newsbweb.aspx

If it’s not taking you to scsignup.aspx then manually go to http://yourserver/_layouts/scsignup.aspx


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

Friday, September 4, 2009

Web Part Maintenance Page

In my many years of SharePoint development, I often use the Web Part Maintenance Page during my development, but always forget the URL for Web Part Maintenance Page .so decided to write this post about it!

 

Add “?contents=1” at the end of a sharepoint webpart page and it will take you to the Web Part Maintenance Page!

 

So the url will be: http://yourserver/sitename/yourpagename.aspx?contents=1

 

Hope this helps.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

Thursday, September 3, 2009

Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint

Sometime you receive “Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator.”

 

After you’ve backup/restored site using sharepoint designer 2007 in a page where you have customized a data view webpart [new, edit, view page of list].

 

The most likely reason for this error is that the backup/restore operation basically changes the list id in the new server, so in your customized data view page where this error is happening, open the page in SharePoint designer and replace the old list id with a new list id, and voila! It will work!

 

Hope this helps!

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

Wednesday, August 5, 2009

soap:ServerServer was unable to process request. ---> Cannot complete this action. Please try again. ---> Cannot complete this action. Please try again."

I was getting this error for quite sometime.

 

“soap:ServerServer was unable to process request. ---> Cannot complete this action. Please try again. ---> Cannot complete this action. Please try again."

 

Finally found a solution below:

 

Go to Site Settings > Master Page and Page Layout Gallery,  checkout the file through the browser.  Once checked out to you click on the dropdown menu of the file again and click on "Edit in Microsoft Office SharePoint Designer" and voila! It should work!!

 

Regards,

Nilesh Vasave

SharePoint Architect

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

Monday, July 20, 2009

SharePoint 2010 Sneak Peek

MS has created a Sneak Peek site for SharePoint 2010.

 

Please visit the SharePoint 2010 Sneak Peek site at http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/default.aspx.

 

Wednesday, June 17, 2009

Cannot connect to the configuration database

My WSS/MOSS server was giving me this error after a restart of the server [I  have all in one server], later figured out that my SQL Server Browser service was set to manual start and SharePoint requires SQL Server Browser service enabled/started otherwise it will throw “Cannot connect to the configuration database” error. Fixed!


This message may be confidential, privileged or otherwise protected from disclosure. It does not represent the views or opinions of Ofgem unless expressly stated otherwise.

If you have received this message by mistake, please contact the sender and immediately delete the message from your system; you should not copy the message or disclose its contents to any other person or organisation.

SharePoint Designer 2007 _catalogs folder is empty

After frustrating  half an hour, I figured that refreshing the view [View > Refresh  or F5] does the trick and the master pages and other folders under _catalogs appears!!

 

 


This message may be confidential, privileged or otherwise protected from disclosure. It does not represent the views or opinions of Ofgem unless expressly stated otherwise.

If you have received this message by mistake, please contact the sender and immediately delete the message from your system; you should not copy the message or disclose its contents to any other person or organisation.

Friday, June 12, 2009

STSADMWin - a windows based STSADM Tool

As STSADM is a command line utility, and the command-line is somewhat limited compared to Windows GUI, especially when it comes to non-English usage, there is a room for GUIs like stsadmWin (STSADM for Windows). I am always a fan of STSADMWIN a windows based STSADM Tool since I found it in 2003/2004. The new version works with both Sharepoint 2003 and 2007. Try it! It will make your life lot easy..

 

How stsadmWin works?

stsadmWin reads a list of commands from an XML file (namely: operations.xml), and displays a combo with the operations, denoting mandatory and optional parameters, and linking to the utility’s help.

Download

 

You can download STSADMWin from following link:

 

http://blogs.msdn.com/ronalus/attachment/1411643.ashx

 

 


This message may be confidential, privileged or otherwise protected from disclosure. It does not represent the views or opinions of Ofgem unless expressly stated otherwise.

If you have received this message by mistake, please contact the sender and immediately delete the message from your system; you should not copy the message or disclose its contents to any other person or organisation.

Directory does not exist or the Sql server service account and the service account don not have permission to read or write to the back up folder

You receive  following error when you try to restore backup from local or remote network location:

“Directory (restore machine path on domain) \\testserver\backup does not exist or the Sql server service account and the (back up machine path on workgroup).

domain\accountname service account don not have permission to read or write to the back up folder”.

In my case, I was logged in to one of my WFEs and created folder in the WFE and then tried to use the local folder path like D:\Backupdata which was giving me the above error. I later realised that the path really didn’t exist as the D:\Backupdata was created on other front end when i logged in couple of hours ago and when I reclogged in the loadbalanced server the load balancer has switched the server to the different WFE and D:Backupdata didn’t exist on this server. So it’s always better to enable sharing of the backup folder and provide names in the restore like \\servername\backupfolder rather than D:\backupfolder.

 

Lesson learned!

 

 

 

               


This message may be confidential, privileged or otherwise protected from disclosure. It does not represent the views or opinions of Ofgem unless expressly stated otherwise.

If you have received this message by mistake, please contact the sender and immediately delete the message from your system; you should not copy the message or disclose its contents to any other person or organisation.

Only machine administrators are allowed to create administration service job definitions

 

Access denied. Only machine administrators are allowed to create administration service job definitions:

 

During restoring a sharepoint backup you might get this error basically this means few things:

 

1.  The SQL Server name specified has named instance missing (i.e. SQLSERVERNAME\NamedInstance) or

2.  The account used for the restore doesn’t have sufficient rights [make sure that account used to restore has appropriate rights on the WFEs and SQL Server also, it makes life bit easy if the account also has local admin rights and farm admin rights, you can always remove the rights later].

 

 

 


This message may be confidential, privileged or otherwise protected from disclosure. It does not represent the views or opinions of Ofgem unless expressly stated otherwise.

If you have received this message by mistake, please contact the sender and immediately delete the message from your system; you should not copy the message or disclose its contents to any other person or organisation.

Wednesday, June 10, 2009

The farm is not available

While installing one of the feature,i got following error

 

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsa

dm -o installfeature -name AKS -force

 

The farm is unavailable.

 

I found out that the account I am using to install the feature doesn’t have permission on the SharePoint DB server. I’ve added my self in the db server and the error went away!

 

Hope this helps..


This message may be confidential, privileged or otherwise protected from disclosure. It does not represent the views or opinions of Ofgem unless expressly stated otherwise.

If you have received this message by mistake, please contact the sender and immediately delete the message from your system; you should not copy the message or disclose its contents to any other person or organisation.

How to pass session variable in sharepoint webpart

 

During  my current project I came across this small hiccup, where I wanted to pass value of a variable from one page to the other in a sharepoint webpart, since Webpart doesn’t provide this out of the box. I have discovered this little gem from my research.

 

I wanted to retain value of logged in user’s style preference for the page, the following line of code besically retains the value in the combination of page session and and class variable.

 

strUser = loggedInUser [strUser declared at class level]

                 

                  Page.Session.Add("userStyle", strUser); //when user first time login/load on the page.

 

      Then use this Page.Session object to retrive the value of strUser for other functions like:

 

strUser = Page.Session["userStyle"].ToString();

 

and write the value of the strUser using

 

Page.Response.Write("StrUser:" + strUser);

 

 

 

Hope this helps.

SharePoint and Accessibility

Currently I am working at my client site on Accessibility project for SharePoint. My client is a government client and wants their website to be accessibility complient (WCAG 1.0 AA). My task is to convert their existing non WCAG 1.0 compliant site and convert it into a compliant site.

 

So far I have found following:

 

There is something called Accessibility Kit for SharePoint (AKS) from Hi Software. Hi Software has worked with Microsoft to produce this Accessibility kit.  The good news is the Kit

Key Features in the AKS v2.0

The AKS v2.0 introduces the following:

  • Smart Control adapters which greatly reduce the amount of custom configuration previously required for AKS control adapters.
  • The Web Part Zone Control Adapter, a special Smart Adapter that modifies the output of SharePoint so that it does not use tables for layout of the Web parts.
  • HiSoftware’s Compliant Code Engine (HCCE) to assist organizations in creating code that is compliant to standards-based HTML or XHTML.
  • Additional requirements under Canadian Common Look and Feel 2.0 (CLF 2.0) guidelines.
  • Examples of remediation to comply with WCAG 2.0 Level AA.
  • French language version of AKS 1.0 components.

 

I will post more as I progress in the project.

Tuesday, May 12, 2009

Microsoft has announced SharePoint Server 2010 Preliminary System Requirements

After lot of buzz about the new (already ex) SharePoint “14” and new SharePoint 2010, MS has announce some preliminary system requirements for SharePoint Server 2010.

  1. SharePoint Server 2010 will be 64-bit only.
  2. SharePoint Server 2010 will require 64-bit Windows Server 2008 or 64-bit Windows Server 2008 R2.
  3. SharePoint Server 2010 will require 64-bit SQL Server 2008 or 64-bit SQL Server 2005.

Addition to the requirements listed above there were also some preliminary details about SharePoint Server 2010 browser compatibility. 

SharePoint 2010 engineering efforts on targeting standards based browsers (XHTML 1.0 compliant) including Internet Explorer 7, Internet Explorer 8 and Firefox 3.x. running on Windows Operating Systems.  In addition we’re planning on an increased level of compatibility with Firefox 3.x and Safari 3.x on non-Windows Operating Systems.  Due to this focus Internet Explorer 6 will not be a supported browser for SharePoint Server 2010.

Make sure you are ready for SharePoint Server 2010 by ensuring..

  1. Start by ensuring new hardware is 64-bit.  Deploying 64-bit is our current best practice recommendation for SharePoint 2007.
  2. Deploy Service Pack 2 and take a good look at the SharePoint 2010 Upgrade Checker that’s shipped as part of the update.  The Upgrade Checker will scan your SharePoint Server 2007 deployment for many issues that could affect a future upgrade to SharePoint 2010.
  3. Get to know Windows Server 2008 with SharePoint 2007, this post is a great starting point.
  4. Consider your desktop browser strategy if you have large population of Internet Explorer 6 users.
  5. Continue to follow the Best Practices guidance for SharePoint Server 2007.
  6. Keep an eye on this blog for updates and more details in the coming months.

Can’t wait to get my hands on to SharePoint 2010.

ITechnocrats Consulting Limited

Hi All,

I have launched my company site [ofcourse built using WSS 3.0], please visit http://www.itechnocrats.co.uk for news and views about myself and my company.

ITechnocrats Consulting Limited is your one stop shop for SharePoint Consulting and Recruitment needs. We are team of professional consultants specialised in SharePoint Consulting and Recruitment.

We also work on Windows Mobile development. Please visit our App Store to see the latest applications we are working on which can help you and your business.