NAV 2013 Dev Env won't access databases

MMatt
Member Posts: 14
Very much a new user, just going through training docs. The 2013 c/side docs come with fobs, but they don't work with 2017 (what I'm using). It tells me to use 2013 and update them.
This is the error when I try to use 2013: https://i.imgur.com/KAREOFK.png
NAV and SQL are local. I've tried every fix I've read about regarding changing configs, tcp/ip, server browser, literally everything I've come across. NAV 2015 and up don't have this issue. Network Service User configured in SMSS. RTC will connect with configured service.
It sees the sql server, but it cannot pull the database information. No one has come across this before and all attempts have been foiled by the same error message.
If anyone has further insights, it would be greatly appreciated.
EDIT: And if there's any more info I should include, please tell me, I will.
This is the error when I try to use 2013: https://i.imgur.com/KAREOFK.png
NAV and SQL are local. I've tried every fix I've read about regarding changing configs, tcp/ip, server browser, literally everything I've come across. NAV 2015 and up don't have this issue. Network Service User configured in SMSS. RTC will connect with configured service.
It sees the sql server, but it cannot pull the database information. No one has come across this before and all attempts have been foiled by the same error message.
If anyone has further insights, it would be greatly appreciated.
EDIT: And if there's any more info I should include, please tell me, I will.
0
Best Answer
-
I fixed it.
Going through page after page of google, I found a reference to TLS 1.0 and NAV 2013 and if it wasn't enabled, it would cause issues. So I turned it on. You can use IISCrypto or use regedit and go toHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server
And change enabled to 1.
This still doesn't make sense to me, but oh well.0
Answers
-
Try to make your AD account a member of the db_owner database role in target databaseSlawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Slawek_Guzek wrote: »Try to make your AD account a member of the db_owner database role in target database
If this is the case, then that did not resolve the issue, but thank you for trying.0 -
Yes, that's what I meant.
I am right thinking that you are using SQLEXPRESS as a named instance? Your server name is in form somecomputername\SQLEXPRESS?Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Slawek_Guzek wrote: »Yes, that's what I meant.
I am right thinking that you are using SQLEXPRESS as a named instance? Your server name is in form somecomputername\SQLEXPRESS?
Yes. This is just for the demo db on a local machine, so the naming didn't really matter and I let it default.0 -
When you try to connect to the demo database what do you have in Advanced tab?
Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Just like your screenshot. Though I have tried running via tcp and named pipes (having configured sql the same)0
-
(having configured sql the same)
Check if you have 3 protocols, shared memory, named pipes and tcp/ip available on the SQL server instance - make sure all 3 are enabled.
Also check if you have external connections enabled on SQL Server instance - SSMS and NST may connect through shaerd memory driver, not sure if that counts as an external connection.
Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Slawek_Guzek wrote: »Slawek_Guzek wrote: »Also check if you have external connections enabled on SQL Server instance - SSMS and NST may connect through shaerd memory driver, not sure if that counts as an external connection.
EXEC sp_configure 'remote access', 1 ; GO RECONFIGURE ; GO
0 -
I have run out of ideas frankly speaking. It must be something simple and obvious...
Did you type your SQL server name in login box or did you look it up? Can you lookup the server in the server list? If you have correct server name can you lookup your database name on login screen?
Do you have only named instance in your test environment, or is it an additional instance? Is your SQL Server Browser service running?
Maybe try to trace the server login attempt with SQL Server Profiler, or general server activity, perhaps you spot something.
SlawekSlawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Tried typing (as ".\sql" "localhost\sql" "dns\sql"). No success. Lookup works. I can see any and all sql instances. I can't look up databases, that's when this error pops up.
I've tried multiple named instances, just in case there was a bad config on this one. Server browser is running. Tried changing the user things are running under, no luck there either.
Server Profiler shows no activity when I click the "db lookup". That makes me think the call is being blocked before even getting to it, but I don't know why.
Thank you very much for your attempts.0 -
Can you stop local Windows Firewall service and retest? Or any other firwall (or antivirus) services - just for sake of testing..
If you have many instances then port 1434 will only get you to the SQL Server Browser, if other ports are disabled it might be the cause. Although it makes not much sense as local firewall should not block any internal traffic, certainly not to and from localhost...Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Right? Shouldn't block anything over local. Either way, made sure the windows firewall was disabled. Then turned off webroot as well. Still have the same issue.
It's a weird one, that's for sure.0 -
127.0.0.1\SQLEXPRESS ?Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
I fixed it.
Going through page after page of google, I found a reference to TLS 1.0 and NAV 2013 and if it wasn't enabled, it would cause issues. So I turned it on. You can use IISCrypto or use regedit and go toHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server
And change enabled to 1.
This still doesn't make sense to me, but oh well.0 -
[Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
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