简体   繁体   中英

Error on deploying website to IIS - App still refers to local files directory even after publish

Has anyone experienced this issue before? I published a website using File Deploy and placed it in an IIS. Other apps works just fine, but the website I deployed shows this error:

在此处输入图片说明

It seems to still be pointing to my local directory. I've updated the paths but to no avail. Help please.

Thanks in advance.

The paths show locations at compile-time, that is not a problem. Here, you are getting an exception on line 65 in DataAccess.cs - object reference not set to an instance of an object.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM