如何解决visual studio 2013中的连接字符串错误 [英] How to solve the connection string error in visual studio 2013

查看:267
本文介绍了如何解决visual studio 2013中的连接字符串错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< connectionstrings>

< app name =ApplicationServices>

connectionString =Provider = Microsoft.ACE.OLEDB.12.0; Data Source = D:\ asp.net work \ jatinflowermart\App_Data \ Jayesh_master.accdb; Persist Security Info = True

providerNamne =System.Data.OleDbClient/>







i在连接字符串中出现编译错误。

所以,请解决问题就此而言。回复我

在此先感谢。

解决方案

它应该如下App.Config或Web.config文件中



 <   connectionString   =  Provider = Microsoft.ACE.OLEDB.12.0;数据源= D:\ asp.net work \ jatinflowermart \ App_Data \ Jayesh_master.accdb; Persist Security Info = True providerNamne = System.Data.OleDbClient  /  >  


<connectionstrings>
<app name="ApplicationServices">
connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source="D:\asp.net work\jatinflowermart\App_Data\Jayesh_master.accdb";Persist Security Info=True"
providerNamne="System.Data.OleDbClient"/>



i got An Compilation Error in The connectionstring.
so, pls solve the problem as far as. reply me
Thanks in advance.

解决方案

It should be like below in App.Config or Web.config file

<connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\asp.net work\jatinflowermart\App_Data\Jayesh_master.accdb;Persist Security Info=True providerNamne=System.Data.OleDbClient"/>


这篇关于如何解决visual studio 2013中的连接字符串错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