Reporting uses in silverlight

1 posts, 0 answers
  1. Starry
    Starry avatar
    59 posts
    Member since:
    Apr 2012

    Posted 13 Jun 2012 Link to this post

    Thanks  a  lot...

    I   have  copyed   the    connection   string   from    the    "Report Project"    to    "WebSiteProject . The   code  as  following:

    Web.Config:
       
         <connectionStrings>
        <add name="ReportingList.Properties.Settings.AdventureWorks"
                connectionString="Data Source=STARRYCHENG-PC\STARRYCHENG;Initial Catalog=AdventureWorks;User ID=sa;Password=123456"
                providerName="System.Data.SqlClient" />
      </connectionStrings>


    App.Config:
     
    <connectionStrings>
            <add name="ReportingList.Properties.Settings.AdventureWorks"
                connectionString="Data Source=STARRYCHENG-PC\STARRYCHENG;Initial Catalog=AdventureWorks;User ID=sa;Password=123456"
                providerName="System.Data.SqlClient" />
        </connectionStrings>

    Question:
            Preview   in   the   "Report Project"    is  ok...

            
       
            Reporting  in  the   website  occurs  error...   
Back to Top