[Bug 33513] Microsoft SQL Server 2005 Express Edition: installer fails with builtin mono (Wine requires CodeBase registry value when loading .NET COM classes)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri May 17 14:07:03 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=33513

Daniel Jelinski <djelinski1 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Microsoft SQL Server 2005   |Microsoft SQL Server 2005
                   |Express Edition: installer  |Express Edition: installer
                   |fails complaining about     |fails with builtin mono
                   |corrupted .NET installation |(Wine requires CodeBase
                   |                            |registry value when loading
                   |                            |.NET COM classes)

--- Comment #2 from Daniel Jelinski <djelinski1 at gmail.com> 2013-05-17 14:07:03 CDT ---
This is the problematic piece of code from mscoree/corruntimehost:

1236 HRESULT create_monodata(REFIID riid, LPVOID *ppObj )
1237 {
1238     static const WCHAR wszCodebase[] =
{'C','o','d','e','B','a','s','e',0};
...
1278     dwBufLen = MAX_PATH + 8;
1279     res = RegGetValueW( key, NULL, wszCodebase, RRF_RT_REG_SZ, NULL,
codebase, &dwBufLen);
1280     if(res != ERROR_SUCCESS)
1281     {
1282         WARN("CodeBase value cannot be found.\n");
1283         hr = CLASS_E_CLASSNOTAVAILABLE;
1284         goto cleanup;
1285     }

According to regasm's documentation [1], codebase should not be set for
assemblies installed in GAC. The assembly in question is installed in GAC.

[1] http://msdn.microsoft.com/en-us/library/tzat5yw6%28v=vs.80%29.aspx

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list