Click here to Skip to main content
15,886,611 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
my code this and is getting error once i am build and publish , the code is give below


C#
<system.web>
    <httphandlers>
      <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
        validate="false" />
    </add></httphandlers>
    <compilation debug="true" targetframework="4.0">
      <assemblies>
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
      </assemblies>
      <buildproviders>
        <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
      </buildproviders>
    </compilation>
    <authentication mode="Forms">
      <forms loginUrl="~/UI/LogInUI.aspx" defaultUrl="~/UI/LogInUI.aspx" slidingExpiration="true" timeout="20" path="/" requireSSL="false" enableCrossAppRedirects="false">
        <credentials passwordformat="SHA1">
        </credentials>
      </forms>
    </authentication>
    <!--<authentication mode="Forms">
      <forms defaultUrl="~/View/Login.aspx" loginUrl="~/View/Login.aspx" slidingExpiration="true" timeout="20"></forms>
    </authentication>-->
    <authorization>
    </authorization>
  </system.web>
  <system.webserver>
    <validation validateintegratedmodeconfiguration="false" />
    <handlers>
      <add name="ReportViewerWebControlHandler" precondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </handlers>
  </system.webserver>
Posted
Updated 19-Apr-14 7:26am
v2
Comments
CHill60 19-Apr-14 12:33pm    
Can you post the code that is actually giving the error
Rahul VB 19-Apr-14 13:35pm    
haha :) error 10 very nice. I agree with CHill60 at which line does your code break? because from your above code i cant determine which object you tried to refer , which was null.
thatraja 21-Apr-14 7:51am    
Glad you have solved the issue

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900