Migrating from Vb Script to VB.NET & web.config

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi everyone, I'm using Visual Web Developer '05 beta, VB.NET, Access.

I'm a complete newbie to .NET, so please bear with me! In classic ASP. I
used to put my connection string in global.asa. Since web.config is XML,
obviously I can't do a Server.MapPath() in that file. Of course I'll know the
path to the DB while working locally, but what about when I'm ready to build
my application and put it on a remote server in a shared hosting environment?

How can I map the path to the db in web.config? What should I be doing?

Thanks,
Brandon
 
Back
Top