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

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

Related

Getting Windows to detect IBM AS400 provider

I am trying to get a connection to work on my machine to an AS400 database as per this link.
I have confirmed that there is no firewall blocking the machine I am working on. I have confirmed that the connection info works on a different machine with a .UDL file. I have installed the requisite C++ runtime libraries onto the machine and confirmed it has the appropriate .NET framework (it has 4.7.2). When I try to run the UDL file with the same connection information, I get "Provider cannot be found. Ensure that the provider has been installed properly." As far as I can tell I did, but it is not detecting that?
Can someone help me understand how to get it set up so that the UDL file will indicate if the connection was successful or not? I'm not really sure what is at issue at this point.
edit: I got lucky on more searching and so on further inspection, I can see that it is not in the registry editor. Could that be the issue? How would I add it there properly so that it shows up as a Data Link so that I can configure it correctly?
go here to download and install access client solutions
after installing the base package, navigate in the install folder and find the Windows_Application folder. In that folder, double click on install_acs_64.js. That will install the ODBC drivers.
run the ODBC Data Source Adminstrator app on the windows PC. Click the Add button. Select the IBM i Access ODBC Driver. Make sure to click the Server tab and set the default schema and library list.
Once the ODBC driver is installed you can test the connection by opening Excel and use the Data tab to config a connection to the IBM i database.

XML for Analysis parser: The restriction version is not recognized by the server

TITLE: Query Designer
I've just started to teach myself SSAS. I am using SSDT 2015 with a 2012 database. I've created my first cube and I've been able to process and deploy the cube as well as view the metadata (measures and dimensions). I have also gone to properties and set the deployment server to version 11.0. I am also able to log into the analysis server via ssms. But I keep getting the following message when trying to execute a query. I've attached a screen shot of the error. From the message, it seems that that parser does not under stand the VERSION. What is interesting is that when I log on the to SSAS server and go to the cube, I am able to browse and query the cube with no problem. So it seems to be an issue with SSDT 2015
Query generation failed.
ADDITIONAL INFORMATION:
XML for Analysis parser: The restriction, VERSION, is not recognized by the server. (Microsoft SQL Server 2012 Analysis Services)
BUTTONS:
OK
I found the problem. I went back to basics and executed ##Version on the MSSQL server. I saw that only Service Pack 1 had been installed. So I downloaded SP 4 and installed it on the Sql Server. I refreshed the connection and then reprocessed the cube. I can now query the cube via SSDT.
I had same problem.
I deleted Encrypt = yes from my connection string than it worked.

how can I find out what ODBC error is causing a timeout

I am using the AdvancedInstaller program to build an installer, and it works on some Windows 2008 R2 servers and it doesn't on other servers running the same OS.
The ones that it works on have been recently built, the ones it doesn't have been around for some time and have had programs installed and uninstalled.
What happens is the user starts the install and they get an ODBC timeout error and the install stops.
I have verbose logging turned on for the AdvancedInstaller project and this is the error I am getting:
MSI (c) (A4:74) [10:37:48:995]: Invoking remote custom action. DLL: C:\Users\ADMINI~1.DOM\AppData\Local\Temp\3\MSICCB.tmp, Entrypoint: OnSqlFetch
Action ended 10:37:49: SqlQueryAction. Return value 3.
MSI (c) (A4:04) [10:37:49:073]: Doing action: FatalError
Action 10:37:49: FatalError.
Action start 10:37:49: FatalError.
Action ended 10:37:59: FatalError. Return value 1.
Is there some other logging options / file / registry / error report I can see that can tell me more about the ODBC timeout error that is happening?
Thanks
The log snippet you attached indicates the SQL queries you added from the SQL Scripts page were not executed successfully. This indeed can be a consequence of an ODBC timeout error.
Since it works on some machines most likely this is not an installer-configuration related issue.
You can try to test the connection parameters to make sure. The following thread shows how to do it outside the installer:
Simplest Way to Test ODBC on WIndows
You can even configure this from the Advanced Installer project so the built installer can perform the test at install time before actually connecting to the server. Here is how:
How to test SQL connection parameters?

