I have a .NET Core application in C# that creates .pdf file and saves the file in a security shared folder. It works fine on my localhost, but when I publish my app to IIS server, I get an error "username or password incorrect" when it is the username and password as I tested on my local.
Is it because the IIS identity, and if yes - how can I solve the problem?