Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 234
  • Last Modified:

Save conflict error message

I have 2 databases on 2 different servers at the same client site, which were working correctly last week and now give me a save error message. When I edit the document and try and run my agent in the save button, the first message is "Document is not saved", I then save the document CTL S and it the gives me the Replication / Save Conflict error message but none else is in the document!?? Is the database corrupt? Both of them?
0
Debbie_Hurlin
Asked:
Debbie_Hurlin
  • 3
  • 2
1 Solution
 
wrichardCommented:
You should start by running fixup on the database to rule out corruption.  What does your save agent do?  Do you have any other agents that run on a schedule that could be manipulating the documents.
0
 
Debbie_HurlinAuthor Commented:
All the agent does is prompt for a reason, and then writes this information into the History field. The document is then saved and closed (supposedly) it actually tells me the document is not saved before it even prompts me, then when I save it gives me the conflict, if I say "yes" and then save again it then runs my edit code and then closes without asking me to save again. Surely it should save a second time as I have written information into the document? I should tell you that these databases run fine on my system! I haven't run fixup as yet as the administrator is away for 2 weeks and I can't get to the server.
0
 
wrichardCommented:
Is the button calling an agent or just executing commands.  I remember running into a similar problem in which I was trying to have a button execute a command and then call an agent.  My work around was to have the button execute all of the code.  Also, are you using script or @formulas
0
 
Debbie_HurlinAuthor Commented:
I am actually executing everything from the button, I originally had it in an agent and then changed it. Sorry it was late when I put in the original problem. I  am only using formula language no script, what I don't understand; the database was working and now it doesn't and the code hasn't changed. It also works correctly on my system, the other strange things was that when I was changing the code for the save, I put the @Command([FileSave]) first in the code and then the edit prompt and then the file close window and it does it all without asking me to save again even though I have edited the document.But here at the office when I copied the formula across it asked me to resave the document (which is what it should have done)! I am very confused as I cannot see anything wrong with the code!
0
 
Debbie_HurlinAuthor Commented:
The problem has sorted itself out. They were running out of disk space and whenthey put in a new drive all the error messages went away!! I must be honest I don't have any idea what else it may be. Thanks for all your help.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now