NAV 4.0, ASP and ODBC

kubachoj
Member Posts: 10
I have installed NAV 4.0, NDS, and ODBC
I have script ASP, where i try select some records from Native database.
In Table "Sales Price" are some records, where field Currency_Code is empty.
Why
SELECT Currency_Code, Item_No_, Unit_Price, Starting_Date, Ending_Date, Sales_Type FROM Sales_Price
- in Microsoft Query return some records.
- in script ASP - no records.
Problem is with field "Currency Code" because
SELECT Item_No_, Unit_Price, Starting_Date, Ending_Date, Sales_Type FROM Sales_Price
in both examples return this same records.
I have script ASP, where i try select some records from Native database.
In Table "Sales Price" are some records, where field Currency_Code is empty.
Why
SELECT Currency_Code, Item_No_, Unit_Price, Starting_Date, Ending_Date, Sales_Type FROM Sales_Price
- in Microsoft Query return some records.
- in script ASP - no records.
Problem is with field "Currency Code" because
SELECT Item_No_, Unit_Price, Starting_Date, Ending_Date, Sales_Type FROM Sales_Price
in both examples return this same records.
0
Comments
-
No help
But another nothice.
Maybe this is problem with ASP, because this SELECT work good in Microsoft Query and in PHP script (work on IIS) and don't work good on ASP script (on IIS)
any idea ?
:-k0 -
What is NDS?0
-
Perhaps you could help me out? I have installed Navision 4.0 NODBC.dll and added it as a system dsn in Data Sources (odbc). When using it with my C# .NET APPLICATION it works fine -> Insert, Select, Update etc. But when trying to connect to it through an ASPX .NET webpage and calling Open() it just stops there. I have to close the web browser, no error, not anything.
TextBox1.Text = ""; try { System.Data.Odbc.OdbcConnection con = new System.Data.Odbc.OdbcConnection(); con.ConnectionString = "DSN=Navision;Uid=web;Pwd=2005;"; con.Open(); TextBox1.Text = "Open..."; con.Close(); TextBox1.Text += "OK!"; } catch(Exception ex) { TextBox1.Text = ex.ToString(); }
It never reaches TextBox1.Text = "Open..." -- but if I make some modification to the connection string errors appear.0 -
NDS - Navision Database Server0
-
I experience the same problem.0
-
I think there was an error in Navision 4.0.
I downloaded and installed SP1 and the problem disappeared.
Marco Morreale0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions