SUMMARY:

When trying to generate code, log shows one or both of the following errors:

Unable to get class information from the Microsoft Visual C++ IDE.
-and-
Error: IDE support for VC++ cannot be instantiated.


TROUBLESHOOTING TIPS:

1) Start MS Visual C++ once after installing Rose and before trying to
    use Rose.

    Defect 142284 - Must run Microsoft Visual Studio one time before VC++ 
    addin RTE will work

    The installation of Microsoft Visual C+ does NOT enter it into 
    the registry as a COM server. You must run it once for it to appear in 
    the registry.   This should only be a problem in 98i.   Marked as
    fixed in Rose 2000   (however if using 2000 try this once just to
    make sure this is not part of the problem).

2) If there is more than one instance of the VC++ IDE running, 
    you will get this error. Solution is to close down all VC++ 
    instances. The "Update Model from Code..." will restart VC++ for 
    you.   Use task manger (ctrl-alt-del) and make sure msdev is not
    running.

3) Another possible cause: make sure files are not marked read-only.
    "We are using a version control system and when I don't have the 
    files locked they are marked as read only.   As soon as I remove 
    the read only flag from all files that are part of the model it 
    works fine."

4) If you are still getting this error, it may be due to a zombie process.

    A zombie is a process running in the background that shouldn't be.
    This can happen if code generation was aborted or otherwise prematurely
    terminated.   To eliminate this as a possible source, close down all
    applications and reboot, then retest.

If the problem persists:

5) Make sure there is not a problem with this particular project.
    Close everything down and start MSDEV and load the same 
    workspace from there. If MSDEV displays a message box with any
    errors, then Rose will not be able to open this project either.
    Rose doesn't deal with this situation where MSDEV is telling it 
    there is something wrong with the project.

6) If problem persist try running the following script:
      Tools:New Script

    Sub Main
            Dim foo As Object
            Set foo = createobject("MSDEV.Application")
            If foo Is Nothing Then
                  msgbox err.Description, title:="No application created"
            Else
                  msgbox foo.Name() + " " + foo.Version, title:="Application
created."
            End If
    End Sub

    If "Application created." message box is returned then Rose is
    making a connection to Visual Studio.   If "No application created"
    is returned, then code generation is also going to fail. Per
    next suggestion, re-install Visual C++.

7) Reinstall Visual C++. When all else fails this usually corrects the
problem.


For more information, contact Rational Software Technical Support.

Best Regards
Wayne E. Denman
Rational Software Corporation
The E-Development Company
1-800-433-5444

Rational User Conference 2001
July 22 - 26.  Denver, CO
http://www.rational.com/ruc

-----Original Message-----
From: Yves Stalgies [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 2:00 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: (ROSE) IDE support for VC++ cannot be instantiated


Hi,

perhaps the link between your rose component and the vc++ project file (or
workspace file) is broken (I remember similar problems). Try to set the link
new in the components propertys' page.

I hope it helps.

Yves

>>> Magnus Johannesson <[EMAIL PROTECTED]> 01/25/01 10:44AM
>>>

Environment: NT 4.0, Rose 2000e Enterprise Edition, Visual C++ 6.0

We get the error "IDE support for VC++ cannot be instantiated" when trying
to do "Update Code" on one of our development computers (it works fine on
all the other computers). I found a list in the archives (Fri Sep 08 2000)
that Patrick Kennedy wrote, but that didn't help. We've tried reinstalling
both Visual C++ and Rose, without any success. Any ideas?

/Magnus
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************


************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: 
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to