开发者

Cannot create a connection to data source

开发者 https://www.devze.com 2023-04-13 05:20 出处:网络
I am trying to access to rdl from sqlserver 2005 reporting server to ASP.net page. But im screwed up with the following error.

I am trying to access to rdl from sqlserver 2005 reporting server to ASP.net page. But im screwed up with the following error. ""Cannot create a connection to data source"" I tried lot of things as advices by experts in the forum, but nothing working out for me. Is there any solution for this prob ? Tha开发者_高级运维nks,


Try This one.

you using SQLHelper.cs file in your project. add connection string in web.config file in project.

then write your aspx.cs page namespace like

using System
using System.Data;


Try Below code :

using system.data;
using system.data.sqlclient;
0

精彩评论

暂无评论...
验证码 换一张
取 消