Cannot get my ASP.NET site to publish to Azure app services.
I've been banging my head off the wall for 3 days now. This is the first site I've ever built and it has gone great upto this point. I added a view counter to the homepage to I could see how many uses it gets which worked just fine. Accept every night when the Azure servers reset the counter resets as well. So I learned how to create an SQL database to store the counter. It works perfect when I run it locally but when I try to publish it I get the error below.
Error: Could not copy "C:\Users........\wwwroot\lib\jquery-validation-unobtrusive\dist\jquery.validate.unobtrusive.min.js" to "C:\Users........\obj\Release\net8.0\PubTmp\Out\wwwroot\lib\jquery-validation-unobtrusive\dist\jquery.validate.unobtrusive.min.js". Exceeded retry count of 10. Failed.
I have tried verything from removing it from the dist folder up one. To manually copying it to the new location. To moving the entire project to a new directory because the file path was so long.
I'm brand new to this and would appreciate any help. Please let me know if there's any information or snippets from my program that I can supply.
2 Replies
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
I have the solution open in VS. But I have to have it open to be able to go to the publish page. It's not actively running when I try to publish though.