Data type not compatible with the SQL Server data type

Votuc
Member Posts: 206
When I try to open the RTC, I get the following error:
The Purchase Header table contains a Microsoft Dynamics NAV Classic field data type that is not compatible with the SQL Server data type: Field: Name Type: Text50 SQL type: VARCHAR(60)
Page VEC Sales "Activities" must close.
I did a search and I did find some people with this error - but they were running NAV 3.70 and just told to upgrade to NAV 4. This is NAV 2009 SP1. Is there a way I can get around this?
The Purchase Header table contains a Microsoft Dynamics NAV Classic field data type that is not compatible with the SQL Server data type: Field: Name Type: Text50 SQL type: VARCHAR(60)
Page VEC Sales "Activities" must close.
I did a search and I did find some people with this error - but they were running NAV 3.70 and just told to upgrade to NAV 4. This is NAV 2009 SP1. Is there a way I can get around this?
0
Comments
-
It looks like somebody changed the field length directly on SQL. Change it on SQL to be same as in NAV again...0
-
1. Close all the client connections (RTC and Classic) to your database, except your own classic client.
2. Shut down all the services (NAV middle tier and NAV web-service).
3. Search for the record in the table 2000000071 "Object Metadata" that is linked to the object that throws the error and delete it.
4. Open your Object Designer and search for the object that's causing the error, open it in design mode and save & compile it.
5. Start all your services again
6. Try to reconnect.
This helped for me.
It seems that a connection keeps the old table structure alive in the cache and refuses to release it.Now, let's see what we can see.
...
Everybody on-line.
...
Looking good!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