Saturday, November 22, 2008

SharePoint Guidance from Microsoft Patterns and Practices

I found this very useful guidance http://msdn.microsoft.com/en-us/library/dd203468.aspx , it helps architects and developers design, build, test, deploy and upgrade SharePoint intranet applications.

CHM file is downloadable from http://www.microsoft.com/downloads/details.aspx?FamilyId=C3722DBA-6EE7-4E0E-82B5-FDAF3C5EC927&displaylang=en

Saturday, November 8, 2008

SUGBG at LinkedIn

I've created new group in LinkedIn.com for SUGBG members.

Join us now!



Tuesday, November 4, 2008

Sharepoint User Group Bulgaria - sugbg.org



The first Sharepoint User Group in Bulgaria is comming - SUGBG! The first meeting is scheduled for 26-th of November and the group's site is http://www.sugbg.org/
The first speaker will be Sahil Malik with his talk:

Get Rich Quick! Creating Rich UIs in SharePoint

Not your wallet silly! I am talking about creating Rich UIs. Writing rich UIs is becoming more and more necessary as users are beginning to expect and demand more out of new browsers, and powerful computers. So why should such innovation be limited in SharePoint? It isn't! But there are multiple ways to provide a rich user interface within SharePoint. In this session Sahil shows you a .NET 2.0 versus .NET 3.5 way of providing rich UIs, and compares the two and shows the specific pros and cons in a SharePoint light.


Come and listen, meet exiting and create new friends :-)

Thursday, October 30, 2008

Presentation "Office Sharepoint Designer as powerful tool for MOSS 2007"

Yesterday evening I had a presentation at New Horizons Bulgaria. The audience was approximately 50 persons. NH Bulgaria is a sponsor of seria presentations focused to the latest versions of Visual Studio, Windows Server and MS Office. You can get the agenda from here (Bulgarian language only).

Friday, May 2, 2008

Microsoft Days 2008 in Sofia

In this year edition of Microsoft Days in Sofia I had two presentations:
  • Intranet Portal with Office Sharepoint Server 2007 – available only with request!!!
  • Web Content Management with Office Sharepoint Server 2007

Thursday, March 13, 2008

403 Forbidden or Access Denied message in Sharepoint 2007

I had very strange problems with Error 403 in MOSS 2007 application. I integrated the ascx controls in sharepoint aspx page. At first I added the MyControl.ascx and MyControl.ascx.cs files in "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES" folder of all WFE servers and MyClassLib.dll in "bin" directory of the application. The aspx page (with master page) was created in Sharepoint designer 2007 and the control was registered with this line:

%@ Register Src="~/_controltemplates/SearchResult.ascx" TagName="SearchResult" TagPrefix="uc1" %

The interesting moment was, that the page wokred fine for administrative users, but for all other users error 403 appeared. The message in the event log was:

Load control template file /_controltemplates/MyControl.ascx failed: Could not load type 'MyControl'


The solution - I gave read permissions for EVERYONE for the bin folder. I used and filemon tool to catch ACCESS DENIED message for file open in the same folder. After this change all worked fine.

Wednesday, October 17, 2007

Couldn't publish page content in MOSS 2007

The error message is:

This page contains content or formatting that is not valid. You can find more information in the affected sections

The problem:
If you put control with associated validation controls in the master page - asp.net Login control for example, the page validation couldn't process the page correctly and page couldn't be save when it is in edit mode.

The solution:
put your asp:Login tag in EditModePanel and set PageDisplayMode="Display"
This code will render the Login control only in display mode, not in edit.




Good luck

Friday, October 5, 2007

How to install Sharepoint (WSS 3.0 or MOSS 2007) without Active Directory

Hi guys,
Today I had unbelievable problems with installation of WSS 3.0 to single machine (VPC). I wanted to deploy WSS as farm, with SQL Server on the same server and outside of the domain. And... big troubles.... I got the followng exception in the event log when I run the Sharepint Configuration wizard:

Failed to create the configuration database.An exception of type System.Security.Principal.IdentityNotMappedException was thrown.

Additional exception information: Some or all identity references could not be translated.

System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
at System.Security.Principal.NTAccount.Translate
(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.NTAccount.Translate(Type targetType)
at Microsoft.SharePoint.Administration.SPProcessIdentity.GetMachineRelativeSecurityIdentifier(SPServer server, Boolean& isMachineAccount)
at Microsoft.SharePoint.Administration.SPProcessIdentity.GrantIdentityDatabaseAccess()
at Microsoft.SharePoint.Administration.SPProcessIdentity.Update()
at Microsoft.SharePoint.Administration.SPWindowsService.Update()
at Microsoft.SharePoint.Administration.SPFarm.CreateBasicServices(SqlConnectionStringBuilder administrationContentDatabase, IdentityType identityType, String farmUser, SecureString farmPassword)
at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, IdentityType identityType, String farmUser, SecureString farmPassword)
at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, String farmUser, SecureString farmPassword)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb() at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
For more information, see Help and Support Center

at http://go.microsoft.com/fwlink/events.asp.

actually the exception thrown after step 2 of 9 of Configuration wizard.
I found this post and it really help me to complete the installation successfully:

http://blogs.msdn.com/fooshen/archive/2007/02/01/installing-moss-without-ad.aspx

The real output in my cmd window after the executing of steps in this article was :

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>PSConfig -cmd -configdb -create -server vm-sharepoint-srv\sql2005 -database SharePoint_Config -user sharepoint -password sysadm -dbuser sqlmoss -dbpassword sysadm -admincontentdatabase SharePoint_AdminContent

SharePoint Products and Technologies Configuration Wizard version 12.0.4518.1016
Copyright (C) Microsoft Corporation 2005. All rights reserved.
Performing configuration task 1 of 3

Initializing SharePoint Products and Technologies configuration...
Successfully initialized the SharePoint Products and Technologies configuration.
Performing configuration task 2 of 3Creating the configuration database...
Successfully created the configuration database.
Performing configuration task 3 of 3Finalizing the SharePoint Products and Technologies configuration...

Successfully completed the SharePoint Products and Technologies configuration.
Total number of configuration settings run: 3

Total number of successful configuration settings: 3
Total number of unsuccessful configuration settings: 0
Successfully stopped the configuration of SharePoint Products and Technologies.Configuration of the SharePoint Products and Technologies has succeeded.

Good luck!