Monday, March 26, 2012

HELP! Server Error in '/Reports' Application.

Infrequently I get the following error message when trying to access the
report manager.
Server Error in '/Reports' Application.
----
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.
Parser Error Message: Assembly microsoft.crm.platform.types.dll security
permission grant set is incompatible between appdomains.
Source Error:
Line 5: <assemblies>
Line 6: <add assembly="Microsoft.Crm.Platform.ComProxy,
Version=1.0.0000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 7: <add assembly="Microsoft.Crm.Platform.Types,
Version=1.2.3297.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 8: </assemblies>
Line 9: </compilation>
Source File: d:\inetpub\wwwroot\web.config Line: 7
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573You likely have a Code Access Security issue. This can be a complex issue to
describe, but Reporting Services is very fussy over code security. Basically
the default permissions of any code running in Reporting Services (RS) is
in-memory execution. Perhaps your assembly is trying to do something beyond
this. In that case you need to configure security in the files
rspreviewpolicy.config and rssrvpolicy.config. I would start by debugging
your assembly as you debug run your report from Visual Studio.
Look at the following msdn article:
http://msdn.microsoft.com/library/?url=/library/en-us/dnsql2k/html/dngrfCodeAccessSecurityInSQLServer2000ReportingServices.asp?frame=true
The bottom line is that you need to fully understand code access security to
deploy any custom assembly. It would be very difficult to troubleshoot what
your problem is without looking closely at your code.
Charles Kangai, MCT, MCDBA
"SAcanuck" wrote:
> Infrequently I get the following error message when trying to access the
> report manager.
>
> Server Error in '/Reports' Application.
> ----
> Configuration Error
> Description: An error occurred during the processing of a configuration file
> required to service this request. Please review the specific error details
> below and modify your configuration file appropriately.
> Parser Error Message: Assembly microsoft.crm.platform.types.dll security
> permission grant set is incompatible between appdomains.
> Source Error:
>
> Line 5: <assemblies>
> Line 6: <add assembly="Microsoft.Crm.Platform.ComProxy,
> Version=1.0.0000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
> Line 7: <add assembly="Microsoft.Crm.Platform.Types,
> Version=1.2.3297.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
> Line 8: </assemblies>
> Line 9: </compilation>
>
> Source File: d:\inetpub\wwwroot\web.config Line: 7
>
> ----
> Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
> Version:1.1.4322.573|||Hi Charles:
Maybe Im just not understanding you...but we are using Reporting Services as
is...with no customized security. The problem is that we have MS CRM and
Reporting Services on the same server and we occassionally get the error
message.
"Charles Kangai" wrote:
> You likely have a Code Access Security issue. This can be a complex issue to
> describe, but Reporting Services is very fussy over code security. Basically
> the default permissions of any code running in Reporting Services (RS) is
> in-memory execution. Perhaps your assembly is trying to do something beyond
> this. In that case you need to configure security in the files
> rspreviewpolicy.config and rssrvpolicy.config. I would start by debugging
> your assembly as you debug run your report from Visual Studio.
> Look at the following msdn article:
> http://msdn.microsoft.com/library/?url=/library/en-us/dnsql2k/html/dngrfCodeAccessSecurityInSQLServer2000ReportingServices.asp?frame=true
> The bottom line is that you need to fully understand code access security to
> deploy any custom assembly. It would be very difficult to troubleshoot what
> your problem is without looking closely at your code.
> Charles Kangai, MCT, MCDBA
>
> "SAcanuck" wrote:
> > Infrequently I get the following error message when trying to access the
> > report manager.
> >
> >
> > Server Error in '/Reports' Application.
> > ----
> >
> > Configuration Error
> > Description: An error occurred during the processing of a configuration file
> > required to service this request. Please review the specific error details
> > below and modify your configuration file appropriately.
> >
> > Parser Error Message: Assembly microsoft.crm.platform.types.dll security
> > permission grant set is incompatible between appdomains.
> >
> > Source Error:
> >
> >
> > Line 5: <assemblies>
> > Line 6: <add assembly="Microsoft.Crm.Platform.ComProxy,
> > Version=1.0.0000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
> > Line 7: <add assembly="Microsoft.Crm.Platform.Types,
> > Version=1.2.3297.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
> > Line 8: </assemblies>
> > Line 9: </compilation>
> >
> >
> > Source File: d:\inetpub\wwwroot\web.config Line: 7
> >
> >
> > ----
> > Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
> > Version:1.1.4322.573|||Greetings,
I had installed the SQL Reporting Services and then I installed the
microsoft CRM. I am facing the same error which SAcanuck is also facing.
I will really appreciate if any of you guys can help us out here.
Regards
"SAcanuck" wrote:
> Hi Charles:
> Maybe Im just not understanding you...but we are using Reporting Services as
> is...with no customized security. The problem is that we have MS CRM and
> Reporting Services on the same server and we occassionally get the error
> message.
> "Charles Kangai" wrote:
> > You likely have a Code Access Security issue. This can be a complex issue to
> > describe, but Reporting Services is very fussy over code security. Basically
> > the default permissions of any code running in Reporting Services (RS) is
> > in-memory execution. Perhaps your assembly is trying to do something beyond
> > this. In that case you need to configure security in the files
> > rspreviewpolicy.config and rssrvpolicy.config. I would start by debugging
> > your assembly as you debug run your report from Visual Studio.
> >
> > Look at the following msdn article:
> > http://msdn.microsoft.com/library/?url=/library/en-us/dnsql2k/html/dngrfCodeAccessSecurityInSQLServer2000ReportingServices.asp?frame=true
> >
> > The bottom line is that you need to fully understand code access security to
> > deploy any custom assembly. It would be very difficult to troubleshoot what
> > your problem is without looking closely at your code.
> >
> > Charles Kangai, MCT, MCDBA
> >
> >
> > "SAcanuck" wrote:
> >
> > > Infrequently I get the following error message when trying to access the
> > > report manager.
> > >
> > >
> > > Server Error in '/Reports' Application.
> > > ----
> > >
> > > Configuration Error
> > > Description: An error occurred during the processing of a configuration file
> > > required to service this request. Please review the specific error details
> > > below and modify your configuration file appropriately.
> > >
> > > Parser Error Message: Assembly microsoft.crm.platform.types.dll security
> > > permission grant set is incompatible between appdomains.
> > >
> > > Source Error:
> > >
> > >
> > > Line 5: <assemblies>
> > > Line 6: <add assembly="Microsoft.Crm.Platform.ComProxy,
> > > Version=1.0.0000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
> > > Line 7: <add assembly="Microsoft.Crm.Platform.Types,
> > > Version=1.2.3297.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
> > > Line 8: </assemblies>
> > > Line 9: </compilation>
> > >
> > >
> > > Source File: d:\inetpub\wwwroot\web.config Line: 7
> > >
> > >
> > > ----
> > > Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
> > > Version:1.1.4322.573

No comments:

Post a Comment