[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework

Re: Re: Reinstallation of netfx2.0 SP2

Ross Lawrence

1/4/2011 5:15:00 PM

Thanks Vic. Your directions worked great for me!

> On Wednesday, June 27, 2007 8:52 AM DanEdga wrote:

> According to some Google searches System.EnterpriseServices.Wrapper.DLL is a
> C++ DLL used to get COM+ services into the .NET Framework.
>
> According to other Google searches the System.EnterpriseServices.Wrapper.DLL
> is a gateway into OLEDB based database drivers.
>
> Either way, on some client workstations for my application in the field the
> System.EnterpriseServices.Wrapper.DLL isn't properly installed and a .NET
> Framework 2.0 repair or re-install is required.
>
> Is there any additional information that Microsoft can provide so I can add
> install logic to properly install the DLL or code workarounds to avoid using
> System.EnterpriseServices.Wrapper.DLL so my customers won't have to run
> through the .NET Framework 2.0 reinstall / repair?
>
> Here is the call stack from the failures that my clients are seeing:
>
> Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or
> one of its dependencies. The system cannot find the file specified.
> System.IO.FileNotFoundException -- System.EnterpriseServices
>
> at System.EnterpriseServices.ContextUtil.get_IsInTransaction()
> at System.Data.Common.ADP.IsSysTxEqualSysEsTransaction()
> at System.Data.Common.ADP.NeedManualEnlistment()
> at System.Data.OleDb.OleDbConnection.Open()
> at Starkey.Framework.Data.ConnectionPool.GetConnection()
> at Starkey.Framework.Data.ConnectionPoolManager.GetConnection(String
> connectionString, Type connectionType)
> at Starkey.Framework.Data.OleDb.OleDbGenericData.EstablishConnection()
>
> Thank you.
> --Dan Edgar


>> On Thursday, July 10, 2008 6:28 PM Matthew Esterak wrote:

>> A corrupted install of .NET 2.0 could be the culprit. Please try the following:
>>
>>
>>
>> 1. Uninstall .NET Framework 2.0 Service Pack 1.
>>
>> 2. Uninstall .NET Framework 2.0.
>>
>> 3. Re-install .NET Framework 2.0.
>>
>> 4. Re-install .NET Framework 2.0 Service Pack 1.
>>
>> 5. Reboot your system.
>>
>>
>>
>> This worked for me after encountering the error "Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies" when attempting to use System.Data.OleDb with a MS Access database.
>>
>>
>>
>> I believe the problem is caused after install of additional Microsoft patches and updates but cannot confirm which ones corrupt the .NET Framework install.
>>
>>
>>
>> Good luck!


>>> On Saturday, February 20, 2010 3:37 PM Jedzia Jedzia wrote:

>>> I had the same problem and fixed it with reinstalling the .NET Framework 2.0
>>>
>>>
>>>
>>> But...
>>>
>>>
>>>
>>> A full bunch with .NET versions, inclusive development environments ( VS2005 and VS2008 ).
>>>
>>> Simply i can't uninstall the .NET Framework 2.0 easily.
>>>
>>>
>>>
>>> ...and cos i am a lazy girl i did following:
>>>
>>> Swing the hammer with the Windows Install Clean Up utility
>>>
>>>
>>>
>>> ( http://support.microsoft.com/kb... from there
>>>
>>> http://download.microsoft.com/download/e/9/d/e9d80355-7ab4-45b8-80e8-983a48d5e1bd/m... )
>>>
>>>
>>>
>>> - Remove the "Microsoft .NET Framework 2.0 Service Pack 2" or your version with the clean up utility.
>>>
>>>
>>>
>>> - Use regedit to remove the following two keys:
>>>
>>> * HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727
>>>
>>> * HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v2.0
>>>
>>>
>>>
>>> - start NetFx20SP2_x86.exe (from http://www.microsoft.com/downloads/details.aspx?familyid=5B2C0358-915B-4EB5-9B1D-10E506DA9D0F&disp... ) to do a fresh .NET Framework 2.0 SP2 setup
>>>
>>> - don't reboot, be happy:)
>>>
>>>
>>>
>>> Hope this helps.
>>>
>>> Yours Jed


>>>> On Tuesday, November 09, 2010 11:21 AM Vic A wrote:

>>>> Hi,
>>>>
>>>>
>>>>
>>>> As I'm even lazyer than Jed here's one thing that worked with me :
>>>>
>>>>
>>>>
>>>> - open NetFx20SP2_x86.exe with winrar or other archive program that can open such archive files (from http://www.microsoft.com/downloads/details.aspx?familyid=5B2C0358-915B-4EB5-9B1D-10E506DA9D0F&disp... )
>>>>
>>>>
>>>>
>>>> - find NetFX_Other.msp in subfolder wcu\.\.\.\.\.\dotNetFramework\dotNetFX20 and start it.
>>>>
>>>>
>>>>
>>>> - after the install is done everything works fine with no restart :-)
>>>>
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Vic


>>>> Submitted via EggHeadCafe
>>>> Microsoft .NET DataBase Access For Beginners
>>>> http://www.eggheadcafe.com/training-topic-area/Microsoft-NET-DataBase-Access/1/SQL-Server-Oracle-DB2-Informix-Query-Sa...