Cannot navigate to package body because this spec has no body - oracle

I faced with the problem at Toad 11.6.1 I cannot open package body of Oracle database on Toad 11.6. So when I click button Toggle Spec/Body The following info was showing:
Cannot navigate to package body because this spec has no body
But when I connect to the same DB with with the same username with TOAD 10.1.1 everything is ok. It means that I have access to see the package and it's body. I have no idea what maybe the problem.

I assume the package isn't owned by the user you're connecting as?
If so, TOAD has an option to use DBA views which is NOT checked by default. Is it checked in your 11.6 version? if not, then unless you have DEBUG privilege on the package, you won't see the body.

Related

GRANTS - ORACLE - PLS-00302

I have a package that doesn´t compile, showing this error PLS-00302, pointing to a specific table I created.
Well, I have granted this table to public with grant option, to test.
I recompile the package, but yet its not working, with the same issue.
Does anybody have any suggestion?
Thanks!

Oracle Forms Global Exit in JNLP

I've the following problem:
I have an Oracle forms Application where the User can call multiple Forms.
I also have an Menu with an Logout button, that should close all open Forms.
When this button is pressed I set :GLOBAL.LOGOFF to 'TRUE'. And in WHEN_WINDOW_ACTIVATED I have placed the following code.
DEFAULT_VALUE('FALSE','GLOBAL.LOGOFF');
IF (:GLOBAL.LOGOFF = 'TRUE') THEN
COMMIT;
DO_KEY('EXIT_FORM');
END IF;
This whole thing also works when the Oracle Forms Application is called from a browser.
But when I call it via JNLP it crashes the application. I get the following errors:
FRM-40735: WHEN-FORM-NAVIGATE
FRM-40735: WHEN-NEW-ITEM-INSTANCE
FRM-40735: WHEN-WINDOW-DEACTIVATED
All with:
ORA-06508
I don't understand how the Forms Application is reacting differently depending on if it is executed via JNLP or from a Browser.
Although I question why you are doing logoff handling in a WHEN_WINDOW_ACTIVATED trigger, it is possible what you are seeing is related to a known issue. Refer to these Oracle bugs that all map together. You may need to work with Oracle Support as some of the bugs and/or their content may not be visible to you. 9764631, 22724515, 26996652
Also, if you are not already using 12.2.1.3, you will need to update your version in order to get the fix I mentioned.
Helpful resource:
https://community.oracle.com/community/development_tools/forms

What are possible reasons my SSRS report is throwing this error in the "Report Manager" view?

My report was working just fine a few days ago, and i don't recall changing anything..
But I'm now getting this error when I run the report in the "Report Manager" view.
An error has occurred during report processing. (rsProcessingAborted)
Query execution failed for dataset 'DataSet1'. (rsErrorExecutingCommand)
For more information about this error navigate to the report server on the local server machine, or enable remote errors
EDIT:
Ok so I did try the SPROC in SSMS like so:
exec prc_RPT_Quota_Info 17221
and it returns a proper result:
SurveyNumber ID HoursRemaining FieldHours FEDSurveyName FieldEndDate FieldBeginDate SurveyStatusName ProjectName ProjectManager ClientName
17221 16226 -2195.75 NULL j41881 - Burial Preferences Survey - States 2012-09-10 06:00:00.000 NULL Complete 41881 Gibbs & Soell - Burial Preferences Survey Peter Gallagher BCC Public Affairs & Policy
any tips
Plainly, Dataset1's query isn't working. Firstly, check that the Stored Procedure radio button is selected in the Dataset Properties.
Running SQL Profiler and seeing what SQL is hitting the server might help.
Given that you have copied the query into SQL Server Management Studio and it works, it sounds like a permissions issue - that is, running it in SSMS under your account works, but it isn't working when the Reorting Services server runs it under its account.
Check the permissions of the Stored Procedure to see if the SSRS server account has the right permissions to execute the stored proc.

Synonym returning ORA-00904 error

I'm at my wits' end with this error.
I have a view which uses a function contained in a package in another schema. I've created a synonym to said package, and on my local dev DB, the view compiles correctly. On the build server, the view gives compilation errors.
When I run the select of the view manually, Oracle throws an ORA-00904 error on the synonym in the query. I just can't understand why it works in one place and not the other. The code on both servers is identical, as it's coming from our source control repository.
As phlogratos suggested, it was a privileges issue. As the user didn't have execute permissions on the package in the separate schema, it was causing this error.
The underlying problem was an issue with our script that applies grants, but it's good to know that references like this without permissions fail in this manner.

Accessing NuGet functionality from behind a corporate firewall

When I right mouse click on the References folder in the Solution Explorer window and selecct "Add Package Reference Library", I get teh error
The package source named "NuGet official package source https://go.microsoft.com/fwlink/?LinkId=206669 is eiether invalid or not available and thus is unreachable"
When I use IE directly to access this URL, I am redirected to http://packages.nuget.org/v1/FeedService.svc/ and see an XML response.
I suspect that my company's security is preventing me from accessing this site. I'd like to request that they make an exception. What specifically should I request that would enable me to access it?
And similarly, I would like to access the Extnsion Manager functionality from within VS but I get a more vague "An error occured error" ..
This seems to be a known issue with NuGet. I've been getting the same error and I updated to the latest version of NuGet but still get the error when using the proxy, but everything works when the proxy is disabled. I'm not sure when they will have this resolved.

Resources