https://discord.umbraco.com logo
#social
Title
# social
c

craig100

03/09/2022, 10:35 AM
Everything is set to compile and all the DLL's are up. Works locally, not on server. Have just opened a support ticket. Not convinced cycling the app pool is doing a full restart. Not picking up changes to startup.cs I think. Don't want to start another huge thread, lol 😉
s

Sebastiaan

03/09/2022, 10:39 AM
Hmm.. I publish and that output (in this case in D:\publish) gets dropped on the server. Not sure you're even allowed to overwrite the files when the site is running (assuming this is your FTP host). So that might be the issue, files are in use and therefore the upload fails.
c

craig100

03/09/2022, 10:39 AM
Aha!
(Running now to stop the site and give it a try!)
s

Sebastiaan

03/09/2022, 10:39 AM
And remember,
Startup.cs
will be compiled and shouldn't end up on the server 😅
c

craig100

03/09/2022, 10:42 AM
I'm now going to write on the wall above my desk "Stop the site before uploading DLL's" in BIG LETTERS!
Thanks again. (so much beer owed!)
s

Sebastiaan

03/09/2022, 11:19 AM
Good to hear it worked!