Server.MapPath

  • Thread starter Thread starter William Gower
  • Start date Start date
W

William Gower

I am trying to run the following in my connection string

"Data Source = Server.MapPath('private\Union.mdb')"

The asp application is in c:\inetpub\wwwroot\Unit12 and the database is one
directory lower in private.

It keeps trying to map it to

'C:\WINDOWS\system32\private\Union.mdb'

How do I get rid of the c:\windows\system32

Incidently this is being run in my Application_Start
 
Back
Top