Cognos Package Deployment - cognos-10

I am working on Cognos 10.2 and while working on Framework Manager I've successfully created a Data model using MS SQL Server, I deploy the package successfully but when I check the same on IBM Cognos Business Intelligence it does not show me anything inside the Package (No Data Source and No Query Object).
Requesting to help me.

You likely didn't include anything within the Package in Framework Manager.
Right click on package, choose "Edit Definition". You will see all of the layers of the model; ensure that the final (presentation) layer has a green check next to it and not a red X.

Related

Cognos 10 Framework manager crashes with 'BMTUI2' error. 'An error is at the origin of this program malfunction. Close the program'

After adding new data source from Cognos production (content manager administration) and testing succeeded, I added the new data source in framework manager as mentioned in your doc and as my other datasources that are available.
Upon testing the connection or using the new metadata model or if i created a new project, i receive the following error and Framework manager crashes with the following error.
BMTUI2 stopped working!
'An error is at the origin of this program malfunction. Close the program'
I tried to restart the server, using a complete shutdown, but nothing.
I verified the tnsname file on oracle client to make sure that the connection details are available .
I googled the error, and nothing related was found.
I posted a question on IBM forum and no reply in one week !
I verified all other datasource configurations and they are all similar.
N.B: The new datasource is an oracle datasource as my other datasources, and is located on the same database server.
Please help in resolving or understanding what this error means, or what can be done to resolve it.
I am using Framework manager v. 10.2.2
Here is what I found, hope it helps
https://www.cognoise.com/index.php?topic=4202.0
delete your csk, encryptkeypair and signkeypair folders.
Open your cognos configuration, save it again
Try to open cognos
or
control panel --> system --> advanced system settings --> performance
--> settings --> data execution prevention
turn on the Data Execution Prevention for essential windows programs and services only
OR
turn on DEP for all programs and services except those u select (here add bmt.exe)
Cognos 10 runs on a "windows server 2008 R2 standard" machine and works fine now

Is the OpenCPU public server still available? API specs appear to have changed

