Etiket: Sharepoint

Automatic Refresh Uyarısı Nasıl Kaldırılır?

Ocak 31st, 2010

Elinizde bulunan bir excel i, Excel Service den yararlanarak Sharepointte göstermek istiyorsunuz; Fakat her sayfa açılışında aşağıdaki gibi hata mı alıyorsunuz?

xxxx workbook contains one or more queries that refresh external data.
A malicious user can design a query to access confidential information and distribute it to other users or perform other harmful actions.

If you trust the source of this workbook, click Yes to enable queries to external data in this workbook.
If you are not sure, click No so that changes are not applied to your workbook.

Bunu aşmak için yapmanız gereken;

  1. Central Administration dan ilgili SSP nin Admin Page ine gidin.
  2. Buradan Trusted File Locations.
  3. İlgili güvenilir locationı bulun ve tıklayın.
  4. Açılan konfigürasyon sayfasından External Data nın Warn On Refresh özelliğini disable edin;

Tags: , , , , , , , ,
Posted in Sharepoint, Yazılım | No Comments »

Sharepoint Listelerinin GUID’ni Bulmak

Ocak 8th, 2010

Bazen sharepoint listelerinin GUID lerine ihtiyaç duyarız,

Bunları bulmanın üç yolu mevcut, ikisi kolay, biri zor :) hangisini isterseniz kullanabilirsiniz;

Birinci Yol;

  1. İlgili listenin settingslerine geliyoruz,
  2. Burada adres çubuğunda yazan

    http://moss/_layouts/listedit.aspx?List=%7B90D46FEF%2D30EE%2D4DB3%2DB027%2DCBE7EDA5DB09%7D

    benzeri adresten List değerinde yazan stringi alıyoruz

  3. %7B90D46FEF%2D30EE%2D4DB3%2DB027%2DCBE7EDA5DB09%7D
    bu stringin
    %7B = {
    %7D = }
    %2D = -
    değişikliklerini yapıyoruz ve
    {90D46FEF-30EE%2D4DB3-B027-CBE7EDA5DB09}
    şeklinde GUID imizi elde ediyoruz.

İkinci Yol;

  1. İlgili listenin settingslerine geliyoruz,
  2. Information Management Policy Settings e tıklıyoruz.
  3. Adres çubuğundan list değerini çevrime gerek duymadan kopyalayıp yapıştırabiliriz :)

Üçüncü Yol;

  1. İlgili listenin settingslerine Firefox kullanarak geliyoruz,
  2. Hiç bir ek işleme gerek kalmadan decode edilmiş şekilde list değerinden GUID imizi alabiliriz :)

Evet farkındayım en kolay yolu en sona yazdım…

Tags: , , , , , , , , ,
Posted in Sharepoint, Sistem, Yazılım | No Comments »

MOSS 2007 Kurulumu (Detaylı)

Kasım 15th, 2009

Microsoft Office Sharepoint Server 2007 Standalone Server üzerine kurulumu;

