<connectionStrings>
<add name="IU_Daily_V1_1_ALLConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\IU_Daily_V1_1_ALL.mdb;"
providerName="System.Data.OleDb" />
We've searched for other sites using Server.MapPath in .NET. We believe the medium trust config on this old Windows Platform is going to prevent access to /database.
Suggestion:
Move the access database to a subfolder of www and give anonymous identity modify permissions to the directory.
<add name="UsersConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\users.mdb;"
providerName="System.Data.OleDb" />
AppDomain.CurrentDomain.SetData("DataDirectory", "Complete Folder Path per your Hosts' config");
Please let me know which instructions you tried to follow and whether the project you are trying to publish is ASP.Net or ASP.Net core?
Regards,
Chinmay.