Oracle 10.2.0.5 : sometimes found object invalid by itself - oracle

Sometimes I encountered an object invalid by itself without anyone alters anything on the associated objects on the Oracle 10.2.0.5.
Would anyone recommend what I could do?
PS: I already check the alert log and the trace file but have not found anything that relates to the issue.
Thank you

Related

Oracle: I'm getting 'ORA-12560: TNS:protocol adapter error' when I try to log onto Oracle

I am getting the ORA-12560: TNS:protocol adapter error when I try to log onto Oracle. Everyplace I have looked to fix this issue says I need to change something in Services.msc, but when I go there, I'm not finding any of the oracle services that I'm supposed to be changing.
I have found absolutely no fix for this issue and after several hours, I'm hoping you guys can maybe see what I'm doing wrong.
SQL Developer is just a query tool. The Oracle database is a separate product that you need to install

Oracle Connection Probelem: ORA-01034: ORA-27101

The oracle was working properly on the server but suddenly from 2 days ago I've not been able to connect it, unfortunately the server manager is not around for weeks and I am not familiar with oracle very much, I appreciate your help in advance.
The error:
An error was encountered performing the requested operation:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
01034. 00000 - "ORACLE not available"
*Cause: Oracle was not started up. Possible causes include the following
- The SGA requires more space than was allocated for it.
- The operating-system variable pointing to the instance is
improperly defined.
*Action: Refer to accompanying messages for possible causes and correct
the problem mentioned in the other messages.
If Oracle has been initialized, then on some operating systems,
verify that Oracle was linked correctly. See the platform
specific Oracle documentation.
Vendor code 1034
The database has been stopped deliberately or it has crashed. No way to tell without consulting the alert log and any trace files which might have been generated.
This is not the sort of thing which can be talked through on SO. It requires genuine expertise, If you haven't got a DBA or anybody with power user access to the server you're out of luck.
Does this database matter? I'm tempted to say "obviously not", because who would leave a critical business process untended for "weeks"? However, if you really need this database you'll have to tell your boss they'll have to spring for an emergency DBA.

VB6 user requested cancel of current operation Oracle error

I'm currently troubleshooting a VB6 application that sporadically comes up with the following error:
[Oracle][ODBC][Ora]ORA-01013: user requested cancel of current operation
All of the research I've done on this error states that it is either an actual request for cancellation by the user or a timeout. It can't be a request for cancellation because the input is coming in from an automated source, so it must be a timeout. One thing I read online was to un-check the query timeout checkbox in the DSN configuration box but my program uses a DSN-less connection to the database, which is an Oracle 10g database.
There are several queries in this program but it always fails on one query in particular, however I can't reproduce the error in a test environment using all of the same input to the program that caused the error in the first place.
A co-worker of mine suggested doing a rollback after each query even though the queries are read only because some kind of buffer might be getting filled up or something of the like, but this didn't work. At this point I don't even know how to continue troubleshooting it because I can't reproduce the error. If someone could give me any idea of what is going on and how to fix the problem I'd greatly appreciate it. Thanks in advance!
All of the options that you can choose when setting up a DSN can be specified in the connection string if you are using a DSN-less connection. If you want to disable query timeouts, you would add
QTO=F
to the connection string. So your new connection string would be something like
DRIVER={Oracle ODBC Driver};UID=Kotzwinkle;PWD=whatever;DBQ=instl_alias;QTO=F;

Oracle ODP.NET BulkCopy to temporary table issue

I'm using BulkCopy method from ODP.NET to insert a DataTable to a temporary table.
If the temporary table is simple (no triggers or indexes) it works, fine, but as soon as I create an index or trigger, i get the "End-of-file on communication channel" error at BulkCopy.WriteToServer() method.
Any idea how could i fix this?
Thank you!
In case of an ORA-03113: end-of-file on communication channel, the server process dedicated to your session died because of a bug or error. The client process detects that the server process is missing and raises the ORA-03113. The server process has written its error message to the alert file. Check this file on the server to find out what went wrong. You may have to ask your DBA to do this for you.
Regards,
Rob.
I concur with the posters above. Check your alert log file. If you see an ORA-600 there, you (or your DBA) should contact Oracle support because you may need a patch.
Christian Shay
Oracle
Temporary tables in Oracle are almost always a bad idea. Can you re-design the program to use either a regular table or a PL/SQL collection?
I've contacted Oracle about this. Apparently it's a bug, that was fixed in 11g. They're now trying to release a patch

Connect to an Oracle database with SQL Server 2000 Reporting Services?

I am trying to create a report in SSRS2000 that will query an ORACLE database and pass one parameter, I am getting the following error message:
ORA-01036: illegal variable name/number
But have been unable to find much help elsewhere on the web with this error code
I was hoping that this would be fairly simple to do, does anyone have any idea how to accomplish this task?
You'll have to accept some Answer in order to show this question as "Answered" and you can't accept your own, so it might as well be this one.
Guys, I Swear I'm not trolling for rep, I don't even know what the proper term for that is. But if I mark it as Wiki, I won't right? So I did.
It turns out that the parameter had to be named Parameter1 for this to work, and that the dba had to correct a connection issue!

Resources