Çok temel olarak W2K3 R2 SP2, SQL Express 2005 ve MOSS 2007 SP2 ile kurulum gerçekleştirilecektir;

  1. İlk önce bize gerekli olan, Windows 2003 server R2 (32 Bit veya 64 Bit) SP 2,
  2. Daha sonra bu makinaya tüm updatelerin geçilmesi gerekiyor (kendi iyiliğiniz için :) ),
  3. IIS kulumu gerekiyor (bir fikriniz yoksa internet üzerinde bol miktarda yazı bulabilirsiniz, Bir fikir olması açısından aşağıda bir resim bulabilirsiniz),
  4. 1.mosssetup_iis

  5. ASP.NeT kurulumu gerekiyor,
  6. 2.moss_2007_setup_aspnet

  7. IIS Manager ekranından, Isolation Mode‘ u ayarlamalıyız, (Başlat -> Çalıştır -> INETMGR),
  8. 3.moss_2007_inetmgr
    4.MOSS_2007_setup_inetmgr

  9. Microsoft .NeT Framework 3.5 Kurulumunu yapıyoruz. Link : http://go.microsoft.com/fwlink/?LinkId=110508 den indirebilirsiniz.
  10. 5.moss_2007_35_framework_setup

  11. Asp.Net 2.0 a izin vermeliyiz. Bunun için tekrar IIS Manager ekranına gelip (Başlat -> Çalıştır -> INETMGR) buradan ASP.NET v2.0.50727 i seçip Allow butonuna tıklamalıyız.
  12. 6.moss_2007_setup_asp.net_configuration

  13. Bundan sonra yapılacak iş ise MOSS 2007 yi kurmak ve Konfigüre etmektir. Fakat bu sırada isteğe bağlı olarak Office ve Visual Studio yu da kurabilirsiniz.
  14. 7.Moss_2007_Office
    8.MOSS_2007_VS_setup

  15. Sharepoint setupımızı çalıştırıyoruz, Next ve Yes lerle ilerleyip, Basic yükleme seçeneğini seçiyoruz. Bu işlem bize otomatik olarak gerekli yüklemeleri yapacaktır. SQL Express, Moss Kurulum Ayarları, vs.. bunların hepsi otomatik olarak kurulacaktır.
  16. 9.Moss_2007_Basic

  17. Kurulum tamamlandıktan sonra aşağıdaki gibi bir ekran karşınıza çıkacak, buradan Sharepoint Configuration ı çalıştıracağımızı belirtip, Configuration Tool’u çalıştırıyoruz.
  18. 10.MOSS_2007_Configuration

  19. Karşımıza gelen seçeneklerden de yine Next ve Yes olanları seçiyoruz. Daha sonra 10 adımlık bir Configuration Task işlemi başlayacaktır. Bu işlem de tamamlandıktan sonra sharepointimiz kurulmuş ve büyük bir kısmı konfigüre edilmiş olacaktır.
  20. 11.MOSS_2007_Conf

  21. Bu konfigüre sırasında biz de boş durmayalım ve eğer server üzerinde yazılım geliştirme yapacaksak, Windows SharePoint Services 3.0 Tools: Visual Studio 2008 Extensions, Version 1.2 eklentisini yükleyelim. Bu sayede Visual Studio içerisinde rahatlıkla web part vs.. yaratabileceğiz. Link : http://www.microsoft.com/downloads/details.aspx?familyid=7BF65B28-06E2-4E87-9BAD-086E32185E68&displaylang=en
  22. Amma da uzun sürdü dediğinizi duyarmış gibiyim :) E hadi madem boş durmayın ve Sharepoint Designer ve InfoPath i yükleyin;
  23. 12.MOSS_2007_Sharepoint Designer

  24. Bu sırada göreceksiniz ki, yüklemeler tamamlanmış, konfigürasyonlar bitmiş ve herşey hazır :) işte süreç bu kadar basit. Konfigürasyon bitince otomatik olan açılan internet explorer sayfasında anasayfanızın gelmiş olması lazımdı. Eğer gelmediyse;
    http://localhost veya http://server_ismi
    linkleriyle anasayfanıza bağlanmayı deneyebilirsiniz.
  25. 13_MOSS_2007_Finish

ve iyi bir haber, yoğun olmadığım bir zaman size söz, Advanced kurulumu da anlatacağım :)

P.S. Söylemeyi unuttum, herşeyi yaptıktan sonra Sharepoint SP2 yi de üzerine geçmeyi unutmayın lütfen…

Tags: , , , , , , , ,
Posted in Sharepoint, Sistem | 2 Comments »

How to Get Current User Information

Ağustos 26th, 2009

First,

Make definitions,

string siteURL = "http://siteURL";
SPSite site = new SPSite(siteURL);
SPWeb web = site.OpenWeb();

Get Current User,

SPUser user = web.CurrentUser;

Get User Informations,

string name = user.Name;
string loginName = user.LoginName;
string eMail = user.Email;

Hope this post helps,

