Here is an old error but with a new twist.
I am trying to bring my company into the Realm of Windows XP from Windows 2000 as the higher ups do not want to go to Windows 7 as of yet... All of my applications but one works on Windows XP. Here is the twist, the application is a .bat file and all of my users have a shortcut link to the file and it was working just fine with Windows XP Service Pack 1...
Once upgraded to Service Pack 2 I received the above error message. I have checked the memory, tested on 3 different systems. Checked the event logs (System) and that popup error message is displayed as informational Event ID 26. I am not running a soundblaster card, my systems are Dell Optiplex 745s.
I have copied the .bat file locally to my system and get the same error message, went into properties and tried every setting for the compatibility modes.
I have Installed the MS Application Comp. Toolkit and tried multiple compatiblity settings using Qfixapp.
The last thing I have tried was to completely disable the DEP in the boot.ini by placing the /NOEXECUTE=ALWAYSOFF setting at the end of the Operating Systems Boot line
And... Last but not least, I tried to convert the .bat file to a .exe (Just in case it was file extension specific) and still no luck...... Whew !!!! Can you guys please help me??
Here is the .bat file syntax
@echo off
IF .%ICLUI_TRACE% == . set ICLUI_TRACE=ON
IF .%ICLUI_TRACETO% == . set ICLUI_TRACETO=OUT
@rem -------------------------------------------------------------------------
@setlocal
set SMT_TEMP=e:\smart\data
IF NOT .%RATEWORK% == . set SMT_TEMP=%RATEWORK%
set ICLUI_TRACE=ON
set ICLUI_TRACETO=OUT
set ICLUI_TRACEFILE=%SMT_TEMP%\smart.log
@rem Test Env. Vars-----------------------------------------------------------
set PATH=g:\smart\dll;\\kasapp\common$\smtbin;%PATH%
@rem -------------------------------------------------------------------------
@rem VARs for Perfromance Tracking
@rem -------------------------------------------------------------------------
set SMT_SERVER=KSC
set SMT_TIMETRACE_DIR=\\kasapp\SmtPerf$
@rem -------------------------------------------------------------------------
@rem VARs for Verint Timer
@rem -------------------------------------------------------------------------
set SMT_VERINT_TIME=6000
@rem -------------------------------------------------------------------------
@rem Switches for Prod environments (PROD, EDUC)
@rem -------------------------------------------------------------------------
IF "%COMPUTERNAME%" == "WS3964" goto skipSPDefs
@set SMT_STORED_PROCEDURES_PROD=ON
@set SMT_STORED_PROCEDURES_EDUC=ON
:skipSPDefs
@set SMT_PROPERTY_CLUE_PROD=ON
@set SMT_PROPERTY_CLUE_EDUC=ON
@set SMT_PREISO_HOSTRATING_PROD=ON
@set SMT_PREISO_HOSTRATING_EDUC=ON
@set SMT_SUPPORT_TABLES_PROD=ON
@set SMT_SUPPORT_TABLES_EDUC=ON
@rem -------------------------------------------------------------------------
@rem Switches for Test environments (DEVEL, MODEL, INTEGRATION etc.)
@rem -------------------------------------------------------------------------
@set SMT_STORED_PROCEDURES_SYSTEST=ON
@set SMT_STORED_PROCEDURES_MODEL=ON
@set SMT_STORED_PROCEDURES_MODELX=ON
@set SMT_OOS_DEVEL=ON
@set SMT_OOS_MODEL=OFF
@set SMT_OOS_MODELX=OFF
@set SMT_1STEP_DEVEL=ON
@set SMT_1STEP_MODEL=OFF
@set SMT_1STEP_MODELX=OFF
@set SMT_PREISO_HOSTRATING_DEVEL=ON
@set SMT_PREISO_HOSTRATING_INTEGRAT=ON
@rem -------------------------------------------------------------------------
g:
@IF EXIST g:\smart\dllP1\SmtPatch.run goto runP1
@rem -------------------------------------------------------------------------
:runDefault
@echo Running code from Default area
cd \smart\dll
goto runSmart
@rem -------------------------------------------------------------------------
:runP1
@echo Running code from PATCH1
set PATH=g:\smart\dll;%PATH%
cd \smart\dllP1
goto runSmart
@rem -------------------------------------------------------------------------
:runSmart
@rem smart.exe
\\myserver\common\smtbin\smarterr.exe
smart.exe > %ICLUI_TRACEFILE%
goto end
@rem -------------------------------------------------------------------------
:end
@endlocal
I am trying to bring my company into the Realm of Windows XP from Windows 2000 as the higher ups do not want to go to Windows 7 as of yet... All of my applications but one works on Windows XP. Here is the twist, the application is a .bat file and all of my users have a shortcut link to the file and it was working just fine with Windows XP Service Pack 1...
Once upgraded to Service Pack 2 I received the above error message. I have checked the memory, tested on 3 different systems. Checked the event logs (System) and that popup error message is displayed as informational Event ID 26. I am not running a soundblaster card, my systems are Dell Optiplex 745s.
I have copied the .bat file locally to my system and get the same error message, went into properties and tried every setting for the compatibility modes.
I have Installed the MS Application Comp. Toolkit and tried multiple compatiblity settings using Qfixapp.
The last thing I have tried was to completely disable the DEP in the boot.ini by placing the /NOEXECUTE=ALWAYSOFF setting at the end of the Operating Systems Boot line
And... Last but not least, I tried to convert the .bat file to a .exe (Just in case it was file extension specific) and still no luck...... Whew !!!! Can you guys please help me??
Here is the .bat file syntax
@echo off
IF .%ICLUI_TRACE% == . set ICLUI_TRACE=ON
IF .%ICLUI_TRACETO% == . set ICLUI_TRACETO=OUT
@rem -------------------------------------------------------------------------
@setlocal
set SMT_TEMP=e:\smart\data
IF NOT .%RATEWORK% == . set SMT_TEMP=%RATEWORK%
set ICLUI_TRACE=ON
set ICLUI_TRACETO=OUT
set ICLUI_TRACEFILE=%SMT_TEMP%\smart.log
@rem Test Env. Vars-----------------------------------------------------------
set PATH=g:\smart\dll;\\kasapp\common$\smtbin;%PATH%
@rem -------------------------------------------------------------------------
@rem VARs for Perfromance Tracking
@rem -------------------------------------------------------------------------
set SMT_SERVER=KSC
set SMT_TIMETRACE_DIR=\\kasapp\SmtPerf$
@rem -------------------------------------------------------------------------
@rem VARs for Verint Timer
@rem -------------------------------------------------------------------------
set SMT_VERINT_TIME=6000
@rem -------------------------------------------------------------------------
@rem Switches for Prod environments (PROD, EDUC)
@rem -------------------------------------------------------------------------
IF "%COMPUTERNAME%" == "WS3964" goto skipSPDefs
@set SMT_STORED_PROCEDURES_PROD=ON
@set SMT_STORED_PROCEDURES_EDUC=ON
:skipSPDefs
@set SMT_PROPERTY_CLUE_PROD=ON
@set SMT_PROPERTY_CLUE_EDUC=ON
@set SMT_PREISO_HOSTRATING_PROD=ON
@set SMT_PREISO_HOSTRATING_EDUC=ON
@set SMT_SUPPORT_TABLES_PROD=ON
@set SMT_SUPPORT_TABLES_EDUC=ON
@rem -------------------------------------------------------------------------
@rem Switches for Test environments (DEVEL, MODEL, INTEGRATION etc.)
@rem -------------------------------------------------------------------------
@set SMT_STORED_PROCEDURES_SYSTEST=ON
@set SMT_STORED_PROCEDURES_MODEL=ON
@set SMT_STORED_PROCEDURES_MODELX=ON
@set SMT_OOS_DEVEL=ON
@set SMT_OOS_MODEL=OFF
@set SMT_OOS_MODELX=OFF
@set SMT_1STEP_DEVEL=ON
@set SMT_1STEP_MODEL=OFF
@set SMT_1STEP_MODELX=OFF
@set SMT_PREISO_HOSTRATING_DEVEL=ON
@set SMT_PREISO_HOSTRATING_INTEGRAT=ON
@rem -------------------------------------------------------------------------
g:
@IF EXIST g:\smart\dllP1\SmtPatch.run goto runP1
@rem -------------------------------------------------------------------------
:runDefault
@echo Running code from Default area
cd \smart\dll
goto runSmart
@rem -------------------------------------------------------------------------
:runP1
@echo Running code from PATCH1
set PATH=g:\smart\dll;%PATH%
cd \smart\dllP1
goto runSmart
@rem -------------------------------------------------------------------------
:runSmart
@rem smart.exe
\\myserver\common\smtbin\smarterr.exe
smart.exe > %ICLUI_TRACEFILE%
goto end
@rem -------------------------------------------------------------------------
:end
@endlocal