If I try to run Delphi 7, I get this frightening message:
Borland license information was found, but it is not valid for Delphi.
You cannot run Delphi without this information. Click the exit button
to exit Delphi.
Delphi was running fine this morning, but choked when I tried to load the project I'm working on.
I reinstalled Delphi from the original disk - same message
I have just done a system restore from a few days ago - same message
I don't know why.
According to the archives of Chillibear, here is what you do:
Delete your registry.slm file from the .borland directory within your user's folder within documents and settings.
Run the D7Reg.exe file from within your Delphi7 Bin directory.
Follow the registration steps (you don't have to register now!)
All done. Open Delphi7 as normal.
Try to delete file documents and settings\.borland\registry.slm (of course backup at first) and rerun Delphi
Invalid Delphi license
Delete your registry.slm file from the .borland directory within your
user's folder within Documents and Settings.
Run the D7Reg.exe file from within your Delphi7 Bin directory.
Follow the registration steps (you don't have to register now!)
All done. Open Delphi7 as normal.
Using this 4 step program made my blood pressure drop to safe levels again.
Thank you very much.
You'll also encounter this similar error message when your C drive where C:\Documents and Settings\username\borland folder is located doesn't have enough disk space left to write to. You must free up as much disk space as you could or transfer some of files to another drive and the error message will simply vanish without a trace.
Contact their support. Go at www.embarcadero.com The last menu option is 'Services'. From there I'd would choose http://www.embarcadero.com/support
HTH
I had this problem after the recent update to W10. I found the slm file in C:\users\.borland and just renamed it (in case). I was then able to run D7Reg.exe - if you try it before deleting the slm file it doesnt accept your registration details!! I cancelled the program after it had accepted the details so that it didnt wipe all the 3rd party connections and Delphi7 now works fine. Thank you so much for this fix.
The same message problem but with a change of hard disk for a new(copy all the partition)
The solucion change the name of the unit, becouse any program work. But maybe happend if you install in other unit and the borland to start try to find in the other name of unit.
Try to run Delphi 7 in Windows XP compatibility mode
Related
I have been using Delphi 2010 for some time with no issues but recently every time I try to open a project I get a dialog box asking me to open the project
with a folder that doesn't exist. How do I change the path Delphi opens projects.
Assuming you are using Windows...(up to 10 anyway)
Right click on the project's DPR and choose Properties.
What does the Opens with: line say? Mine says bdsLauncher.exe
If it says anything else, then you somehow had the system change it directly or indirectly. Virus, installation of some other text editor, whatever...not a big deal in any case. Do the same check for files with extensions DPROJ, GROUPPROJ, ...
If you need to change it, the file should be in a path similar to my C:\Program Files (x86)\Embarcadero\Studio\21.0\bin except that your version isn't 21.0
I did have issues once upon a time with XE7 where I had to set DPR to open with bds.exe, and DPROJ opened fine with bdsLauncher, but it was probably due to IT's setup of my laptop for someone else, and something with the Win 10 software reset (instead of a format or restore from clone) when they gave it to me. Installing an XE7 update fixed the problem, and it hasn't been an issue since we moved to 10.4
I'm building an application using delphi 7 with ms access 2007 as the database for a client. it runs normally on my laptop (asus) but after I copy the whole project folder and run the Project.exe, it gives me an error "Disk write error".
I've tried googling about "disk write error delphi application" but only found about I/O errors. my application only opens a file after a button click in a form that is called when I click on a submenu, so I'm guessing it's not about I/O..
what is the solution?
thanks in advance
P.S.:
in the project options, the checkbox for building application using runtime packages is already unchecked.
my PC and my client's PC are both using windows 7 32bit (I haven't actually confirmed this with him but I'm guessing he's also using 32bit version because he's not a techy guy)
his PC doesn't have delphi installed
UPDATE :
I forgot that the exact error message was "Disk or network error" instead of "Disk write error".
after googling for the correct error message, I've found out that the problem is that I use a full path for the DataSource in the ADOs' connection string. after I change connection string into "DataSource=.\db\my_db.mdb", the application works perfectly.
even though this question has a negative mark, I'll just leave this solution here in case someone needs it in the future...
Here are some different questions.
The "Disk write error" probably is that you need permissions to write in the folder. A simple test is that you execute your application with "admin permissions" to test this.
Different question is the "using runtime packages" check in project options.
If you compile your application with this check, you need to copy the BPL's needed for your application with the executable.
If you compile with this option unchecked, your exe file include all the libraries for execute (not included DLL's or external dependencies).
Delphi 2007 sometimmes holds a handle to the EXE it's linker makes. Sometimes it works fine. But other times it's a whole day saying: "Cannot make EXE file" or something similar when trying to compile or build a solution.
When I try to launch EXE made from Delphi it says that another process is holding the file. Going to "unlocker" says: bds.exe. Even if I unlock it I must rename it to eg. app1.ex_ and copy it back to app1.exe. But still Delphi is holding the handle to that .ex_ file.
Needless to say it makes debugging (or even running) and developing quite slow: having to deal with locked exe...
Any suggestion? Workaroung or fix available - I've been looking for it but can seem to find it: I'm sure others have the same problems (I've seen it) - is there any fix for this?
env.: Win7 Ent. x64, Delphi CodeGear 2007
Thanks!
Going to "unlocker" says: bds.exe. Even if I unlock it I must rename
it to eg. app1.ex_ and copy it back to app1.exe. But still Delphi is
holding the handle to that .ex_ file.
Based on the fact that renaming file causes the BDS.exe to "hold the lock" of renamed file I seriously doubt the BDS.exe is actually the one that is holding the lock. If BDS would be holding the lock on that file you wouldn't even be able to rename it.
So I would seriously suspect that your AntiVirus software might be behind it.
I even remeber having similar difficulties years back using Delphi 7. The cause then was ma AntiVirus software (Nod32 version 2). First workaround I was unsing was to simply delete the application exe file prior compiling, but later I simply added entire Folder into the AV residental protection ignore list.
So try adding your project folder into ignore list and see if it solves the problem.
Hi someone created one application "ReqServ" using Code gear Delphi 2009 and C++ Builder 2009. This application returns chart images. This application is called through URL like "http:/ /machine_name/MONITOR/ReqServ.exe". Previously this application was working good and displays the charts in Internet Explorer.
But someone uninstalled the Code gear RAD application and other installed application from that machine.
Now when I am trying to access that URL its displying me "CGI application misbehaved by not returning a complete set of HTTP headers".
I searched on the internet and I found below link:
"http://edn.embarcadero.com/article/21574"
which tells that this error might be due to run time packages.
I opened the project(.bpr extenstion) in C++ Builder 2009 and found that "Build With Runtime packages" is checked.
Is there any way that without installing RAD 2009 or any other applcation I can make this "RegServ" run. I have backup of Code Gear folder from program Files. But I am confused where I can place these files now.
Or is there any other way to resolve this error? Thaks for help.
Are you able to run the exe file from a command prompt on the server? If so you should see the exact error that is returned (and in fact will make an incomplete set of HTTP headers).
If it says which file(s) it is missing, search them in the Program Files backup, and copy them to the %WINDIR%\SYSTEM32 folder. If it doesn't, it'll probably be the *.bpl files of which the EDN article mentions a few.
I installed Embarcadero RAD Studio (Delphi 2009). When the IDE ran for the first time, it downloaded updates and ran the MSI automatically. Accidentally I pressed cancel, instead of ok.
So I thought of reopening the studio so that it may check for updates. But this time it didnot happen !!
So, I used "Check for updates" from menu options. Surprising it gave me "RAD sudio is upto date".
What is the location of these downloaded update files on the system? Where do these files get saved after auto download?
Registered users can download the updates here:
http://cc.embarcadero.com/reg/delphi
You can also get a number of "freebies" there including the TMS Smooth Controls, the InfoPower Essentials, and Marco Cantus "Delphi 2009 Handbook" as a PDF.
In the following location
<\Documents and Settings\All Users\Application Data{65B1AA84-C1DF-4A2E-A28C-E242BD7DE4B3}>
there is a file InstalledUpdates.dat , open the file in notepad, and you can see the entries of updates installed.
Remove the entries from the file and save it.
Now click on "Check for updates". It brings up the screen giving available updates and then you can proceed further.
Note that updates screen asks to download again, but it doesnt download, as updates are already downloaded and on clicking next it proceeds to screen where it asks for install updates.
Thanks & Regards,
Pavan.
I had this problem also, you don't have to reinstall Delphi!
I can't remember the exact location, but you have to find were the update started downloading the update (I don't remember if it is on the Documents folder or the user folder) and execute the update manually.
Try searching for BDS, Codegear or RadStudio under you User's folder, I'm sure you will find the temp location, from there you can just execute the update and it will resume.
Another tip about Delphi updating that confused me for a while: When installing help update 2, I got kind of a popup under. Some question was asked (by the separate installer), but it wasn't modal, and switching to and from the IDE didn't bring it up.