When using connection strings (let’s say, to a MS Access Database), many times you will see:
server.mappath(“.\data\northwind.mdb”) & “;”
The connection string is expecting an EXACT path, like:
c:\inetpub\wwwroot\data\northwind.mdb
So, in the ‘Server.Mappath’ example above, what this does is to ‘facilitate’ the use of a relative path. It’s based on the relative location of the database, to the ASP.Net page trying to access it. It literally MAPS the path to :
c:\inetpub\wwwroot\