Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)
Hello,
I have installed SQL 2005 Server, Sharepoint 3.0 and Reporting Services. All ar Updated to the lates Service Packs.
When I want to go in SharePoint (integrated Reporting Service) to the Report unter my Account all was fine.
But with all other Accounts I get this Message in the Logfiles:
Throwing Microsoft.ReportingServices.Diagnostics.Utilities.SharePointException: SharePoint-Fehler beim Berichtsserver., ;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.SharePointException: SharePoint-Fehler beim Berichtsserver. ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Any idea?
The Datasource was on the same SQL Server but in another Database. The other Users can select on this database.
Sincerely,
Marius
July 19th, 2011 5:40am
Hi Marius,
When did you encounter this error message? open the sharepoint site or one special report? Have you developed an event handler for the task list in the sharepoint? If that is the case, It seems you should use the standard SPSecurity.RunWithElevatedPriveleges()
delegate, which executes the specified method with Full Control rights even if the user does not have Full Control. You can also try to give the Full Control to other users to see if that fix the issue, this is the similar thread, you can click
the link to get some reference
http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/320e68e0-0761-46c8-a304-180808fea0bd/
If the issue still exist, please feel free to let us know. If you can isolate the issue at sharepoint side, you can also post it at Sharepoit forum
http://social.msdn.microsoft.com/Forums/en-US/category/sharepoint
Thanks,
Challen Fu
Forum Support
If you have feedback for TechNet Subscriber Support, please contact usPlease remember to mark the replies as answers if they help and unmark them if they provide no help.
Free Windows Admin Tool Kit Click here and download it now
July 19th, 2011 10:35pm
Hi Marius,
When did you encounter this error message? open the sharepoint site or one special report? Have you developed an event handler for the task list in the sharepoint? If that is the case, It seems you should use the standard SPSecurity.RunWithElevatedPriveleges()
delegate, which executes the specified method with Full Control rights even if the user does not have Full Control. You can also try to give the Full Control to other users to see if that fix the issue, this is the similar thread, you can click
the link to get some reference
http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/320e68e0-0761-46c8-a304-180808fea0bd/
If the issue still exist, please feel free to let us know. If you can isolate the issue at sharepoint side, you can also post it at Sharepoit forum
http://social.msdn.microsoft.com/Forums/en-US/category/sharepoint
Thanks,
Challen Fu
Forum Support
If you have feedback for TechNet Subscriber Support, please contact usPlease remember to mark the replies as answers if they help and unmark them if they provide no help.
July 19th, 2011 10:35pm
Hallo,
Thank you for your answer.
I have in the SharePoint Place full permissions for the user. The report sending per mail works fine.
But when another User want to open an Report on the Sharepoint site he get the error Message.
This problem occours on all reports.
Sincerely,
Marius
Free Windows Admin Tool Kit Click here and download it now
July 20th, 2011 4:02am
Hallo,
Thank you for your answer.
I have in the SharePoint Place full permissions for the user. The report sending per mail works fine.
But when another User want to open an Report on the Sharepoint site he get the error Message.
This problem occours on all reports.
Sincerely,
Marius
July 20th, 2011 4:02am
w3wp!library!c!07/21/2011-08:52:19:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.SharePointException: SharePoint-Fehler beim Berichtsserver., ;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.SharePointException: SharePoint-Fehler beim Berichtsserver. ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
at Microsoft.SharePoint.Library.SPRequest.OpenWeb(String bstrUrl, String& pbstrServerRelativeUrl, String& pbstrTitle, String& pbstrDescription, Guid& pguidID, String& pbstrRequestAccessEmail, UInt32& pwebVersion, Guid& pguidScopeId, UInt32& pnAuthorID, UInt32& pnLanguage, UInt32& pnLocale, UInt16& pnTimeZone, Boolean& bTime24, Int16& pnCollation, UInt32& pnCollationLCID, Int16& pnCalendarType, Int16& pnAdjustHijriDays, Int16& pnAltCalendarType, Boolean& pbShowWeeks, Int16& pnFirstWeekOfYear, UInt32& pnFirstDayOfWeek, Int16& pnWorkDays, Int16& pnWorkDayStartHour, Int16& pnWorkDayEndHour, Int16& pnMeetingCount, Int32& plFlags, Boolean& bConnectedToPortal, String& pbstrPortalUrl, String& pbstrPortalName, Int32& plWebTemplateId, Int16& pnProvisionConfig, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, UInt64& ppermMask, Boolean& bUserIsSiteAdmin, Boolean& bHasUniquePerm, Guid& pguidUserInfoListID, Guid& pguidUniqueNavParent, Int32& plSiteFlags, DateTime& pdtLastContentChange, DateTime& pdtLastSecurityChange, String& pbstrWelcomePage)
at Microsoft.SharePoint.SPWeb.InitWeb()
at Microsoft.SharePoint.SPWeb.get_Name()
at Microsoft.ReportingServices.SharePoint.Server.Utility.GetSPWebProperties(SPWeb web)
at Microsoft.ReportingServices.SharePoint.Server.SharePointDBInterface.GetParentsForWebRecursive(SPWeb web, Security secMgr, CatalogItemList parents)
at Microsoft.ReportingServices.SharePoint.Server.SharePointDBInterface.GetParentsForWebRecursive(SPWeb web, Security secMgr, CatalogItemList parents)
at Microsoft.ReportingServices.SharePoint.Server.SharePointDBInterface.GetParentsForFolderOrFileRecursive(SPWeb web, SPFolder folder, SPDocumentLibrary docLib, Security secMgr, CatalogItemList parents)
at Microsoft.ReportingServices.SharePoint.Server.SharePointDBInterface.FindParents(String objectName, CatalogItemList& parents, Security secMgr, IPathTranslator pathTranslator)
--- End of inner exception stack trace ---
Any ideas?
Free Windows Admin Tool Kit Click here and download it now
July 21st, 2011 2:32am


