Error when restoring company.
wagaweze
Member Posts: 6
Hi everyone.
I am having trouble restoring a company. I almost get to the end and i get an error message:
The following SQL Server error(s) occured while accessing the WML View table:
1038,"42000",[Microsoft][ODBC SQL Server Driver][SQL Server]An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as '"" or [] are not allowed. Ass a name or single space as the alias name.
I have attached an image of the error. I have greyed out a small section as it contains the name of the company.
We are running NAV 5.0 SP1 with the enwis) module
I am having trouble restoring a company. I almost get to the end and i get an error message:
The following SQL Server error(s) occured while accessing the WML View table:
1038,"42000",[Microsoft][ODBC SQL Server Driver][SQL Server]An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as '"" or [] are not allowed. Ass a name or single space as the alias name.
I have attached an image of the error. I have greyed out a small section as it contains the name of the company.
We are running NAV 5.0 SP1 with the enwis) module
0
Comments
-
The table name suggests that it's a table linked to a SQL view. You should remove the SQL view (in SQL Server Management Studio), rename the company and then restore the SQL view in the new company (again in SSMS).0
-
The View doesn't exist in any database.
Here are some more details.
In my LIVE database I have one company which i took a backup of.
Then in my TEST database i have 4 companies named as the date that those backups were taken.
I am trying to restore into the TEST database the latest backup of LIVE.
If i create the View mentioned in the above error message. I get the same message again for the next company in that database.
Eg cannot find view 101010, then cannot find 011110, then 021210. (The dates) So if i create all of these views and then restore i get the error message:
"The restoration of the navision backup was interrupted because the company '101010' is already in the database"
I am restoring a company with a different name i do not know why it cares about company 101010.
Any ideas?0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions