Solved

Pervasive control center will not allow views to be created

Posted on 2010-08-18
4
385 Views
Last Modified: 2012-05-10
I am using the Pervasive Control Center 10.3 (PCC) and I am trying to create and save views. However when I try to save it I get the error "The record has a key field containing a duplicate value (Btrieve error 5)". I have tried different statements I want to save as views and I get the same error.
However I can execute this statement with no errors.
0
Comment
Question by:RTsal
  • 2
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
mirtheil earned 500 total points
ID: 33466566
Sounds like there's been a corruption in the database schema files (VIEW.DDF specifically).  
- Can you create views in other databases?  
- Do you have a VIEW.DDF in the same directory as the FILE.DDF for this database?
- As a test, have all users close the database in question, rename view.ddf to view.old, reconnect to the database, and try to create the views.  Does that fail?  
0
 

Author Comment

by:RTsal
ID: 33467795
Thanks that worked - sort of. I am now able to save a view but it does not show up under the views list. Where is it stored so that I can edit it
0
 
LVL 18

Expert Comment

by:mirtheil
ID: 33468088
The views are stored in view.ddf but you cannot modify it directly.  
0
 

Author Comment

by:RTsal
ID: 33468133
How do I edit a view then or do I have to delete it and re-create it
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating and Managing Databases with phpMyAdmin in cPanel.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question