What are the challenges you face when working across database platforms? Take the survey
Options

Unknown type from ...

brian.webbbrian.webb Posts: 8 Bronze 1
edited September 10, 2015 8:05PM in SmartAssembly
We have a global exception handler that detects some exceptions and gives the end-user a more meaningful message, such as "Connection lost", then they can continue. For some odd reason lately our global exception handler is failing. We detect a type, such as SqlException, but this fails and an exception report is sent. The odd thing is, in the exception report it says [Unknown type from ...].

Has anyone seen this before? Any ideas on how to fix this?

Thanks,
Brian

Comments

  • Options
    Jessica RJessica R Posts: 1,319 Rose Gold 4
    Hi Brian,

    Thanks for your post!

    I'm not certain but I think this issue may be happening if the assembly containing the "unknown type" was a dependency that did not actually have error reporting enabled on it (but may have had obfuscation applied). Just to confirm though, is the unknown type coming from your main protected assembly or indeed from one of its dependencies? If the latter, has it been processed by SmartAssembly?

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


Sign In or Register to comment.