Hello,
I am using VS 2008 and and just downloaded Web Deployment Projects:
http://connect.live.com/VisualStudio...dbackID=319288
I need the connection string in my web site Web.config file to be
replaced.
So I created a new file named ConnectionStrin gs.config that contains
only the following:
<connectionStri ngs>
<add name = "MyConn" connectionStrin g = "Provider =
Microsoft.Jet.O LEDB.4.0; Data Source = C:\MyDomain\\ww wroot\App_Data
\DB.mdb; User Id=; Password=;" providerName = "System.Data.Ol eDb" />
</connectionStrin gs>
And in my Web Deployment Web.Config File Section Replacements I have:
connectionStrin gs=ConnectionSt rings.config;
I get the following error:
web.config(1): error WDP00002: missing section connectionStrin gs
What am I doing wrong?
And just another question on the side:
Is it possible to have 2 files: ConnectionStrin gs.config and
ConnectionStrin gsServer.config .
The first would have the connectionStrin gs section to be used in my
computer.
The second would have the connectionStrin gs section to be used when
deploying the web site to the server.
Thanks,
Miguel