Hi Everyone,
I am unable to run an .rdlc report from aspx page. I am having code in the code module to make a column into hyperlink in that report. It is trying to connect to database from within code. When I run the report I am getting the following error:
The report references the code module 'system.data version = 2.0.0.0 culture = nuetral...' which is not a trusted assembly.
The report code is as follows:
Public Shared Function OpenMEO(ByVal inMEO As String) As String
Dim rootWebConfig As System.Configuration.Configuration
rootWebConfig = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("/ESSGateKeeper")
Dim strConnString As System.Configuration.ConnectionStringSettings
strConnString.ConnectionString = rootWebConfig.ConnectionStrings.ConnectionStrings("AEMESS001DEVConnectionString").ConnectionString
& ...
Go to the complete details ...