<add key="SWHT\Connection" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="~/App_Data/SWHT.mdb" />No clue if that will work, just a SWAG.
><add key="SWHT\Connection" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("~/App_Data/SWHT.mdb") /> >>
>Data Source=" Missing required white space >+ Character '+' hexidecimal value 0x2b is illegal in an XML name >("~/App_Data/SWHT.mdb") Character '(' same as above >/ inside the path causes - Expecting '/>' >>Clearly being an XML file causes the issues here, but what might be the proper syntax for getting this within an xml file?
>>"Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + Server.MapPath("~/App_Data/ASPNetDB.mdb") >>>>