Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Backup Problem
Message
De
05/09/2016 12:24:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Backup Problem
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 7
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01640479
Message ID:
01640479
Vues:
81
Sir I have these codes for sqlserver backup
flname='at17'
mdest2=[D:\Backup/]
nresult=SQLEXEC(m.con,"backup database &flname to disk='&mdest2\&flname..bak'")
IF nresult<0
	aerror(laerror)
	messagebox(laerror[1,2])
	return(0)
ELSE
	MESSAGEBOX("Done")
ENDI
The codes work fine in Development mode but when I run codes in EXE then it shows this error message

Connectivity error: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot perform a backup or restore operation within a transaction.

I tested codes on SERVER before any transaction,

What I am doing wrong?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform