error after restotration of nav db

smshyd
Member Posts: 72
Hi all
I am using Nav6.0sp1 and sql server 2005. we shifted the server to another system, It was working fine few hours then
giving error
This message is for C/AL programmers:
Invalid assignment. It is not possible to assign a _Recordset to a Recordset.
can any body tell me what may be the problem
I am using Nav6.0sp1 and sql server 2005. we shifted the server to another system, It was working fine few hours then
giving error
This message is for C/AL programmers:
Invalid assignment. It is not possible to assign a _Recordset to a Recordset.
can any body tell me what may be the problem
0
Answers
-
That look like you are using some automation.
Can you give some more info on what exactly does not work?Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
very thanks for your response kirki,
when I debug it, it is stoping in the below line
ADORecordSet := ADOConnection.Execute(SQLString,RecordsAffected,RSOption);0 -
Check the subtype of variable ADORecordSet.
You are using "Recordset" but need to use "_Recordset" which is strange because I am using the same code and it uses "Recordset".
What library are your variables using?
I have 'Microsoft ActiveX Data Objects 2.8 Library'.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi smshyd
I had the same error when running a report. After recompiling this object, it could be run without error. Have you tried recompiling the object contains the code occurring that error yet?0 -
Hi chi,
I compiled and uploaded the licence again. It is working fine.
thank you kriki and chi for your suggestions0
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