Adding some .NET Assembly files results in a C++ error
|Article:TECH18858|||||Created: 2006-09-11|||||Updated: 2008-08-06|||||Article URL http://www.symantec.com/docs/TECH18858|
|NOTE: If you are experiencing this particular known issue, we recommend that you Subscribe to receive email notification each time this article is updated. Subscribers will be the first to learn about any releases, status changes, workarounds or decisions made.|
- Install Wise for Windows Installer to a computer that has .NET Framework 2.0.
- Add the file SQLEXPR\setup\program files\microsoft sql server\90\tools\binn\windows\system32\mfcm80.dll.
You get the error:
Microsoft Visual C++ Runtime Library
Program: C:\Program Files\Wise for Windows Installer\wfwi.exe
An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information.
Wise for Windows Installer 6.2
Wise Installation Studio 7
Wise Package Studio 7
This issue has been fixed for Wise Package Studio 7 SP3 and will be fixed for the next release of Wise Installation Studio\Express 7 SP1.
According to information found in an MSDN posting, it appears that the C++ error is caused by the way the .dll is written. You also receive the same error message (except that the path points to RegAsm.exe instead of WfWI.exe) when trying to register the .dll with RegAsm.
Another possible way around the error message is to uncheck the check boxes in Tools > Options > .NET Assemblies. With .NET Project, you might have to select just .NET. Then Rescan COM interop registry keys at compile.
|Description||Logged in Littlebuggy (Altiris - Lindon, Plymouth) database|
Article URL http://www.symantec.com/docs/TECH18858