Saturday, November 8, 2008

Plan for software boundaries (Office SharePoint Server)


Estimate performance and capacity requirements (Office SharePoint Server),Plan for software boundaries (Office SharePoint Server).

This article provides information to help you understand the tested performance and capacity limits of Microsoft Office SharePoint Server 2007, provides information about the test environment and test results, and offers guidelines for acceptable performance. Use the information in this article to determine whether your planned deployment falls within acceptable performance and capacity limits.

Friday, November 7, 2008

Enhancing the SharePoint sites

Those links below are related to enhancing the SharePoint sites, caching, disposing objects and all about memory leaks, optimize SharePoint sever indexing, enhancing camel quires, content query web parts and such and such.

Wednesday, November 5, 2008

Violation of PRIMARY KEY constraint 'PK_OrderForms'. Cannot insert duplicate key in object 'dbo.OrderForms'

This may happens because a multiple users logging in and checking out under the same userid/password at the same time so same basket this may cause a corrupted basket,

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

there is one page that is absolutely necessary for everyone to access: osssearchresults.aspx. This page presents the list of 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

We all get used to grant IUSER_computername any access we need as IUSER is the internet users that all anonymous user are impersonating when they try to access any page in your portal, and it works for only windows authentication. To do the same thing but with forms based authentication you need to
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

use master
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

it is really nice but i am still facing problem with it :(

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

IBM WebSphere Portal and Microsoft 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

very nice articles taking about Requirements for a successful Content Deployment and the Common Issue or Content Deployment fails and how to resovle.
http://blogs.technet.com/stefan_gossner/default.aspx

Thursday, April 10, 2008

Internet Explorer 8 Beta 1 for Developers Now Available

i have tried IE8 on some sites, there are some issues that need to be fixed like some rendering errors in arabic content and some javascript errors there’s much more enhancements to come in IE8, see link below.

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)

solution:
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