Cannot open Inventor files with the Inventor Viewer.

Cannot open Inventor files with the Inventor Viewer.

Anonymous
Not applicable
1,621 Views
5 Replies
Message 1 of 6

Cannot open Inventor files with the Inventor Viewer.

Anonymous
Not applicable

This is regarding Historic Inventor version 10 files.

 

The Inventor Viewer 2012 does open the file.

but when I try to open the same file with the Inventor Viewer 2012 ActiveX control.

It fails with the error:

 

[ERROR] The database in I:\Pack_Go Inventor Files\52080-001\bracket.ipt could not be opened.

 

What gives? 

 

What is the full viewer doing that the control is not?

I have made sure that apprentice is referencing the Default.ipj project file in the Viewer Install folder.

 

[Edit]  Just tested with an Inventor 2011 part.  Same Error.  [/Edit]

0 Likes
1,622 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable

Okay,

 

On the off chance my development PC was toast I wiped it clean.  Reinstalled WinXP and all related software.

 

Installed VB6 and InventorViewer 2012.

 

Created a new VB Project with a Form. 

1) The Viewer Control does not show up in the list of available components.  (I believe it use to.)

2) After browsing to and selecting C:\Program Files\Autodesk\Inventor 2012\Bin\InventorViewCtrl.ocx the icon shows up in the controls tool box.

Drew the control on the form.

Added a button with the following code to load an existing file.

 

Private Sub Command1_Click()

  InventorViewControl1.filename = "G:\ - IT Support\007.ipt"

End Sub

 

I receive the same error as in my last post.

 

Running  InventorView.exe  I can load the file into the viewer just fine.

 

Am I missing something?  This use to work with previous versions of inventor.

0 Likes
Message 3 of 6

Anonymous
Not applicable

Hi,

 

I have exact the same problem. Have you found a solution?

 

--Tim

0 Likes
Message 4 of 6

Anonymous
Not applicable

Other than rolling everything back to 2011, No.

 

A bug report was filed with Autodesk and they verified that it was a real bug.

Said it would probably be fixed in a future version / release.

 

Never heard back from them.

0 Likes
Message 5 of 6

Anonymous
Not applicable

Ok, i have found my solution:

- Install Inventor View 2012 - (the InventorViewCtrl.ocx will not work! "[ERROR] The database in [filename] could not be opened.")
- Install Inventor View 2011(!) parallel
- Start Inventor View 2011 and register (regsvr32) the InventorViewCtrl.ocx 2011-Version.
- Start Inventor View 2012 and register InventorViewCtrl.ocx back. (2012)

 

Now opens InventorViewCtrl.ocx Inventor 2012 files.

 

--Tim

0 Likes
Message 6 of 6

Anonymous
Not applicable

While this might work with Windows 7 it does not work with Windows XP.

0 Likes