I set up a test environment to mimic a clients live environment for the purpose of API development.
Test Environment
- Windows 2012R2 standard (Build 9600) evaluation with 170days left
- SQL Server 2016 Developer - 13.0.5102.14 (X64)
- Visual 9.0.3 full install
- Visual API Toolkit version 161 installed; test database registered and all tests successful
- Visual Studio Community 13 installed
Using a C# form application to upload quotes to the DB. I'm able to connect to the database with the below code snippet:
//---------
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Lsa.Data;
using Lsa.Shared;
using System.Diagnostics;
using Lsa.Vmfg.Sales;
using Lsa.Vmfg.Shared;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Lsa.Data.Dbms.OpenLocal("TESTDB", "SYSADM", "SYSADM");
MessageBox.Show("Connection successful");
Lsa.Vmfg.Sales.Quote Qu = new Lsa.Vmfg.Sales.Quote("TESTDB");
//-------
That last line results in the error message:
"System.IO.FileNotFoundException was unhandled
HResult=-2147024894
Message=Could not load file or assembly 'Microsoft.Scripting, Version=1.1.2.22, Culture=neutral, PublicKeyToken=7f709c5b713576e1' or one of its dependencies. The system cannot find the file specified.
Source=LsaCore
FileName=Microsoft.Scripting, Version=1.1.2.22, Culture=neutral, PublicKeyToken=7f709c5b713576e1"
Has anyone ever encountered this message before?