COGNOS 10.2.1 connecting to IMS by JDBC - cognos

When i tried to make a datastore connection from COGNOS BI 10.2.1 to IMS, I am getting the below error
" XQE-DS-0006 Unable to logon to the data source.
com.ibm.ims.dli.PSBCreationException: An error occurred accessing the PSB: com.ibm.ims.dli.DLIException: Unable to retrieve metadata information for Database (PSB), CORSEPSB, from the IMS Catalog.
An error occurred accessing the PSB: com.ibm.ims.dli.DLIException: Unable to retrieve metadata information for Database (PSB), CORSEPSB, from the IMS Catalog.
Unable to retrieve metadata information for Database (PSB), CORSEPSB, from the IMS Catalog.
com.ibm.ims.drda.base.DrdaException: The PSB resource, CORSEPSB, requested by the GUR is not found in the IMS Catalog. Verify that the correct IMS catalog is being accessed. AIB return code (AIBRETRN): 108 AIB reason code (AIBREASN): 344
The PSB resource, CORSEPSB, requested by the GUR is not found in the IMS Catalog. Verify that the correct IMS catalog is being accessed. AIB return code (AIBRETRN): 108 AIB reason code (AIBREASN): 344".
We have catalog in our IMSV13 environment.
I have generated the PSB, DBD, ACB members and these generated members are there in their respective libraries and even my DBD is in the catalog DB IMSV13.SDFSRESL.
Please guide me to solve the above issue.

The 0108/0344 return and reason codes that you received indicate that the PSB CORSEPSB is not in your catalog. There are two possible reasons why this is happening:
1. The information is not in the catalog
In addition to running the DBDGEN, PSBGEN and ACBGEN steps, you'll need to populate the IMS catalog from your ACBLIB. This can be done using the IMS catalog populate utility (DFS3PU00) or the combined ACBGEN/Populate utility (DFS3UACB). You can then validate that the resource is in the IMS catalog by querying the catalog database (DFSCD000) directly to see if it's in there.
2. The resource is not active
The other possibility is that CORSEPSB is in the IMS catalog however it hasn't been marked as active in your ACBLIB. When metadata lookup occurs, it retrieves the resource information in the IMS catalog that corresponds with what's running on your system which is based on the ACBLIB. To fix this issue, you would need to run an online change command. You can do either a member online change or a global online change.

Related

Acumatica REST API Error: Inter-Branch Transactions feature is disabled

We are using the REST API to create a Sales Order in Acumatica. For some customers we receive the below error message. Not sure why the API is complaining about “inter branch” as we target a single tenant and try to create a sales order for an existing customer under that tenant. (Not sure if branch means something else than “tenant” in this context)
I read the other post on the forum and tried to find the feature for enabling inter branch but that feature was not listed. Can someone please help with this?
Exception: An error occurred during processing of the field Allocated value False Inter-Branch Transactions feature is disabled.
PX.Data.PXOuterException: An error occurred during processing of the field Allocated value False Inter-Branch Transactions feature is disabled
We do not pass a field called “Allocated” and not sure why the API is complaining about it.
Below is a sample request we pass and it only happens for some customers and not all:
{"CustomerID":{"value":"C006089"},"Description":{"value":"Hinnershitz"},"Details":[{"InventoryID":{"value":"DESIGNER"},"LineDescription":{"value":"Kitchen - perimeter - Hampton (Pure White), Frameless, Birch Plywood, Dovetailed Wood\n"},"OrderQty":{"value":1},"UnitPrice":{"value":7105.059800000001}},{"InventoryID":{"value":"FUEL SURCHARGE"},"OrderQty":{"value":1},"UnitPrice":{"value":355.25299000000007}}]}
You must enable Inter-Branch transactions feature.

Azure SQL bacpac export fails after retirement of Azure Scheduler

