c# - How to solve InvalidDeploymentException: Application identity is not set? -


in form1 @ top declare variables have line:

private string archivelogfiledirectory = path.getdirectoryname(application.localuserappdatapath) + "\\archive log file"; 

in localuserappdatapath see:

c:\users\000\appdata\local\mws\mws\1.0.0.5 

i have directory 1.0.0.5 it's empty , why going directory @ ?

this exception message:

system.deployment.application.invaliddeploymentexception occurred   _hresult=-2146233087   _message=application identity not set.   hresult=-2146233087   istransient=false   message=application identity not set.   source=system.deployment   stacktrace:        @ system.deployment.application.applicationdeployment.get_currentdeployment()   innerexception:  

i disabled exception:

open exceptions window debug menu. expand "common language runtime exceptions" -> "system.deployment.application". uncheck box next "system.deployment.application.invaliddeploymentexception".


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -