Solved

Visual Studio runtime librariy?

Posted on 2010-09-15
4
1,092 Views
Last Modified: 2012-05-10
I just wrote my first Visual Basic.net app within Visual Studio. The size of the .exe is only 23k. I want this to run as a daily scheduled task on our server. But when I try to luanch it on there, I get errors saying that libraries are missing.

I've had a look on the Microsoft Download site, but I can't work out what it is that I need to install. I was looking for Visual Basic 2008 Runtime, but I couldn't see this.

Help please

Ian
0
Comment
Question by:TownTalk
  • 2
4 Comments
 
LVL 69

Assisted Solution

by:Éric Moreau
Éric Moreau earned 250 total points
Comment Utility
there is no such thing as the "Visual Basic 2008 Runtime"

You need to install the full .Net Framework (probably 3.5 since you used VS 2008).
0
 

Author Comment

by:TownTalk
Comment Utility
Hmmm..... I went to install the .net framework, but it turns out that it is already installed.

This is the error I am getting:

System.IO.FileNotFoundException: Could not load file or assembly 'Interop.ADODB, Version=2.8.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Interop.ADODB, Version=2.8.0.0, Culture=neutral, PublicKeyToken=null'

My application uses ADO to communicate with our SQL Server.
0
 
LVL 17

Accepted Solution

by:
Zhaolai earned 250 total points
Comment Utility
The file is Interop.ADODB.DLL, which should be in the same folder as your .exe when you compile your exe. Copy that to the same folder as the .exe on the server.
 
0
 

Author Comment

by:TownTalk
Comment Utility
Yes that worked. Thank you very much, but I'll split the points because both replies were useful.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now