I am trying to update a R app on the OpenCPU public server (https://cloud.opencpu.org/).
With the new 2.2.0 OpenCPU release, all previous user payloads have apparently been wiped out (including mine).
The CI webhook is still up and running though. However, it systematically rejects the R package that I am trying to push through. Note that my app/CI used to work very well with previous OpenCPU versions. Error given is "server timeout".
Could not find any relevant info for this in the docs (OpenCPU help)
Is the public CI flow still available? Are other devs experiencing the same issue?
I can now confirm that the OpenCPU server is actually fully operational.
My web-app is now fixed. Works well. The problem was from my side.
Sharing here my findings, so it can be useful for others:
My custom R package was trying to import too many external packages. I trimmed down the imports list to the strict minimum.
I set my custom package lazyload flag to false
The CI webhook now processes any new push to the Github branch and the corresponding package gets rebuilt smoothly server side.

Entity Data Model Wizard Crash with Oracle Connection

I cannot get VS 2015 to create my EDMX file for an Oracle Connection.
I am using Visual Studio 2015 Update 3
I have installed the Oracle Developer Tools 12.1.0.2.4
I have installed Oracle Data Access and the following DLLs exist under \ client[user]\product\12.1.0\client\odp.net\bin
2.x\Oracle.DataAccess.dll version: 2.121.2.0 ODAC Release 4
4\Oracle.DataAccess.dll version: 4.121.2.0 ODAC Release 4
I am using the following assemblies
Oracle.ManagedDataAccess Version: 4.122.1.0
Oracle.ManagedDataAccess.EntityFramework Version: 6.122.1.0
* I believe both of these are version 12.2.1100 based on the folders in which they reside in the packages folder.
There are no connections defined in the Server Explorer
My steps are as follows:
Within the Solutions Explorer, Right click on project and select "Add" | "New Item..."
Select Data | ADO.NET Entity Data Model | Add
Select EF Designer from Database | Press Next
In the Entity Data Model Wizard:
Press New Connection... (I get an warning "Failed to find the default tnsnames.ora file." I ignore and press "OK"
With the Datasource as "Oracle Database (ODP.NET, Managed Driver)" I enter the credentials and specify the the other
connection parameters and press "Test Connection" which SUCCEEDS.
I press OK and am taken to the next page in the Entity Data Model Wizard
I include sensitive data in connection string and Press Next....
WIZARD SHUTS DOWN (crashes) - NO EDMX CREATED
Any assistance in helping me troubleshoot this would be greatly appreciated.
TIA - Xavier
Thanks to #Hong-vit pointing me in the right direction. I found the answer.
When you visit the download page for ODAC you're given a selection of version numbers.
In my case the top two were:
ODAC 12.2c Release 1 and Oracle Developer Tools for Visual Studio (12.2.0.1.0)
ODAC 12c Release 4 and Oracle Developer Tools for Visual Studio (12.1.0.2.4)
For me the top one wouldn't install. It would cut out during the installation process (thanks Oracle!) so I settled with the second one (12.1.0.2.4).
This meant that when I installed Oracle.ManagedDataAccess and Oracle.ManagedDataAccess.EntityFramework I had to select the correct version.
Not for me:
The one I needed
As you can see the version numbers (almost!) match up:
ODAC 12.2.0.1.0 = Oracle.ManagedDataAccess 12.2.1100
ODAC 12.1.0.2.4 = Oracle.ManagedDataAccess 12.1.24160719 (yay!)
I believe this is a failing on oracles behalf as it's not made clear despite their inclusion on a page long readme on which this doesn't feature. In additon the version numbers not quite being the same...but that's a rant for the blog.
I have the same bug. I fixed it successfully by follow this step:
On your project Right click -> Select Manage NuGet packages on Browse tab input oracle. You will see Oracle.ManagedDataAccess.EntityFramework. Select version of oracle you have installed. This should be 12.1.2400. Install it, you are done
I had the same issue - I hope I can help fellow Googlers having the unfortunate task of connecting Oracle and Visual Studio.
I followed the steps and still got crashes - because I was using VS2017 (I understand that the questions is tagged VS2015). You'll need to install the VS2017 ODAC Client. Thankfully, this one actually does something when you begin the installation. The installer in the link on the accepted answer will only work for VS2015.
The most recent version (as of this time of writing) of ODP.NET is 18.3, which can be installed through NuGet (Oracle.ManagedDataAccess.EntityFramework). Follow these steps on Oracle's website and you'll be setup.
...Or so you think. I got the same error as in this stack overflow question, where it won't go past the Entity Data Model Wizard.
I applied every configuration in the selected answer, but it still wouldn't work. When I downgraded my Oracle.ManagedDataAccess.EntityFramework from 18.3.0 to 12.2.1100, I could finally create my models!
I have had the same problem when I was trying to connect Oracle Entity Framework with Visual Studio 2017.
After install and unistall several times differents version. The build that better works for me is:
Oracle Developer Tools for Visual Studio 2017 (ODTv2017) v12.2.1200
Oracle.ManagedDataAccess v12.2.1100
Oracle.ManagedDataAccess.EntityFramework v12.2.20190115
EntityFramework .NET v6.3.0
I think that having similar versions in Oracle packages is very important for good performance.
It looks like someone here had similar issue: He add to change implementation somehow.
[in this ]case a View (valid and worked) caused the crashes. After changing the implementation without using that view it worked (more or less).
What I advise is you proceed step by step, only importing one object for the first time you test the wizard, then only simple table, then add procedures, views...

How to select specific element in Powerbuilder window using HP UFT

I am trying to record/automate an application developed in Sybase' Powerbuilder. I am currently using HP UFT v12.54.
Using the default recording process, the object spy is only seeing the area on my PB Window, not the specific field/dropdown. In short, I am unable to select a specific object in the window.
Please see the following image:
I am trying to select the Authorized Signatory field, but instead, UFT does not see the specific element, but the field area Customer Data instead. UFT just references the fields in the area by xy axis, not the specific object. Is this the default behaviour?
Additional info:
Application is developed in PowerBuilder v11.5
Any input would be appreciated.
if the first impediment is the modification of the application made in PB, then the next option would be to use a third application that supports applications made in PB. There is the TestComplete application that can do what you need. I leave you some information links.
http://testingbaires.com/testcomplete-automatizacion-de-testing/
https://smartbear.com/product/testcomplete/overview/
https://support.smartbear.com/testcomplete/docs/app-testing/desktop/power-builder/classic.html?q=powerbuilder#supported-powerbuilder-versions
I would personally modify the PB application by creating a module with the necessary battery of tests and running the study window with each and every case and applying an output report based on the needs, I understand that it would not be complicated.
The PowerBuilder's DataWindow control is a special custom-drawn control that cannot be accessed from outside of a PB application. It is internally managed and PB dynamically (re)uses the same windows edittext to get the input for one value at a time, while only drawing the rest of the data without using standard windows controls but a kind of canvas.
This is due to the initial portable design of PB (it used to be available for Solaris, MacOS and some other unices in the past) that implies a virtual machine like for Java (hence the pbvmxxx.dll for PB virtual machine).
I am afraid that from the outside, the only option to pilot a PB application would be to use sendkeys and mouse clicks, provided that the taborders are correct to access sequentially all the DW controls.
This is not the default behavior of UFT with power builder applications, you should either see a PBWindow Object or Proper Powerbuilder objects in the Object Spy.
According to the PAM, UFT 12.54 supports Powerbuilder 11.5+.
Below are the few things you can try
1) Make sure all of the latest patches are installed
2) Try to use record and run settings to open the power builder application. Once Record and run settings are set, click on record button and UFT will open the application. Then stop the recording, open object spy and check if its recognizing the objects after that.
3) Run UFT as admin. UFT needs the same privilege level as the application. So if you're application is running in higher privilege then UFT then UFT will not be able to recognize anything on the application.
If nothing works then you can open a ticket with HP, because powerbuilder 11.5 is supported by UFT 12.5.

Wakanda studio enters infinite loop when "file not found" error displayed

I have installed Wakanda Studio 11 build 11.195328 (and server) on my Macbook Pro/OSX El Capitan.
When i open the "School management" solution and try to display the onGet event code for a calculated attribute, i get an error window showing a message like:
The model.TimeTable.rec_type.onGet was not found
Clicking on the "OK" button does not close the window and I need to "Force Quit" Wakanda Studio to reopen it.
I think this is a bug, but i also would like to know if existing solutions need to be "migrated" to be compatible with the newest version of Wakanda.
I tested with School Management Solution and got the same error message when clicking the "+" icon next to rec_type attribute of Timetable class in model designer. But, I was able to close the dialog by clicking "OK". It did not go into infinite-loop.
School Management was written in WAK7 and it is compatible with Wakanda 11.195328. Meaning you can still deploy and run it in Wakanda studio and serve. The model API and structure however, have become deprecated. A brief introduction of model API and syntax can be found here.
School management is still fully functional in Wakanda 11. The only thing you need to do is add three users named: 'administrator', 'teacher', 'student' in Directory since the old directory is not supported anymore.
If you would like to continue development on School Management or solutions created from earlier versions, they will need to be migrated.

Resources