I am developing a program to automate ADR using VB.net. I have a simple test case that that can be install on my Windows XP 32 bit system and it works fine. It is just one form with the ADR control embedded in it. When I install this on a Windows 7 64-bit system, it crashes with the message below:
Description: Stopped working Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: adrtest.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 4dac6793 Problem Signature 04: ADRTest Problem Signature 05: 1.0.0.0 Problem Signature 06: 4dac6793 Problem Signature 07: e Problem Signature 08: ef Problem Signature 09: System.InvalidOperationException OS Version: 6.1.7601.2.1.0.256.48 Locale ID: 1033 Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409 If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt
Any ideas on how to fix this?
Thank you for reporting this issue.
I cannot get cule from your message above. Could you please share a sample application for reproducing this problem for us to investigate?
Attached is the entire Visual Basic program that reproduces the problem. I am using Visual Studio 2005.
Thank you for your feedback.
Please set "Solution Platforms" as "x86" and build your program again.
Hope that helps.
When I target the compile for x86 and create an install program and try to install it, I get an error during install. It fails to register a dll.
Thank you for your feedback.
Actually, you do not need to register AdCommon.dll with your installer, this DLL has been registered with Autodesk Design Review installation. Please revise your installer and try it again.
I removed references to DLLs from ADR, and I target the compile to x86. I ran the install program on my Windows XP 32 bit box, and it installed correctly and the program ran. It showed the ADR control on the VB form. When I install this same program on the Windows 7 64-bit box, it installs correclty, but when I run it, it crashes and I get this error:
Description: Stopped working Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: adrtest2.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 4ebac30e Problem Signature 04: ADRTest2 Problem Signature 05: 1.0.0.0 Problem Signature 06: 4ebac30e Problem Signature 07: e Problem Signature 08: e9 Problem Signature 09: System.InvalidOperationException OS Version: 6.1.7601.2.1.0.256.48 Locale ID: 1033 Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409 If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt
I have attached the entire VB.Net project.
Thanks,
Jon
Thank you for your feedback.
I installed your application on my Windows 7 64-bit machine and the program ran. To run your program, the machine still needs ADR installed.
Attach the installer I used.
Yes, Of course ADR is installed. It must be a problem with just this Windows 7 box. I will try to figure out what is going on.
Jon
Can't find what you're looking for? Ask the community or share your knowledge.