27 March, 2013

Uploading EXE files on Sharepoint site

By default, many file types are blocked, including file types that are treated as executable by Internet Explorer. Each Web application maintains a list of blocked file types that is based on file name extensions.

Please refer the following file extensions that are by-default blocked in SharePoint 2010 [Recommended by Microsoft]

I would like to tell you that this is not a SP limitation and we can allow any file types to be uploaded in SharePoint but not necessarily a great idea. Storing .EXE files in SharePoint can cause some serious security issues. Just imagine if a user wants to upload a .exe with a friendly name like "Gtalk.exe" but it’s really a virus - not good!.

SharePoint is definitely not the place to store everything, .EXE files being one of those things.

My suggestion:  If we are intending to have .exe files (or scripts etc.) stored in a SharePoint system, then at least put them inside zip files and allow .zip files to be uploaded rather than .exe files. This will mean that while the .exe files are still available, more effort will be needed to start them. Future prospect: Many benefits, Less pain J

SharePoint isn't a file share, it's web application.

Considering internal as well as external point of view: If you are accessing these internally only, we could keep them on a file share and just link to them from the SP site. This will execute outside of the browser instance in this case, but won’t work for outside users, unless you publish file shares via something like UAG (Unified Access Gateway).

File name extension
File type
.ade
Microsoft Access project extension
.adp
Microsoft Access project
.app
Application file
.asa
ASP declarations file
.asmx
ASP.NET Web Services source file
.asp
Active Server Pages
.bas
Microsoft Visual Basic class module
.bat
Batch file
.cdx
Compound index
.cer
Certificate file
.chm
Compiled HTML Help file
.class
Java class file
.cmd
Microsoft Windows NT command script
.com
Microsoft MS-DOS program
.config
Configuration file
.cpl
Control Panel extension
.crt
Security certificate
.csh
Script file
.dll
Windows dynamic-link library
.exe
Program
.fxp
Microsoft Visual FoxPro compiled program
.hlp
Help file
.hta
HTML program
.htr
Script file
.htw
HTML document
.ida
Internet Information Services file
.idc
Internet database connector file
.idq
Internet data query file
.ins
Internet Naming Service
.isp
Internet Communication settings
.its
Internet Document Set file
.jse
JScript Encoded script file
.ksh
Korn Shell script file
.lnk
Shortcut
.mad
Shortcut
.maf
Shortcut
.mag
Shortcut
.mam
Shortcut
.maq
Shortcut
.mar
Shortcut
.mas
Microsoft Access stored procedure
.mat
Shortcut
.mau
Shortcut
.mav
Shortcut
.maw
Shortcut
.mda
Microsoft Access add-in program
.mdb
Microsoft Access program
.mde
Microsoft Access MDE database
.mdt
Microsoft Access data file
.mdw
Microsoft Access workgroup
.mdz
Microsoft Access wizard program
.msc
Microsoft Common Console document
.msh
Microsoft Agent script helper
.msh1
Microsoft Agent script helper
.msh1xml
Microsoft Agent script helper
.msh2
Microsoft Agent script helper
.msh2xml
Microsoft Agent script helper
.mshxml
Microsoft Agent script helper
.msi
Microsoft Windows Installer package
.msp
Windows Installer patch package file
.mst
Visual Test source files
.ops
Microsoft Office profile settings file
.pif
Shortcut to MS-DOS program
.prf
System file
.prg
Program source file
.printer
Printer file
.pst
Microsoft Outlook personal folder file
.reg
Registration entries
.rem
ACT! database maintenance file
.scf
Windows Explorer command file
.scr
Screen saver
.sct
Script file
.shb
Windows shortcut
.shs
Shell Scrap object
.shtm
HTML file that contains server-side directives
.shtml
HTML file that contains server-side directives
.soap
Simple Object Access Protocol file
.stm
HTML file that contains server-side directives
.url
Uniform Resource Locator (Internet shortcut)
.vb
Microsoft Visual Basic Scripting Edition file
.vbe
VBScript Encoded Script file
.vbs
VBScript file
.ws
Windows Script file
.wsc
Windows Script Component
.wsf
Windows Script file
.wsh
Windows Script Host settings file

26 March, 2013

How to search SIP enabled user in Lync Control panel


Problem Description: Unable to search SIP enabled user in Lync Control panel.

Resolution:

NOTE: User account that is assigned to the CsUserAdministrator role or the CsAdministrator role, log on to any computer.

1.       Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel,
2.       In the left navigation bar, click Users.
3.       In the Search users box, type all or the first portion of the display name, first name, last name, SAM account name, SIP address, or line URI of the user account that you want to search for, and then click Find.

(Optional) Specify additional search criteria to narrow the results:
         i.            Click the expand arrow button in the upper-right corner of the screen above Search results, and then click Add Filter.
       ii.            Enter the user property by typing it or clicking the arrow in the drop-down list to select a user property.
      iii.            In the Equal to list, click Equal to or Not equal to.
     iv.            In the text box, type the search criteria you want to use to filter search results, and then click Find.
       v.            The search results appear under Search Results. You can select any or all of the users in the list and perform configuration tasks on the users you select.

Web Analytics reports cannot be displayed because the Web Analytics Service Application is not provisioned. Contact the farm administrator to request that the Web Analytics Service Application be provisioned.

Error: Web Analytics reports cannot be displayed because the Web Analytics Service Application is not provisioned. Contact the farm administrator to request that the Web Analytics Service Application be provisioned.

