ORA-01034 : Error when the DB Server changed domains
I've just moved our Primary DB Server(Win2000 AS/ Oracle 8.1.7) from domain "V" to a new domain("X") I build for our developers. It is still the same user("V" domain administrator) logging in but now when people try to connect they get a ORA-01034 error. I've checked and all users are members of ORA_DBA. If I switch it back to the old domain("V"), the problem goes away.
P.S. V & X are a full trust relationship.
Hi,
I have executed catexp.sql but when I run the exp it produced the ff error:
Connected to: Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
About to export the entire database ...
. exporting tablespace definitions
. exporting profiles
. exporting user definitions
. exporting roles
. exporting resource costs
. exporting rollback segment definitions
. exporting database links
. exporting sequence numbers
. exporting directory aliases
. exporting context namespaces
. exporting foreign function library names
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions
. exporting system procedural objects and actions
. exporting pre-schema procedural objects and actions
EXP-00008: ORACLE error 21779 encountered
ORA-21779: duration not active
ORA-06512: at "SYS.DBMS_AW", line 106
ORA-06512: at "SYS.DBMS_AW", line 222
ORA-06512: at "SYS.DBMS_AW_EXP", line 264
ORA-06512: at line 1
EXP-00083: The previous problem occurred when calling SYS.DBMS_AW_EXP.schema_info_exp
. exporting cluster definitions
EXP-00056: ORACLE error 31600 encountered
ORA-31600: invalid input value EMIT_SCHEMA for parameter NAME in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 3926
ORA-06512: at "SYS.DBMS_METADATA_INT", line 4050
ORA-06512: at "SYS.DBMS_METADATA", line 836
ORA-06512: at line 1
EXP-00056: ORACLE error 31600 encountered
ORA-31600: invalid input value EMIT_SCHEMA for parameter NAME in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 3926
ORA-06512: at "SYS.DBMS_METADATA_INT", line 4050
ORA-06512: at "SYS.DBMS_METADATA", line 836
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully
Similar Messages
-
ORA-12699: error when connecting to server with FIPS enabled
Hi all,
I have a oracle client and server with FIPS enabled on them. When I use SQL Developer from the client, I can connect to the server and run queries on them.
I have an ADO based application, which I am trying to run on the client to query the oracle server, but the open database call seems to fail on this with the ORA-12699 error ..
Heres the connection string I am using ... "Provider=OraOLEDB.Oracle;Data Source=Test;User Id=scott;Password=tiger;"
Are there any other options to be added to the connection string string ?? any ideas / comments would be of great help ...
Note : I am using Oracle 11G ..
--sachiNaveen,
Forms 5.0 is not certified and not tested with Oracle DB 10g because it was desupported before 10g got released.
The other problem is hard to give a generic answer for and I suggest to address this to metalink.oracle.com
Frank -
Error: ORA-12505, error when i want to change database in webaccess.
Hello
I want to change the database for webaccess. I use a database in MS Sql Server now. for that I choose "Database Configuration Setup" from the Start menu,
Programs, Oracle - Primavera P6> Primavera P6 Web Access Utilities . I open this tool and in the 1st step I select Oracle in the 2nd step I entered the below informationusername and passsword: admuser
database name: pmdb (I create this database before and I tested that successfully in P6)
Database Host Address: *127.0.0.1*
Database Host Address: 1521 (I'm sure the port is 1521)
I didn't select SSL and Public Group ID set to 1
after i click on next one error returned that "ORA-12505, TNS:listener does not currently know of SID given in ..."
I added XE as SID before database name and correct database name to XE:PMDB. but I below error returned:
Error:Unable to resolve privileged username and password
Invalid connection string
format, a valid form at is: "host :port:sid"
Please verify the information you entered.wow, I found the solution.
you must set database name as XE
correct information are as below:
username and passsword: admuser
database name: XE
Database Host Address: *127.0.0.1*
Database Host Address: *1521*
then click next. -
ORA-03115 error when calling a Stored Procedure
Hi All,
I'm in the process of porting a Pro/C app from NT to Linux. I've installed 8.1.5 on our Linux box and patched it up to 8.1.5.02.
It all kind of works ok, except that I'm sometimes getting ORA-03115 errors when the app calls a stored procedure. The call in question looks like this:
EXEC SQL BEGIN DECLARE SECTION;
VARCHAR resprows[50][3998];
int numret = 0;
int numrows= 50;
int done= 0;
unsigned long resp_id = 0;
EXEC SQL END DECLARE SECTION;
EXEC SQL AT DB_NAME EXECUTE
BEGIN pkg_something.getdata(
:resp_id, /* IN */
:numrows, /* IN */
:done, /* OUT */
:resprows, /* OUT */
:numret /* OUT */
END;
END-EXEC;
The stored procedure basically uses the resp_id value to select rows from a table;
in each row there is a VARCHAR2(4000) column which it copies into the hostarray resprows.
There may be anything from 1 to numrows returned from the SP.
Initially, the resprows rows were defined to be size [4000]. Unfortunately, this caused ORA-02005 errors - I then changed the size to [3998], which seemed to fix the 02005's (although I'm unclear as to the reasons why).
Now I'm getting the 03115 errors when calling the SP. The oracle manual is not very helpful on what this error means.
This all works chipper on NT.
Any ideas?
Thanks in advance,
Nigel.
PS: The database the app is talking to is still hosted on NT.
nullHiston FTM wrote:
ORA-04063: package body "LAZARUS.LAZARUS" has errors Above, obviously conflicts with the statement that follows:
>
The procedure and package have both compiled without errors and the statement on its own works fine in SQL*Plus.I suggest you take a look in the USER_ERRORS view to see, what the errors are.
And just checking:
You have schema called LAZARUS, which holds a package named LAZARUS, which holds a procedure called POPULATEGRIDPOSITIONS?
Edited by: Toon Koppelaars on Oct 1, 2009 5:55 PM -
Ora 12154 error when trying to add a database to VS Server Explorer
Hi Everyone,
I get the Ora 12154 error when trying to add a database to VS Server Explorer.
How do I get around this problem.
The database service is running and I can connect to the database with pl/sql.
I can also tnsping the database and that is also ok.
Looks like a problem with the odp.net software.
I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
I am new to this stuff so please help me step by step.
Thanks.
EmadHi J. B.
I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
Anyway here is the VB coding I used. I'm new to this and still learning:
Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
Public Class Form1
' String to connect to the database.
Dim strConnectionString As String = _
"Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
' Associate the connection string with a connection object.
Dim objOracleConnection As New OracleConnection(strConnectionString)
' SQL query for returning data rows.
Dim strSqlQuery As String = _
"Select dname, deptno " & _
"From dept " & _
"Where deptno = 10" '
' Command object to make this query work.
Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' Identify what type of command is being used.
objOracleCommand.CommandType = CommandType.Text
Try
objOracleConnection.Open()
' Set up a Data Reader and load it with data.
Dim objOracleDataReader As OracleDataReader = _
objOracleCommand.ExecuteReader()
objOracleDataReader.Read()
' Convert the department number to a string.
lblDepartmentNumberFromOracle.Text = _
CStr(objOracleDataReader.Item("deptno"))
Catch ex As Exception
MessageBox.Show(ex.Message, "Error")
End Try
End Sub
End Class
I still want to thank you for the help you are providing.
Truly,
Emad -
i m using iphone 4s . when i try to set direction that time i get one error like the map server is not available . will you help me ?
how to help this problem..?Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode -
Just trying out my new mac but email won't load, error says "The mail server denied access to the account because an administrator or other mail client was using it when Mail tried to log in. Try again later." A little lock is beside the email inbox account, no password prompted and account is online and enabled... Thoughts?
Have you tried clicking on the lock to see it it will then ask for a passwored. Otherwise, try reblooting.
-
ORA-00054 error when loading Oracle table using Data Services
Hello,
we are facing ORA-00054 error when loading Oracle table using BO Data services
(Oracle 10g database, BODS Xi 3.2 SP3)
Test Job performs
1- truncate table
2- load table (tested in standard and bulk load modes)
Scenario when issue happens is:
1- Run loading Job
2- Job end in error for any Oracle data base error
3- When re-running the same Job, Job fails with following error
ORA-00054: resource busy and acquire with NOWAIT specified
It seems after first failure, Oracle session for loading the table stays active and locks the table.
To be able to rerun the Job, we are forced need to kill Oracle session manually to be able to run the Job again.
Expected behaviour would be : on error rollback modifications made on table and BODS stops Oracle session in a clean way.
Can somebody tell me / or point me to any BODS best practice about Oracle error handling to prevent such case?
Thanks in advance
Paul-Mariethe ora-0054 can occure depending how the job failed before. If this occures you will need the DBA to release the lock on the table in question
Or
AL_Engine.exe on The server it creates the Lock. Need to Kill Them. Or stop it..
This Problem Occurs when we select The Bulkloading Option in orclae We also faced the same issue,Our admin has Killed the session. Then everything alright. -
2032 error when connecting SQL server with Xcelsius
Hi,
Here are the short note about it
1)The dashboard is directly linked to database using aspx page
2)the data in the database refreshed using the aspx script.
3) we have a accordion menu and a 5 levels of filter and 10 charts
Problem Description
receiving 2032 error when the dashboard is kept idle for 5-10 min and if i select/change any option in the accordion menu or the filter i am receiving this error
Can anyone please help me out of this hell.Itu2019s a security error message. Open your swf file and click with mouse right Button. Follow:
Settings/ Privacy/ Advanced/ Global Security Settings Panel/ Add Location.
Add your server address.
After select location, click u201CCloseu201D button and restart swf file. -
ORA-04062 error when running forms with different users
ORA-04062 error when running forms with different users
I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
I wrote a stored procedure to get the data from other user's tables.
When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
My Forms version is 6i with Patch 15.
Database version is 9.
Here is my stored procedure:
TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
TYPE Open_Curs IS REF CURSOR;
PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
Curs Open_Curs;
i NUMBER;
BEGIN
OPEN Curs FOR
'SELECT Seq_No FROM '|| User_Name ||'.scenario';
i := 1;
LOOP
FETCH Curs INTO Scen_Table(i);
EXIT WHEN Curs%NOTFOUND;
i := i + 1;
END LOOP;
END Get_Senarios;
I would be happy to solve this problem. It's really important.
Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)I think it should be a better solution to create a package,
and put your own TYPES and procedure into it.
CREATE OR REPLACE PACKAGE PKG_XXX IS
TYPE TYP_TAB_CHAR IS TABLE OF .... ;
PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
END ;
Then in your Form :
Declare
var PKG_XXX.TYP_TAB_CHAR ;
Begin
PKG_XXX.P_XX( 'user_name', var ) ;
End ; -
"Not an executable or is a link" errors when starting Messaging Server
"Not an executable or is a link" errors when starting Messaging Server
<P>
If Calendar Server 3.x has been installed to the same server root
as Messaging server, it is possible that the command 'NscpMail start'
to restart the server will return a string of errors:
# /etc/NscpMail start
19971207145610:Dispatch:Notification:Local Module
(Account-Handler) is not a n executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Account-Manager) is not a n executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(AutoReply-Handler) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Configuration-Manager) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Error-Handler) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Mailbox-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Program-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(SMTP-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(SMTP-Router) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(UNIX-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(Finger-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(IMAP4-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(POP3-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(SMTP-Accept) is not an executable or is a link.
Module not loaded.
Startup Problem:
Module Error-Handler is required for proper operation.
Netscape Messaging Server Exiting!
The Calendar server 3.x installation may have changed the permissions
on [server-root]/bin directory from 755 to 750. Simply issue the
command (as root) 'chmod 755 [server-root]/bin' and then start
the server with the 'NscpMail start' command, and it should start
without a problem."Not an executable or is a link" errors when starting Messaging Server
<P>
If Calendar Server 3.x has been installed to the same server root
as Messaging server, it is possible that the command 'NscpMail start'
to restart the server will return a string of errors:
# /etc/NscpMail start
19971207145610:Dispatch:Notification:Local Module
(Account-Handler) is not a n executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Account-Manager) is not a n executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(AutoReply-Handler) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Configuration-Manager) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Error-Handler) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Mailbox-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(Program-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(SMTP-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(SMTP-Router) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Local Module
(UNIX-Deliver) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(Finger-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(IMAP4-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(POP3-Server) is not an executable or is a link.
Module not loaded.
19971207145610:Dispatch:Notification:Network Module
(SMTP-Accept) is not an executable or is a link.
Module not loaded.
Startup Problem:
Module Error-Handler is required for proper operation.
Netscape Messaging Server Exiting!
The Calendar server 3.x installation may have changed the permissions
on [server-root]/bin directory from 755 to 750. Simply issue the
command (as root) 'chmod 755 [server-root]/bin' and then start
the server with the 'NscpMail start' command, and it should start
without a problem. -
ORA-907 ERROR WHEN IMPORT (COMMENT 처리)
제품 : ORACLE SERVER
작성날짜 : 1997-10-15
ORA-907 ERROR WHEN IMPORT (COMMENT 처리)
========================================
ORA-907: missing right parenthesis error
이 error 는 export 한 table 을 create 시 comment 를 사용한 경우 발생하는 ORACLE error 이다.
이는 version 8.0.4 에서 fix 되었다.
이를 해결하기 위해서는 미리 table create script 를 돌려 temp_table 을
create 하십시오.
이 때 comment 를 모두 뺀 상태로 create 한다. 또는 /* */ 는 괜찮다.
이후 INSERT INTO temp_table select * from original_table ;
을 실행합니다.
즉 original_table 을 temp_table 로 copy 한 후
drop table original_table;
rename temp_table to original_table ;
을 한 후 table을 다시 export해서 다른 machine으로 import한다.
또 이 -- 를 없애는 방법으로 아래의 C program을 이용할 수 있다.
/* file name : cnvt_dmp.c
* This program is to covert double dash remark expression
* C language stype remark expression.
#include <stdio.h>
#define MAXWORDS 4
char s_reserve[4][100]={ "NOT NULL", "CONSTRAINTS",")",","};
int dash2remark();
void main(argc,argv)
int argc;
char *argv[];
FILE f_in, f_out;
int i,j,lreserve;
int chr1,chr2;
char str1[100],str2[100],str3[100];
if( argc != 3 ) {
printf(" usage : cnvt_dmp infile.dmp outfile.dmp \n");
exit(0);
if( (f_in = fopen(argv[1],"r")) == NULL ) {
printf("could't open the source file.: %s\n",argv[1]);
exit(0);
if( (f_out = fopen(argv[2],"w")) == NULL ) {
printf("대상화일을 생성할 수가 없습니다.\n");
exit(0);
j = i = 0;
while( (chr1 = fgetc(f_in)) != EOF && !ferror(f_in)) {
if( chr1 == 'D' ) {
str1[0]='D';
fputc(chr1, f_out) ;
for(i=1;i<7;i++) {
chr1 = fgetc(f_in);
str1[i] = chr1;
fputc(chr1, f_out) ;
str1[7] = 0;
strcpy( str2,"DEFAULT");
if ( strcmp( "DEFAULT",str1) == 0 ) {
lreserve = 0;
i =0;
while( (chr2 = fgetc(f_in))!= ','){
if ( chr2 == ')') break;
str2[i] = chr2;
if ( chr2 == '-' )
lreserve = 1;
i++;
str2[i] = chr2;
str2[i+1] = 0;
printf(" lreserv => %d, str2=>%s\n",lreserve,str2);
if (lreserve) {
dash2remark(f_in,f_out,str2);
else {
for( i=0;i<strlen(str2);i++) fputc(str2,f_out);
else {
fputc(chr1, f_out );
fclose(f_out);
fclose(f_in);
return;
int dash2remark( f_in,f_out,str)
FILE f_in,f_out;
char *str;
int i,j,start_pos=-1,end_pos=-1;
for( i=0; i < strlen(str); i++ ) {
if ( str[i] == '-') {
start_pos = i;
for( j =0 ; j < MAXWORDS; j++){
if (strncmp(s_reserve[j],str+i,strlen(s_reserve[j]))== 0){
end_pos = i;
if ( start_pos > 0 ) {
for(i=0;i< (start_pos-1); i++)
fputc( str[i],f_out);
fputc('/',f_out); fputc('*',f_out);
for(i =i+2;i<(end_pos-1);i++)
fputc(str[i],f_out);
fputc('*',f_out); fputc('/',f_out);fputc(' ',f_out);
for(i;i<strlen(str);i++)
fputc(str[i],f_out);
else {
for(i=0;i<strlen(str);i++)
fputc(str[i],f_out);
return(1);
이상입니다.Hi, i think that the problem is around the rollback segments.The solution is bring other rollback segments ONLINE state, if not exist others rollbackup,then you need create the other rollback segments and bring online state.
If you need more information, you will must see the next DOC-ID on Metalink site,
Note:121971.1
Luck.
Have a good day.
Regards. -
Getting error 462 - The remote server machine does not exist or is unavailable
I have several modules that read and write data to and from Excel 2010 worksheets. I am noticing that the Excel process does not end aven though Excel is not running on my PC. It is like an orphan process. If I try running the Access module again I get the
message "error 462 - The remote server machine does not exist or is unavailable". Here is the code I am running. When I click the Debug button on the message box the line "rowNum = objXLAppln.Range("A" & Rows.Count).End(xlUp).Row"
is highlighted.
Option Compare Database
Option Explicit
Function ImportImportanceScores()
Dim RecSet As DAO.Recordset
Dim objXLAppln As Excel.Application
Set objXLAppln = New Excel.Application
Dim objWBook As Excel.Workbook
Dim rowNum As Variant
Dim i As Integer
Dim j As Integer
Dim StrPathFile As String, strFile As String, strPath As String
Dim strBrowseMsg As String, strInitialDirectory As String, strFilter As String
'show dialogue box
strBrowseMsg = "Select the EXCEL file:"
'set directory to load files from
strInitialDirectory = "C:\Bridge_CIP_Part-A_B\"
'run strFilter function
strFilter = ahtAddFilterItem(strFilter, "Excel Files (*.xlsx)", "*.xlsx")
StrPathFile = ahtCommonFileOpenSave(InitialDir:=strInitialDirectory, _
Filter:=strFilter, OpenFile:=True, _
DialogTitle:=strBrowseMsg, _
Flags:=ahtOFN_HIDEREADONLY)
If StrPathFile = "" Then
MsgBox "No file was selected.", vbOK, "No Selection"
Exit Function
End If
'Set Excel application object. Critical for macro to run properly. Do not change.
'Open workbook and worksheet to load data.
With objXLAppln
Set objWBook = objXLAppln.Workbooks.Open(StrPathFile)
objXLAppln.Visible = True
End With
Set RecSet = CurrentDb.OpenRecordset("Importance_Scores")
'Copy data from Excel cells to Access fields
objXLAppln.Sheets("Importance_Scores").Select
rowNum = objXLAppln.Range("A" & Rows.Count).End(xlUp).Row
objXLAppln.Range("A6").Select
'Add records to table from Excel
With RecSet
For i = 0 To rowNum - 6
RecSet.AddNew
RecSet.Fields("CIP_ID").value = objXLAppln.ActiveCell.Offset(i, 0).value
RecSet.Fields("Target_Timeframe_for_Construction").value = objXLAppln.ActiveCell.Offset(i, 2).value
RecSet.Fields("ImportanceFactor_TI-1").value = objXLAppln.ActiveCell.Offset(i, 21).value
RecSet.Fields("ImportanceFactor_TI-2").value = objXLAppln.ActiveCell.Offset(i, 22).value
RecSet.Fields("ImportanceFactor_TI-3").value = objXLAppln.ActiveCell.Offset(i, 23).value
RecSet.Fields("ImportanceFactor_TI-4").value = objXLAppln.ActiveCell.Offset(i, 24).value
RecSet.Fields("ProjectRank").value = objXLAppln.ActiveCell.Offset(i, 33).value
RecSet.Update
Next i
End With
'Close everything
RecSet.Close
objWBook.Close SaveChanges:=False
objXLAppln.Quit
Set RecSet = Nothing
Set objWBook = Nothing
Set objXLAppln = Nothing
End FunctionIn the line
rowNum = objXLAppln.Range("A" & Rows.Count).End(xlUp).Row
Rows does not refer to objXLAppln or to objWBook. Change it to
rowNum = objXLAppln.Range("A" & objWBook.Sheets("Importance_Scores").Rows.Count).End(xlUp).Row
Regards, Hans Vogelaar (http://www.eileenslounge.com) -
Hello all,
I joined a test automation team in the middle of a large project and
inherited a huge set of VIs (over 700) and associated architecture for
this automation (not to mention the several thousand TestStand
sequences). Another part of the project is being developed by our
customer, who is using VB 6.0 to create ActiveX components which we
need to use in LabView to access their hardware. They've already
invested a large amount of time developing these ActiveX components,
and they are not finished -- meaning the ActiveX interfaces will be
changing. Every time they send updated ActiveX components, I have to
re-write many, many VIs including updating a couple strict typdefs.
This process takes way too much time and is mind-numbing and prone to
error or omission.
Unfortunately I can't post any of the VIs because of a NDA. But
perhaps a bit more detailed explanation would help. TestStand calls a
VI to open and get an ActiveX reference for automation (which it stores
in a variant). It will pass this reference into any VI it calls to
perform specific functions through this ActiveX interface. For
example, one VI that may be called passes this automation refnum into
another, which passes it to another, which passes it into another to
get the actual ActiveX reference stored in that variant (through a
Variant To Data call with a strict typedef of the ActiveX component
wired to the type input). [See the attached image of this sample VI
hierarchy: the far left icon would represent TestStand, and the far
right is the strict typedef.] Any of the VIs in the chain might use
ActiveX Property or Invoke nodes, and it can break at any one of those
when the ActiveX component changes. It's easy to fix each one, but
since there are so many VIs it takes a very long time.
Is there any way at all to do a massive search/replace or something to
make the ActiveX references update? I realise that even though
property or method names stay the same from one version to the next,
they are different references. Is there a way to update these based on
name if you give it the base ActiveX reference?
Thanks in advance for any help!
Tom Williams
Attachments:
hierarchy.GIF 6 KBBen,
Unfortunately I can't post any VIs that would demonstrate the problem
because the ActiveX components are confidential. I'll try to develop
my own ActiveX dll that will demonstrate it, but in the meantime, in
hopes that another picture will help, I've attached an image of a block
diagram (with some names changed to protect confidential information)
of one of the lower level VIs from the hierarchy I posted. In this
example, the "Automation Refnum IN" is an input with a type definition
linked to the strict typedef based on the ActiveX automation dll that
has changed. I updated that typedef, but as you can see the output to
the "Class1" indicator is broken. If I delete the "Class1" indicator
and select Create->Indicator from the Class1 property node, and then
wire the new "Class1" indicator to the connector pane, the VI is fixed
-- at least at compile time. In most cases there is also a runtime
problem where the reference obtained by one of the intermediate
property nodes is null, so the property or method node that uses it
fails (e.g. "_VNManager.Networks" property returned is 0, so the
"_Networks.Network1" property node fails). To fix this problem, I have
to delete the wires between the property nodes, and one by one select a
different property/method, then select the correct property/method and
re-wire. There seems to be a bit of "jiggling the handle" to get it to
work though.
I don't know if the ActiveX developer changed anything in this class,
but if he did, he didn't change the name of this class. I would like
to have to modify the VI only if a class, property or method has
changed name or been removed.
Does that all make sense? Thanks for any pointers or help!
Tom
Attachments:
Class1_Path.GIF 7 KB -
ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http
I am getting error message ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http PL/SQL package,
when browsed through some of the messages they point to setting Oracle Wallet Manager.
I am trying to connect
Any idea on how to resolve this issue ?
your input is appreciated.
Thanks
RaviDuplicate post ... please ignore.
Maybe you are looking for
-
Video Podcasts won't sync to iTouch with iTunes 9.0.1.8
There's obviously a bug in iTunes where some video podcasts (ESPN Mike & Mike, ESPN PTI Big Finish for example) do not sync. I get an error saying they are not copied to the iTouch because they cannot be played on this iPod - which is most likely not
-
Playing audio in an application
How does one play an audio (.wav) referenced by an URL in a java application? I remember reading somewhere that Applet has an static method doing this, but was unable to find it from the API. Thanks in advance
-
Setting up my new CalDigit raid, best way?
So my CalDigit S2VRDuo 500Gb raid arrived today and I was about to install it but something made me stop. I am in the middle of a large project that will last until November. At present I have about 250 individual clips (HDV really can be a pain some
-
Error while loading web client
We just got 10g appserver setup and I am able to login to Discoverer using 10gDS Discoverer Administrator and Discoverer Desktop (9.0.4.43.18). But when I go to the web URL and log in, the applet will not load. I am getting this error in both IE and
-
I have purchased a 4gb Transcend memory card for my nokia E63. I have data of around 3 GB. the card get corrupted wherever i acesss Images....thru gallery, and also whenever i acess music player. I have tried the same card with same data on Noki 531