Sequence execution all containing similar dataflows to database results in 1 sequence getting errors, all have TransactionOption=Supported
I have 3 sequence Containers, all with TransactionOption = Supported. Each individual Sequence container contains a dataflow task that executes a script component to get data and write to output fields in table using OLE DB table Destination.
All three Script Component sets up the data for the tables and has a preexecute, here is part of code in script component
private System.String[] Transmissions;
/// <summary>
/// This method is called once, before rows begin to be processed in the data flow.
/// You can remove this method if you don't need to do anything here.
/// </summary>
public override void PreExecute()
base.PreExecute();
* Add your code here
this.Transmissions = this.ReadOnlyVariables["User::TransmissionData"].Value as System.String[];
public override void CreateNewOutputRows()
Add rows by calling the AddRow method on the member variable named "<Output Name>Buffer".
For example, call MyOutputBuffer.AddRow() if your output was named "MyOutput".
foreach (System.String Row in Transmissions)
try
System.Array ar = Row.Split(",".ToCharArray());
//System.Int32.Parse(ar.GetValue(0).ToString());
//System.DateTime.Parse(ar.GetValue(1).ToString());
//System.Decimal.Parse(ar.GetValue(2).ToString());
System.DateTime.Parse(ar.GetValue(0).ToString());
System.DateTime.Parse(ar.GetValue(1).ToString());
System.Int32.Parse(ar.GetValue(3).ToString());
float.Parse(ar.GetValue(6).ToString());
OutputBuffer.AddRow();
OutputBuffer.StartDatetime = System.DateTime.Parse(ar.GetValue(0).ToString());
OutputBuffer.EndDateTime = System.DateTime.Parse(ar.GetValue(1).ToString());
When I just execute the first two sequence containers, everything works, data written to tables.
When I include the third sequence container, it throw an error like
Script Component has encountered an exception in user code:
Project name: SC_2c..........................
Object reference not set to an instance of object.
at ScriptMain.PreExecute()
at
Microsoft.SqlSever.Dts.Piperline.ScriptComponentHost.PreExecute()
Any ideas why when I include the third sequence/Script Component it fails? It looks like it failing in PreExecute
thanks in advance.
Greg Hanson
HI Arthur thanks for answer, yes i believe it is a timing issue because when I run each container individually it works. I need to keep each sequence container separate, I believe, since a Script task (in C#) that parses the text file feeds each container
separately. Each Sequence Container has "Transaction Supported" set. If I include 1 & 3, 2 & 3 it FAILS.
This is rough schematic of what I have. I thought of connecting the sequence containers, but that won't work as my Script Task that parses the file feeds separate into each sequence container:
Script Task - Parses file into 3 separate DTS variables all containing array of strings:
Transmission array of strings
Energy array of strings
Tag array of strings
Script Task feeds into 3 separate Containers:
Transmission container containing dataflow task that has Script Component that converts array to rows that uses oledb dest to load data into transmission table
Energy container containing separate dataflow task that has Script Component that converts array to rows that uses oledb dest to load data into Energy table
Tag container containing separate dataflow task that has Script Component that converts array to rows that uses oledb dest to load data into Tag table **** THIS FAILS
I have also just tried using 1 sequence container for all Data Flow tasks, and it still fails on the last Load to Tag table data flow getting
Script component has encountered an exception in user code:
Project name: SC_...
Object reference not set to an instance of object.
at ScriptMain.PreExecute()
at
Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.PreExecute()
YET WHEN I EXECUTE THIS CONTAINER SEPARATE IT WORKS.
When I set a breakpoint in preexecute in LoadDatainto Tag Table Script Component and hit break, it WORKS!
Please help this is due tomorrow!
Greg Hanson
Similar Messages
-
Capture Media and running Task Sequence gets error 0x80004005 and TSMBAutorun.log error
Hi All,
I've been stuck on this for a while now, trying to figure out why I am getting the following error in the
TSMBAutorun.log file
<![LOG[TSMBAutoRun started]LOG]!><time=13:0:0 date=0-1-1970 component="TSMBautorun" context="" type="1">
<![LOG[Unknown system architecture 0]LOG]!><time=13:0:0 date=0-1-1970 component="TSMBautorun" context="" type="1">
The Unknown System Architecture is strange, the only reason I think of getting it is that the Motherboard/BIOS is NCR not your normal HP etc..
The OS is Windows 7 x86 Pro of the domain nothing special on it, just trying to capture a image of it with SCCM 2012. Even tired a TS to capture it, but I disabled the Partition Disk, apply OS, as I just wanted the Capture part of it but got the same error
as above and same error in the log file.
Any ideas?Hi,
<![LOG[Network Access Account is not set]LOG]!><time="10:49:43.907-720" date="04-22-2014" component="TSMBootstrap" context="" type="2" thread="1012" file="tspolicy.h:179">
Open the SCCM console and navigate to this node: Administration>Overview>Site>OperationsSites. Right-click on the SCCM site in the right-hand pane, and select Software Distribution. Click on the
Network Access Account tab, and set the account you want to use.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
How to check similarity between two Databases 9i & 10g after imp in 10g
Dear all,
Source
=======
OS server ==> HP-UX
Oracle version ==> Oracle 9.2.0.8
DB Name ==> MSST
DB total users ==> 320
Full export in ==> /u02/export/Jan09.dmp
Tablespaces ==> SC, SC_I, SA, SA_I, PP, PP_I, AC, AC_I, SD
Destination
============
OS server ==> HP-UX
DB Name ==> CHDB
Existg DB users ==> 20
Oracle version ==> Oracle 10.2.0.4
copied 9i dump file in ==> /u03/export
Tablespaces created same as Oracle 9i i.e;
Tablespaces ==> SC, SC_I, SA, SA_I, PP, PP_I, AC, AC_I, SD
I had run full import on Destination server i.e; Oracle 10g & following is the command i used:
imp system/pwd@conn_string file=/u03/export/Jan09.dmp log=/u03/export/Jan09_imp.log full=y ignore=y statistics=none
*=== Imported successfully with few errors like ====*
IMP-00017: following statement failed with ORACLE error 2299:
"ALTER TABLE "EMP_PROMOTIONS_ORD" ADD CONSTRAINT "EMP_PROMOTIONS_ORD_UK" UN"
"IQUE ("EMP_NO", "RANK_NO_FOLLOW") USING INDEX PCTFREE 10 INITRANS 2 MAXTRAN"
"S 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "PP" "
"LOGGING ENABLE "
IMP-00003: ORACLE error 2299 encountered
ORA-02299: cannot validate (PP.EMP_PROMOTIONS_ORD_UK) - duplicate keys found
ORA-02299: cannot validate (PP.EMP_PROMOTIONS_ORD_UK) - duplicate keys found
. . importing table "EMP_PROMOTION_DETAILS" 13333 rows imported
. . importing table "EMP_PROMOTION_MAST" 725 rows imported
. . importing table "EMP_PUNISHMENT" 271 rows imported
. . importing table "EMP_REPORT_BOOKS" 60528 rows imported
. . importing table "EMP_SALARY_HISTORIES" 120871 rows imported
. . importing table "EMP_SALARY_HISTORIES_TEMP" 77044 rows imported
. . importing table "EMP_TRANSACTIONS" 96536 rows imported
IMP-00017: following statement failed with ORACLE error 2299:
"ALTER TABLE "EMP_TRANSACTIONS" ADD CONSTRAINT "TRANS_UK" UNIQUE ("EMP_NO","
" "DIR_NO", "DIR_DATE", "TRN_CODE") USING INDEX PCTFREE 10 INITRANS 2 MAXTRA"
"NS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "PP_"
"I" NOLOGGING ENABLE "
IMP-00003: ORACLE error 2299 encountered
ORA-02299: cannot validate (PP.TRANS_UK) - duplicate keys found
Now my question is
===================
How to check everything is same/similar like Oracle 9i database ( source ), for example ( i used this technique ):
Can anyone tell me how to check similarity between two Databases 9i & 10g after import in 10g.
MSST_DB>SHOW USER
MSST_DB>SA
MSST_DB>select object_type, count(*) from user_objects group by objects;
OBJECT_TYPE COUNT(*)
DATABASE LINK 2
FUNCTION 23
INDEX 1795
LOB 6
PACKAGE 8
PACKAGE BODY 8
PROCEDURE 30
SEQUENCE 67
SYNONYM 60
TABLE 644
TRIGGER 3
VIEW 20
CHDB_DB>SHOW USER
CHDB_DB>SA
CHDB_DB>select object_type, count(*) from user_objects group by objects;
OBJECT_TYPE COUNT(*)
INDEX 1794
PROCEDURE 30
TABLE 644
TRIGGER 3
VIEW 20
FUNCTION 23
SYNONYM 60
PACKAGE BODY 8
SEQUENCE 67
PACKAGE 8
LOB 6
Edited by: VIKHARAHMED on Jan 10, 2012 3:02 AM[url http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#sthref67]Guide.
-
Hello,
please help me to understand how the macros work. I am facing database inconsistency. The CRM-system retrieves a GUID of an opportunity’s item and checks its existence. However, this GUID (here it is es_info-ref_object) does not exist. As result, an exception is triggered.
I am trying to figure out which data base table is responsible for the inconsistent data. Instead of SELECT statement, I see in the debugger that a macro retrieves the “guilty” entry .
macro_execute macro_msg_data_read_rea.
My Question: How can I find a data base table containing a GUID, which is result of the macro’s execution?
Thanks a lot
AndrejWhen you save a PDF out of Distiller it doesn't just have different options, it's an entirely different program. It doesn't do things the same way, so it can't have the same options. Saving from Distiller is in many ways better, expecially in that transparency isn't flattened.
What specific options are you looking for? -
Discoverer 4i into 9i database which contains view into 10g database
Hello,
Would it work if I use Discoverer 4i into a 9i database which contains views to tables in 10g database? Thank you.Hi,
Yes, if you have a database link from your 9i database to your 10g database then you will be able to view data from the 10g database. If you SQL that will work in SQLplus then it will also work in Discoverer.
Rod West -
I have tried several different means of getting a controlling signal out of gl_flicker_vi. What I want is to pull the current iteration value out of the inner while loop, compare that to another value and if true, trigger the case structure that contains the Take measurements sub vi. I can get an indicator on the main vi to register the iteration values from the sub vi, but I can't use them to control the case structure. When I connected a reference to the control and then a property node within the sub vi, I alway end up with broken wires. Is there anything that I can do to
get values out of the sub vi that I can use for my purpose? Is there something that I don't know about using references and property nodes that I should at this point? Any help would be greatly appreciated.
Attachments:
GL_Flicker_mod.vi 88 KB
Take_Measurements.vi 147 KB
Pass_a_Reference.vi 69 KB1-Apparently, you didn't wire an input for your DigNum Refnum, the ref to the inner loop index. That's where your broken wire should connect.
2- Better now : you could create a global variable of the loop index, that you can read anywhere in LabVIEW.
3- Anyway, your vi will not behave the way you want, since your comparison node will be operated by LabVIEW before anything comming back from GL-Flicker. Use a loop there ?
I think that you are a overusing propertie nodes, and I believe that there is probably a better and simpler way of doing what you want here...
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left... -
Getting error while backing up SQL database using powershell
I am trying to backup SQL database but strange thing is taking lpace, few databases i can backup with powershell but few i am getting error
Exception calling "SqlBackup" with "1" argument(s): "Backup failed for Server
'Server1'. "
At C:\_Scripts\defaultbackup.ps1:40 char:1
+ $smoBackup.SqlBackup($server)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : FailedOperationException
$dbToBackup = "test"
#clear screen
cls
#load assemblies
#note need to load SqlServer.SmoExtended to use SMO backup in SQL Server 2008
#otherwise may get this error
#Cannot find type [Microsoft.SqlServer.Management.Smo.Backup]: make sure
#the assembly containing this type is loaded.
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoExtended") |
Out-Null
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.ConnectionInfo")
| Out-Null
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoEnum") | Out-
Null
#create a new server object
$server = New-Object ("Microsoft.SqlServer.Management.Smo.Server") "(local)"
$backupDirectory = $server.Settings.BackupDirectory
"Default Backup Directory: " + $backupDirectory
$db = $server.Databases[$dbToBackup]
$dbName = $db.Name
$timestamp = Get-Date -format yyyyMMddHHmmss
$smoBackup = New-Object ("Microsoft.SqlServer.Management.Smo.Backup")
#BackupActionType specifies the type of backup.
#Options are Database, Files, Log
#This belongs in Microsoft.SqlServer.SmoExtended assembly
$smoBackup.Action = "Database"
$smoBackup.BackupSetDescription = "Full Backup of " + $dbName
$smoBackup.BackupSetName = $dbName + " Backup"
$smoBackup.Database = $dbName
$smoBackup.MediaDescription = "Disk"
$smoBackup.Devices.AddDevice($backupDirectory + "\" + $dbName + "_" + $timestamp +
".bak",
"File")
$smoBackup.SqlBackup($server)
#let's confirm, let's list list all backup files
$directory = Get-ChildItem $backupDirectory
$smoBackup.Devices.AddDevice($backupDirectory + "\" + $dbName + "_" + $timestamp + ".bak", "File")
$smoBackup.SqlBackup($server)
#let's confirm, let's list list all backup files
$directory = Get-ChildItem $backupDirectory
#list only files that end in .bak, assuming this is your convention for all backup files
$backupFilesList = $directory | where {$_.extension -eq ".bak"}
$backupFilesList | Format-Table Name, LastWriteTime
$backupFilesList = $directory | where {$_.extension -eq ".bak"}
$backupFilesList | Format-Table Name, LastWriteTime
I read on internet that by using this in the script this problem can be sorted but i am
not sure where exactly to put this line in above script set the ConnectionContext.StatementTimeout to 0
Hi Srk,
I found the similar issue in this article, which had been sovled by adding the script below:
$server = New-Object ("Microsoft.SqlServer.Management.Smo.Server") $dbInstance
$server.ConnectionContext.StatementTimeout = 0
Refer to:
Exception calling "SqlBackup" with "1" argument(s)
Please feel free to let me know if this method can not work.
Best Regards,
Anna Wang -
Hi there
Patch Tuesday yesterday (10th June2014). As always we deploy new patches first to a test collection where Windows 7 updates automatically apply.
Upon trying to rebuild any of the machines in this test collection, we were presented with the following error message:
Failed to run task sequence. Error occurred while starting the task sequence (0x8007000E)
After searching about this, I found this page from Niall Brady, which explained the problem:
http://www.niallbrady.com/2013/05/17/after-selecting-a-task-sequence-in-configuration-manager-2012-sp1-you-receive-threadtoresolveandexecutetasksequence-failed-code0x8007000e-in-smsts-log/
So I removed some of the machines from the test Windows update collection, and as per the advice in the above link, the error was gone and those machines could be built successfully.
So the problem is there were too many many policies downloaded (apps, packages and most of all updates) for the task sequence ram to store, hence the error.
Now...
...I have a question.
The next logical step to my mind is to patch our OS image with all missing patches, so these do not have to be downloaded at build time. Niall mentions this as one of the resolutions to this issue.
However there seems to be some confusion over whether this would actually make a difference.
I read through this link:
http://social.technet.microsoft.com/Forums/en-US/7e597b44-2586-4063-b6d0-cec48a7c11c7/sccm-2012-task-sequence-failure-0x8007000e?forum=configmanagerosd
There's seems to be no consensus on this.
Is SCCM 2012 clever enough to - when the task sequence is first started - to download ONLY the updates (policies) it detects as NOT present in the OS image...
or
Will it simply try to download policies for ALL items deployed to it, whether the updates are present in the OS image or not?
I will be disappointed if SCCM 2012 SP1 CU2 isn't clever enough to only download policies at build time for the apps, packages and updates it detects as needed.
I'd be grateful for some clarity on this.
Regards,
John, Glasgow.Hi Jason
Thank you for replying, I appreciate it.
1) We currently have 15 or 16 software update groups for Office updates, dating back a month or two. The latest software update group contains all the patches in the previous software update groups plus the patches released on 10th June. Do you recommend
deleting all but the latest software update group?
2) I'm almost reluctant to ask this, but based on what you have advised, is it the case that when the task sequence executes, it will download policies for each update in each software update group regardless of whether it has already downloaded a policy
for an update in a previous software update group? So in effect it's downloading policies (for updates) it has already downloaded?
3) I'm not clear on why there would be no policy for an image; in Niall Brady's informative page on the 8007000E error, he writes the following:
"The reason it has run of space could be due to four possibilites: too many applications, too many Windows updates, too many Task Sequence steps, too many referenced packages'.
Can you shed some light on why there isn't a policy for an image?
Thanks again for replying,
John. -
I am having problems saving documents back to SharePoint when any of the document properties (metadata columns) are set to be "managed metadata". The check-in/save fails with error:
The document could not be saved. The server said:
“The operation failed because an unexpected error occurred. (Result code 0×80020005)”
Please ensure you have completed all required properties with the correct information and try again.
I have seen similar threads that suggest this is a known issue with this version of Acrobat but I would like conformation from Adobe that this is a known issue and whether it is fixed in a newer version?
Adobe Acrobat version 10.1.13
SharePoint 2010Hi quodd,,
We are sorry for the issue being faced by you. I need some information from you so that I take further steps:
1. Which Adobe product are you using Acrobat or Adobe reader- what is the complete version?
2. How are you opening and saving the PDF, the exact workflow?
Are you doing it from within Adobe Reader/Acrobat application or opening it from browser, doing changes and saving it using browser itself.
3. Can you try to save a PDF to library with Custom template and managed metadata columns using browser directly.
4. Please verify that columns name do not contain spaces or some other special characters.
Can you try to save PDF to library with Custom template and just a single managed metadata column with a simple name
Thanks,
Nikhil Gupta -
Database not starting,REDO log file error?
My DB was working fine uptill last evening, when i restarted it for some DB task it showed me an error ..
ORA-00333: redo log read error block 57346 count 8192
I studied the alert log file & related trace file .... but could not conclude what to do ?? Can any one suggest me what could be the solution...
ORACLE 10g R2
Windows 2003 Server
Database in NOARCHIVELOG mode.
I don't have the recent backup.The one i have is 20 days old.
Alert Log file contents : -
Wed Jun 02 20:22:19 2010
Aborting crash recovery due to error 333
Wed Jun 02 20:22:19 2010
Errors in file e:\oracle\product\10.2.0\admin\ora10g\udump\ora10g_ora_140.trc:
ORA-00333: redo log read error block 57346 count 8192
ORA-333 signalled during: ALTER DATABASE OPEN...
Wed Jun 02 20:37:15 2010
db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Wed Jun 02 20:43:53 2010
Shutting down instance: further logons disabled
Wed Jun 02 20:43:53 2010
Stopping background process CJQ0
Wed Jun 02 20:43:54 2010
Stopping background process MMNL
Wed Jun 02 20:43:55 2010
Stopping background process MMON
Wed Jun 02 20:43:56 2010
Shutting down instance (immediate)
License high water mark = 3
Wed Jun 02 20:43:56 2010
Stopping Job queue slave processes
Wed Jun 02 20:43:56 2010
Job queue slave processes stopped
Waiting for dispatcher 'D000' to shutdown
All dispatchers and shared servers shutdown
Wed Jun 02 20:43:58 2010
ALTER DATABASE CLOSE NORMAL
ORA-1109 signalled during: ALTER DATABASE CLOSE NORMAL...
Wed Jun 02 20:43:58 2010
ALTER DATABASE DISMOUNT
Completed: ALTER DATABASE DISMOUNT
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Trace file to read ora10g_ora_140.trc:-
Dump file e:\oracle\product\10.2.0\admin\ora10g\udump\ora10g_ora_140.trc
Wed Jun 02 20:22:18 2010
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Windows Server 2003 Version V5.2 Service Pack 1
CPU : 2 - type 586, 1 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:3527M/4094M, Ph+PgF:4386M/5973M, VA:800M/2047M
Instance name: ora10g
Redo thread mounted by this instance: 1
Oracle process number: 15
Windows thread id: 140, image: ORACLE.EXE (SHAD)
*** SERVICE NAME:() 2010-06-02 20:22:18.406
*** SESSION ID:(159.3) 2010-06-02 20:22:18.406
Successfully allocated 2 recovery slaves
Using 545 overflow buffers per recovery slave
Thread 1 checkpoint: logseq 14261, block 2, scn 86974094
cache-low rba: logseq 14260, block 4023
on-disk rba: logseq 14262, block 3758, scn 86978396
start recovery at logseq 14261, block 2, scn 86974094
ORA-00333: redo log read error block 57346 count 8192
ORA-00312: online log 2 thread 1: 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA10G\REDO02.LOG'
ORA-27070: async read/write failed
OSD-04016: Error queuing an asynchronous I/O request.
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-00333: redo log read error block 57346 count 8192
ORA-00312: online log 2 thread 1: 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORA10G\REDO02.LOG'
ORA-27091: unable to queue I/O
ORA-27070: async read/write failed
OSD-04006: ReadFile() failure, unable to read from file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-00333: redo log read error block 57346 count 8192
*** 2010-06-02 20:43:58.812
*** 2010-06-02 20:43:58.812 60680 kcrr.c
ARCH: Archival disabled due to shutdown: 1089
*** 2010-06-02 20:43:59.812 60680 kcrr.c
ARCH: Archival disabled due to shutdown: 1089Hi,Aman this(following) may is not good way for opening database,but OP can try and open own database:
@ DBA4 you will see from following example how you can open your database.In your online log files was corrupted,therefore you have to do following step by step then you database will open.
SQL> alter database clear unarchived logfile group 2;
alter database clear unarchived logfile group 2
ERROR at line 1:
ORA-01624: log 2 needed for crash recovery of instance p (thread 1)
ORA-00312: online log 2 thread 1:
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\P\REDO02.LOG'
SQL> alter database backup controlfile to trace as 'D:\oracle\product\10.2.0\ora
data\P\c.txt';
Database altered.
SQL> shutdown abort;
ORACLE instance shut down.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 125829120 bytes
Fixed Size 1288100 bytes
Variable Size 75499612 bytes
Database Buffers 41943040 bytes
Redo Buffers 7098368 bytes
SQL> CREATE CONTROLFILE REUSE DATABASE "P" RESETLOGS ARCHIVELOG
2 MAXLOGFILES 16
3 MAXLOGMEMBERS 3
4 MAXDATAFILES 100
5 MAXINSTANCES 8
6 MAXLOGHISTORY 292
7 LOGFILE
8 GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\P\REDO01.LOG' SIZE 50M,
9 GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\P\REDO02.LOG' SIZE 50M,
10 GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\P\REDO03.LOG' SIZE 50M
11 DATAFILE
12 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\P\SYSTEM01.DBF',
13 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\P\UNDOTBS01.DBF',
14 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\P\SYSAUX01.DBF',
15 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\P\USERS01.DBF',
16 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\P\TS_TEST.ORA',
17 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\P\TEST.ORA',
18 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\P\TEST1.ORA'
19 CHARACTER SET WE8MSWIN1252;
Control file created.
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\P\SYSTEM01.DBF'
SQL> recover database using backup controlfile until cancel;
ORA-00279: change 2032832 generated at 06/03/2010 12:42:29 needed for thread 1
ORA-00289: suggestion :
D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\P\ARCHIVELOG\2010_06_03\O1_MF_1_87_
%U_.ARC
ORA-00280: change 2032832 for thread 1 is in sequence #87
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cancel
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\P\SYSTEM01.DBF'
ORA-01112: media recovery not started
then add *_allow_resetlogs_corruption=true* in pfile then startup database with pfile as
SQL> startup mount pfile=D:\oracle\product\10.2.0\admin\P\pfile\init.ora.pr
ORACLE instance started.
Total System Global Area 125829120 bytes
Fixed Size 1288100 bytes
Variable Size 62916700 bytes
Database Buffers 54525952 bytes
Redo Buffers 7098368 bytes
Database mounted.
SQL> recover;
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
SQL> recover database using backup controlfile until cancel;
ORA-00279: change 2032832 generated at 06/03/2010 12:42:29 needed for thread 1
ORA-00289: suggestion :
D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\P\ARCHIVELOG\2010_06_03\O1_MF_1_87_
%U_.ARC
ORA-00280: change 2032832 for thread 1 is in sequence #87
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cancel
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\P\SYSTEM01.DBF'
ORA-01112: media recovery not started
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
Database altered.
SQL>finally remove allowresetlogs_corruption=true parameter from pfile. -
Having arranged some scanned pictures in an album in I-Photo how can I keep them in the order I have chosen when I move the album. They all have the scan date and not the taken date and move to new positions if I move them from one album to another.
Is there any way to re-number them in the order I have chosen so that they can then be sorted by number? The scans are all from pre-digital images that I wish to move to a photobook and I don't want to have to organise them twice!
Thanks for any suggestions.I was a bit short, Chris, sorry. It is limited, what can be posted, when typing on an iPad.
Now I am back on my Mac. I meant the following: Batch Change the date for a large range of photos, that should have a date stepped in increments.
Select all Photos at once and use the command "Photos > Batch Change".
Then set the date for the first photo and select an increment, e.g. one minute.
Now all photos will get a new date assigned, incremented by one minute, in the sequence you have selected. So you will be able to sort them by date. This way it will be unnecessary to change the titles or filenames. -
Database 'TEST' is already open and can only have one user at a time.
Hi all,
Could some help on this issue as per urgency!
Database 'TEST' is already open and can only have one user at a time.
I also tried this command but having the same error, please let me know how to troubleshoot this issue
Use Master
GO
Select * from master.sys.sysprocesses
Where spid > 50
And dbid=DB_ID (‘StuckDB’)) -- replace with your database name
ThanksHi Tony,
sorry got the same error again, it can't allow me sp_who2 as well
I tried above command got the following error
Changes
to the state or options of database ‘TEST’ cannot be made at this time. The database is in single-user mode, and a user is currently connected to it.Msg 5069, Level 16, State 1, -
Getting Error while enabling CDC on the database
Hi Experts,
I am trying to enable CDC on my database but i am getting error message like below, can anyone please suggest on this .
The server principal "XXXX." is not able to access the database "ABC" +under the current security context.
Could not update the metadata that indicates database XYZ is enabled for Change Data Capture. The failure occurred when executing the command 'sp_cdc_create_objects'. The error returned was 3616: 'An error was raised during trigger execution. The batch has
been aborted and the user transaction, if any, has been rolled back.'. Use the action and error to determine the cause of the failure and resubmit the request.
Thanks in Advance.
Niraj SevalkarHi Finally i got my answer, There is an DDL trigger which restricting me to enable CDC .....
And ABC is an auditing database?
Unless your DBA is evil and really don't want you to enable CDC, I think you should talk with and fix the bad trigger. You can refer him to this article for a proper solution:
http://www.sommarskog.se/grantperm.html
Erland Sommarskog, SQL Server MVP, [email protected]
Yes there was an trigger on the XYZ database which was references details in ABC database db so that was restricting me to do this. thank you for your article .... :)
Niraj Sevalkar -
Getting error while importing the Sequence
All,
I created a sequence in DB and using in ODI for row_wid col in DIM1.
I used seqname.NEXTVAL for the col in DIM, interfacing running fine, data also loading.
Dim, sequence is under Dev SCHEMA1.
But when i export the scenario and run in the test repository, i am getting error.
It is pointing to SCHEMA1.seqname.NEXTVAL. Not able to run the scenario. Ideally it should point to test schema.
i have created seq in test schema also with the same name?. Can any one help me to get ridoff this error?
thanks in advanceYou need to make sure that the relationship between your contexts logical schemas and physical schemas are set up consistently across the repositories so that the scenario can be run from either location.
-
Hello All,
We have scenario proxy->pi->webservice. In older versions of PI system they used wsrm adapter at receiver side and it's working fine.
Receiver interface is asynchronous. So no response structute is present and receiver service is business component(since receiver is a third party).
During migration, we have replaced the receiver adapter with SOAP adapter and used message protocol as SOAP 1.1 but the message is failing and in communication channel it is showing error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error". In this case the receiver interface is stateless xi 3.0 compatible(re using the old), after changing it to just stateless also issue persists.
In target url field if i prefix the url with "http" then above mentioned error is occurring otherwise if i use the hostname:port/path.. then it is giving error
"soap: Call failed: com.sap.aii.af.sdk.xi.srt.BubbleException: Unsupported protocol". So maintaing the url as http://hostname:port/pat.....
As in old channel wsrm channel there is no userid and password, i haven't given any userid/pwd in receiver channel.
used the bean sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean with parameters
Module Key = soap
Parameter Name = noSOAPMakeSysErrFromResponseFault
Parameter Value = false
and
xmbws.No SOAPIgnoreStatus = true
but not successful.
Please help me. I got stcuk here.Hello Jannus,
The connectivity is working fine. Network team has confirmed it. I doubt that any strucutre(header) difference might be present in message when sending with wsrm adapter compared to sending with soap adapter.
Please let me know the exact difference between soap and wsrm functionality in receiving end.
By considering the structure issue, i have checked the "do not use soap envelope" check box, then i got error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 415 Unsupported Media Type"
Then i used message transform bean, but not successful.
Regards,
Ch.Venkat.
Maybe you are looking for
-
Different file-formats in one column
I have a table with a column defined as a BLOB. In this column I have stored XML-documents, text-documents and also binary files like GIFs and JPGs. Now, I would like to index these columns, but of course I am only interested in the text of the "text
-
Can i install mountain lion on my macbook 2006, 2ghz intel core 2 duo, 2gb ram?
hi , is it possible to install mountain lion on my macbook from 2006, 2ghz intel core 2 duo and 2 gb ram in the moment i use 10.6.8 and i want to update for installing iwork09, wich requiered 10.7 or more. i need the new iwork, cause my old pages and
-
Macbook Pro issues, Randomly logs me out, takes several attempts to boot from sleep
Hi there, I bought my macbook pro (2013, I5) about 9 months ago. Recently I've been having issues where start-ups will take several attempts before I can finally load my desktop. Coming out of sleep, oftne times I can't move my mouse or type into the
-
I am filling out a pdf but the send button won't work. why?
I created a fillable PDF in Acrobat 9 pro and sent it out as a test to my email. I filled it out and pressed the send button but it does not work. I updated Adobe reader to version 10. Still nothing... anyone know what's wrong?
-
Hi there, after connecting my ipad to my mac and syncing, all apps on the ipad are gone. They're still in the section 'apps' of my itunes library but whenever I try to do INSTALL or drag one to one of the screens on the ipad, it appears there, but af