After Azure Scheduler was retired in Jan 22 (See more here), I am unable to export azure SQL database to bacpac.
I get the following error:
Export bacpac: One or more unsupported elements were found in the schema used as part of a data package.
Error SQL71501: Error validating element [jobs_internal].[visible_targets_formatted]: SqlView: [jobs_internal].[visible_targets_formatted] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [jobs_internal].[database_credentials].[C], [jobs_internal].[database_credentials].[name] or [jobs_internal].[targets].[C].
Error SQL71501: Error validating element [jobs]: SqlSchema: [jobs] has an unresolved reference to object [##MS_JobAccount##].
Error SQL71501: Error validating element [jobs_internal]: SqlSchema: [jobs_internal] has an unresolved reference to object [##MS_JobAccount##].
What exactly do I need to drop from the database to fix this.
Creation of the bacpac is part of Azure Web App backup (when option to back the database up is selected)
I found a solution.
You have to drop all objects in [jobs] and jobs_internal schemas.
I did mine in the following order:
stored procedures,
functions,
views,
foreign keys,
tables,
custom types,
schemas,
and finally users.
After this was done, I was able to export bacpac and also perform a web application backup that included the database.

Azure .Net SDK Error : FsOpenStream failed with error 0x83090aa2

We are trying to download a file present in Data Lake Store. I have been following the below tutorial which uses .Net Azure SDk.
https://azure.microsoft.com/en-us/documentation/articles/data-lake-analytics-get-started-net-sdk/
As we have already the file present in Azure Data Lake Store , I just added the code to download the file
FileCreateOpenAndAppendResponse beginOpenResponse = _dataLakeStoreFileSystemClient.FileSystem.BeginOpen("/XXXX/XXXX/test.csv", DataLakeStoreAccountName, new FileOpenParameters());
FileOpenResponse openResponse = _dataLakeStoreFileSystemClient.FileSystem.Open(beginOpenResponse.Location);
But it's failing with the below error
{"RemoteException":{"exception":"RuntimeException","message":"FsOpenStream
failed with error 0x83090aa2 ().
[83271af3c3a14973ad7814e7d9d201f6]","javaClassName":"java.lang.RuntimeException"}}
While debugging we inspected the beginOpenResponse.Location that been used in the second line code. It seems to the correct value as below
https://XXXXXXXX.azuredatalakestore.net/webhdfs/v1/XXXX/XXX/test.csv?op=OPEN&api-version=2015-10-01-preview&read=true
The error does not provide much information to track down the problem.
I agree that the store errors are currently non-printable comment. We are working on improving this.
According to my store developer, 0x83090aa2 is access check failed. Can you please check if you have access to the storage account and/or the path is correct?

An error occurred while loading the model for the item or data source 'EntityDataSource'

I use SQL Server 2012 SP1 U8 and SharePoint 2013.
I confiugure Excel Service and Performance Point Service and PowerPivot Service and ...
I create an Excel File that fetch data from DataWare House in PowerPivot report.
I load this file in Documents in my Share Point Web Site.
When I click on my excel file in SharePoint, I get this Error :
An error occurred while loading the model for the item or data source
'EntityDataSource'. Verify that the connection information is correct
and that you have permissions to access the data source.
<detail><ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">
rsCannotRetrieveModel</ErrorCode><HttpStatus mlns=
"http://www.microsoft.com/sql/reportingservices">400</HttpStatus>
<Message xmlns="http://www.microsoft.com/sql/reportingservices">
An error occurred while loading the model for the item or data source
'EntityDataSource'. Verify that the connection information is correct and
that you have permissions to access the data source.</Message><HelpLink
xmlns="http://www.microsoft.com/sql/reportingservices">
http://go.microsoft.com/fwlink/?LinkId=20476&
EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&
EvtID=rsCannotRetrieveModel&ProdName=
Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3401.0
</HelpLink><ProductName xmlns="http://www.microsoft.com/sql/reportingservices">
Microsoft SQL Server Reporting Services</ProductName>
<ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">11.0.3401.0
</ProductVersion><ProductLocaleId xmlns
="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId>
<OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">
OsIndependent</OperatingSystem><CountryLocaleId
xmlns="http://www.microsoft.com/sql/reportingservices">
1033</CountryLocaleId><MoreInformationxmlns=
"http://www.microsoft.com/sql/reportingservices">
<Source>ReportingServicesLibrary</Source>
<Message msrs:ErrorCode="rsCannotRetrieveModel"
msrs:HelpLink="http://go.microsoft.com/fwlink/?
LinkId=20476&EvtSrc=
Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID
=rsCannotRetrieveModel&ProdName=
Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3401.0"
xmlns:msrs="http://www.microsoft.com/sql/reportingservices">An error occurred
while loading the model for the item or data source 'EntityDataSource'.
Verify that the connection information is correct and that you have
permissions to access the data source.</Message><MoreInformation>
<Source>Microsoft.ReportingServices.ProcessingCore</Source><Message
msrs:ErrorCode="rsErrorOpeningConnection" msrs:HelpLink=
"http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=
Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&
EvtID=rsErrorOpeningConnection&ProdName=
Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3401.0"
xmlns:msrs="http://www.microsoft.com/sql/reportingservices">
Cannot create a connection to data source 'EntityDataSource'.
</Message><MoreInformation><Source>
Microsoft.AnalysisServices.SPClient</Source><Message>
We cannot locate a server to load the workbook Data Model.</Message>
<MoreInformation><Source></Source><Message>
We cannot locate a server to load the workbook Data Model.</Message>
<MoreInformation><Source>Microsoft.Office.Excel.Server.WebServices
</Source><Message>We cannot locate a server to load the workbook Data Model.
</Message></MoreInformation></MoreInformation>
</MoreInformation></MoreInformation>
</MoreInformation>
<Warnings xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>
I see this Power View Fails to Connect link and do this answer but it not work for me?
and this Link PowerView Error: An error occurred while loading the model
Note : I can see all excel report that have not PowerPivot component.

How to re-enable Orchard CMS features without Dashboard or command line

I just disabled the Comments feature on my Orchard installation, not realising it was a dependency of Disqus, and now the entire site including admin dashboard fails with this error:
None of the constructors found with policy 'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper' on type 'Disqus.Comments.Services.DisqusCommentUpdateService' can be invoked with the available services and parameters: Constructor 'Void .ctor(Orchard.IOrchardServices, Disqus.Comments.Services.IDisqusMappingService, Orchard.Comments.Services.ICommentService)' parameter resolution failed at parameter 'Orchard.Comments.Services.ICommentService commentService'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Autofac.Core.DependencyResolutionException: None of the constructors found with policy 'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper' on type 'Disqus.Comments.Services.DisqusCommentUpdateService' can be invoked with the available services and parameters: Constructor 'Void .ctor(Orchard.IOrchardServices, Disqus.Comments.Services.IDisqusMappingService, Orchard.Comments.Services.ICommentService)' parameter resolution failed at parameter 'Orchard.Comments.Services.ICommentService commentService'.
The Orchard installation is running on a web host and I do not have access to the command line there. I have FTP access, and access to the MS SQL database. Is there any way I can re-enable the Comments feature without access to the command line or web admin interface?
There is a file, /orchard.web/app_data/cache.dat, which is an xml containing a list of which features are enabled.
The documentation warns that modifying it may have unpredictable results, so be warned: http://docs.orchardproject.net/Documentation/Developer-FAQ#What'sinApp_Data?
There is a table in the database called Settings_ShellFeatureStateRecord, which stores the state for each module's feature. I re-enabled Orchard.Comments on my local installation (using SQL Server Compact Edition) with the following SQL:
update Settings_ShellFeatureStateRecord
set InstallState = 'Up',
EnableState = 'Up'
where Name = 'Orchard.Comments'
Good luck!

Resources