Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8818231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:03:45+00:00 2026-06-14T05:03:45+00:00

I am having problem with ADS11 connection string for code first, I’ve tried many

  • 0

I am having problem with ADS11 connection string for code first,

I’ve tried many way but I couldn’t make it.

Anybody know, please advice me.

Here is my working environment.


Server : Advantage Database Server 11

Path : \ADS_DB:6262\DB\DBB.ADD (Port : 6262)

Test Access Table : WEBORDERLN (ADT Type)

PK : PK (Char (36))


I downloaded Advantage.Data.Provider v11 and Advantage.Data.Entity v11.
And add to reference.

Web.config

<connectionStrings>
    <add name="Ads_Context" connectionString="Data Source=\\ADS_DB:6262\DB\DBB.ADD;User ID=xxx;Password=xxx;ServerType=REMOTE;" providerName="Advantage.Data.Provider" />
</connectionStrings>

Controller,

public class Ads_Context : DbContext
{
    public Ads_Context(): base("name=Ads_Context")
{   
}
public DbSet<WebOrderLN> webOrderLns { get; set; }
}

public class HomeController : Controller
{
    //
    // GET: /Home/

    public string Index()
    {
        var context = new Ads_Context().webOrderLns.ToList(); // Source error point to here

        return "A";
    }

}
[Table("WEBORDERLN")]
public class WebOrderLN
{
    [Key]
    public string PK {get; set;}
    public string FK { get; set; }
    public string pickno { get; set; }
}

When I run above code, I got an error message,

Server Error in '/' Application.
Error 7200:  AQE Error:  State = HY000;   NativeError = 5174;  [iAnywhere Solutions][Advantage SQL][ASA] Error 5174:  Advantage failed to open the specified link.  dbo: Error 7041:  File not found.  Verify the specified path and file name is correct. Table name: WEBORDERLN  AdsCommand query execution failed. 

Anybody know, what I am doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T05:03:46+00:00Added an answer on June 14, 2026 at 5:03 am

    Try adding the schema name of ::this to your tables in code.

    [Table( "WEBORDERLN", Schema = "::this" )]
    public class WebOrderLN
    {
        [Key]
        public string PK {get; set;}
        public string FK { get; set; }
        public string pickno { get; set; }
    }
    

    See this Knowledge Base Item
    http://devzone.advantagedatabase.com/dz/content.aspx?Key=17&RefNo=120423-2510

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having problem with datagrid view. I have attached an image with the code
I am having problem with drawing multiple lines during repaint. The code is as
Having problem with this bit of code qith jQuery. it should pick the values
i having problem in converting this C# code into VB.net. The loadLecturer seem to
I am having problem creating a pyramid of asterisk. Please see my code. <?php
I am having problem with the title of a header in my jquery code.
I'm having problem with SHGetFileInfoW function I'm using. It's a quite slow and first
I am having problem with implementing custom session handler in php. The code: http://pastebin.com/9QV9f22Q
im having problem understanding Slim PHP, by the way i'm new on this framework.
Having problem in displaying relational properties b/w two tables having one(company) to many(package_master) relationship

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.