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...
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...