开发者

WCF LINQ CSLA Problem

I have a solution that uses CSLA for Business Layer and LINQ to SQL on another. We need to use WCF so 开发者_如何学Cthat we can host our database on remote servers but it seems that the application cannot read the web.config file in WCF project using ContextManager. We tried using ConnectionManager and somehow it worked. Is there a known issue with ContextManager(Of Sample).GetManager(DBName) not reading the configuration in the WCF Project? Or I need to set something on both app.config(UI) and web.config(WCF)? Thanks.


ConnectionManager and ContextManager both use System.Configuration to read the connection string data from the config file.

Of course a ContextManager connection string is quite different from a "normal" ADO.NET connection string. Is it possible that your connection string is not in the correct format?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