The operating system returned the error 1231

elwin68
Member Posts: 153
Hello,
For demo and test purposes I have created a virtual machine (Microsoft Virtual PC) with NAV 2009 on SQL 2008.
In the VPC the following software is installed:
- Windows XP SP3
- SQL Server 2008 Express with advanced services
- NAV 2009
For NAV2009 the installation is done for SQL and native. For both a NAS is installed.
The SQL installation works fine.
The native installation has a problem with windows authentication. I can't use windows login to access the database. The following error occures:
The operating system returned the rror (1231)
The network location cannot be reached. For information about network troubleshooting, see Windows Help.
I can use the work around to use database login.
The same error occures with the NAS (native).
How can I complete my demo VPC with a working NAS for the native database?
Thanks in advance.
For demo and test purposes I have created a virtual machine (Microsoft Virtual PC) with NAV 2009 on SQL 2008.
In the VPC the following software is installed:
- Windows XP SP3
- SQL Server 2008 Express with advanced services
- NAV 2009
For NAV2009 the installation is done for SQL and native. For both a NAS is installed.
The SQL installation works fine.
The native installation has a problem with windows authentication. I can't use windows login to access the database. The following error occures:
The operating system returned the rror (1231)
The network location cannot be reached. For information about network troubleshooting, see Windows Help.
I can use the work around to use database login.
The same error occures with the NAS (native).
How can I complete my demo VPC with a working NAS for the native database?
Thanks in advance.
0
Answers
-
Try to give to the NAS the TCP/IP+port of the server and not the servername.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Thanks for your answer. It's working!
When I read your answer I knew it would work :-)0 -
elwin wrote:Thanks for your answer. It's working!
When I read your answer I knew it would work :-)
Considering the error message, I just thought Windows didn't find the computer/service, so lets make sure he finds it, by using the IP+port.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hello,
I am having the same error on a native database. A Windows user can't log in, however a Database user can.
The Windows users are NAS and another user. It returns the 1231 error when logging in. DB users can login with no issue.
The Windows users can log in when the file is opened directly (ie with the db server turned off). They are Administrators. They are local Windows accounts, not domain accounts.
The db server has been run as a local account which is an Administrator, it has also been run as Local System.
The hosts and services are correct.
I have tried the above method. Does any one have an further suggestions for this?! Thanks in advance.0 -
Have you tried to run the client directly on the server and to open the DB as Windows user? This way you avoid going on the network. Maybe that is giving problems. Remember also to create the windows user you will use in the NAV-DB.
To try, you might try as servername : 127.0.0.1 or 127.0.0.1:pppp (if you are not using the default port).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