hayatında ne yapmak istiyorsan ona göre hareket et!
1 Şubat 2009 Pazar
7 Ocak 2009 Çarşamba
Sharepoint 2007 Dispose
Bununla ilgili sharepoint team blogdaki makaleden yola çıkılarak buradaki makaleyi okumak faydalı olur.
Aşağıda ufak bir örnek koda yer verdim.
void SPListBreakRoleInheritanceBestPractice()
{
using (SPSite siteCollection = new SPSite("http://moss"))
{
using (SPWeb web = siteCollection.OpenWeb())
{
SPList list = web.Lists["ListName"];
list.BreakRoleInheritance(true);
list.ParentWeb.Dispose(); // Best practice
} // SPWeb object outerWeb.Dispose() automatically called
} // SPSite object siteCollection.Dispose() automatically called
}
9 Eylül 2008 Salı
Loreena McKennitt
İnsanı dinlendiren, hüzünlendiren ve hayallere götüren şarkılar.
Dinledikçe dinleyesi geliyor insanın.
İnternete bakıyım derken gözümün içine Wiki ve EkşiSözlük girdi ve yetti.
5 Eylül 2008 Cuma
Visual LINQ Query Builder
linq query yazmayı kolaylaştıran ve öğreten
buradan ulaşabileceğiniz proje ile ilgili detaylı bilgilere proje sayfasındaki videoyu izler küçük bir de örnek yaparsanız linq hakkında fikir sahibi olur ve linq query yazmayı çözebilirsiniz.
1 tane ekran görüntüsü koyuyorum.Tam bir görsel gösteri :)
27 Ağustos 2008 Çarşamba
Windows NT user or group 'domain\name' not found. Check the name again
SSP oluşturulurken karşılaşılan “Windows NT user or group 'domain\name' not found. Check the name again“ hatası ile ilgili yapılanlar.
- User’a yetki verildi.
stsadm.exe –o updatefarmcredentials –userlogin-password
iisreset /noforce - Tüm Applicationlar silindi.
- Tüm SSPler silindi.
stsadm –o deletespp –title yourSSPnamehere - Yeni Wep Application oluşturuldu.
- Yeni SSP kuruldu
Yapılan bu adımlardan sonra aynı hata[1] alınmaya devam etti.Bunun üzerine
- Oluşturulan Application ve SSP leri Database leri ile birlikte silindi.
- SharePoint Products and Technologies Configuration Wizard[2] çalıştırıldı.
- “Disconnect form this server farm” seçilerek kullanılan farm disconnect edildi.
- Yeni bir server farm oluşturuldu.DOMAIN adının yazılacağı heryerde DOMAIN adı büyük harflerle yazıldı ! (Önemli)
- Servisler başlatıldı.
- SSP oluşturuldu.
- Başarıyla tamamlandı !
Unutulmaması hatta alışkanlık haline getirilmesi gereken nokta :
DOMAIN isimlerinin case sensitive[3] olduğu bu nedenle herzaman büyük harfler ile yazılması.
[1] :
Event ID : 7888
A runtime exception was detected. Details follow.
Message: Windows NT user or group 'domain\name' not found. Check the name again.
Techinal Details:
System.Data.SqlClient.SqlException: Windows NT user or group 'domain\name' not found. Check the name again.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.Office.Server.Data.SqlSession.ExecuteNonQuery(SqlCommand command)
at Microsoft.Office.Server.Data.SqlServerManager.GrantLogin(String user)
at Microsoft.Office.Server.Administration.SharedDatabase.Microsoft.Office.Server.Administration.ISharedAccessControl.SetAccessControl(SharedComponentSecurity security)
at Microsoft.Office.Server.Search.Administration.SearchAdminUtils.GrantAccessToAccount(String username, ISharedAccessControl sharedAccessControl)
at Microsoft.Office.Server.Search.Administration.SearchSharedApplication.Install()
at Microsoft.Office.Server.Administration.SharedResourceProvider.ProvisionApplications(SharedComponentSecurity sharedApplicationSecurity)
at Microsoft.Office.Server.Administration.SharedResourceProvider.Microsoft.Office.Server.Administration.ISharedComponent.Install()
at Microsoft.Office.Server.Administration.SharedResourceProvider.Provision()
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
[2] :
start -> run -> AllPrograms -> Microsoft Office Server -> SharePoint Products and Technologies Configuration Wizard
[3] :
Büyük – küçük harf duyarlılığı vardır anlamındadır.İngilizce’de “hassas bir durum” anlamındadır.
Tersi ise case insensitive’dir.Büyük – küçük harf farketmez.