Intel® oneAPI Base Toolkit
Support for core tools and libraries to build and deploy high-performance data-centric applications
317 Discussions

Profiling tools of visual studio 2022 stop working after installing intel oneAPI Bese Toolkit.

nusu-
Beginner
2,513 Views

When I install the intel oneAPI Bese Toolkit, Profiling tools outputs "unexpected failure" and does not work.

The output error "Failed to request DataWarehouse host: 'Could not load file or assembly 'System, Data.SQLite, Version=1.0.109.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139', or one of its dependencies. or one of its dependencies could not be loaded. The manifest definition for the assembly found does not match the assembly reference. The manifest definition for the assembly found does not match the assembly reference.

The installation configuration is the minimum configuration for installing DPC++/C++ Complier.

P.S. My native language is Japanese and I'm running visual studio in Japanese. So the output message may be different.

Labels (1)
0 Kudos
1 Solution
HemanthCH_Intel
Moderator
2,303 Views

Hi,

 

This issue will be fixed in future releases.

 

As a workaround, you can follow the below steps.

 

(1) Close all VS2022 instances.

(2) Open the file "C:\Users\<user>\AppData\Local\Microsoft\VisualStudio\17.0_<instance_id>\devenv.exe.config" and add the below given code in the file.

 

<dependentAssembly>

 <assemblyIdentity name="System.Data.SQLite" publicKeyToken="db937bc2d44ff139" culture="neutral" />

 <bindingRedirect oldVersion="0.0.0.0-1.0.109.0" newVersion="1.0.113.0" />

</dependentAssembly>

Thanks & Regards,

Hemanth.

 

 

View solution in original post

8 Replies
HemanthCH_Intel
Moderator
2,489 Views

Hi,

 

Thanks for reaching out to us.

 

Could you please provide the version of the Intel oneAPI Base Toolkit you are using?

Could you please let us know, which profiler you are using(Intel VTune profiler or VS performance profiler)?

Could you please provide the steps to reproduce this issue?

 

Thanks & Regards, 

Hemanth.

 

nusu-
Beginner
2,397 Views
I'd like to ask you a few questions but I may have replied in the wrong place ...
Is my message getting through to you?
nusu-
Beginner
2,480 Views

The Intel oneAPI Base Toolkit version we are using is 2022.1 (64 bit).

The profiler we are using is VS Performance Profiler.

The VS version is 17.0.4 community.

What VS contains is "Desktop Development with C++" in the workload.

To reproduce the problem, install VS2022 and then install C++.

After installing VS2022 and C++, install the Intel oneAPI Base Toolkit.
Then attach it to a specific process, whatever it is.

Then you will get a message "The diagnostic tool failed unexpectedly. The diagnostic hub output in the output window may contain additional information." and when I look at the diagnostic hub, I see "Request to DataWarehouse host failed: 'File or assembly 'System.Data.SQLite, Version=1.0.109.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies could not be read. The manifest definition of the assembly found does not match the assembly reference. (Exception from HRESULT: 0x80131040)'" and fails.

HemanthCH_Intel
Moderator
2,388 Views

Hi,


We are able to reproduce your issue at our end using visual studio 2022 and oneAPI 2022.1 on Windows Machine. We are working on your issue and will get back to you soon.


>>Is my message getting through to you?

Yes, we can see your response in the community.


>>I'd like to ask you a few questions but I may have replied in the wrong place ...

Please feel free to ask questions.


Thanks & Regards,

Hemanth.


HemanthCH_Intel
Moderator
2,336 Views

Hi,


We have reported this issue to the concerned development team. They are looking into this issue and will get back to you soon once your issue is fixed.


Thanks & Regards,

Hemanth.


HemanthCH_Intel
Moderator
2,304 Views

Hi,

 

This issue will be fixed in future releases.

 

As a workaround, you can follow the below steps.

 

(1) Close all VS2022 instances.

(2) Open the file "C:\Users\<user>\AppData\Local\Microsoft\VisualStudio\17.0_<instance_id>\devenv.exe.config" and add the below given code in the file.

 

<dependentAssembly>

 <assemblyIdentity name="System.Data.SQLite" publicKeyToken="db937bc2d44ff139" culture="neutral" />

 <bindingRedirect oldVersion="0.0.0.0-1.0.109.0" newVersion="1.0.113.0" />

</dependentAssembly>

Thanks & Regards,

Hemanth.

 

 

nusu-
Beginner
2,295 Views

Thank you very much!
I got it working just fine by putting the code above the "</assemblyBinding>" in devenv.exe.config!

HemanthCH_Intel
Moderator
2,228 Views

Hi,

 

Thanks for accepting our solution. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.

 

Thanks & Regards,

Hemanth.

 

Reply