Solved

Visual Studio runtime librariy?

Posted on 2010-09-15
4
1,126 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 250 total points
ID: 33682753
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
ID: 33682939
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
ID: 33683009
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
ID: 33683065
Yes that worked. Thank you very much, but I'll split the points because both replies were useful.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

738 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