SharePoint 2010, MOSS 2007, C#, ASP.NET, SQL Server, software architecture and development, XML, Microsoft Windows, Windows Sharepoint Services 3.0
Saturday, November 8, 2008
Plan for software boundaries (Office SharePoint Server)
Friday, November 7, 2008
Enhancing the SharePoint sites
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/d52ff289-94d3-4085-bc4e-24eb4f312e0e.mspx?mfr=true
http://msdn.microsoft.com/en-us/library/aa973248.aspx
http://office.microsoft.com/en-us/sharepointserver/HA101206861033.aspx
http://msdn2.microsoft.com/en-us/library/aa973248.aspx
http://msdn2.microsoft.com/en-us/library/bb687949.aspx
http://msdn2.microsoft.com/en-us/library/aa973248.aspx
http://msdn.microsoft.com/en-us/library/ms413145.aspx?PHPSESSID=7c61ntavm1dmu84rl10kephll5
http://msdn.microsoft.com/en-us/library/aa505327.aspx
http://msdn.microsoft.com/en-us/library/ms947783.aspx
http://msdn2.microsoft.com/en-us/library/bb727371.aspx#MOSS2007OptPerfWCM_OverviewofPerformanceOptimizationforWCMSites
http://www.binarywave.com/blogs/eshupps/Lists/Posts/Post.aspx?List=9c93c708%2De5ce%2D4714%2Dbdea%2D499330361130&ID=111
http://blogs.technet.com/stefan_gossner/archive/2007/11/26/dealing-with-memory-pressure-problems-in-moss-wss.aspx
http://blogs.msdn.com/joelo/archive/2007/12/05/10-things-to-optimize-your-sharepoint-server-indexing.aspx
http://www.ranjanbanerji.com/techtalk/20070716.aspx
http://blogs.msdn.com/tess/archive/2006/09/06/net-memory-usage-a-restaurant-analogy.aspx
http://support.microsoft.com/default.aspx/kb/933560
http://jritmeijer.spaces.live.com/blog/cns!8A48A27460FB898A!965.entry?wa=wsignin1.0
Wednesday, November 5, 2008
Violation of PRIMARY KEY constraint 'PK_OrderForms'. Cannot insert duplicate key in object 'dbo.OrderForms'
any way find the solution here !
http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/898b5886-cb62-44d6-b64b-de719faf5b84/
Tuesday, October 14, 2008
Anonymous Search Results
By default, viewing this page requires a user to be authenticated to the server. This can create a problem when your site definition includes the basic search control as it will attempt to render all search results on this page with Anonymous access.
locate the following text at the top of the osssearchresults.aspx (inside the < % @ Page ... /> declaration) and remove it:Inherits="Microsoft.SharePoint.WebControls.LayoutsPageBase"This setting determines the inheritance of the page from the generic application page base class; however, it is not required for the page to function. Anonymous uers will be able to view the page without having to login and search results will continue to be security trimmed so users without proper permissions will be unable to view restricted items.
this is from The SharingPoint it works fine and here you are the link below.
http://sharingpoint.blogspot.com/2007/05/anonymous-search-results-in-wss-v3.html
Anonymous impersonation for FBA portals in SharePoint
1- Store or register your IUSER for example guest to your membership repository.2- Grant that guest any access rights you want inside or outside SharePoint.3- Write some code to make all unauthorized users impersonate that guest inside the portal 'Global.asax'. which is protected void Application_AuthenticateRequest(Object sender, EventArgs e) { string cookieName = FormsAuthentication.FormsCookieName; HttpCookie authCookie = Context.Request.Cookies[cookieName]; if (authCookie == null) { FormsAuthentication.SetAuthCookie("guest", false); } }So all the anonymous users will have a guest access 'your created guest' on your portal
For more details see the link below.
http://blogs.devhorizon.com/reza/?p=508
Wednesday, June 25, 2008
shrinking SQL database log file
go
ALTER DATABASE urDataBaseName SET RECOVERY Simple --to alter the database to simple mode to accept shrinking
BACKUP LOG urDataBaseName WITH TRUNCATE_ONLY --to backup the log file before shrinking
use urDataBaseName
go
DBCC SHRINKFILE (urDataBaseName_log, TRUNCATEONLY) --shrinking the log
use master
go
SELECT * FROM sys.dm_tran_session_transactions --check on the operation
ALTER DATABASE urDataBaseName SET RECOVERY Full --reset first line
-- and if it gives you an error says cannot locate file urDataBaseName_log in sysfiles ... It could be an issue with the logical file name so make sure that the logical file name is as the physical file name.
Thursday, April 17, 2008
IBM Portal & Portal Accelerators
Ibm Portal Accellerators Public
From: ardigo, 1 month ago
See why IBM's portal is the N°1 according Gartner and market reports
SlideShare Link
IBM WebSphere Portal
IBM Portal Web intro
From: danisman, 4 months ago
Beginner's introduction to the premier enterprise horizontal portal product on the market today .. IBM WebSphere Portal.
SlideShare Link
Wednesday, April 16, 2008
How to Perform a Search by Using the SQL WHERE Clause in commerce server 2007
public static CatalogItemsDataSet SearchCatalog(CatalogContext context, string catalogName){ // Search the catalog. // Create the search options. CatalogSearchOptions searchOptions = new CatalogSearchOptions(); searchOptions.PropertiesToReturn = "CategoryName, DefinitionName, i_classtype, ProductId, VariantId, DisplayName"; searchOptions.SetPaging(1, 20); searchOptions.SortProperty = "CategoryName"; CatalogSearch catalogSearch = context.GetCatalogSearch(); // Specify the catalogs to search. // This is a comma-separated list of catalogs to search, // for example, "Catalog1,catalog2". catalogSearch.CatalogNames = catalogName; // Specify the categories to search. All categories that match the // expression are searched. This example searches all categories // that have "technical" as part of their descriptions. catalogSearch.CateoriesClause = @"Description like '%technical%'"; // Return all items with price less than $10.00. catalogSearch.SqlWhereClause = "cy_list_price<10"; // Also use the free-text search. catalogSearch.UseAdvancedFreeTextSearch = true; // Return all rows that contain the phrase "sql books". catalogSearch.AdvancedFreeTextSearchPhrase = "\"sql books\""; catalogSearch.SearchOptions = searchOptions; // Perform the search. int totalRecords = 0; CatalogItemsDataSet catalogItems = catalogSearch.Search(out totalRecords); Console.WriteLine(totalRecords); // Access each of the returned items. foreach (CatalogItemsDataSet.CatalogItem catalogItem in catalogItems.CatalogItems) { Console.WriteLine(catalogItem.CategoryName); Console.WriteLine(catalogItem.DisplayName); } return catalogItems;}
http://blogs.msdn.com/nikhiln/default.aspx
http://blogs.msdn.com/rdonovan/
http://blogs.msdn.com/vinayakt/archive/2004/05/08/128366.aspx
http://msdn2.microsoft.com/en-us/library/aa546103.aspx
http://blogs.msdn.com/vinayakt/archive/2004/05/13/130972.aspx
Paging in commerce server 2007, C# code
CatalogSearchOptions searchOptions = new CatalogSearchOptions();
searchOptions.SetPaging(PageNumber, PageSize);
YourCatalog.GetProducts(searchOptions);//returns a dataset :)
and nice article talks about that below.
http://www.eggheadcafe.com/forumarchives/commerceservercatalog/Nov2005/post24391792.asp
It should be WebSphere Portal vs Sharepoint not Domino vs Sharepoint
http://blogs.toasttechnology.com.au/roller/hortovanyi/entry/it_should_be_websphere_portal
WebSphere Portal and Windows SharePoint Integration Guide see below
http://www.ibm.com/developerworks/websphere/library/techarticles/0410_choo/0410_choo.html
Tuesday, April 15, 2008
Microsoft Silverlight: An Introduction
It's Time for Silverlight
From: rajeshlal, 2 months ago
An introduction to Silverlight with comparision to Flash.
(Some information has been taken from msdn website and other microsoft's resources)
SlideShare Link
Monday, April 14, 2008
Stefan Goßner talks about SharePoint Content Deployment
http://blogs.technet.com/stefan_gossner/default.aspx
Thursday, April 10, 2008
Internet Explorer 8 Beta 1 for Developers Now Available
http://blogs.msdn.com/ie/archive/2008/03/05/internet-explorer-8-beta-1-for-developers-now-available.aspx
Wednesday, April 9, 2008
SharePoint 2007, Content Deployment ''User cannot be found' error
I am tring to run a job but it gets Failed for tow below errors:
1-User cannot be found. at Microsoft.SharePoint.SPUserCollection.GetByID(Int32 id) at Microsoft.SharePoint.SPWeb.get_Author() at Microsoft.SharePoint.Deployment.WebSerializer.GetDataFromObjectModel(Object obj, SerializationInfo info, StreamingContext context) at Microsoft.SharePoint.Deployment.DeploymentSerializationSurrogate.GetObjectData(Object obj, SerializationInfo info, StreamingContext context) at Microsoft.SharePoint.Deployment.XmlFormatter.SerializeObject(Object obj, ISerializationSurrogate surrogate, String elementName, Boolean bNeedEnvelope) at Microsoft.SharePoint.Deployment.XmlFormatter.Serialize(Stream serializationStream, Object topLevelObject) at Microsoft.SharePoint.Deployment.ObjectSerializer.Serialize(DeploymentObject deployObject, Stream serializationStream) at Microsoft.SharePoint.Deployment.SPExport.SerializeObjects() at Microsoft.SharePoint.Deployment.SPExport.Run()
2-Content deployment job 'test_test' failed.The exception thrown was 'Microsoft.SharePoint.SPException' : 'User cannot be found.'
what can i do?
-it is an issue i posed it before in The official blog of the SharePoint Product Group-Content Deployment, it is really useful.
http://blogs.msdn.com/sharepoint/archive/2006/05/02/588140.aspx
Introduction to Windows SharePoint Services 3 and Office SharePoint Server 2007 for Developers
Introduction WSS 3 and MOSS 2007
From: Magganpice, 1 year ago
Slides from Microsoft Techtalk in Zurich
SlideShare Link
SharePoint and Other Collaborative Tools
Microsoft SharePoint Portal Sever 2007 and Other Collaborative Tools - The Future of Intranets?
From: msampsonMNET, 7 months ago
Michael's presentation at the BrightStar conference on August 29, 2007 in New Zealand
SlideShare Link
Thursday, March 6, 2008
master page error : Code blocks are not allowed in this file
problem: When I assigned “application.master” or “layouts.master” pages as master page to my new developed web page, I received this error from share point:
The referenced file '/layouts.master' is not allowed on this page. at System.Web.UI.TemplateParser.ProcessError(String message) at System.Web.UI.BaseTemplateParser.GetReferencedType(VirtualPath virtualPath, Boolean allowNoCompile) at System.Web.UI.PageParser.ProcessMainDirectiveAttribute(String deviceName, String name, String value, IDictionary parseData) at System.Web.UI.TemplateParser.ProcessMainDirective(IDictionary mainDirective)
try to remove the ~ from the MasterPageFile="~/MasterPage.master" the tag inside the content page and if it still does not work, remove the / if they are "mater page and the content page" in the same root