Showing posts with label Registry. Show all posts
Showing posts with label Registry. Show all posts

Tuesday, October 22, 2013

SharePoint Disable Loopback Check


שלום חברים,

לאחרונה, בסיום הקמת חוות SharePoint אני עובד על שרת ואני מנסה לגשת לאתר SharePoint מקומי, כל הזמן אני מתבקש להכניס שם משתמש וסיסמה וזה קצת מעצבן :) .

זה "תכונה" בשרת שצריך להשבית כדרך לעקיפת הבעיה.
 התכונה מונעת גישה ליישום אינטרנט באמצעות שם תחום מלא.
אם הניסיון לגשת אליו (ליישום אינטרנט ) מתקיים ממכונה שמארחת יישום זה.

התוצאה הסופית היא גישה 401.1 נדחתה מהשרת האינטרנט וכשל בכניסה ביומן האירועים.

יש כמה שיטות לעשות את זה אני אבחר לבטל את סימון הלולאה החוזרת - DisableLoopbackCheck.
יש צורך ליצור מפתח רישום DWORD שנקראDisableLoopbackCheck ולהגדיר אותו עם הערך 1.

בצע את הפעולות הבאות:
לחץ על התחל, לחץ על הפעלה, הקלד regedit ולאחר מכן לחץ על אישור בעורך רישום, אתר את מפתח הרישום הבא: HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Lsa לחץ לחיצה ימנית Lsa, הצבע על חדש, ולאחר מכן לחץ על ערך DWORD. DisableLoopbackCheck סוג, ולאחר מכן לחץ על ENTER. DisableLoopbackCheck לחץ לחיצה ימנית ולאחר מכן לחץ על שנה. בתיבה הנתונה הערך, הקלד 1 ולאחר מכן לחץ על אישור. צא מעורך רישום. ייתכן שתצטרך להפעיל מחדש את השרת שלך.


בהצלחה !
רון נס.


============================================================================================================================================================================================================================================================


Hello Friends,

Recently, I was working on a server and we were trying to access the local SharePoint site and I was constantly prompted for the username and password. In SharePoint 2010 and SharePoint 2013, it can really annoy.

It is a ‘feature’ on the server that you need to disable as a workaround.
The feature prevents access to a web application using a fully qualified domain name.
if an attempt to access it takes place from a machine that hosts that application.

The end result is a 401.1 Access Denied from the web server and a logon failure in the event log.

There are some methods to do this I Choose to Disable the loopback check – DisableLoopbackCheck.
You would need to create a DWORD registry key in the registry called DisableLoopbackCheck and set it to 1. 

Follow these steps:
Add this registry entry manually
Click Start, click Run, type regedit, and then click OK In Registry Editor, locate the following registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa Right-click Lsa, point to New, and then click DWORD Value. Type DisableLoopbackCheck, and then press ENTER. Right-click DisableLoopbackCheck, and then click Modify. In the Value data box, type 1 and then click OK. Quit Registry Editor. You may need to restart your server.


Good Luck :)
Ron Ness.

Tuesday, July 9, 2013

How to detect the edition of SharePoint 2010 installed?

How to detect the edition of SharePoint 2010 installed?

שלום חברים,
אם ברצונכם לדעת איזו גרסת SharePoint מותקנת לכם במחשב בצעו את הפעולות הבאות :
1.       כנסו ל-Registry
2.       נווטו ל – HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SharedTools\WebServer Extensions\14.0\WSS\InstalledProducts.
3.       בדקו את מפתח הרישום הרלוונטי לפי הרשימה.
BEED1F75-C398-4447-AEF1-E66E1F0DF91E: SharePoint Foundation 2010
1328E89E-7EC8-4F7E-809E-7E945796E511: Search Server Express 2010
B2C0B444-3914-4ACB-A0B8-7CF50A8F7AA0: SharePoint Server 2010 Standard Trial
3FDFBCC8-B3E4-4482-91FA-122C6432805C: SharePoint Server 2010 Standard
88BED06D-8C6B-4E62-AB01-546D6005FE97: SharePoint Server 2010 Enterprise Trial
D5595F62-449B-4061-B0B2-0CBAD410BB51: SharePoint Server 2010 Enterprise
BC4C1C97-9013-4033-A0DD-9DC9E6D6C887: Search Server 2010 Trial
08460AA2-A176-442C-BDCA-26928704D80B: Search Server 2010
84902853-59F6-4B20-BC7C-DE4F419FEFAD: Project Server 2010 Trial
ED21638F-97FF-4A65-AD9B-6889B93065E2: Project Server 2010
926E4E17-087B-47D1-8BD7-91A394BC6196: Office Web Companions 2010


בהצלחה !
רון נס.
============================================================================================================================================================================================================================================================



Hello Friends,

