Results 1 to 7 of 7

Thread: Install Error

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2009
    Location
    Milan
    Posts
    810

    Install Error

    Code:
    Unable to install or run this application. The Application requires the assembly My.SQL.Data Version 6.2.3.0 be installed in the Gloabal Asseembly Cache (GAC) first
    Can someone please explain what this means?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Install Error

    Does your application use Connector/Net to connect to a MySQL database? That error message indicates that Connector/Net is not installed on the machine on which you're running your app. Just like any referenced assembly, it must be present on every machine you want to run your app on. Your users will either have to install Connector/Net or else you can change the Copy Local property of the reference to True and then distribute the assembly from your project's output folder along with the EXE.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2009
    Location
    Milan
    Posts
    810

    Re: Install Error

    Thanks I've set the Copy Local property to True and get the same error, sorry what else would I need to do?

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2009
    Location
    Milan
    Posts
    810

    Re: Install Error

    Sorry I'm publishing my project online via Click Once

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2009
    Location
    Milan
    Posts
    810

    Re: Install Error

    On my webserver under Application files I have this MySql.Data.dll.deploy so it should be there right?

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2009
    Location
    Milan
    Posts
    810

    Re: Install Error

    Can anyone please help, I've set it to true but i'm still getting the same error. I'm deploying my project via Click Once

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2009
    Location
    Milan
    Posts
    810

    Re: Install Error

    I'm still stuck on this issue.. can someone please help me

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