Results 1 to 3 of 3

Thread: [RESOLVED] DLL Library problem?

  1. #1

    Thread Starter
    PowerPoster motil's Avatar
    Join Date
    Apr 2009
    Location
    Tel Aviv, Israel
    Posts
    2,143

    Resolved [RESOLVED] DLL Library problem?

    Hello, i have a small problem:

    I built an application which do some work for our server, until few days ago it was stand alone application when ever i wanted to make changes i just compiled the application in the development environment and then upload the exe file to the server and execute it.

    few days ago i added DLL library to this application it's working great in development environment (even if i copy the DLL library and the exe file to the desktop and run it) but when ever i run it in the development and it try to access code of the DLL library i get error message which i'll display at the end of this post.

    i must mention that i do use VISUAL STUDIO 2010 but i compile the code with 3.5 FRAME WORK (both the application and the dll library)


    this is the error i get, if someone can help it will be great.


    Code:
    Code removed
    Last edited by motil; Jun 18th, 2010 at 12:25 PM.
    * Rate It If you Like it

    __________________________________________________________________________________________

    "Programming is like sex: one mistake and you’re providing support for a lifetime."

    Get last SQL insert ID

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

    Re: DLL Library problem?

    Your connection string is invalid.
    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
    PowerPoster motil's Avatar
    Join Date
    Apr 2009
    Location
    Tel Aviv, Israel
    Posts
    2,143

    Re: DLL Library problem?

    you are correct jm i already got it. after i posted i took a closer look at the error message (which is easier to read in the post) and i figure that the folder which contain the file with the connection string is not exist in our server.

    Thanks for the help.
    * Rate It If you Like it

    __________________________________________________________________________________________

    "Programming is like sex: one mistake and you’re providing support for a lifetime."

    Get last SQL insert ID

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