문제

I have an asp.net mvc application I am deploying to goDaddy using WebDeploy. Everytime I use webdeploy it resets the CAS trust level on the server requiring me to login and change it back to full and then everything works.

I am aware of in webConfig settings but I am wondering if there is some setting in the webdeploy configure or elsewhere that I may be missing and could be causing this to happen.

도움이 되었습니까?

해결책

Add the web.config settings to a web.config transform and have them added during the publish using the transform

Once you publish, via Web Deploy, those settings will be migrated out to GoDaddy's server.

You may have to check the live web.config file after making changes in an admin console if that's how you're reapplying them on GoDaddy's side

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top