question

Ritesh9255 avatar image
Ritesh9255 asked

Can not deploy SSRS 2008 reports on report server?

I am trying to deploy my SSRS 2008 reports on Test report server but I am getting this error. **An internal error occured on the report server. See the error log.** When i checked i found **System.IO.FileLoadException: Could not load file or assembly 'Microsoft.ReportingServices.RdlObjectModel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. Access is denied.File name: 'Microsoft.ReportingServices.RdlObjectModel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91** i can't understand how to solve this. Please help me ? Ritesh
ssrsssrs-2008ssrs-2008-r2
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Kev Riley avatar image
Kev Riley answered
First step - restart Reporting Services service and try again. Then, if the issue persists, grant the account that is running the SSRS service read/write permissions to "C:\\WINDOWS\\ Microsoft.NET\\Framework\\v2.0.50727\\Temporary \ ASP.NET Files" Related pages: * *
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi Kev, Thanks for reply. I tried to restart the reporting service. But still error is coming. Is there any other way. As I was able to deploy reports before. I just delete the folder from report server.And tried again to deploy since then I am facing this problem. Ritesh
0 Likes 0 ·
End of inner exception stack trace --- library!ReportServer_0-37!1650!03/07/2012-10:33:51:: Call to GetItemTypeAction(/CRM-SSRS/Reports/DoorSlot_Pillows_Report). library!ReportServer_0-37!2180!03/07/2012-10:33:51:: Call to CreateReportAction(DoorSlot_Pillows_Report, /CRM-SSRS/Reports, True). library!ReportServer_0-37!2180!03/07/2012-10:33:51:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., ; Info: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details. ---> System.IO.FileLoadException: Could not load file or assembly 'Microsoft.ReportingServices.RdlObjectModel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. Access is denied. File name: 'Microsoft.ReportingServices.RdlObjectModel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.CreateIntermediateFormat(CatalogItemContext reportContext, Byte[] reportDefinition, IChunkFactory createChunkFactory, CheckSharedDataSource checkDataSourceCallback, ResolveTemporaryDataSource resolveTemporaryDataSourceCallback, DataSourceInfoCollection originalDataSources, AppDomain compilationTempAppDomain, Boolean generateExpressionHostWithRefusedPermissions, ReportProcessingFlags processingFlags) at Microsoft.ReportingServices.Library.CreateReportAction.ConvertToIntermediate(Byte[] definition, Boolean usePermanentSnapshot, ItemProperties properties, CatalogItemContext reportContext, DateTime currentDate, Boolean checkAccessForSharedDatasources, Boolean resolveTemporaryDataSource, DataSourceInfoCollection originalDataSources, ReportProcessingFlags previousProcessingFlags, ReportSnapshot& intermediateSnapshot, ParameterInfoCollection& parameters, Warning[]& warnings, DataSourceInfoCollection& dataSources, PageProperties& pageProperties) at Microsoft.ReportingServices.Library.CreateReportAction.PrepareForNewItem(CatalogItem theItem) at Microsoft.ReportingServices.Library.CreateItemAction`1.CreateNew(CatalogItem itemToCreate, CatalogItemContext parentContext) at Microsoft.ReportingServices.Library.CreateItemAction`1.PerformActionNow() at Microsoft.ReportingServices.Library.RSSoapAction`1.Execute() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. This is error log.I am pasting it.
0 Likes 0 ·
Usman Butt avatar image
Usman Butt answered

AFAIK, Microsoft.ReportingServices.RdlObjectModel.dll was unsupported and was available in SSRS 2008. In SSRS 2008 R2, it was marked as internal so one cannot use this assembly. Instead, this got moved into the Microsoft.ReportingServices.Designer.Controls.dll assembly. Why am I telling you this? Simply, to identify what could be the reasons. At the moment, I can think of

  1. Your Test report server may not be 2008
  2. If it is 2008, then the said DLL is not placed in ..DEFAULTPATHTOSSRS\Reporting Services\ReportServer\bin folder
  3. if it is in the right place, then the permissions are not correct

So, if any of the above is the case, then share it with us. Moreover, which folder did you delete? Please mention that as well.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ritesh9255 avatar image
Ritesh9255 answered
Thanks for reply Usman. Strange thing i noticed. I checked the web.config file and there was impersonation 'False'. I made it to true. And after that I was able to deploy reports. But thanks for telling in what areas i could think of. Ritesh
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.