开发者

Cannot create a connection to data source

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