Hi,
I am trying to implement a custom security extension using the Forms Auth
example provided by Microsoft. When i type in http://localhost/ReportServer,
I can see the Logon.aspx page. But when i type in http://localhost/Reports/,
I get a parser error saying
----
Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.
Parser Error Message: Could not load type
'Microsoft.Samples.ReportingServices.CustomSecurity.UILogon'.
Source Error:
Line 1: <%@. Page language="c#" Codebehind="UILogon.aspx.cs"
AutoEventWireup="false"
Inherits="Microsoft.Samples.ReportingServices.CustomSecurity.UILogon" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>
Source File: C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
Services\ReportManager\Pages\UILogon.aspx Line: 1
-----
Seems like it might have something to do wht permissions on the dll...Did
anyone have this problem? Or any ideas why this is happening?I have the same problem. Any luck with it?
"Aparna" wrote:
> Hi,
> I am trying to implement a custom security extension using the Forms Auth
> example provided by Microsoft. When i type in http://localhost/ReportServer,
> I can see the Logon.aspx page. But when i type in http://localhost/Reports/,
> I get a parser error saying:
> ----
> Parser Error
> Description: An error occurred during the parsing of a resource required to
> service this request. Please review the following specific parse error
> details and modify your source file appropriately.
> Parser Error Message: Could not load type
> 'Microsoft.Samples.ReportingServices.CustomSecurity.UILogon'.
> Source Error:
> Line 1: <%@. Page language="c#" Codebehind="UILogon.aspx.cs"
> AutoEventWireup="false"
> Inherits="Microsoft.Samples.ReportingServices.CustomSecurity.UILogon" %>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> Line 3: <HTML>
> Source File: C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
> Services\ReportManager\Pages\UILogon.aspx Line: 1
> -----
> Seems like it might have something to do wht permissions on the dll...Did
> anyone have this problem? Or any ideas why this is happening?|||Yeah, i later realized that I accidentally changed the wrong config file i.e.
I gave the 'My Computer' code group 'Full Trust' in the rssrvpolicy.config
file, in stead of the 'rsmgrpolicy.config' file... Everything worked like a
charm after that.. Hope that helps you....
"Minas Papageorgiou" wrote:
> I have the same problem. Any luck with it?
> "Aparna" wrote:
> > Hi,
> > I am trying to implement a custom security extension using the Forms Auth
> > example provided by Microsoft. When i type in http://localhost/ReportServer,
> > I can see the Logon.aspx page. But when i type in http://localhost/Reports/,
> > I get a parser error saying:
> > ----
> > Parser Error
> > Description: An error occurred during the parsing of a resource required to
> > service this request. Please review the following specific parse error
> > details and modify your source file appropriately.
> > Parser Error Message: Could not load type
> > 'Microsoft.Samples.ReportingServices.CustomSecurity.UILogon'.
> > Source Error:
> > Line 1: <%@. Page language="c#" Codebehind="UILogon.aspx.cs"
> > AutoEventWireup="false"
> > Inherits="Microsoft.Samples.ReportingServices.CustomSecurity.UILogon" %>
> > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > Line 3: <HTML>
> >
> > Source File: C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
> > Services\ReportManager\Pages\UILogon.aspx Line: 1
> > -----
> > Seems like it might have something to do wht permissions on the dll...Did
> > anyone have this problem? Or any ideas why this is happening?|||Are you using Enterprise Edition of SQL'
"Aparna" wrote:
> Yeah, i later realized that I accidentally changed the wrong config file i.e.
> I gave the 'My Computer' code group 'Full Trust' in the rssrvpolicy.config
> file, in stead of the 'rsmgrpolicy.config' file... Everything worked like a
> charm after that.. Hope that helps you....
> "Minas Papageorgiou" wrote:
> > I have the same problem. Any luck with it?
> >
> > "Aparna" wrote:
> >
> > > Hi,
> > > I am trying to implement a custom security extension using the Forms Auth
> > > example provided by Microsoft. When i type in http://localhost/ReportServer,
> > > I can see the Logon.aspx page. But when i type in http://localhost/Reports/,
> > > I get a parser error saying:
> > > ----
> > > Parser Error
> > > Description: An error occurred during the parsing of a resource required to
> > > service this request. Please review the following specific parse error
> > > details and modify your source file appropriately.
> > > Parser Error Message: Could not load type
> > > 'Microsoft.Samples.ReportingServices.CustomSecurity.UILogon'.
> > > Source Error:
> > > Line 1: <%@. Page language="c#" Codebehind="UILogon.aspx.cs"
> > > AutoEventWireup="false"
> > > Inherits="Microsoft.Samples.ReportingServices.CustomSecurity.UILogon" %>
> > > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > > Line 3: <HTML>
> > >
> > > Source File: C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
> > > Services\ReportManager\Pages\UILogon.aspx Line: 1
> > > -----
> > > Seems like it might have something to do wht permissions on the dll...Did
> > > anyone have this problem? Or any ideas why this is happening?|||Developer's Edition
"Minas Papageorgiou" wrote:
> Are you using Enterprise Edition of SQL'
>
> "Aparna" wrote:
> > Yeah, i later realized that I accidentally changed the wrong config file i.e.
> > I gave the 'My Computer' code group 'Full Trust' in the rssrvpolicy.config
> > file, in stead of the 'rsmgrpolicy.config' file... Everything worked like a
> > charm after that.. Hope that helps you....
> >
> > "Minas Papageorgiou" wrote:
> >
> > > I have the same problem. Any luck with it?
> > >
> > > "Aparna" wrote:
> > >
> > > > Hi,
> > > > I am trying to implement a custom security extension using the Forms Auth
> > > > example provided by Microsoft. When i type in http://localhost/ReportServer,
> > > > I can see the Logon.aspx page. But when i type in http://localhost/Reports/,
> > > > I get a parser error saying:
> > > > ----
> > > > Parser Error
> > > > Description: An error occurred during the parsing of a resource required to
> > > > service this request. Please review the following specific parse error
> > > > details and modify your source file appropriately.
> > > > Parser Error Message: Could not load type
> > > > 'Microsoft.Samples.ReportingServices.CustomSecurity.UILogon'.
> > > > Source Error:
> > > > Line 1: <%@. Page language="c#" Codebehind="UILogon.aspx.cs"
> > > > AutoEventWireup="false"
> > > > Inherits="Microsoft.Samples.ReportingServices.CustomSecurity.UILogon" %>
> > > > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > > > Line 3: <HTML>
> > > >
> > > > Source File: C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
> > > > Services\ReportManager\Pages\UILogon.aspx Line: 1
> > > > -----
> > > > Seems like it might have something to do wht permissions on the dll...Did
> > > > anyone have this problem? Or any ideas why this is happening?|||Do not use localhost as url path. U can try giving your machine name and
check if that works.
Under C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
Services\ReportServer:
open the web.config file.
Under appSettings tag change url path like:
<add key="ReportServer"
value="</add>">http://ApplicationServerName.YOurCompanyName.com/ReportServer"></add>
<add key="ReportServerExternalUrl"
value="</add>">http://ApplicationServerName.YOurCompanyName.com/ReportServer"></add>
Under C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
Services\ReportManager:
Open RSWebApplication.config:
Under Configuration tag:
<UI>
<CustomAuthenticationUI>
<loginUrl>/Pages/UILogon.aspx</loginUrl>
<UseSSL>False</UseSSL>
</CustomAuthenticationUI>
<ReportServerUrl>http://ApplicationServerName.YOurCompanyName.com/ReportServer</ReportServerUrl>
</UI>
I had the same issue.
Im assuming that you are using Form Authentication Code as in:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql2k/html/ufairs.asp
Good luck!
Rajesh
"Minas Papageorgiou" wrote:
> Are you using Enterprise Edition of SQL'
>
> "Aparna" wrote:
> > Yeah, i later realized that I accidentally changed the wrong config file i.e.
> > I gave the 'My Computer' code group 'Full Trust' in the rssrvpolicy.config
> > file, in stead of the 'rsmgrpolicy.config' file... Everything worked like a
> > charm after that.. Hope that helps you....
> >
> > "Minas Papageorgiou" wrote:
> >
> > > I have the same problem. Any luck with it?
> > >
> > > "Aparna" wrote:
> > >
> > > > Hi,
> > > > I am trying to implement a custom security extension using the Forms Auth
> > > > example provided by Microsoft. When i type in http://localhost/ReportServer,
> > > > I can see the Logon.aspx page. But when i type in http://localhost/Reports/,
> > > > I get a parser error saying:
> > > > ----
> > > > Parser Error
> > > > Description: An error occurred during the parsing of a resource required to
> > > > service this request. Please review the following specific parse error
> > > > details and modify your source file appropriately.
> > > > Parser Error Message: Could not load type
> > > > 'Microsoft.Samples.ReportingServices.CustomSecurity.UILogon'.
> > > > Source Error:
> > > > Line 1: <%@. Page language="c#" Codebehind="UILogon.aspx.cs"
> > > > AutoEventWireup="false"
> > > > Inherits="Microsoft.Samples.ReportingServices.CustomSecurity.UILogon" %>
> > > > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > > > Line 3: <HTML>
> > > >
> > > > Source File: C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
> > > > Services\ReportManager\Pages\UILogon.aspx Line: 1
> > > > -----
> > > > Seems like it might have something to do wht permissions on the dll...Did
> > > > anyone have this problem? Or any ideas why this is happening?|||I too am trying to use the security extenstions as explained here
http://msdn.microsoft.com/library/?url=/library/en-us/dnsql2k/html/ufairs.asp?frame=true
I am using SQL Server Standard edition but when I try to login to the sample
login form "UILogon.aspx" I get the error:
This operation is not supported in this edition of Reporting Services
(rsOperationNotSupported)
Are there different versions of Reporting Services or is the version taken
from the SQL Server edition?
Can't I use forms authentication with SQL Server Standard edition?
Please and thank you.
Greg
"Aparna" wrote:
> Hi,
> I am trying to implement a custom security extension using the Forms Auth
> example provided by Microsoft. When i type in http://localhost/ReportServer,
> I can see the Logon.aspx page. But when i type in http://localhost/Reports/,
> I get a parser error saying:
> ----
> Parser Error
> Description: An error occurred during the parsing of a resource required to
> service this request. Please review the following specific parse error
> details and modify your source file appropriately.
> Parser Error Message: Could not load type
> 'Microsoft.Samples.ReportingServices.CustomSecurity.UILogon'.
> Source Error:
> Line 1: <%@. Page language="c#" Codebehind="UILogon.aspx.cs"
> AutoEventWireup="false"
> Inherits="Microsoft.Samples.ReportingServices.CustomSecurity.UILogon" %>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> Line 3: <HTML>
> Source File: C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
> Services\ReportManager\Pages\UILogon.aspx Line: 1
> -----
> Seems like it might have something to do wht permissions on the dll...Did
> anyone have this problem? Or any ideas why this is happening?|||You need to use RS Enterprise edition for custom security extensions to
work.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsinstall/htm/gs_installingrs_v1_72jq.asp
"Greg Allan" <GregAllan@.discussions.microsoft.com> wrote in message
news:0C739298-5CD2-410D-8955-36A2B4B976DF@.microsoft.com...
>I too am trying to use the security extenstions as explained here:
> http://msdn.microsoft.com/library/?url=/library/en-us/dnsql2k/html/ufairs.asp?frame=true
> I am using SQL Server Standard edition but when I try to login to the
> sample
> login form "UILogon.aspx" I get the error:
> This operation is not supported in this edition of Reporting Services
> (rsOperationNotSupported)
> Are there different versions of Reporting Services or is the version taken
> from the SQL Server edition?
> Can't I use forms authentication with SQL Server Standard edition?
> Please and thank you.
> Greg
>
> "Aparna" wrote:
>> Hi,
>> I am trying to implement a custom security extension using the Forms Auth
>> example provided by Microsoft. When i type in
>> http://localhost/ReportServer,
>> I can see the Logon.aspx page. But when i type in
>> http://localhost/Reports/,
>> I get a parser error saying:
>> ----
>> Parser Error
>> Description: An error occurred during the parsing of a resource required
>> to
>> service this request. Please review the following specific parse error
>> details and modify your source file appropriately.
>> Parser Error Message: Could not load type
>> 'Microsoft.Samples.ReportingServices.CustomSecurity.UILogon'.
>> Source Error:
>> Line 1: <%@. Page language="c#" Codebehind="UILogon.aspx.cs"
>> AutoEventWireup="false"
>> Inherits="Microsoft.Samples.ReportingServices.CustomSecurity.UILogon" %>
>> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>> Line 3: <HTML>
>> Source File: C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
>> Services\ReportManager\Pages\UILogon.aspx Line: 1
>> -----
>> Seems like it might have something to do wht permissions on the dll...Did
>> anyone have this problem? Or any ideas why this is happening?
No comments:
Post a Comment