Results 1 to 3 of 3

Thread: [2005] Strange Problem. System.EnterpriseServices.dll

  1. #1

    Thread Starter
    Frenzied Member dinosaur_uk's Avatar
    Join Date
    Sep 2004
    Location
    Jurassic Park
    Posts
    1,098

    Question [2005] Strange Problem. System.EnterpriseServices.dll

    Hi All.

    Please help! I am about to pull all my hair out! I have recently developed a small program which SQL's a MS Access database on a shared folder.

    I published it to the network folder and many users have installed it fine, but I have had two users who have reported the following error:

    Code:
    Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. The device is not ready. (Exception from HRESULT: 0x80070015)
    So I went to google and searched on how to get rid of this error and it seems that there are alot of sites to suggest re-installing the .Net 2.0 framework. So i tried to click repair the installation but then hit on another problem:
    Code:
    Error 25015. failed to install assembly. 'C:\WINDOWS\Microsoft.Net\Framework\System.EnterpriseServices.dll because of system error: The device is not ready
    So i did more googling and found that it might be due to a HaxDoor virus:
    http://support.microsoft.com/kb/925267/en-us

    I am now scanning the system now, but it hasn't picked up any virus yet. Has anyone encountered this problem?

    What should i do? Is it becuase I am using oledb adapter to access MS access?

    Please help!
    If you find my thread helpful, please remember to rate me

  2. #2

    Thread Starter
    Frenzied Member dinosaur_uk's Avatar
    Join Date
    Sep 2004
    Location
    Jurassic Park
    Posts
    1,098

    Re: [2005] Strange Problem. System.EnterpriseServices.dll

    Sorted this problem!

    Simply put ";OLE DB Services = 0;" behind your connection string and it will prevent OLE DB from accessing that service.

    http://msdn.microsoft.com/en-us/libr...(v=VS.85).aspx

    Cheers!



    Ken
    Last edited by dinosaur_uk; Jul 13th, 2010 at 05:27 PM.
    If you find my thread helpful, please remember to rate me

  3. #3
    New Member
    Join Date
    Mar 2008
    Location
    Calgary, Canada
    Posts
    1

    Re: [2005] Strange Problem. System.EnterpriseServices.dll

    Thank you!!! You solved my problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width