Solved

Visual Studio runtime librariy?

Posted on 2010-09-15
4
1,115 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 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Get hold of longitude and latitude in iframe string 11 49
get combo value in class 5 14
Passing data between Forms 3 20
Generate Unique ID in VB.NET 21 68
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

821 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