• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Design Review

    Reply
    Active Member
    jhargett
    Posts: 10
    Registered: ‎02-11-2011

    ADR 2011 - VB.net - Windows 7 64-bit Crash

    876 Views, 8 Replies
    04-18-2011 09:54 AM

    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?

     

    Please use plain text.
    Employee
    Posts: 338
    Registered: ‎03-05-2008

    Re: ADR 2011 - VB.net - Windows 7 64-bit Crash

    04-21-2011 06:35 PM in reply to: jhargett

    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?



    Herbert He
    SW Engineer
    PSEB-GE- ACRD PSEB
    Autodesk, Inc.
    Please use plain text.
    Active Member
    jhargett
    Posts: 10
    Registered: ‎02-11-2011

    Re: ADR 2011 - VB.net - Windows 7 64-bit Crash

    10-21-2011 08:52 AM in reply to: jhargett

    Attached is the entire Visual Basic program that reproduces the problem. I am using Visual Studio 2005.

    Please use plain text.
    Employee
    Posts: 338
    Registered: ‎03-05-2008

    Re: ADR 2011 - VB.net - Windows 7 64-bit Crash

    10-25-2011 07:50 PM in reply to: jhargett

    Thank you for your feedback.

     

    Please set "Solution Platforms" as "x86" and build your program again.

     

    Hope that helps.



    Herbert He
    SW Engineer
    PSEB-GE- ACRD PSEB
    Autodesk, Inc.
    Please use plain text.
    Active Member
    jhargett
    Posts: 10
    Registered: ‎02-11-2011

    Re: ADR 2011 - VB.net - Windows 7 64-bit Crash

    11-08-2011 11:32 AM in reply to: herbert.he

    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.

     

    adrtest.gif

    Please use plain text.
    Employee
    Posts: 338
    Registered: ‎03-05-2008

    Re: ADR 2011 - VB.net - Windows 7 64-bit Crash

    11-08-2011 07:10 PM in reply to: jhargett

    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.

     

     



    Herbert He
    SW Engineer
    PSEB-GE- ACRD PSEB
    Autodesk, Inc.
    Please use plain text.
    Active Member
    jhargett
    Posts: 10
    Registered: ‎02-11-2011

    Re: ADR 2011 - VB.net - Windows 7 64-bit Crash

    11-10-2011 12:56 PM in reply to: herbert.he

    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

     

    Please use plain text.
    Employee
    Posts: 338
    Registered: ‎03-05-2008

    Re: ADR 2011 - VB.net - Windows 7 64-bit Crash

    11-10-2011 09:52 PM in reply to: jhargett

    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.



    Herbert He
    SW Engineer
    PSEB-GE- ACRD PSEB
    Autodesk, Inc.
    Please use plain text.
    Active Member
    jhargett
    Posts: 10
    Registered: ‎02-11-2011

    Re: ADR 2011 - VB.net - Windows 7 64-bit Crash

    11-11-2011 06:15 AM in reply to: herbert.he

    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

    Please use plain text.