Monday, June 20, 2011
'flex' is null or not an object in ext-all.js
Ext JS : Data Model proxy for Json and XML return type
Ext JS Programming Basic Requirement
Thursday, June 16, 2011
Could not find default endpoint element that references contract 'x' in the ServiceModel client
Wednesday, June 15, 2011
Visual Studio IntelliSense to show comments for the Custom Function
Wednesday, June 08, 2011
Accessing Enterprise Application Blocks
Friday, June 03, 2011
Validation Application Block
Monday, January 24, 2011
Wednesday, December 08, 2010
Prism with Silverlight : Short Videos but covers topic really well
Monday, September 06, 2010
Wednesday, August 18, 2010
SharePoint 2010 as Application Development Framework
SharePoint has changed so drastically within past decade. I was always excited about the fact that it's possible to develop custom application using SharePoint 2007 as base framework . We did multiple implementation and development time has reduced around 50 % . Reason is that we dont need to spend time doing too much data modelling obviously there is downside to it as complex data centric application is not real contender for such efforts and neither transaction based application . But what i have seen as per my experience is that in any organization there are very few key applications which are complex and they are mostly business drivers other are small custom applications just to automate business process and no surprise that these small applications sometimes makes more than 50% of the applications in an organizations and are good contender to be developed using SharePoint as framework .
Custom applications developed on top of SharePoint 2007 comes with drawbacks too , biggest evil is performance. Too much of data will drain the server resouces and might take ages to load pages. So i would say application development in SharePoint 2007 has proven to be more of POC and learning platform.
SharePoint 2010 seems to much more mature with its 64 bit architecture and promises to provide deliver better performance.
Story cut short , non business centric applications will be developed using SharePoint in future. So if you would like to equip yourself then refer the below URL :
http://www.microsoft.com/downloads/details.aspx?FamilyID=64b55569-2168-4545-8b7c-f185b2cf967d&displaylang=en
SharePoint 2010 Resources
http://blogs.technet.com/b/vedant/archive/2010/06/14/sharepoint-2010-resource-guide.aspx
and if you are the ones who prefer videos than here is the link :
http://sharepoint.microsoft.com/en-us/Pages/Videos.aspx?VideoID=14
Thursday, June 17, 2010
Friday, May 14, 2010
Versions of SharePoint 2010
http://technet.microsoft.com/en-us/evalcenter/ee388573.aspx
SharePoint Server 2010 Enterprise Client Access License features
For organizations looking to expand their business collaboration platform to enable advanced scenarios. Use the Enterprise capabilities of SharePoint to fully interoperate with external line-of-business applications, Web services, and Microsoft Office client applications; make better decisions with rich data visualization, dashboards, and advanced analytics; and build robust forms and workflow-based solutions.
SharePoint Server 2010 for Internet Sites, Enterprise
For organizations looking to create customer-facing public internet sites and private extranets using the full enterprise capabilities of SharePoint. This provides full SharePoint Enterprise functionality and no other technical limits.
SharePoint Server 2010 Standard Client Access License features
For organizations looking to deploy a business collaboration platform across all types of content. Use the core capabilities of SharePoint to manage content and business processes, find and share information and expertise, and simplify how people work together across organizational boundaries.
SharePoint Server 2010 for Internet Sites, Standard
For small and mid-sized organizations looking to create public Internet sites or basic extranets using the Standard features of SharePoint Server 2010.
SharePoint 2010 Product key
SharePoint Server 2010 Enterprise Client Access License Features: GGDG8-JCMXH-8KG8C-RJYYX-3Y33H
SharePoint Server 2010 for Internet Sites, Enterprise: 9FPGB-W6QTT-G68T4-TBX7M-R624H
SharePoint Server 2010 Standard Client Access License Features: KB443-F7CJV-J2RP4-QYQJ7-6PBB3
SharePoint Server 2010 for Internet Sites, Standard: H4P2T-CYKM7-9FKKD-DTQ7X-W69GG
http://technet.microsoft.com/en-us/evalcenter/ee391660.aspx
HAPPY SHAREPOINTING!!!!
Tuesday, May 04, 2010
Retrieve Solution file from SharePoint Farm
Developer created .wsp file and installed in SharePoint farm . We need install these solution files to new farm and we have no clue where developer has saved these files.It's not in Visual Source safe too.
Disaster Recovery :
Pull the .wsp from the existing farm using code below :
SPSolutionCollection solutions = SPFarm.Local.Solutions;
foreach (SPSolution solution in solutions)
{
SPPersistedFile wspFile = solution.SolutionFile;
wspFile.SaveAs("c:\\Temp\\Solutions\\" + solution.Name);
}
Make sure directory exists .
Enjoy!
Tuesday, April 27, 2010
System.Data.SqlClient.SqlError: Exclusive access could not be obtained because the database is in use. (Microsoft.SqlServer.Express.Smo)
I did following steps to get it working( Make sure you can afford SQL DB outage during the restore )
1) Run the following SQL Query on SSP DB
USE master
GO
ALTER DATABASE YOUR_SSP_DB_NAME
SET OFFLINE WITH ROLLBACK IMMEDIATE
2) Perform SQL Restore from Backup
3)
ALTER DATABASE YOUR_SSP_DB_NAME
SET ONLINE
Thats It .
This process is much simpler than the Central Administration Restore process. For some weird reasons i kept on getting errors while trying with Central Administration console .
Monday, April 19, 2010
Friday, April 16, 2010
Working with List Items MOSS 2007
http://splistitemeditor.codeplex.com/
Wednesday, April 07, 2010
Content Query Web Part : Master of all OOB webpart
Customization Sample :
http://msdn.microsoft.com/en-us/library/bb447557.aspx
This is one of the most powerful webpart but still SharePointers avoid it's usage due to its complex looking .xsl language . Fact is that once you understand XSL then this webpart will become common in your websites.
The site collection could not be restored. Please make sure the content databases are available and have sufficient free space
Follow this article in case you bump on to above error :
http://support.microsoft.com/kb/926061
Thursday, March 11, 2010
Exception Error 0x80020009 when trying to Activate "Office Sharepoint Server Publishing Infrastructure"
Following are the steps :
stsadm -o activatefeature -filename publishing\feature.xml -url http://URL -force
stsadm -o activatefeature -filename publishingresources\feature.xml -url http://URL -force
stsadm -o activatefeature -filename publishingSite\feature.xml -url http://URL -force
stsadm -o activatefeature -filename publishingweb\feature.xml -url http://URL -force
stsadm -o activatefeature -filename publishinglayouts\feature.xml -url http://URL -force
stsadm -o activatefeature -filename navigation\feature.xml -url http://URL -force
Worked for me ...
Monday, February 15, 2010
Thursday, February 11, 2010
Thursday, January 21, 2010
Error in PortalCrawl Web Service.
To get it working i had to create a dummy root site collection at http://servername
Wednesday, January 06, 2010
Request for the permission of type 'System.Security.Permissions.FileIOPermission failed
In case you receive security issue when executing the managed code infopath form , solution is to make the infopath form Full Trust.
To make form full trust , in Office Infopath design mode, go to Tools -> Form Options -> Security and Trust -> Full Trust (Change Security level to full trust ).
Publish theform .
Auditing SharePoint 2007 List/ Library
Auditing documents/ list items in SharePoint 2007 is a 3 step process :
1) Create Site Collection Policy
- Go to Site Actions ->Modify all Site Settings - >Site Collection Policies
- Create new policy -> Provide Name and Enable Auditing
- Select Events you would like to audit -> Click OK
2) Set up the Document Library / List which requires auditing
- Go to List Settings of Document Library you would like to audit
- Click on Information Management Policy Settings
- Under use site collection policy , select the policy you had defined in first step
- Click Ok
At this point you library / list is set for auditing and any action will be logged .
3) Viewing the results
- Go to Site Actions ->Modify all Site Settings - >Audit log Reports
- Under Custom Reports click on "Run a custom report "
- Select checkbox "Restrict this Report to " and select corresponding web application and list name
- You can select various filters (start date , end date , users ), though these are optional but its better to use them as they improve the report performance
- Select the events you would like to see the report for and click ok
- Voila ! you have the details reports with worksheet displaying the activity and usernames ,you have to use the filter to zero down to required data. UserNames can be accessed worksheet named"Report Data". Event column will display the action performed on a particular item
Enjoy !
Tuesday, January 05, 2010
HAPPY NEW YEAR !!!!
Bring it on !!!!
Thursday, December 31, 2009
Another user has changed the structure of this list .
Another user has changed the structure of this list . All your pending changes to this list will be discarded . To retrieve the latest copy of the list , click refresh
Suggested Resolution : Removing comma in hyperlinks
Reference URL : http://bmerri19.wordpress.com/
Wednesday, December 30, 2009
Implementing ASP.NET Impersonation
Impersonation can be implemented using one of four methods:
- Impersonate the IIS authenticated account or user
- Impersonate a specific user for all the requests of an ASP.NET application
- Impersonate the authenticating user in code
- Impersonate a specific user in code
More details give in following article :
http://support.microsoft.com/kb/306158#4
Tuesday, December 22, 2009
Feature '7a8b11f4-38b2-402b-ad94-1213e25150ca' for list template '1102' is not installed in this farm. The operation could not be completed.
It was happening because ShaerPoint Site was searching for the following feature "PWAProposals" which was present in my dev machine and not in my production . I was able to move it successsfully before as i used stsadm-backup but it started failing with stsadm -export.
Resolution :
Just copy the feature from your source server ---> destination server and install the feature. This will resolve the issue . Well this is not ideal solution . I am still in process of figuring out the reference to the feature in order to remove it from list template.
Tuesday, December 08, 2009
Sharepoint Config DB Size Grown too large
Did some search and the below steps solved the issue. The steps given below is not recommended to be implemeted in production , only in development / QA machine in order to save some resource .
1) Right click on you DB -> Properties
2)Select Options
3) Change the Recovery Model to SIMPLE and Click Ok
Once that is done ,
-Right click on DB -> Tasks - > Shrink -> Files
- In File type select log and click OK
My Config DB Log files were reduced from 35 GB - > 504 KB
Note : Simple recovery model is not suggested for Production Systems
Wednesday, December 02, 2009
Allow Access Request SharePoint 2007
1) Go To Site Settings ->Modify All Site Settings
2) Click on Advanced Permissions under User and Permission
3)List Settings -> Access Requests
4) Set the email ID and activate the Allow Request for access
SharePoint 2010 Beta Product Key
SharePoint Server 2010 Beta (Enterprise CAL features): PKXTJ-DCM9D-6MM3V-G86P8-MJ8CY
SharePoint Server 2010 for Internet Sites Beta, Enterprise: BV7VC-RMR6B-26P6Y-BTQDG-DX2KQ
http://technet.microsoft.com/en-us/evalcenter/ee391660.aspx
Monday, November 30, 2009
Sunday, November 29, 2009
Feature 1 SharePoint 2010 : Sandbox Solutions
Atlast SharePoint 2010 Beta Installation complete
Wednesday, November 25, 2009
Friday, November 20, 2009
Exception from HRESULT: 0x80040E14 STSADM ERROR
ERROR:
Exception from HRESULT: 0x80040E14
Clearing hard disk space in DB server resolved the issue.
Tuesday, November 17, 2009
Unable to Delete SSP (unprovisioning)
Use the SharePoint Master Tool (STSADM), nobody says "no" to Master ;-)
stsadm -o deletessp -title
http://technet.microsoft.com/en-us/library/cc263248.aspx
Tuesday, October 06, 2009
Friday, September 25, 2009
Cannot connect to the configuration database.
1) Check SQL DB exist and enabled
2) Application pool Identity has been added to SQL DB
SharePoint 2007 Best Practices
- Best Practices: Using Disposable Windows SharePoint Services Objects http://msdn.microsoft.com/en-us/library/aa973248.aspx
- Best Practices: Common Coding Issues When Using the SharePoint Object Model http://msdn.microsoft.com/en-us/library/bb687949.aspx
- Dispose Checker Tool http://code.msdn.microsoft.com/SPDisposeCheck
- Working with Large Lists in SharePoint Server 2007 http://technet.microsoft.com/en-us/library/cc262813.aspx
- SharePoint Products and Technologies Customization Best Practices http://msdn.microsoft.com/en-us/library/bb861954.aspx
- Developing Workflow Solutions with SharePoint Server 2007 and Windows Workflow Foundation http://msdn.microsoft.com/en-us/library/cc514224.aspx
- Developing SharePoint Applications:Patterns and Practices http://msdn.microsoft.com/en-us/library/dd203468.aspx
- Managed Path http://msdn.microsoft.com/en-us/library/bb802766.aspx
- Web Services Access http://msdn.microsoft.com/en-us/library/bb862916.aspx
Tuesday, September 22, 2009
Save as Site Template Missing
Wednesday, September 16, 2009
Tuesday, September 08, 2009
Thursday, September 03, 2009
Monday, August 17, 2009
ASP.NET Progress control for FREE!!!
http://www.essentialobjects.com/Products/EOWeb/ProgressBar.aspx
Friday, August 07, 2009
Wednesday, August 05, 2009
AJAX ERROR : Sys.WebForms.PageRequestManagerTimeoutException - The server request timed out
Wednesday, July 29, 2009
Tuesday, July 28, 2009
Thursday, July 23, 2009
Unknown server tag 'asp:ScriptManager' PKS