Troubleshooting:
- Checked the site web analytical report, got same error message. 

- Checked the site collection web analytical report, got same error message. 

- Checked in CA, Monitoring -> Reporting -> View Web Analytics reports, got same error message.

- Check in CA, Application management -> Service Applications -> Web Analytical Service Application is not provisioned. 

- Checked in CA, Systems settings -> Servers -> Manage services on Server -> Web Analytics Data Processing Service and Web Analytics Web Service was not started.  

Resolution:
- Provision the Web analytical Service Application in CA by going to Application management -> Service Applications -> Web Analytical Service Application

- Start Web Analytics Data Processing Service and Web Analytics Web Services by going to Systems settings -> Servers -> Manage services on Server


 
Applies to: 
- SharePoint Server 2010
- SharePoint Foundation 2010
- SharePoint Server 2013.

My Links missing in SharePoint 2010 after Migration

We have just Migrated to 2010 and get a lot of tickets on this issue .

In MOSS 2007,  we are used to seeing a link in a drop-down box at the top right of our SharePoint sites, called My Links. At first glance, it seems that this functionality has been removed from SharePoint 2010. It’s still there but with a different name (Quick Links) .

How to retrieve the Lost mylinks from the 2007 site after migration to 2010 ?

Modifying a SharePoint Database is NOT SUPPORTED. Some would even argue running this select query against a database is not supported. Sometimes people want info out of the DB not excuses.

Disclaimer : Take all the required backups before you make any changes
  1. So the first thing you need to do is figure out what profile database you need information out of. To do that you go to Central Admin.
  2. Now Click Shared Services Administration from the quick launch.
  3. From this screen hover over the appropriate SSP name, click the drop down arrow, and choose Edit Properties.

  4. Now find where it says SSP Database. This your Database Name.
  5. Now you need to open a SQL Query Window using the SQL Management tools
  6. Then run the query below – Remember to replace the Use statement with your database name from step 4
Use SharedServices1_DB
Select
UP.NTName,
UP.PreferredName,
UP.Email,
UL.Title,
UL.URL
From
UserLinks UL inner join UserProfile_Full UP on UL.recordId = UP.recordID

Courtesy - Shane Young  

Ref : http://msmvps.com/blogs/shane/archive/2007/11/21/finding-my-links-in-the-database.aspx.

How do you get My Links back?

The best option i feel is the one below .

Libraries

In a library, go to the Library tab in the ribbon. 
Click the Connect to Office button.  This is the interface to add or remove a link to the library to the list of “My Links”, as well as to manage this list of links.





When you click Add to SharePoint Sites, this library is not only added to your own personal list of links, but it is added to all of your Office suite of applications, on the “Open” and “Save As” screens.

When you click Manage SharePoint Sites, the following screen is displayed, with a list of your whole list of links:



Where is my links on my Mysite ?

Go to your My Site and click on My Content at the top.  Click Site Actions, Edit Page, and click to Add a Web Part.  In the Recommended Items category of web parts, click to add the My Links web part to the page.  There it is!  Right click on the My Links web part title, and copy that URL to the clipboard.




If you want the My Links link to be more obvious and accessible, though?  Yes, there’s a way to do that also, although it still won’t be the same as it is in SharePoint 2007.  It entails adding My Links to the Personalization Site Links in the User Profile Service Application.

  1. In Central Administration, click Manage Service Applications.
  2. Click the User Profile Service Application.
  3. Click Configure Personalization Site.
  4. Click New Link.

  1. Your URL will look something like that.  In this scenario, I have a web app just for the my sites.  Fill in an owner because that field is required.  Leaving the Audience field blank means that this link will be shown to everyone.
Now, when users are on their My Site, My Profile, My Content, they will see this:




http://www.sharepoint911.com/blogs/laura/Lists/Posts/Post.aspx?List=daba3a3b%2Dc338%2D41d8%2Dbf52%2Dcd897d000cf3&ID=66&Web=dbb90e85%2Db54c%2D49f4%2D8e97%2D6d8258116ca0

Why are Access Documents banned in SharePoint?

A query has been ported by the one of our Collaboration manager and it goes like this, ‘Why are Access Documents banned in SharePoint.’

Answer: There are many reasons for this but at a high level many file extensions are blocked to avoid vulnerabilities i.e. files that contain code. Of course nothing is fool proof, so manipulating file extensions has long been a way for individuals to work around this.

When SharePoint is installed there is a default list of denied file extensions amongst which are Access DB files. This is often questioned and through the releases of SharePoint 03, 10, 13, the way Access is used with the platform has changed.

We now have and Access Service Application to support web based rendering of Access DB’s (solutions) created in SharePoint. In 2013 Access is a strong alternative to InfoPath Forms solutions.

The biggest argument why we didn’t allow Access DB’s in 2007 was ‘why would you store a Database inside of a Database’. All content in the SharePoint architecture is stored in SQL, so if you see a need to use Access then first look at building that app in SharePoint using Lists, Views and Web Parts.

Most users look at SharePoint as a web based document store – IT IS NOT, it’s a ‘platform’ to build apps on, we need to work at educating even the basic user how they can maximize usage of SP to better affect for productivity.

You can also check the blocked file types in SharePoint 2010 @ link: http://technet.microsoft.com/en-in/library/cc262496%28v=office.14%29.aspx

Reference: I must appreciate a Solution Architect Mr. Tim Newis from my current assignment to give this great and details explanation to our collaboration manager. Zillions Thanks to Mr. Tim Newis.