Friday, June 12, 2009
Friday, June 05, 2009
Create new Content DB
Well it's a generic case where in we end up creating large number of site collections and then realize that DB size is too big to manage.
Well to take care of such situation, it's a good practice to create new content DB and move existing site collection new DB.
How to do it ?Here you go.
Wednesday, May 20, 2009
Thursday, May 07, 2009
Performance testing and Performance counters for Sharepoint 2007
Useful performance counters which cas be used while peformance testing of SharePoint 2007 Environment
http://blogs.msdn.com/ketaanhs/archive/2008/08/12/performance-testing-and-performance-counters-for-sharepoint-2007-moss.aspx
http://blogs.msdn.com/ketaanhs/archive/2008/08/12/performance-testing-and-performance-counters-for-sharepoint-2007-moss.aspx
Tuesday, May 05, 2009
Business Intelligence Fundamentals Web Seminar Series
This link contains collection of web seminars on BI ..
Friday, April 24, 2009
stsadm import failed with AllowAutomaticASPXPageIndexing error
Well i got stuck with this issue and the following hotfix helped to come over it :
http://support.microsoft.com/default.aspx?scid=kb;EN-US;957691
http://support.microsoft.com/default.aspx?scid=kb;EN-US;957691
Wednesday, April 22, 2009
Server SQL Server evaluation period has expired.
In case you are trying to upgrade the Expired SQL server with retail SQL server follow these steps :
- Take Back up of the DB files (MDF and LDF)
- Unistall the expired SQL Server
- Install retail SQL Server
- Re-Attach old DB's
Thursday, April 16, 2009
Calculated Column in SharePoint List
Am sure lot of you are searching for formulae which can we used in the Calculated column in SharePoint list. If yes, you are in right place .
Here are some useful links :
http://office.microsoft.com/en-us/sharepointtechnology/CH100650061033.aspx
http://office.microsoft.com/en-us/sharepointtechnology/CH101032701033.aspx
http://office.microsoft.com/en-us/sharepointtechnology/HA101054791033.aspx?pid=CH100650061033#4
Here are some useful links :
http://office.microsoft.com/en-us/sharepointtechnology/CH100650061033.aspx
http://office.microsoft.com/en-us/sharepointtechnology/CH101032701033.aspx
http://office.microsoft.com/en-us/sharepointtechnology/HA101054791033.aspx?pid=CH100650061033#4
Wednesday, April 15, 2009
STSADM: The farm is unavailable
This error pops up when the user running the command doesn't have access to SQl Server , make sure you are using admin account(preferable) in order to run stsadm tool.
Tuesday, April 14, 2009
Alert Not Working
Try this :
- stsadm.exe -o setproperty -propertyname job-immediate-alerts -propertyvalue "every 1 minutes between 0 and 59" -url "http://SiteName"
- stsadm.exe -o setproperty -propertyname alerts-enabled -propertyvalue "true" -url "http://SiteName"
Monday, April 13, 2009
CAML Query Builder
Life gets's so much easier when intellect people think of tool which developer community actually needs , here is the one tool which actually has the potential to give you that extra time which you spend writing long CAML query :-):
http://www.u2u.be/res/Tools/CamlQueryBuilder.aspx
http://www.u2u.be/res/Tools/CamlQueryBuilder.aspx
Friday, April 03, 2009
Unable to add selected web part(s).
ERROR :
<WebpartName>: The file is not checked out. You must first check out this document before making changes.
Scenario with Solution
While trying to add webpart to the page , i received the above error. After some minutes i got the culprit .
1) Even on clicking "Edit Page" my file was not checking out , so i had to check out my webform using sharePoint designer. This solved my intial issue of adding web part .
2) Now question was , Why the "Edit Page" is not chekcing out my page , well it was no brainer . Publishing feature in my Site Feature was not active.
ENJOY!!
Thursday, March 26, 2009
"Access Denied" MOSS 2007
I got this error while playing with the multiple authentication ie. authenticating sharepoint application with third party LDAP and Active Directory.
I was able to log in to home page but any system page e.g. _layouts/settings.aspx threw the "Access Denied " error.
This is how i got it working :
1) Go to "Application Management" tab in Central Administration
2) Click on the "Policy of Web application " link under "Application Security" section
3) Add the following users :
I was able to log in to home page but any system page e.g. _layouts/settings.aspx threw the "Access Denied " error.
This is how i got it working :
1) Go to "Application Management" tab in Central Administration
2) Click on the "Policy of Web application " link under "Application Security" section
3) Add the following users :
- - NT AUTHORITY\local service (Full Control)
- - "Site Collection Administrator" (Full Control)
Monday, March 09, 2009
Get all Custom Site Templates from Site collection
using (SPSite newSite = new SPSite(SiteURL))
{
using (SPWeb newWeb = newSite.OpenWeb())
{
SPWebTemplateCollection customTempCollection = newSite.GetCustomWebTemplates((uint)newWeb.Locale.LCID);
}
}
{
using (SPWeb newWeb = newSite.OpenWeb())
{
SPWebTemplateCollection customTempCollection = newSite.GetCustomWebTemplates((uint)newWeb.Locale.LCID);
}
}
Thursday, March 05, 2009
Unable to add selected web part(s).
ERROR:
Assemblies that implement ASP.NET Web Parts and are installed into a partially trusted location, such as the bin directory, must be compiled with the AllowPartiallyTrustedCallersAttribute set for import to succeed.
SOLUTION:
Add [assembly:AllowPartiallyTrustedCallers] to AssemblyInfo.cs
REFER :
http://msdn.microsoft.com/en-us/library/system.security.allowpartiallytrustedcallersattribute(VS.71).aspx
Assemblies that implement ASP.NET Web Parts and are installed into a partially trusted location, such as the bin directory, must be compiled with the AllowPartiallyTrustedCallersAttribute set for import to succeed.
SOLUTION:
Add [assembly:AllowPartiallyTrustedCallers] to AssemblyInfo.cs
REFER :
http://msdn.microsoft.com/en-us/library/system.security.allowpartiallytrustedcallersattribute(VS.71).aspx
Tuesday, February 10, 2009
Hiding Menu Items on SharePoint 2007 List
If your requirement is to hide any menu item in SharePoint list for e.g. "Connect to Outlook" or "Open with Access" etc. then "ToolBar Manager " feature in codeplex is of great help .
http://www.codeplex.com/features
There are additional features which are useful too. You can download the same from :
http://www.codeplex.com/features/Release/ProjectReleases.aspx?ReleaseId=2502#ReleaseFiles
http://www.codeplex.com/features
There are additional features which are useful too. You can download the same from :
http://www.codeplex.com/features/Release/ProjectReleases.aspx?ReleaseId=2502#ReleaseFiles
Thursday, February 05, 2009
Configuring AJAX in ASP.NET
Here is the list of web.config entries requires for AJAX to work in ASP.NET App.
Delete all Items in SharePoint List
You might end up with this requirement quite often and and try top down approach for delete :
for (int count=0;count < itemCount ; count++)
{ itemcoll[count].Delete(); }
and bump into exceptions , well the other way to do it is bottom up delete
for (int count =itemCount-1 ; count>0 ; count--)
{ itemcoll[count].Delete(); }
for (int count=0;count < itemCount ; count++)
{ itemcoll[count].Delete(); }
and bump into exceptions , well the other way to do it is bottom up delete
for (int count =itemCount-1 ; count>0 ; count--)
{ itemcoll[count].Delete(); }
SharePoint Utility Pack
If you are looking for a tool for Site Mangement with following features :
- Recursively deleting sites
- Create a list in multiple sites at once
- Modifying field settings - some internal settings that you cannot modify in the regular interface, and the option to modify lists with the same name in multiple sites at once
- Push a web part to multiple sites (a specific page in each site) at once
- Manage list event hanlders (register and remove event handlers from lists)
Then you need to have this tool by Ishai Sagi
The event handler functionality has proven to be of great help to me.
Subscribe to:
Posts (Atom)
Helping Protect Healthcare Pipelines from Boot to Memory on OCI
Encrypting data at rest and in transit is standard practice. What about while it's being processed? This blog authored by me and anoth...
-
Ever wanted to have a people picker kind of control in Infopath form and that too in browser mode. Did i heard yes :) , well there is a Acti...
-
Am sure lot's of people would be wondering how to hide menu items of a list eg document libraries "Send to " menu item . In o...
-
I got this error for quite some time and i had no clue what was wrong in my page . Page consisted of only 2 panel controls . That's all ...