I am glad website is back . Up and running .
Monday, July 13, 2009
The template you have chosen is invalid or cannot be found. SharePoint Template Error
The most common reason for this error is missing of dependency . for e.g. missing feature.
Best solution is to run the STPInspector tool . It will help to diagnose whether all the dependency are present in server or missing something .
You can get tool from STPINSPECTOR
ENJOY!!!
Essential SharePoint Governance Tool
- SP Forms Designer with content types(http://sptoolbasket.codeplex.com/Wiki/View.aspx?title=SharePoint%20-%20SPForms%20Designer)
- SPFeature Explorer(http://sptoolbasket.codeplex.com/Wiki/View.aspx?title=SharePoint%20-%20SPFeature%20Explorer)
- SharePoint - List Columns Manager(http://sptoolbasket.codeplex.com/Wiki/View.aspx?title=SharePoint%20-%20List%20Columns%20Manager)
- Security Management Tool m(http://www.codeplex.com/sushi)
- STP Inspector ( http://stpinspector.codeplex.com/)
Thursday, July 09, 2009
Aspnet_merge.exe Exited with Code 1
Creating single DLL for Web User Controls in ASP.NET website project
Friday, July 03, 2009
Microsoft New Search Engine
Sunday, June 28, 2009
Best Practices Webpart
Generally people go back to basics when something bombs , till then best practices are kept only in books. Anyways i have been thinking of writing about it from long time and here it goes today . just follow some of best practices and webparts maintenace becomes much easier and no more "Webpart maintenance page ".
- Error Handling : This is the most important part of webpart development . Always defined a try , catch , finally block in your webpart .E.g http://www.codeproject.com/KB/sharepoint/Errorhandling_in_Webparts.aspx
- Validate all user inputs
- Register the Client Side script to improve performance
- Always dispose the sharepoint Objects e.g. SPSite, SPWeb e.g. http://www.sharepoint-tips.com/2006/06/best-practices-writing-webparts-for.html
- Refrain using loops with list objects . use CAML query as much as possible to retrieve desired data
Friday, June 26, 2009
FIELD CONTROLS VS WEB PARTS
Article by Andrew Connell
Enjoy!!!!
Tuesday, June 23, 2009
SPUpdatedConcurrencyException: An update conflict has occurred, and you must re-try this action
Friday, June 12, 2009
Friday, June 05, 2009
Create new Content DB
Wednesday, May 20, 2009
Thursday, May 07, 2009
Performance testing and Performance counters for Sharepoint 2007
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
Friday, April 24, 2009
stsadm import failed with AllowAutomaticASPXPageIndexing error
http://support.microsoft.com/default.aspx?scid=kb;EN-US;957691
Wednesday, April 22, 2009
Server SQL Server evaluation period has expired.
- 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
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
Tuesday, April 14, 2009
Alert Not Working
- 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
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 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 (SPWeb newWeb = newSite.OpenWeb())
{
SPWebTemplateCollection customTempCollection = newSite.GetCustomWebTemplates((uint)newWeb.Locale.LCID);
}
}
Thursday, March 05, 2009
Unable to add selected web part(s).
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
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
Delete all Items in SharePoint List
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
- 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)
Friday, January 30, 2009
Cannot use 'partitionResolver' unless the mode is 'StateServer' or 'SQLServer'
Thursday, January 22, 2009
SharePoint List Rating Engine
http://metahat.blogspot.com/2008/12/sharepoint-listcontent-rating-system.html
Thanks to http://www.codeplex.com/site/users/view/StephaneEyskens for updating the rating engine and incorporating it in the discussion forum control too.
You can get the same from http://www.codeplex.com/sptoolbasket
Wednesday, January 07, 2009
Friday, December 26, 2008
Migrating SharePoint /MOSS 2007 database from one Farm / DB to another Farm /DB
1) Migrating Portal from One Farm to another Farm
2)Migrating Portal from Development/Test Server to Production Server
I would like to put this process in order to make other's life simpler.If you are performing these migration /move and facing these errors then you have to follow this blog :
ERROR 1 :
An unexpected error occurred while refreshing the shared object manager cache.
Reason: Object reference not set to an instance of an object.
Techinal Details:System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Office.Server.Administration.SharedResourceProviderStoreDependency.get_IsValid() at Microsoft.Office.Server.Administration.SharedObjectManager.Refresh()
ERROR 2 :
"The search service is currently offline. Visit the Services on Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress. "
Process for Farm Migration
1)Back up Complete Farm using Central Administration (Central Administration > Operations > Perform a Backup )
2) Disconnect from existing Server farm using SharePoint Products and Technologies Configuration Wizard
3) Create New Farm using "SharePoint Products and Technologies Configuration Wizard" in desired DB server and Web Server
4)Most important STEP , if you miss this you will end up with all kind of search errors in world
Start all services in that server
- Excel Calculation Services
- Office SharePoint Server Search
- Windows SharePoint Services Help Search
AFTER MIGRATION
Once you are done you might get this Error :
Following Web Part error in the page: “One of the properties of the Web Part has an incorrect format. Windows SharePoint Services cannot deserialize the Web Part. Check the format of the properties and try again.”
Suggestion: The AppPool may not have appropriate permissions
Do this ,
- GO TO Central Administration (Central Administration > Operations > Service Accounts)
- Select Web Application Pool option
- Select the Central Administration Web app from drop down
- Provide Account ID to be used by web application
One More Pit Fall After Migration :
Infopath Managed form stops working . If you have Infopath Managed form in your site upload the same to (Central Administration > Application Management > Manage Form Templates )
Well these steps might help to make migration much simpler .
Also refer this excellent blog post for process with image depiction:http://lkar.blogspot.com/2008/05/moving-moss-project-server-2007.html
Tuesday, December 16, 2008
SharePoint List/Content Rating System
What are Content Type IDs?
http://blogs.msdn.com/andrew_may/archive/2006/06/24/SharePointBeta2WhatAreContentTypeIDs.aspx
Monday, December 15, 2008
Redirecting to same Page ASP.NET
Friday, December 12, 2008
Tuesday, December 02, 2008
Application synchronization failed for Microsoft.Office.Server.Search.Administration.SearchService..
Application synchronization failed for Microsoft.Office.Server.Search.Administration.SearchService.
Reason: Object reference not set to an instance of an object.
Resolution :
The following worked with me , i hate to say this but i have no clue what went wrong and why this started working .
In order to get search working i did the following steps and all other options didn't worked even given here in microsoft discussion group
- Start the search using Central Adminsitration -> Operations -> Services on Server ->Click "Start" for "Office SharePoint Server Search "
- Select only "Use this server for serving search queries". Provide credentials and Press "OK". This should atleast start the search service
- Now go back go Central Adminsitration -> Operations -> Services on Server ->Click Link "Office SharePoint Server Search"
- Select "Use this server for indexing content" too and provide credentials and Press OK
- This was start indexer too
- Now go forward and create a new SSP. Now you will see indexer available in dropdown
Hope it works for others too.
Monday, November 24, 2008
Backup / Restoring SharePoint 2007 Site from SQL Database
http://sharepointdogs.wordpress.com/2008/07/30/content-migration-or-backuprestore-in-moss-2007/#comment-9
Here is one of defined approach which worked wonders for me :
USING SQL
Using SQL, Backup the SQL Content Databases which are required and Restore them to a new databases in the SQL and attach these databases to the new application.
(Briefly we can say that take your content db ‘Offline’ using the Central admin. Take the content database offline in SQL Studio (Take Offline context menu item). Copy your database mdf and ldf files to the new machine (the destination machine). Attach the copies on the new SQL server using SQL Studio. Add the copied content DB to the Web Application on the new machine using the Central Admin on the new web server.)
STEPS:
1)Find the content Database
These are listed under Central Admin->Application Management->Site Collection List
2) Backup the content database
You could alternatively detach it, and copy it. Just doing a backup in SQL Server 2005 Management studio is easier.
3) Restore content database to new server
Copy the BAK file to new server. Create an empty DB in Management Studio, restore from backup, you may need to change an option in the “options” tabof the restore dialog to get it to work. (Overwrite db).
4) Create Web App on new Server
Central Admin->Application Management->Create or extend Web App->Create New Web App.
5) Associate restored DB with new Web App
Central Admin->Application Management->
SharePoint Web Application Management->Content Databases->
Remove Content Database from your new web app.
Now use STSADM to add restored DB to this web app
c:\program files\common files\microsoft shared\web server extentions\12\bin on new server is where you can find the STSADM.
run this command from there.
stsadm -o addcontentdb -url http://yourwebapp:port -databasename yourcontentdb -databaseserver yoursqlserver
6) Run ISSRESET from command prompt.
Tuesday, November 11, 2008
Setting RSS Update time limit in SharePoint 2007
My previous blog on RSS ended with a very un-satisfied note as i was still trying to find the way to set the update time for RSS feeds in SharePoint 2007 . I am glad i got it now. It was a setting in Site Collection Level . Here it goes :
- Go to Site Settings
- In Site Adminisration Section click on link RSS
- Set the Time To Live(Minutes) filed with required refresh time
Outlook 2007 RSS feed not updating when Sync with SharePoint 2007 List
Tuesday, November 04, 2008
Get Discussion List Items from SharePoint Discussion Forum
SPSite site = new SPSite("Site URL");
SPWeb web = site.OpenWeb();
SPList list1 = web.Lists["DiscussionListName"];
SPListItemCollection coll = list1.Items ;
Well Here is the right way of doing it :-)
SPSite site = new SPSite("Site URL");
SPWeb web = site.OpenWeb();
SPList list1 = web.Lists["DiscussionListName"];
SPListItemCollection coll =list1.Folders ;
Friday, October 10, 2008
This page has encountered a critical error. Contact your system administrator if this problem persists.
ERROR:"An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. "
Do you get this error in your sharepoint site ?
Just one bad day you come in to see that your main page is bombing due to this error with no proper clue .Well it happened to me and i had no idea what went wrong.After lot of research i found something.
I had "?" marks all over my web.config file , which even erased some of characters.
Solution :
Search for "?" in web.config and start fixing the character in the file. I would suggest replace the web.config (obviously retain the custom entry ) with working one , i replaced my web .config with a working one and Volla!!! it worked for me .
In short the culprit is web.config and not SharePoint installation.
Cheers!!!
If this helps do leave comments , i would like to know how many SharePointeers got into this issue. :-)
Wednesday, October 01, 2008
Restricting MySite Create Access in MOSS 2007
Then this is for you :
Open Shared Service Provider Administration Page and click on link as shown in image to specify the access level of users .
Do leave message if this helps you. It's good to know i am not the only one having this requirememt :)
Reference Architecture: Building a Cost Optimized, High-Throughput HL7, EDI, and FHIR Processing Pipeline on OCI ( Published in Oracle Blog)
OCI (Oracle Cloud Infrastructure) provides more than 200 services to build your next enterprise application. Explore the blog to learn how ...
-
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 ...