C# Server MapPath: Physical path given, but a virtual path was expected

Spread the love

Solution for the error condition ‘C:/folder/word.docx’ is a physical path, but a virtual path was expected.
c# – convert from physical path to virtual path.
c# – Server.MapPath – Physical path given, virtual path expected.
Server.MapPath: xxxx is a physical path but a virtual path was expected.

Leave a Reply

Your email address will not be published. Required fields are marked *

*