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:
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.
disable custom error in config and see which file its throwing exception. if its default SharePoint files then add asp extension.
Post a Comment