How to modify a database command in Crystal Reports

Alright, so I've been working on this project for the past year and I've never understood this one issue in crystal reports. (I'm using the crystal reports that comes with Visual Studio 2008)
Let's say I want to modify a database field nested in the command.
I right-click the command field and choose the database expert option from the context menu.
I then right-click the command once again and choose the Modify option.
Here's where I always get stuck.. I enter the password (which is the same I use in the ConnectionString for my project) and click the finish button..
..only to be presented with the following error message, which translates to "ORA-12154: TNS:could not resolve the connect identifier specified"
After some searching around I found this article : http://scn.sap.com/thread/3291225
The answer to the same problem that I'm getting was :
You must install the Oracle Driver 64 if youe OS is 64 bits, and then install Oracle Driver 32 in the same home_oracle, this should be the home1. SAP just works with home1.
You must install the Oracle Client Administrator mode.
After that you must configure your ODBC driver to Oracle Home 1. Right now test if your ODBC connection is successful.
Your application should run in 32 bit mode.
Unfortunately I'm connected to this computer remotely and am not authorized to install / uninstall drivers and applications.
My question is, is there another way that I can solve this issue so I can change that one field to a string?
Thanks!
To the extent I see there are 2 problems in your question.
The error you getting is nothing related to the datatype of the field you want to change. The present error is because You are trying to access the database for that uou need to have oracle client and you should create a ODBC connection then you will be able to make connection and can view query in crystal report.
To the extent I am aware you can't change the dataatype of a database field using the command in Crystal Report, but what you can do is instead of going to command, You can create one formula in crystal report and cast the number to string using ToText
Let me know if you need further more information

Crystal Reports runtime for Visual Studio 2010 not working in Server 2008

Our web application used the old Crystal Reports XI Rel 2 activeX to render the reports called from classic ASP. We would like now to have it run alongside the new Crystal Reports 13 run time to render reports called from ASP.NET.
We installed the exe found in http://scn.sap.com/docs/DOC-7824 (support pack 3). On our dev machines (windows XP) everything went alright, and we were able to design and render reports in both technologies. We tried to deploy it today to a client's server (Windows Server 2008 64 bit) and it obviously didn't work.
If we first try to open the new report then the old one, they both fail, but with completely generic and therefore useless error messages ones like "Error while creating report". the new one is OK, but the old one fails with message "Invalid TLV record".
Inversely, if, after restarting iis, we first try to open an old report (CR XI R2 from classic ASP), it shows correctly, but the new one (CR 13) gives this error:
Retrieving the COM class factory for component with CLSID
{F734A321-8381-4FFD-A614-139E8906DC83} failed due to the following
error: 80000003 One or more arguments are invalid (Exception from
HRESULT: 0x80000003).
We tried to google this error; the only meaningful result was this thread but it didn't help us.
Thank you
EDIT: ok, the first error was simply that the .rpt files were being left out of the deployed folder. So it really boils down to an incompatibility of the CR runtimes, maybe?
EDIT 2: Yes, it is definitely it. We moved the new report in another virtual directory running under another application pool and now they both work, regardless of what is instantiated first. So is there any way we can gradually migrate our existing records, ie have a period where both run times coexist and are used by the same virtual directory?
I had this problem. As I had just installed CR 13 without a reboot, I thought I'd try a reboot of the server. After the reboot, the problem went away.
I have the same error - reboot didn´t help.
Installed SAP Crystal Reports runtime 13.0.0.99 on Win7 but got several errors registering components during installation - think that is the cause of the problem.
Downloaded and installed CR Runtime 13.0.21.2533 (32bit)
from
https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads
http://downloads.businessobjects.com/akdlm/crnetruntime/clickonce/CRRuntime_32bit_13_0_21.msi
That installed without errors but didn´t work either :-(

Resources