sql - ASP.NET ERROR : Keyword not supported: 'provider' -


my app fails @ line of code:

dim objconnection new sqlconnection(application("connstring")) 

my connection string is:

"server=testaitsql;database=sscommerce;uid=planowebapp;pwd=xxxxxxxx;" 

i googled problem , solution having malformed connection string "provider" being specified when shouldn't have. example conn string:

provider=sqloledb.1;integrated security=sspi;database=apinquiry;server=sqlserver 

i'm not specifying provider think have different problem...???

does test server have exact same configuration file development machine? suspect configuration file on test machine may have different set of values connstring expecting.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

linq to sql - Linq2EF: Return DateTime with a TimeZone Offset -

gdi+ - WxWidgets draw a bitmap with opacity -