How often you wanted to figure out what SKU(s) of SharePoint 2010 family of products in installed on a particular server.
Do the following:
1. Enter to the Registry in the server
2. Navigate to - HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ SharedTools \ WebServer Extensions \ 14.0 \ WSS \ InstalledProducts.
3. Check the relevant registry key according to the list:

BEED1F75-C398-4447-AEF1-E66E1F0DF91E: SharePoint Foundation 2010
1328E89E-7EC8-4F7E-809E-7E945796E511: Search Server Express 2010
B2C0B444-3914-4ACB-A0B8-7CF50A8F7AA0: SharePoint Server 2010 Standard Trial
3FDFBCC8-B3E4-4482-91FA-122C6432805C: SharePoint Server 2010 Standard
88BED06D-8C6B-4E62-AB01-546D6005FE97: SharePoint Server 2010 Enterprise Trial
D5595F62-449B-4061-B0B2-0CBAD410BB51: SharePoint Server 2010 Enterprise
BC4C1C97-9013-4033-A0DD-9DC9E6D6C887: Search Server 2010 Trial
08460AA2-A176-442C-BDCA-26928704D80B: Search Server 2010
84902853-59F6-4B20-BC7C-DE4F419FEFAD: Project Server 2010 Trial
ED21638F-97FF-4A65-AD9B-6889B93065E2: Project Server 2010
926E4E17-087B-47D1-8BD7-91A394BC6196: Office Web Companions 2010
 

Note : 
SKU...
SKU is the standard abbreviation for "stock-keeping unit." Microsoft uses SKU as the name for this program to convey the idea of a consulting service package so dialed-down that it can be purchased off a price list.

Good Luck :)

Ron Ness.


Wednesday, May 29, 2013

View the GAC like a normal File/Folder and Copy/Paste From/To the GAC


היי חברים,
החבר'ה מצוות הפיתוח ביקשו שאפרוש להם קבצי DLL ו- PDB באחד האתרים ב-SP בעקבות שינויים שביצעו בקוד.
רציתי לפרוש את הקבצים ב-GAC אבל כמו שאנחנו יודעים ספריית ה- Assembly תחת C:\Windows  איננה נראית כמו ספריית קבצים רגילה ומעבר לכך כאשר אנחנו גוררים וזורקים את הקבצים לספרייה C:\windows\assembly   , הקבצים לא באמת ומעתקים לשם, ישנו פלאגין מיוחד שנקרא gacutil שמתקין את ה- assembly לתוך ה-GAC. הפלאגין הזה יכול להיות מבלבל משום שהוא עשוי לתת לנו אשליה שה-GAC  הוא פשוט תיקייה עם המון קבצי  DLL.
למעשה, זה מבנה היררכי עם תיקייה לכל assembly name, בתוכה יש תיקיות עבור גירסאות שונות, וכן הלאה.

כדי להגיע למקום הנכון ולהחליף את הקבצים איפשרתי Look & Feel של ספריית קבצים רגילה.
 אז איך עושים את זה :

לחץ על Start > Run ורשום Regedit. לאחר מכן נווט למיקום הבא :





HKEY_LOCAL_MACHINE ==> SOFTWARE ==> Microsoft ==> Fusion




צור ערך חדש מסוג DWORD וקרא לו DisableCacheViewer , לחץ על הערך פעמיים והכנס את הערך 1 בשדה Value Data. לחץ על OK וצא מהחלון.





פתח את תיקיית ה- Assembly וראה עכשיו את ה-DLL בתצורה רגילה של ספריית קבצים.

חשוב : פעולה זו תשבית את הפלאגין שמציג את ה- GAC כל כך פשוט (אבל זה גם יהפוך את הגרירה ושחרור לא שמישים - תצטרכו להפעיל את gacutil בעצמכם). כמובן שאתם יכולים להשתמש במנהלי קבצים חלופיים או קונסולה, אם אתם לא רוצים להתעסק עם הגדרות ב-Registry.


============================================================================================================================================================================================


Hi Everybody,

The guys From R&D asked me to put in the GAC DLLs and PDB of one of the sites in SP due to changes they carried out in the code.

When you drag and drop your assembly into C:\windows\assembly folder, it doesn't really get copied there—a special Windows Explorer plugin callis gacutil to install your assembly into GAC.
This Explorer plugin can be confusing because it may give one an illusion that GAC is just plain simple folder with lots of DLLs. Actually, it is a hierarchical structure with a folder for each assembly name, inside of which there are folders for different versions, and so on.

If you want to see the real GAC structure, open registry (Start ==> Run ==> regedit).


Go to HKEY_LOCAL_MACHINE ==> SOFTWARE ==> Microsoft ==> Fusion.


Set New DWORD Named DisableCacheViewer and write 1 in the value field





Important : This will disable Cache Viewer plugin that makes GAC look so simple (but it also will make drag and drop to install unusable—you'll have to call gacutil yourself). Of course, you can use alternative file managers or console as well, if you don't want to mess with registry settings.