Tuesday, July 1, 2008

Resolution for Error: The following file(s) have been blocked by the administrator

SharePoint Error: "The following file(s) have been blocked by the administrator"

Recently when I tried to upload a .mdb (Access Database) file in a Document Library I got this error

The following file(s) have been blocked by the administrator: Project Documents/Applications/BATS.mdb at Microsoft.SharePoint.Library.SPRequestInternalClass.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object varFile, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage)
at Microsoft.SharePoint.Library.SPRequest.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object varFile, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage)


Resolution : You're unable to update the Access file because SharePoint by default blocks .MDB files.
Do the following:
1. Go to SharePoint Central Administrator.

2. Under the "Security Configuration" section, click "Manage Blocked File Types".

3. Find MDB.

4. Remove MDB from the list & click the "OK" button.

2 comments:

Anonymous said...

I was getting the same error on a Page Viewer Web Part, I remove the .asp extension from the list and now I get a 404 FILE NOT FOUND error...Any suggestions would be greatly appreciated.

SharePoint Kings said...

disable custom error in config and see which file its throwing exception. if its default SharePoint files then add asp extension.




Share your SharePoint Experiences with us...
As good as the SharePointKings is, we want to make it even better. One of our most valuable sources of input for our Blog Posts comes from ever enthusiastic Visitors/Readers. We welcome every Visitor/Reader to contribute their experiences with SharePoint. It may be in the form of a code stub, snippet, any tips and trick or any crazy thing you have tried with SharePoint.
Send your Articles to sharepointkings@gmail.com with your Profile Summary. We will Post them. The idea is to act as a bridge between you Readers!!!

If anyone would like to have their advertisement posted on this blog, please send us the requirement details to sharepointkings@gmail.com