[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1183
  • Last Modified:

Visual Studio runtime librariy?

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
TownTalk
Asked:
TownTalk
  • 2
2 Solutions
 
Éric MoreauSenior .Net ConsultantCommented:
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
 
TownTalkAuthor Commented:
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
 
ZhaolaiCommented:
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
 
TownTalkAuthor Commented:
Yes that worked. Thank you very much, but I'll split the points because both replies were useful.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now