简体   繁体   中英

C# Tracing Exception?

  1. I have developed a website using asp.net and c#.
  2. I published that website using visual studio.
  3. I gave that published website to my customers( more than 100).
  4. My customers configured it in their own website.

I have handled exceptions using try catch and write log file in (c:\\Log\\Log.txt) with unique id and datetime. My problem is whenever any exception occurs for my clients, to solve the issue i need that log.txt file. But i have to wait till they provide log.txt file.

So , is there any way to read that exception using any code or any tool?.(now i cant modify my source because of customers currently running it).

For example: i give customer's URL in browser and performing some operations.Now i need a tool or code that should trace exceptions while i am accessing that website

After search in google i found that its not possible to trace exceptions on a website without modifying its code. Even using tools such as fiddler we can find only web requests and response.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM