Etiket: Sharepoint
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;
- Central Administration dan ilgili SSP nin Admin Page ine gidin.
- Buradan Trusted File Locations.
- İlgili güvenilir locationı bulun ve tıklayın.
- Açılan konfigürasyon sayfasından External Data nın Warn On Refresh özelliğini disable edin;
Tags: Central Administration, Excel Services, External Data, MOSS, MOSS 2007, Sharepoint, SSP, Trusted File Locations, Warn On Refresh
Posted in Sharepoint, Yazılım | No Comments »
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;
- İlgili listenin settingslerine geliyoruz,

- 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

- %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;
- İlgili listenin settingslerine geliyoruz,

-
Information Management Policy Settings e tıklıyoruz.
-
Adres çubuğundan list değerini çevrime gerek duymadan kopyalayıp yapıştırabiliriz

Üçüncü Yol;
- İlgili listenin settingslerine Firefox kullanarak geliyoruz,

-
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: GUID, List, List GUID, List Settings, Liste, Liste Ayarları, Liste GUID, MOSS, MOSS 2007, Sharepoint
Posted in Sharepoint, Sistem, Yazılım | No Comments »
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;
- İlk önce bize gerekli olan, Windows 2003 server R2 (32 Bit veya 64 Bit) SP 2,
- Daha sonra bu makinaya tüm updatelerin geçilmesi gerekiyor (kendi iyiliğiniz için
),
- IIS kulumu gerekiyor (bir fikriniz yoksa internet üzerinde bol miktarda yazı bulabilirsiniz, Bir fikir olması açısından aşağıda bir resim bulabilirsiniz),

- ASP.NeT kurulumu gerekiyor,

- IIS Manager ekranından, Isolation Mode‘ u ayarlamalıyız, (Başlat -> Çalıştır -> INETMGR),


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

- 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.

- 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.


- 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.

- 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.

- 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.

- 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
- Amma da uzun sürdü dediğinizi duyarmış gibiyim
E hadi madem boş durmayın ve Sharepoint Designer ve InfoPath i yükleyin;

- 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.
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: IIS, Kurulum, MOSS 2007, MOSS 2007 Kurulum, Setup, Sharepoint, Sharepoint 2007 Kurulum, SQL Express, Standalone
Posted in Sharepoint, Sistem | 2 Comments »
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: Current User, MOSS, Sharepoint
Posted in Sharepoint | No Comments »
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: Error, Sharepoint
Posted in Sharepoint | No Comments »
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: Alert Me, Sharepoint
Posted in Sharepoint | No Comments »
Nisan 28th, 2009
- Open Sharepoint 3.0 Central Administration

- In Central Administration, Click on Application Management

- In Sharepoint Site Management, Click on Site collection administrators

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

Tags: MOSS, Sharepoint, Site Collection Administrators
Posted in Sharepoint | No Comments »
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: contens, MOSS, Sharepoint, Web Part Maintenance Page
Posted in Sharepoint | No Comments »
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
——-——-——-——-——-——-
- Open ‘Modify Web part Page‘,
- Select ‘Rich Text Editor‘,
- Copy the text,
- Select ‘Source Editor‘,
- Paste the text,
- Then Open again ‘Rich Text Editor‘ and stylize your text all over again
or you can copy from old copy…
Tags: CEWP, Content Editor Web Part, Error, Javascript, MOSS, Sharepoint
Posted in Sharepoint, Sistem | No Comments »
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: Current Site, Get Current Site URL, MOSS, Sharepoint
Posted in Sharepoint, Yazılım | No Comments »