Unable to call script from SQL Developer - oracle-sqldeveloper

I am trying to call a script I have created from SQL developer like this.
#"Descargas\prueba.sql""
Unfortunately, it throws the below error:
Error que empieza en la línea 1 del comando:
#"Descargas\prueba.sql"
Informe de error:
No se ha podido abrir el archivo: "C:\Users\U358523\Descargas\prueba.sql"
The script is present in the directory, so not sure if I should replacing any of the characters for it to work.

instead of
#"Descargas\prueba.sql""
try
cd C:\wherever\your\file\is\descaras
#prueba.sql

Related

Configuration of Blazor wasm in VSCode

I make an app with blazor wasm in VSCode.
When I build my app I add the error below :
error CS0246: Le nom de type ou d'espace de noms 'MainLayout' est introuvable (vous manque-t-il une directive using ou une référence d'assembly ?) [...source\repos\WebApp3\Client\WebApp3.Client.csproj]
In program.cs the App.razor is not recognized :
enter image description here
The problem is probably due to the settings in the .csproj file.
Have you an idea ?

"Unable to get Terminal size" error in a perl script

I installed Visual Studio Code (Vrs 1.4.0) in my Windows 10 device.
I have a perl script that starts with this lines:
#!/usr/bin/perl
# OK, recuerda que comilla simple no interpreta los caracteres reservados.
# calcula apariciones de numeros para sorteos segun solicitud
$txt1 = "De que sorteo quieres calcular corazonada?\n";
...
When I try to run it, I receive this error:
Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call didn't work. The COLUMNS and LINES environment variables didn't work. at C:/Strawberry/perl/vendor/lib/Term/ReadLine/readline.pm line 410.
There are some other warning messages, but this is the error that stops the script.
How do I need to fix this?
The error message you quoted tells you one simple way to work around it:
set LINES=40
set COLUMNS=80
Reference: https://www.perlmonks.org/?node_id=1059438

Crystal Report / Sage X3 Custom Function

I use CR2013 with SAGE X3 V7. A former coworker created a custom function to format phone numbers. We use this function in a lot of reports. We are migrating Sage X3 to a new version in a new server. Reports have been moved to this new server.
But when we print a report using this function from the new X3 version, we have this error code
Message 1/3 : Erreur à l'ouverture du rapport: xxxxxxxxxx\ZARCCLIENT.rpt
- Message 2/3 : Echec du chargement du rapport
- Message 3/3 : Erreur dans le fichier ZARCCLIENT 6976_2964_{B35860BF-F698-4802-8025-B91607C6EBEF}.rpt :
Erreur dans la formule USR_Tel:
'if ({BPADDRESS_USR.TEL_0} <> "") then ZFormatTelephoneFax ({BPADDRESS_USR.TEL_0}, {TABCOUNTRY_USR.TELFMT_0})
'
L'UFL u212com.dll qui implémente cette fonction est manquante.
I Installed CR2013 on the new server.
I copied the u212com.dll from the old to the new server and I types the following command following this instructions : CrystalReports_QRCode_UFL
gacutil -i CRUFL_u212com.dll
Regasm u212com.dll
but I have these errors codes
Échec de l'ajout de l'assembly au cache : Le module était censé contenir un manifeste de l'assembly.
RegAsm : error RA0000 : Échec de chargement de 'C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\u212com.dll', car ce n'est pas un assembly .NET valide
When I open a crystal report and I go in the formula workshop, I can't see any functions in the report custom function, on the new and on the old server.
I can't access the repository custom function, i have no user and password. And I don't think I have a Central Management Server installed.
When i create a function, in the old server, I can find my custom function in Functions/Additionnals functions/UFL COM and Net (u212.com.dll) if it can help.
So how can I use this custom function on my new server?
How can I see the custom function code in Crystal reports?
Thank you for helping.
Maybe your u212com.dll is not .NET dll, but pure COM one? In that case you have to register it in cmd shell, using regsvr32:
regsvr32 u212com.dll
You need to run command prompt as administrator of course.

Command windows-7-x64 is not recognized

I would use this command with windows-7-x64 :
C:\Program Files (x86)\MyFolder compass create MyTheme
but windows return :
'C:\Program' n'est pas reconnu en tant que commande interne ou externe,
un programme exécutable ou un fichier de commandes
How to do ?
Thank you
compass create C:\Path\to\MyFolder\MyTheme
the first word is always the command that is being run followed by the parameters. 'compass' is being run and the rest are the parameters.
note: if you're not running the console from the folder that contains the compass executable you will need to add the folder to the Path environment variable.
you can view the documentation here that outlines the correct syntax of the command to create a project https://teamtreehouse.com/library/compass-basics/getting-started-with-compass/creating-a-compass-project

Validaterror when installing two modules

I want to add two other modules in my application. but when I try to install the modules Waherouse and purchase management, installation is not possible with this error
"
ValidateError
Une erreur est apparue lors de la validation du/des champ(s) vat: Ce code de TVA ne semble pas correct. Note: le format attendu est 'CC##' (CC=Country Code, ##=VAT Number)
"
The accounting module is already installed and the completed status
I need your help
Thank