Difference between SQL 2005 and SQL 2005 express

elwin68
Member Posts: 153
Hello,
We have a solution to transfer data between Navision and Microsoft SQL.
Until now we have worked with SQL 2005 and the transfer works very well.
Now we want to transfer data between Navision and SQL 2005 express. We thought the used commands work with both SQL versions.
Unfortunately this is not the case.
The program stuck on the command autRecord.AddNew (autRecord is an automation to 'Microsoft ActiveX Data Objects 2.8 Library'.Recordset).
See the attachment for the error message.
Does anyone know why this works with SQL 2005 and not with SQL 2005 express?
Thanks in advance.
We have a solution to transfer data between Navision and Microsoft SQL.
Until now we have worked with SQL 2005 and the transfer works very well.
Now we want to transfer data between Navision and SQL 2005 express. We thought the used commands work with both SQL versions.
Unfortunately this is not the case.
The program stuck on the command autRecord.AddNew (autRecord is an automation to 'Microsoft ActiveX Data Objects 2.8 Library'.Recordset).
See the attachment for the error message.
Does anyone know why this works with SQL 2005 and not with SQL 2005 express?
Thanks in advance.
0
Answers
-
Have you configured SQL Express to allow external connections (your linked server)? By default it does not.There are no bugs - only undocumented features.0
-
Hello bbrown,
Thanks for your answer.
Your solution is not the right one because the connection can be made to SQL 2005 Express. Deleting records works fine too, so the link from NAV to SQL 2005 Express is working fine.
When trying to add new records with the command addnew, the error occures.
The code is as follow:
REPEAT
autRecord.AddNew;
Transfer proper fields to record with recordref and fieldref
UNTIL NEXT=0
autRecord.UpdateBatch;
The error occures when autRecord.AddNew is called the second time.
We have changed the code to:
REPEAT
autRecord.AddNew;
Transfer proper fields to record with recordref and fieldref
autRecord.Update;
UNTIL NEXT=0
Now a update-error occures when autRecord.Update is called the first time.
I hope this makes something clear.0 -
Hi,
well, I'd gladly help you in this case, but unfortunately I'm lacking to speak Dutch.
I guess you'll get more replise to this issue if you could translate this error message into English.
Or switch you NAV client to English and reproduce the error for a new screeneshot ...
But maybe you want to check this site http://www.microsoft.com/sqlserver/2005/en/us/compare-features.aspx to see the differences between the editions ...Jörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0 -
My fault, of course it must be in english.
The funny thing is that I was translating the error message and beginning to think
I surfed over the internet and found the solution.
Someone had changed the computer name. In the table sys.servers the old computer name still was defined. This must be updated.
All information is found on http://msdn.microsoft.com/en-us/library/ms143799.aspx0
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