Hello all,
I’m developing my systems on a local server and then, promoting them to a production cloud server. That cloud server does not have any of the development components such as Visual Studio with XSharp.
My understanding was that one only needs to promote the ‘Release’ folder but turns out that is not the case. I created a little test program that simply opens a DBF and indexes it. Works on my local server, but on the cloud server, it gets as far as opening the DBF, but when it then comes to creating the index, it fails until I install the dev environment.
Where am I going wrong?
Thanks.
Promoting system to production server - fail
Re: Promoting system to production server - fail
Hi Roland,
I think you have not copied the runtime files to the target folder on the target machine.
The X# installation installs them in the GAC, so you don't need them in your release folder, but they are still needed on a machine without X# installed.
Please see here for a list if needed files:
https://www.xsharp.eu/help/redistributing-x.html
Wolfgang
I think you have not copied the runtime files to the target folder on the target machine.
The X# installation installs them in the GAC, so you don't need them in your release folder, but they are still needed on a machine without X# installed.
Please see here for a list if needed files:
https://www.xsharp.eu/help/redistributing-x.html
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Re: Promoting system to production server - fail
Thanks for your prompt reply Wolfgang. I didn't realize need some of these other than the runtime's. I'll give them a try bit-by-bit. Is it suggested one installs the entire "Program Files>\XSharp\" folder instead?wriedmann wrote: Sat May 24, 2025 6:20 pm Hi Roland,
I think you have not copied the runtime files to the target folder on the target machine.
The X# installation installs them in the GAC, so you don't need them in your release folder, but they are still needed on a machine without X# installed.
Please see here for a list if needed files:
https://www.xsharp.eu/help/redistributing-x.html
Wolfgang
Re: Promoting system to production server - fail
Roland,
there is a folder "redist" for a reason. If you don't want to scratch your head, whether you missed a maybe needed dll, copy it's content to your cloud server. If space restricted, or feeling adventurous, study the listing in Wolfgang's posting and select as needed. Personally, i wouldn't bother, especially, as, following Murphy's law, in five months, when you'll enhance your app, needing one of the spared dlls, you certainly will have forgotten this thread and again scream at the monitor
there is a folder "redist" for a reason. If you don't want to scratch your head, whether you missed a maybe needed dll, copy it's content to your cloud server. If space restricted, or feeling adventurous, study the listing in Wolfgang's posting and select as needed. Personally, i wouldn't bother, especially, as, following Murphy's law, in five months, when you'll enhance your app, needing one of the spared dlls, you certainly will have forgotten this thread and again scream at the monitor
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Re: Promoting system to production server - fail
Hi Roland,
don't copy the XSharp folder from Program Files. First, I'm not sure if there are all files needed (as I wrote, the runtime files are copied to the GAC (a series of system folders), and second, you are not allowed to distribute the compiler itself and its accompagning files to machines outside your organization.
As Karl wrote, take the files from the Redist folder - but I'm pretty sure, you don't need all of them.
Wolfgang
don't copy the XSharp folder from Program Files. First, I'm not sure if there are all files needed (as I wrote, the runtime files are copied to the GAC (a series of system folders), and second, you are not allowed to distribute the compiler itself and its accompagning files to machines outside your organization.
As Karl wrote, take the files from the Redist folder - but I'm pretty sure, you don't need all of them.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it

