After deploying my web app, I am getting an exception error. After looking at the stack trace, I noticed that the web app was looking for files in my development directory, and not the IIS directory. For deployment, I am copying the files from my development directory to the IIS directory.
C:\Users\esp\Documents\Visual Studio 2010\Projects\Password Utility\passwordutility.aspx.cs
The exception being raised:
please check your email
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80005008): One or more input parameters are invalid --- End of inner exception stack trace开发者_如何学Python --- at System.DirectoryServices.DirectoryEntry.Invoke(String methodName, Object[] args) at Email_User.ResetConfirmation.ModifyUser(String username) in C:\Users\esp\Documents\Visual Studio 2010\Projects\Password Utility\ResetConfirmation.aspx.cs:line 385
The debug symbols will report the full path of the file when it was complied, not when the error was generated. So even though you're seing your local path before the .cs file name, it's not actually looking in that path for the files.
精彩评论