Solved

Visual Studio runtime librariy?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Replacing HTML tags in Textarea/Textbox 5 46
Create XML 5 46
Loop through Multiple Processes Async 2 28
Events in static methods 3 50
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

914 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

17 Experts available now in Live!

Get 1:1 Help Now