3
Answers

IIS Application Creation

Scott

Scott

16y
1.8k
1
I am trying to create an IIS Application from a physical location within the root folder of IIS. Every guide I can find shows how to create a virtual directory, but I only need to create the application from a physical directory. I also want to set the Application Protection to Medium. Does anyone know how to do this in C#? Thanks!
Answers (3)
0
Sujeet Singh
NA 129 0 7y
this is usually means one of two things:
  1. There is some very unusual code path which, when taken, always causes a crash
  2. A race condition exists between threads in your program. Thus, the crash appears unpredictably and may be difficult to reproduce

My advice to you is to start the program in the debugger, and leave it running until the exception is thrown. Then you can come back here and provide us with the relevant code, stack trace, debug output, etc.