|
Home > Archive > dBASE Programming > November 2007 > dbase doesn't start-vista problems
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
dbase doesn't start-vista problems
|
|
| Melih Cavli 2007-11-16, 1:30 pm |
| Hi, I bought a new laptop last week which works with vista premium.
I have installed my dbase plus 2.6.0.0, b1901 without any problems but when
I try to run dbase, the screen freezes ,it stops to load and the "dbase not
responding" error displays...
I have to close dbase from the task manager.
I've read most of the articles about vista problems I could found from these
newsgroups and some from Ken Mayer's site but still nothing I've done so far
has solved my problem.
Up to now, what I have done is:
1) logged as an administrator from vista.
2) downloaded the xml code of plus.exe.manifest file (for administartor
rights) from dbase.com website and created a new manifest file whose name is
"plus.exe.manifest" under my c:\program files\dbase\bin\ folder.
(this is in the same folder with plus.exe)
3) downloaded the xml code of plusrun.exe.manifest file (for administartor
rights) from dbase.com website and created a new manifest file whose name is
plusrun.exe.manifest under my c:\program files\dbase\bin\runtime\ folder.
(this is in the same folder with plusrun.exe)
4) downloaded the xml code of bdeadmin.exe.manifest file (for administartor
rights) from dbase.com website and created a new manifest file whose name is
bdeadmin.exe.manifest under my C:\Program Files\Common Files\Borland\BDE\
folder.
(this is in the same folder with bdeadmin.exe)
5) for bdeadmin.exe file, from it's properties, I have checked the
selection for "compatible with xp sp2".
6) restarted the computer and then run the dbase plus but again the screen
comes and freezes and the "dbase not responding" error displays so that I
have to close it..
I've even installed the latest dbase runtimes form the dbase.com but nothing
has changed..
Are there any other solutions pls, I can't start my dbase plus.
Thx
Melih Cavli
| |
| Lysander 2007-11-16, 1:30 pm |
| Melih Cavli schrieb:
> Are there any other solutions pls, I can't start my dbase plus.
I do not run dBase and/or the dbl-applications on our new machines
anymore, so I can only try to remember some more things from the time
back when I was beta-testing vista:
Some additional thoughts:
Vista has enhanced security in all regards.
- is that new laptop a standalone "workgroup" machine, or is it bound to
an Active Directory? Domain admin can deny some settings to local
administrators.
- did you install dBase from a CD or from an image? Vista has the
(wonderful!!!) capability to decide from which source a file is coming,
and can deny execution if it does not trust that source.
- did you turn off the DEP functionality already? This is a MUST already
since Windows Server 2003. dBase executes code in memorypages which are
meant for data only, a behaviour like many viruses would do, so the
standard setting in new OSs is to avoid that.
Did you already try to analyse which file it is dBase wants to open but
does not? Get a tool named "filemon.exe", for example
(I will demonstrate using this tool on our annual conference, by the way).
| |
| Melih Cavli 2007-11-16, 1:30 pm |
| "Lysander" wrote:
> Some additional thoughts:
> Vista has enhanced security in all regards.
> - is that new laptop a standalone "workgroup" machine, or is it bound to
> an Active Directory? Domain admin can deny some settings to local
> administrators.
It's just my new laptop.No other computers connected to this one, just a
standalone notebook.
> - did you install dBase from a CD or from an image? Vista has the
> (wonderful!!!) capability to decide from which source a file is coming,
> and can deny execution if it does not trust that source.
from my cd which I have burnt and which contains the dbase installation
files I've downloaded from dbase.com.
> - did you turn off the DEP functionality already? This is a MUST already
> since Windows Server 2003. dBase executes code in memorypages which are
> meant for data only, a behaviour like many viruses would do, so the
> standard setting in new OSs is to avoid that.
I have no idea what the DEP functionality is.
My old machine was using xp and I had no difficulties installing and running
dbase and since then, this is the first time I'm installing dbase plus..
> Did you already try to analyse which file it is dBase wants to open but
> does not? Get a tool named "filemon.exe", for example
dbase probably wants to open "the file" what it usually opens when it runs.
I think by default it tries to load the dQuery entrance page , but I doubt
that avoiding to select "open dQuery at sartup" would solve my problem.
Thx for your help though,
Melih
| |
| Lysander 2007-11-16, 1:30 pm |
| Melih Cavli schrieb:
> from my cd which I have burnt and which contains the dbase installation
> files I've downloaded from dbase.com.
if you have downloaded the files not with Firefox but with IE and maybe
you burned the CD with the XP onboard program for writing CDs, then
Vista will definitely know that those files are from internet.
XP had this capability already, even if it was in poor condition.
This may be a reason for your problem as well is it might not.
> I have no idea what the DEP functionality is.
Data Execution Prevention.
To prevent an application from dynamically loading executable code into
restricted areas of RAM.
Unfortunately, dBase by design loads all executable code into datapages.
Other producers of vmruntimes (like Java JRE or .net) changed their
behaviour to comply with new security features, but dBI probably did not
become aware so far, that there _IS_ a problem at all
DEP MUST be turned off for dBase to execute. Otherwise only the starting
screen will be shown (but usually it will be closed automatically within
an instant...)
I am sitting at home right now, so I can not look where and how to turn
this off in Vista. In Win2003 you would have to go to the "enhanced" tab
of your machine settings (don't know the correct name in english
windows, try to rightclick on your computer-icon on the desktop...)
> dbase probably wants to open "the file" what it usually opens when it
runs.
> I think by default it tries to load the dQuery entrance page , but I
doubt
> that avoiding to select "open dQuery at sartup" would solve my problem.
This answer makes me think that you never have been using any
file-monitor. When you double-click on dBase to run, several 100 of file
access processes will be executed. You can guess, but never know which
ones are the problem. That's why a tool like filemon.exe is so helpful.
It shows ALL file access processes on your system.
| |
| Melih Cavli 2007-11-16, 1:30 pm |
| Now that I try to load dbase again,I have a new error message attached as a
jpg file.
| |
| Melih Cavli 2007-11-16, 1:30 pm |
| I"ve checked and saw that DEP is off.
Now that I try to load dbase plus,I have a new error message attached as a
jpg file:
| |
|
|
| Geoff Wass [dBVIPS] 2007-11-16, 1:30 pm |
| In article <GB5k09LIIHA.1588@news-server>, mcavli@melodreams.com says...
> I"ve checked and saw that DEP is off.
> Now that I try to load dbase plus,I have a new error message attached as a
> jpg file:
>
> [image/jpeg]
>
Melih,
I have no idea what is causing this, but if it were me I would try
uninstalling and installing once or twice more. If that doesn't work,
contact dBI Customer Service with this information.
--
Geoff Wass [dBVIPS]
Montréal, Québec, Canada
..|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
..|.|.| ---------------------------------------------------------- |.|.|.
..|.|.| IT Consultant http://Geoff_Wass.com |.|.|.
| |
| Melih Cavli 2007-11-16, 1:30 pm |
| I've turned DEP off and olso uninstalled and re-installed plus again and
again.Nothing has changed.
I think I should contact with dbi, thx again,Melih
| |
| Greg Hill 2007-11-16, 1:30 pm |
| I wanted to turn it completely off, so I did it in the BOOT.INI with the
following switch:
/NOEXECUTE=ALWAYSOFF Disables DEP.
The following line in the boot.ini has to be modified. Its at the end where
it says OptIn.
multi(0)disk(0)rdisk(0)partition(1)\WIND
OWS="Windows XP Media Center
Edition" /fastdetect /NoExecute=OptIn
----------------------
This option is only available on 32-bit versions of Windows when running on
processors supporting no-execute protection. It enables no-execute
protection (also known as Data Execution Protection - DEP), which results in
the Memory Manager marking pages containing data as no-execute so that they
cannot be executed as code. This can be useful for preventing malicious code
from exploiting buffer overflow bugs with unexpected program input in order
to execute arbitrary code. No-execute protection is always enabled on 64-bit
versions of Windows on processors that support no-execute protection. There
are several options you can specify with this switch:
../NOEXECUTE=OPTIN Enables DEP for core system images and those specified in
the DEP configuration dialog.
../NOEXECUTE=OPTOUT Enables DEP for all images except those specified in the
DEP configuration dialog.
../NOEXECUTE=ALWAYSON Enables DEP on all images.
../NOEXECUTE=ALWAYSOFF Disables DEP.
Greg Hill
| |
| Melih Cavli 2007-11-16, 1:30 pm |
| I did it, thx for your suggestions.It's working
now )))))))))))))))))))))))))))))
here is what I did:
1) dep is off.
2) uac is off.
3) Deleted the following lines in the manefest files
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
| |
| Marty Kay 2007-11-16, 1:30 pm |
| Lysander,
> To prevent an application from dynamically loading executable code into
> restricted areas of RAM.
> Unfortunately, dBase by design loads all executable code into datapages.
> Other producers of vmruntimes (like Java JRE or .net) changed their
> behaviour to comply with new security features, but dBI probably did not
> become aware so far, that there _IS_ a problem at all
This is incorrect.
dBASE does NOT load its executable code into datapages!
dBASE correctly tags its executable code pages as code as is needed
for correct behavior with DEP.
Unfortunately, some code in the Borland Language Driver is misbehaving
which is triggering the conflict with DEP.
Finishing the ADO functionality will make it easier to work around this
issue.
- Marty -
Martin Kay
dataBased Intelligence, Inc.
| |
| Lysander 2007-11-16, 1:30 pm |
| Marty Kay schrieb:
> This is incorrect.
> dBASE does NOT load its executable code into datapages!
Thanks for clarifying this.
But this is the first time I hear/read that.
Very good to know, because this will make things much better as soon as
there is an option to start without BDE.
|
|
|
|
|