gabrielk10
New Member
Hi,
I'm trying to run a local database on Windows 7 , I've a batch file that contain this:
REM Script to start database server.
REM tokens:
REM &DLC = Progress Directory
REM &LOOP-DB-START = start of database loop
REM &LOOP-DB-END = end of database loop
REM &START-SERVER = command line to start current DB in database loop
SET DLC=C:\dlc91d
SET PATH=%PATH%;%DLC%
SET PROMSGS=%DLC%\promsgs
SET PROTERMCAP=%DLC%\protermcap
REM loop-db-start
%DLC%\bin\_mprosrv c:\dbname\dbname -L 8000 -c 350 -B 1000 -N tcp -S dbname -H ti -Ma 3 -Mpb 3 -Mn 3 -n 3
%DLC%\bin\_mprosrv c:\dbname\dbname -m3 -Ma 3 -Mpb 3 -L 8000 -N tcp -S dbnamesql -H ti
REM loop-db-end
With this batch file I can run the database on Windows XP and i can access by DSN, read table,insert data etc. but on Windows 7 sends a message when i execute the same batch file "Registry error 5: Could not create the 'DBName_PROGRESS' key for the Event Viewer. (5175)" and i cannot access to the database. Do you have any idea how can i solve this?.
I'm trying to run a local database on Windows 7 , I've a batch file that contain this:
REM Script to start database server.
REM tokens:
REM &DLC = Progress Directory
REM &LOOP-DB-START = start of database loop
REM &LOOP-DB-END = end of database loop
REM &START-SERVER = command line to start current DB in database loop
SET DLC=C:\dlc91d
SET PATH=%PATH%;%DLC%
SET PROMSGS=%DLC%\promsgs
SET PROTERMCAP=%DLC%\protermcap
REM loop-db-start
%DLC%\bin\_mprosrv c:\dbname\dbname -L 8000 -c 350 -B 1000 -N tcp -S dbname -H ti -Ma 3 -Mpb 3 -Mn 3 -n 3
%DLC%\bin\_mprosrv c:\dbname\dbname -m3 -Ma 3 -Mpb 3 -L 8000 -N tcp -S dbnamesql -H ti
REM loop-db-end
With this batch file I can run the database on Windows XP and i can access by DSN, read table,insert data etc. but on Windows 7 sends a message when i execute the same batch file "Registry error 5: Could not create the 'DBName_PROGRESS' key for the Event Viewer. (5175)" and i cannot access to the database. Do you have any idea how can i solve this?.