开发者

Why does my application return 'Assertion Failed!' error on some systems?

开发者 https://www.devze.com 2023-01-21 18:54 出处:网络
Hi I have a C# web application with a C# ActiveX tool that connects to the user\'s hardware to collect information.

Hi I have a C# web application

with a C# ActiveX tool that connects to the user's hardware to collect information.

anyways all works fine on most computer

except on some it shows me a (sometime on resetting of CAS permissions it works but soon starts throwing a fit)

"Assertion failed!" error (See screenshot)

new SecurityPermission(PermissionState.Unrestricted).Assert();

but the Error says it is "Microsoft Visual C++ Runtime Library" exception and from a completely different program NCS2Prov.exe which a bit of googling tells me is due to the network adapter.

My applications runs on the internet and has the right CAS permissions - is there any reason that the CAS permission might have been revoked?

Some clues on the internet tell 开发者_StackOverflow中文版me to reinstall the Microsoft Visual C++ Runtime library -- will reinstalling .net Framework 2.0 do the same thing?

Why does my application return 'Assertion Failed!' error on some systems?


Try re-installing the Microsoft Visual C++ Runtime Library which I believe can resolve your issue.

0

精彩评论

暂无评论...
验证码 换一张
取 消