Tags: , ,
Posted in Sharepoint | No Comments »

Sharepoint Error : LoadBalancer.RegisterLauncher failed

Ağustos 17th, 2009

Error Detail :

Source: Office SharePoint Server
Category: Launcher Service
Event ID: 6102
Description:LoadBalancer.RegisterLauncher failed: Unable to connect to the remote server

Solution :

Try to change Service Account from Central Administration -> Operations -> Service Accounts

Tags: ,
Posted in Sharepoint | No Comments »

SharePoint Doesn’t Send Update Alert Me Mails

Ağustos 14th, 2009

If sharepoint sends the initial mails, like creating alert me, etc.. and doesnt send update alert me mails,

then;

1. You configured the mail settings right,
2. You dont need to check all CA configuration,
3. Open Services.msc (Start -> Run -> Services.msc)
4. Be sure that Windows SharePoint Services Timer service has been started, if not, start it.
5. When starting, if you get error, try to solve this problem. If not, try to find why the service stopped? May be Log On configuration wrong!
6. After starting the service, all alerts, including old ones(between service stop time and start time), will send by sharepoint.

Tags: ,
Posted in Sharepoint | No Comments »

How To “Add Site Collection Administrators in Sharepoint”

Nisan 28th, 2009
  1. Open Sharepoint 3.0 Central Administration
  2. 1

  3. In Central Administration, Click on Application Management
  4. 2

  5. In Sharepoint Site Management, Click on Site collection administrators
  6. 3

  7. Now, you can change or add Site Collection Administrators. This user can be a domain user or a local user.
  8. 4

Tags: , ,
Posted in Sharepoint | No Comments »

How Can I Access The ‘Web Part Maintenance Page’ ?

Nisan 7th, 2009

To Access the web part maintenance page of the current page, just write;

?contents=1

at the end of th URL. So your url must looks like

http://server/site1/site2/site3?contens=1

so this url opens the web part maintenance page of site3.

Tags: , , ,
Posted in Sharepoint | No Comments »

Error: ’style.display’ is null or not an object

Nisan 7th, 2009

When you add two or more Content Editor Web Part your page, sometimes this error occurs;

Error Definition;

line: 2135
Char: 4
Error: ’style.display’ is null or not an object
code: 0

Error Type;

This is a Content Editor Web Part Javascript Error;

Error Resolution;

“When you delete or close your web parts, you wont get any error;” if the sentence is true for you then,
your problem is copying / pasting CEWP information. Probably, you prepared your text on Office Word then you copied it to the CEWP. Seems like the error appears, because of conflicting IDs.

So try these;
——-——-——-——-——-——-

Before you try, please copy ‘Rich Text Editor‘ and ‘Source Editor‘ text to a safety place. Just a precaution :)

——-——-——-——-——-——-

  1. Open ‘Modify Web part Page‘,
  2. Select ‘Rich Text Editor‘,
  3. Copy the text,
  4. Select ‘Source Editor‘,
  5. Paste the text,
  6. Then Open again ‘Rich Text Editor‘ and stylize your text all over again :) or you can copy from old copy…

Tags: , , , , ,
Posted in Sharepoint, Sistem | No Comments »

How Can I Get Current Site Url in Sharepoint (Programmatically)

Nisan 7th, 2009
       private string GetServerUrl()
        {
            string strContextURL = HttpContext.Current.Request.Url.ToString(); //Full Url of the current site
            int i = strContextURL.LastIndexOf("//") + 2;
            string strProtocol = strContextURL.Substring(0, i); //to find protocol
            string strServer = strContextURL.Substring(i); //to find server
            string strBaseUrl = strProtocol + strServer.Substring(0, strServer.IndexOf("/"));
            return strBaseUrl;
        }

Tags: , , ,
Posted in Sharepoint, Yazılım | No Comments »

    Takip Edin
  • Etiket Bulutu

  • Kategoriler

  • Son Yazılar

  • Bağlantılar

  • Popüler Yazılar