Can't reverse engineer from VS.NET 2003

J

James

I am trying to reverse engineer a fairly complex solution
(29 projects) to Visio 2003. Visio seems to get all of
the class information, but none of the relationships.

For example, when I drag Class A and Class B onto my
static structure diagram, no relationship is shown, even
though B inherits from A.

I noticed that in Visual Studio generates a very
unhelpful error message:

Exporting UML model to Visio...

Reverse engineering failed.
There were warnings during reverse engineering. Error
number 56.

What am I supposed to do?

Thanks,
James
 
L

LudicEyes

Wow this problem has been around for a long time and I believe I hav
solved it. I reciently had been asked to document a large system
wrote over the past 2 years and one thing they wanted is a UML diagram
I said sure no problem. And low and behold the reverse engineerin
failed. I noticed this problem when I was doing development but didn'
pay attention to it.

So what is the problem. My hunch was that it was something to do wit
some of the files in the system and some sort of structure problem
Like too many layers of inheritance or something. But it wasn't that.

So after removing all the files from the project and reverse engineere
fine. I slowly added files 1 by 1 until I came to a file that had
classes defined in it. WAM. it failed. I split the file into 2 and i
worked.

now continuing along I ran into something else that seemed weird. I ha
2 classes in 1 file and it failed. So I split it into 2 files and agai
it failed.

So my approach now was to remove all the code from the class and tr
again. It worked. Upon even more investigation. I got all the cod
added but 1 line. the line was

Throw New encryptionException("Bytes comming in must be 24 long")

Removing this line from the class made it reverse engineer. WHY I don'
know.

I changed the line to Throw New encryptionException and the revers
engineer worked fine. I also tried throwing applicationException("Som
Name") and that didn't work either. encryptionException is a class
defined that derives from ApplicationException.

I hope this help. I'm continuing along my project and will post more i
I run into other issues


-
LudicEye
 
S

SuchaLarry

I am using the trial version of Visio 2003 and trying to reverse engineer a
Visual Studio 2002 Solution. The Visio RE process runs to completion but
Visio only shows a blank page. By your question you seem to know the system
and behavior so I wanted to ask for your help.

Larry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top