Skip to main content
BobT366
Inspiring
Oct 18, 2018 12:22 PM UTC
Answered

Adobe Illustrator CC 2019 Type Library Reference Broken / Missing

Upon upgrading to Illustrator 2019 and attempting to update my reference in my Visual Studio project, I receive an error that it cannot reference the COM Component.

VB.Net or C# projects attempt to add the reference from: C:\Program Files\Adobe\Adobe Illustrator CC 2019\Plug-ins\Extensions\Scripting Support.aip

Visual Studio 2010 gives the error:

Attempting to Manually Browse to the file is impossible as VS2010 only recognises the file types:

Visual Studio 2015/2017 has the same issue, but does allows me to Manually Browse and select "All Types". However this still fails with the same error.

VB6 and InDesign work fine. However I'm struggling with .Net & Illustrator. We automate Adobe Illustrator so need this working. 2018 was fine, we simply selected the reference and away we went.

Alternatively since there's only the .aip file available, shouldn't there be a type library somewhere? I presume something in the Registry is pointing VS to the plugins folder for the reference, which it obviously doesn't want for this kind of thing.

This topic is closed to new replies. Start a new post to keep the conversation going.
BobT366
BobT366Correct answer
Inspiring
Feb 12, 2019 12:38 PM UTC

The version with this fix is now Live. Thanks all!

18 replies

BobT366
BobT366Author
Inspiring
Dec 13, 2018 1:24 PM UTC

Status on the UserVoice page has now switched to "Planned".

Translate
BobT366
BobT366Author
Inspiring
Jan 29, 2019 11:46 AM UTC

Fix Adobe Illustrator CC 2019 Type Library Reference - VB scripts return error – Adobe Illustrator Feedback

All. Now fixed. Apparently it's working in beta (see link above), and will be deployed in a release soon.

Translate
BobT366
BobT366AuthorCorrect answer
Inspiring
Feb 12, 2019 12:38 PM UTC

The version with this fix is now Live. Thanks all!

Translate
Participant
Nov 14, 2018 1:08 PM UTC

New version (23.0.1) of Illustrator didn't fix this issue. Anybody found a work around?

Translate
Participant
Nov 14, 2018 1:22 PM UTC

Yes, uninstalling the latest Illustrator and installing an older version :-(

Translate
BobT366
BobT366Author
Inspiring
Nov 14, 2018 1:26 PM UTC

Same. Is there any more formal way to report this to Adobe? Seems they don't monitor here...

Translate
Participant
Oct 19, 2018 1:54 PM UTC

Getting exact same error.

Further:

Tried late binding with c# dynamic to get around issu with importing into Visual Studio. Does not work.

dynamic ai=Activator.CreateInstance(Type.GetTypeFromProgID("Illustrator.Application"));

// Illustrator starts

var doc = ai.Open(System.IO.Path.GetFullPath(AIfilename));

// Error - TYPE_E_LIBNOTREGISTERED

Translate
BobT366
BobT366Author
Inspiring
Oct 19, 2018 1:56 PM UTC

Looks like they've definitely ballsed it up on their end then.

Do they monitor this section?

Translate
BobT366
BobT366Author
Inspiring
Oct 18, 2018 2:11 PM UTC

Further details:

I've just reinstalled Adobe CC 2018, although the available COM reference still looks at ScriptingSupport.aip, upon adding it, "Interop.Illustrator.dll" is added to, and referenced by my project.

This doesn't seem to be happening with 2019, no matter what Visual Studio version I use.

Translate
Participating Frequently
Oct 18, 2018 2:46 PM UTC

Getting exact same error.

Further:

when searching through the registry for "CC 2019" I discovered some entries having pathnames in which a backslash is missing between CC 2019 and Support Files\Contents\Windows.

Received following error message when executing our software:

"Exception occurred in exportObjects (A5):System.Runtime.InteropServices.COMException (0x80040154):

Retrieving the COM class factory for component with CLSID {0DC1BAC6-5A43-480A-84C3-301582B1EB02} failed

due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))."

CLSID {0DC1BAC6-5A43-480A-84C3-301582B1EB02} has not been defined inside the Windows registry.

Translate