Using sqlldr to load CLOB data from DB2
I am stuck trying to resolve this problem. I am migrating data from DB2 to Oracle. I used DB2 export to extract the data specifying lobsinfile clause. This created all the CLOB data in one file. So a typical record has a column with a reference to the CLOB data. "OUTFILE.001.lob.0.2880/". where OUTFILE.001.lob is the name specified in the export command and 0 is the starting position in the file and 2880 is the length of the first CLOB.
When I try to load this data using sqlldr I'm getting a file not found.
The control file looks something like this:
clob_1 FILLER char(100),
"DETAILS" LOBFILE(clob_1) TERMINATED BY EOF,
I'm using Oracle 11gR2 and DB2 9.7.5
Your help is appreciated.
OK..here are additional details. Some names have changed but the idea is the same. Also the sqlldr is executing in the same directory as the data files and the control file
Primary data file is VOIPCACHE.dat Secondary datafile (file with lob data) is VOIPCACHE.001.lob
Control Fileload data
infile 'VOIPCACHE.dat'
badfile 'VOIPCACHE.bad'
discardfile 'VOIPCACHE.dsc'
replace into table VOIPCACHE
fields terminated by ',' optionally enclosed by '"' TRAILING NULLCOLS
(KEY1 "rtrim(:KEY1)",
FIELD8,
clob_1 FILLER char (100),
"DATA" LOBFILE(clob_1) TERMINATED BY EOF)
Snippet from Log file
IELD7 NEXT * , O(") CHARACTER
FIELD8 NEXT * , O(") CHARACTER
CLOB_1 NEXT 100 , O(") CHARACTER
(FILLER FIELD)
"DATA" DERIVED * EOF CHARACTER
Dynamic LOBFILE. Filename in field CLOB_1
SQL*Loader-502: unable to open data file 'VOIPCACHE.001.lob.0.0/' for field "DATA" table VOIPCACHE
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file 'VOIPCACHE.001.lob.0.47/' for field "DATA" table VOIPCACHE
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file 'VOIPCACHE.001.lob.47.47/' for field "DATA" table VOIPCACHE
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file 'VOIPCACHE.001.lob.94.58/' for field "DATA" table VOIPCACHE
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file 'VOIPCACHE.001.lob.152.58/' for field "DATA" table VOIPCACHE
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-502: unable to open data file 'VOIPCACHE.001.lob.210.206/' for field "DATA" table VOIPCACHE
This is repeated for each record
sqlldr command
sqlldr userid=${SCHEMA}/${PASSWD}@$ORACLE_SID control=${CTLDIR}/${tbl}.ctl log=${LOGDIR}/${tbl}.log direct=true errors=50
I dont think the variables are important here
-EC
Similar Messages
-
Using CRM_CIC_CTI_LOAD to load CTI Data from AMC
Can anyone point me to any documentation on how to use CRM_CIC_CTI_LOAD to load CTI statistics into CRM. We are using AMC as middleware to integrate an Cisco VOIP to CRM5.0. I am looking at ways to get the CTI data to BI7.0 and starting with the standard content for 0CRM_CTI1.
Any help is greatly appreciated.
Regards,
KBHello Kevin,
Have a look at these documents,
[mySAP Customer Relationship Management|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2910623-0c01-0010-de8f-d1926988a986]
[Interaction Center Statistics|http://help.sap.com/saphelp_crm40/helpdata/en/bf/87357d7a964cf79368f597cbfb36d1/content.htm]
[Customer Interaction Center in CRM |http://media.twango.com/m1/original/0078/3992b9c9d9264d5e833054013ec02cd9.pdf]
Thanks
Chandran -
Loading clob data/Migrating from Informix
Hi,
I wanted to understand a way to insert clob data into the database. I see that you have ways of retrieving and displaying the clobs/blobs in your demo programs. But, how do we go about inserting clob data into a column? And especially, How to accomplish this when the data is stored in the form of a file?
We're in the process of migrating from Informix to Oracle and Informix has this way of storing the clob contents into .EMB files. Moreover, there is no one-to-one correspondence between each clob column and an .EMB file. Informix just knows how to load them up when you use FILETOCLOB(). In similar lines, do we have a way to load clob data from files to start with. And would be glad to get some intricacies on achieving the migration of data from Informix database.
Please send me pointers to docs and procedures, if available.
Thanks for your time
Chandra M.You can see this sample:
/******* schema ********
create table city
(id integer ,
cimg blob DEFAULT NULL
#include <iostream>
#include <fstream>
#include <occi.h>
using namespace oracle::occi;
using namespace std;
#define BUFSIZE 8192
Environment *env;
Connection *conn;
int res=0;
unsigned int offsetw=1;
unsigned char readbuf[BUFSIZE];
main()
try {
env = Environment::createEnvironment();
conn = env->createConnection("scott","tiger");
catch(SQLException &x)
cout << "Error :" << x.what() <<"\n";
return 1;
try
ifstream infile ("bangalore.jpg", ios::binary);
if (!infile.is_open()) cout << "could not open bangalore.jpg\n";
else
Statement *stmt = conn->createStatement();
stmt->setSQL( "INSERT INTO city VALUES(1, EMPTY_BLOB())");
stmt->execute();
stmt->setSQL("SELECT cimg from city where id = 1");
stmt->execute();
ResultSet *rs= stmt->getResultSet();
rs->next();
Blob blob(conn);
blob = rs->getBlob(1);
blob.open();
do
infile.read((char *)readbuf,BUFSIZE);
res=infile.gcount();
if (!res) break;
blob.writeChunk(res,readbuf, BUFSIZE, offsetw);
offsetw+=res;
} while (1);
infile.close();
blob.close();
conn->commit();
catch(SQLException &x)
cout << "Error :" << x.what() <<"\n";
try{
env->terminateConnection(conn);
Environment::terminateEnvironment(env);
catch(SQLException &x)
cout << "Error :" << x.what() <<"\n";
} /* end of main */ -
Loading the data from a text file to a table using pl/sql
Hi Experts,
I want to load the data from a text (sample1.txt) file to a table using pl/sql
I have used the below pl/sql code
declare
f utl_file.file_type;
s varchar2(200);
c number := 0;
begin
f := utl_file.fopen('TRY','sample1.txt','R');
loop
utl_file.get_line(f,s);
insert into sampletable (a,b,c) values (s,s,s);
c := c + 1;
end loop;
exception
when NO_DATA_FOUND then
utl_file.fclose(f);
dbms_output.put_line('No. of rows inserted : ' || c);
end;
and my sample1.txt file looks like
1
2
3
The data is getting inserted, with below manner
select * from sampletable;
A B C
1 1 1
2 2 2
3 3 3
I want the data to get inserted as
A B C
1 2 3
The text file that I have is having three lines, and each line's first value should go to each column
Please help...
Thanksdeclare
f utl_file.file_type;
s1 varchar2(200);
s2 varchar2(200);
s3 varchar2(200);
c number := 0;
begin
f := utl_file.fopen('TRY','sample1.txt','R');
utl_file.get_line(f,s1);
utl_file.get_line(f,s2);
utl_file.get_line(f,s3);
insert into sampletable (a,b,c) values (s1,s2,s3);
c := c + 1;
utl_file.fclose(f);
exception
when NO_DATA_FOUND then
if utl_file.is_open(f) then utl_file.fclose(f); ens if;
dbms_output.put_line('No. of rows inserted : ' || c);
end;SY. -
How to Load Arabic Data from flat file using SQL Loader ?
Hi All,
We need to load Arabic data from an xls file to Oracle database, Request you to provide a very good note/step to achieve the same.
Below are the database parameters used
NLS_CHARACTERSET AR8ISO8859P6
nls_language american
DB version:-10g release 2
OS: rhel 5
Thanks in advance,
SatishTry to save your XLS file into CSV format and set either NLS_LANG to the right value or use SQL*Loader control file parameter CHARACTERSET.
See http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_control_file.htm#i1005287 -
How to load the data from excel file into table in oracle using UTL_FI
How to load the data from excel file into table in oracle
and from table to excel file
using UTL_FILE package
Please give me some exampleThis is something i tried in oracle apex
http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
Regards,
CKLP -
How to load master data from 2 source system without using 0logsys as compo
Hi Gurus,
I am working on a project which has 2 source systems.
Now I have to load master data from 2 source systems without making 0LOGSYS as compunding attribute. Because all the objects which i want to use compunding attribute are reference objects for lot of other info objects. So, i dont want to change the business content objects structure.
So, please help me out providing logic.
thanks in advance
Peter.Hi Peter,
Can you brief me how did you resolved your issue?
Regards
Utpal -
Using sqlldr to load XML files and the file name ? or access the file name
I can use sqlldr to load the XML files when I declare the target table of XMLTYPE, but I need to load the filename and a sequence also with the XML in a table so we can mark wether the file passed validation or not.
something like ....
Create table test1
lobfn varchar(200),
load_number number,
XML_COL XMLTYPE
--------------- here is my sqlldr command
sqlldr xml_user/xml_user load_test1.ctl
LOAD DATA
INFILE *
INTO TABLE test1
append
xmltype(XML_COL)
lobfn FILLER char TERMINATED by ',',
XML_COL LOBFILE(lobfn) TERMINATED BY EOF
BEGINDATA
filename1.xml
filename2.xml
filename64.xml
sqlldr comes back and says "commit point reached - logical record count 64
but when I select count(*) from test1; it returns 0 rows.
and when I
SELECT X.* FROM tst1 P2,
XMLTable ( '//XMLRoot//APPLICATION'
PASSING P2.XML_COL
COLUMNS
"LASTNAME" CHAR(31) PATH 'LASTNAME',
"FIRSTNAME" CHAR(31) PATH 'FIRSTNAME'
) AS X;
It tells me invalid identifier ,
Do I need to use a function to get the XML_COL as a object_value ???
But when I create the table like
create table test1 of XMLTYPE;
and use sqlldr it works, but I dont have the file name, or dont know how to access it ??
and I can use
SELECT X.* FROM tst1 P2,
XMLTable ( '//XMLRoot//APPLICATION'
PASSING P2.object_value
COLUMNS
"LASTNAME" CHAR(31) PATH 'LASTNAME',
"FIRSTNAME" CHAR(31) PATH 'FIRSTNAME'
) AS X;BTW
Here's a trivial example of what you appear to be trying to do..
C:\xdb\otn\sqlLoader>sqlplus scott/tiger @createTable
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Aug 2 22:08:10 2006
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> DROP TABLE TEST_TABLE
2 /
Table dropped.
SQL> CREATE TABLE TEST_TABLE
2 (
3 filename VARCHAR2(32),
4 file_content xmltype
5 )
6 /
Table created.
SQL> quit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
C:\xdb\otn\sqlLoader>type sqlldr.ctl
LOAD DATA
INFILE 'filelist.txt'
INTO TABLE TEST_TABLE
FIELDS TERMINATED BY ','
FILENAME CHAR(32),
FILE_CONTENT LOBFILE(FILENAME) TERMINATED BY EOF
C:\xdb\otn\sqlLoader>type filelist.txt
testcase1.xml
testcase2.xml
C:\xdb\otn\sqlLoader>type testcase1.xml
<foo/>
C:\xdb\otn\sqlLoader>type testcase1.xml
<foo/>
C:\xdb\otn\sqlLoader>sqlldr userid=SCOTT/TIGER control=sqlldr.ctl log=sqlldr.log -direct
SQL*Loader: Release 10.2.0.2.0 - Production on Wed Aug 2 22:08:11 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Load completed - logical record count 2.
C:\xdb\otn\sqlLoader>sqlplus scott/tiger
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Aug 2 22:08:18 2006
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> select * from TEST_TABLE
2 /
FILENAME
FILE_CONTENT
testcase1.xml
<foo/>
testcase2.xml
<baa/>
SQL>
If you are interested in the 11g beta program please contact me directory at
markDOTdrakeAToracleDOTcom -
I guess this is kind of a newbie question, so sorry in advance, but I can't figure this out from the documentation.
I would like to use SQLLDR to load a series of files (a.txt, b.txt, c.txt, for example) to a CLOB. I want one file per row as each one is a separate document. I want everything in the file loaded up until EOF, then I want to move on to the next file.
It sounds fairly simple, but so far I haven't been very successful. Could anyone post an example control file.
Thanks.Use DBMS_LOB.LoadFromFile to do this (files must be accesible from the Oracle server to do this).
Message was edited by:
Kamal Kishore -
I have hierarchy data in R/3 side how will i load that data from R/3 to BW
Hi all,
i have my hierarchy data in the R/3 side how will i load that data from R/3 to BW side
Regard
Kiran KumarHi Kiran,
Here is the procedure:
1. In the Data Warehousing Workbench under Modeling, select the InfoSource tree.
2. Select the InfoSource (with direct update) for the InfoObject, to which you want to load the hierarchy.
3. Choose Additional Functions® Create Transfer Rules from the context menu of the hierarchy table object for the InfoObject. The Assign Source System dialog box appears.
4. Select the source system from which the hierarchy is to be loaded. The InfoSource maintenance screen appears.
○ If the DataSource only supports the transfer method IDoc, then only the transfer structure is displayed (tab page DataSource/Transfer Structure).
○ If the DataSource also supports transfer method PSA, you can maintain the transfer rules (tab page Transfer Rules).
If it is possible and useful, we recommend that you use the transfer method PSA and set the indicator Expand Leaf Values and Node InfoObjects. You can then also load hierarchies with characteristics whose node name has a length >32.
5. Save your entries and go back. The InfoSource tree for the Data Warehousing Workbench is displayed.
6. Choose Create InfoPackage from the context menu (see Maintaining InfoPackages). The Create InfoPackage dialog box appears.
7. Enter the description for the InfoPackage. Select the DataSource (data element Hierarchies) that you require and confirm your entries.
8. On the Tab Page: Hierarchy Selection, select the hierarchy that you want to load into your BI system.
Specify if the hierarchy should be automatically activated after loading or be marked for activation.
Select an update method (Full Update, Insert Subtree, Update Subtree).
If you want to load a hierarchy from an external system with BAPI functionality, make BAPI-specific restrictions, if necessary.
9. If you want to load a hierarchy from a flat file, maintain the tab page: external data.
10. Maintain the tab page: processing.
11. Maintain the tab page: updating.
12. To schedule the InfoPackage, you have the following options:
○ (Manually) in the scheduler, see Scheduling InfoPackages
○ (Automatically) using a process chain (see Loading Hierarchies Using a Process Chain)
When you upload hierarchies, the system carries out a consistency check, making sure that the hierarchy structure is correct. Error messages are logged in the Monitor. You can get technical details about the error and how to correct it in the long text for the respective message.
For more info visit this help pages on SAP Help:
http://help.sap.com/saphelp_nw04s/helpdata/en/80/1a6729e07211d2acb80000e829fbfe/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/3d/320e3d89195c59e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6729e07211d2acb80000e829fbfe/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4dae0795-0501-0010-cc96-fe3a9e8959dc
Cheers,
Habeeb -
Regarding Loading the data from DSO to cube.
Hello Experts,
I have DSO which loads data from psa using 7.0 tranformation (using DTP). And i have a cube which loads the data from that DSO using 3.x transfer rules. Now i have deleted the init request for a infopack before load the data into DSO. But when i load the data from DSO to cube by right click on DSO -> click On Additional Functions -> update the 3.x data to targets, It is giving me an error like 'Delete init. request REQU_4H7UY4ZXAO72WR4GTUIW0XUKP before running init. again with same selection
Please help me with this.
i want to load the data in the init request to cube..
ThanksHi Shanthi,
Thanks For reply. I have already deleted the init request from source system to DSO and then i have tried still i am getting the error.
Thanks -
Loading Textual Data from HttpService Would Not Show Up on TextArea
Hi,
I have something fairly strange here that I have a little problem getting it to work. I am loading some data from XML and attempt to format it a little more on Actiosncript and print it out on the TextArea. For some reason, it would not show up, even though when I used Alert.show it does spit out the entire xml data set. Based on this, I know my data has been loaded correctly, but I am not sure why it is not showing up on my page.
Here is the code,
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:states>
<mx:State name="view">
<mx:RemoveChild target="{intro}"/>
<mx:AddChild relativeTo="{applicationcontrolbar1}" position="before">
<mx:TextArea editable="false" id="viewText" width="450" height="279" text="{messageInfo}"/>
</mx:AddChild>
</mx:State>
</mx:states>
<mx:Script>
<![CDATA[
import mx.events.ItemClickEvent;
import mx.controls.Alert;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
[Bindable]private var message:XMLList;
[Bindable]private var messageInfo:XMLList;
private var savedIndex:int = 99999;
private function clickHandler(event:ItemClickEvent):void {
if (event.index == savedIndex) {
//don't do a thing
else {
savedIndex = event.index;
navigateToURL(new URLRequest("../"+ event.item.data));
private function toggleButtonBar_itemClick(evt:ItemClickEvent):void {
currentState = evt.item.data;
if(evt.item.data == "view") view();
private function view():void{
currentState="view";
userView.send();
private function httpService_fault(evt:FaultEvent):void {
var title:String = evt.type + " (" + evt.fault.faultCode + ")";
var text:String = evt.fault.faultString;
Alert.show("There is an error! Type " + title + " " + text);
private function httpService_result(evt:ResultEvent):void {
messageInfo = XML(evt.result).messages.message;
Alert.show(messageInfo);
message = XML(evt.result);
var message_name:String = "";
var message_phone:String = "";
for each (var message:XML in messageInfo.messages.message) {
viewText.text += "Name " + messageInfo.name + "\n";
viewText.text += "Phone " + messageInfo.phone + "\n";
]]>
</mx:Script>
<mx:HTTPService id="userView" url="messages.xml" resultFormat="e4x"
fault="httpService_fault(event);" result="httpService_result(event)" />
<mx:PhoneNumberValidator id="pnVal" source="{your_phone}" property="text"/>
<mx:EmailValidator id="emailVal" source="{your_email}" property="text"/>
<mx:Array id="dp">
<mx:Object data="view" label="View"/>
</mx:Array>
<mx:Panel id="panel" title="My Home" height="70%">
<mx:TextArea id="intro" width="77%" height="100" borderStyle="none" paddingLeft="10" color="black">
<mx:htmlText><![CDATA[Welcome to my page.]]></mx:htmlText>
</mx:TextArea>
<mx:ApplicationControlBar id="applicationcontrolbar1">
<mx:ToggleButtonBar id="toggleButtonBar" color="#FFFFCC"
dataProvider="{dp}"
itemClick="toggleButtonBar_itemClick(event);" />
</mx:ApplicationControlBar>
</mx:Panel>
</mx:Application>
Note, there are other items in the array, but those are not relevant to the question of the topic here, and therefore I am not posting the code for those sections.
When I click on the View button, it does give me the correct state, but I get a blank box of textArea with no data when I know there is output from Alert.show in the view(). What have I missed?
Thanks for your help.Thanks for the pointer. As a matter of fact, I found out that it is because of my xml nodes messing up, and that the text was displayed as white for someb reason. With a white background, of course I would not see a thing.
Thanks again. -
Ever since iTunes 10.5.3 on my Windows 7 x64 box, I've been having serious problems keeping iTunes running:
1) Any time I connect my iPhone or iPad, or any time they attempt to sync over WiFi, I get the 'Unable to load class data from sync services' error. It's worth mention that the iPhone or iPad do actually then proceed to sync correctly, and all media / data is synchronized successfully, as far as I've been able to tell. I've reset sync history, restored the iPhone and iPad, manually moved the SyncServices directory, set both the iPhone and iPad up as new, completely uninstalled iTunes and the mobile device software, re-installed, and *nothing* I do fixes this issue or even seems to impact it. Uninstalling iTunes 10.5.3 and reinstalling iTunes 10.5.2 resolves this error.
2) iTunes 10.5.3 has serious crashing problems on my machine, though I've searched through forums and found a lot of other people with the problem. In my case, sporadically as iTunes access the iTunes store (for example, I can always make it happen by subscribing to the Diggnation podcast and telling it to refresh the podcast), I get a full application crash which generates the following event in the event log:
Faulting application name: iTunes.exe, version: 10.5.3.3, time stamp: 0x4f14cc3d
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319
Exception code: 0x80000003
Fault offset: 0x0001280c
Faulting process id: 0x564
Faulting application start time: 0x01cce78789dc009a
Faulting application path: D:\Program Files (x86)\iTunes\iTunes.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: ecc77400-537a-11e1-b809-00248c196007
Again, uninstalling iTunes 10.5.3 and re-installing iTunes 10.5.2 fixes this issue as well, but I really shouldn't have to do that. Is there any actual solution to these problems other than dowgrading to an older version?
Yes, I'm running current malware protection (and my system is clean) and yes, I've already checked any other obvious culprits to make sure I don't just have a corrupt library or file somewhere that's causing it. My Windows 7 install is completely up to date from a Windows Update perspective and also from a driver perspective (even including the motherboard and chipset drivers). I made sure to do a system file integrity check (sfc /scannow) and it confirmed my install of Windows isn't suspect, but beyond all that I was able to reproduce these failures on a completely separate machine running Windows 7 x64, without any of my media library or data on it -- iTunes 10.5.3 just seems to be bad news on Windows 7 x64 for me, even though I know there are definitely people are using it successfully. I don't get any other application crashes for any other applications, and I've never had an issue like this with any previous version of iTunes...
Last but not least, in case it matters, I'm running iOS 5.0.1 on both the iPhone4 and the iPad2. The iPhone4 is the GSM AT&T model and the iPad2 is the CDMA Verizon model.OK, I've given up. Uninstalled iTunes 10.5.3 permanently. It's a shame, 10.5.2 works perfectly but 10.5.3 is a complete and total cluster for me.
Anyone with the same problems who hasn't done this already, just uninstall iTunes and the Apple Mobile Device Service in your Add/Remove Programs, then re-install iTunes 10.5.2. You won't lose your library or any settings or apps, it will just go back to working again.
I wish Apple would acknowledge this so that I'd at least know it would be fixed in the future. -
Itunes was unable to load provider data from sync services. Reconnect or try later
Hi everyone
This issue has got me stumped.
I have a Dell Vostro desktop computer with Windows 7 SP1 64 bit edition.
I used to be able to sync now I cannot bakup or sync.
The device is an iphone 4s with the latest software IOS 5.1.
Itunes is version 10.6.0.40, the latest.
To try to fix this problem I removed itunes/quick time completely. Removed Bonjour, Apple Application Support, Apple Mobile Device Support, Apple Software Update,
Deleted the itunes and quick time folders, the common file folders and files, deleted anything related to able under appdata local and roaming, removed apple folder under program data, scanned through registry and removed all apple entries.
Then I rebooted the computer, re-installed itunes/quicktime and have the same error appear again.
I have gone through this process at least 5 times , but still keep getting the same error, cannot go past it.
I found a solution on this forum but it only applies to MACOS, could not find anything suitable for windows 7 environment.
Also searche the web high and low and tried several different advice from people.
This has to be a bug with Itunes! I would like to hear from Apple developers and programmers why I have to suffer so much to sync my device.
As a last resort I am planning to rebuild windows 7 from scratch but is is a big job.
Tried also to disable firewall, antivirus, check the apple windows services are running, nothing works to get me past this error.
Please help someone!
Thanks and regards
AlfredDid you have a look ath this (rather) long thread about it?
https://discussions.apple.com/message/17214161#17214161 , for example:
danielfromkongsvinger
Re: Unable to load provider data from Sync Services
16.12.2011 20:21 (in response to wisniak)
"I then followed a tip found in PCWorld and performed the following:
1. Make sure iTunes isn't running.
2. Click Start, type regedit, then press Enter.
3. Navigate to this Registry location: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
4. Look in the main pane for a key that refers to iTunes. If you find one, delete it, then exit the Registry.
5. Start iTunes. The offending message should be gone!"
This actually worked for me! I have struggeled with this error for years, and now it's gone. Thanks! -
Use LINQ to extract the data from a file...
Hi,
I have created a Subprocedure CreateEventList
which populates an EventsComboBox
with a current day's events (if any).
I need to store the events in a generic List communityEvents
which is a collection of
communityEvent
objects. This List needs to be created and assigned to the instance variable
communityEvents.
This method should call helper method ExtractData
which will use LINQ to extract the data from my file.
The specified day is the date selected on the calendar control. This method will be called from the CreateEventList.
This method should clear all data from List communityEvents.
A LINQ
query that creates CommunityEvent
objects should select the events scheduled for selected
day from the file. The selected events should be added to List
communityEvents.
See code below.
Thanks,
public class CommunityEvent
private int day;
public int Day
get
return day;
set
day = value;
private string time;
public string Time
get
return time;
set
time = value;
private decimal price;
public decimal Price
get
return price;
set
price = value;
private string name;
public string Name
get
return name;
set
name = value;
private string description;
public string Description
get
return description;
set
description = value;
private void eventComboBox_SelectedIndexChanged(object sender, EventArgs e)
if (eventComboBox.SelectedIndex == 0)
descriptionTextBox.Text = "2.30PM. Price 12.50. Take part in creating various types of Arts & Crafts at this fair.";
if (eventComboBox.SelectedIndex == 1)
descriptionTextBox.Text = "4.30PM. Price 00.00. Take part in cleaning the local Park.";
if (eventComboBox.SelectedIndex == 2)
descriptionTextBox.Text = "1.30PM. Price 10.00. Take part in selling goods.";
if (eventComboBox.SelectedIndex == 3)
descriptionTextBox.Text = "12.30PM. Price 10.00. Take part in a game of rounders in the local Park.";
if (eventComboBox.SelectedIndex == 4)
descriptionTextBox.Text = "11.30PM. Price 15.00. Take part in an Egg & Spoon Race in the local Park";
if (eventComboBox.SelectedIndex == 5)
descriptionTextBox.Text = "No Events today.";Any help here would be great.
Look, you have to make the file a XML file type -- Somefilename.xml.
http://www.xmlfiles.com/xml/xml_intro.asp
You can use NotePad XML to make the XML and save the text file.
http://support.microsoft.com/kb/296560
Or you can just use Notepad (standard), if you know the basics of how to create XML, which is just text data that can created and saved in a text file, which, represents data.
http://www.codeproject.com/Tips/522456/Reading-XML-using-LINQ
You can do a (select new CommunityEvent) just like the example is doing a
select new FileToWatch and load the XML data into the CommunityEvent properties.
So you need to learn how to make a manual XML textfile with XML data in it, and you need to learn how to use LINQ to read the XML. Linq is not going to work against some flat text file you created. There are plenty of examples out on Bing and Google
on how to use Linq-2-XML.
http://en.wikipedia.org/wiki/Language_Integrated_Query
<copied>
LINQ extends the language by the addition of query
expressions, which are akin to
SQL statements, and can be used to conveniently extract and process data from
arrays, enumerable
classes, XML documents,
relational databases, and third-party data sources. Other uses, which utilize query expressions as a general framework for readably composing arbitrary computations, include the construction of event handlers<sup class="reference" id="cite_ref-reactive_2-0">[2]</sup>
or
monadic parsers.<sup class="reference" id="cite_ref-parscomb_3-0">[3]</sup>
<end>
<sup class="reference" id="cite_ref-parscomb_3-0"></sup>
Maybe you are looking for
-
How to get the previous data?
Hi, I am monitoring a one moving point with coordinates (Xd,Yd). I want to get the two previous data so that I can calculate the point of origin as (Xo,Yo). I made a calculation that if i have three known points I will be able to get the point of ori
-
How do I share a custom PDF export setting?
I have a PDF export setting that I use for a specific printer in my shop and I want to provide it to a customer. I'm on a Mac running Maverick (OSX 10.9.4) Where does the setting file live and how does my customer install it? thanks
-
OModel Data and List BindItems message
I have an sap.m.List that I aggregate with data from an oModel. But I am coming back with this message that I see from SMP 2.3 logs because my List is empty; I've validated that the query is correct and does return data when I run this same query fr
-
Can u explain me how to work with OOPs ABAP
Hi, Can u explain me how to work with OOPS Abap, If possible pls send me some sample programs regarding OOps concept used in Realtime. Thanks.
-
How do I copy from ITUNES (30 gigs) to a flash drive (32 gigs). Help
How do I copy from ITUNES (30 gigs) on my Powerbook (OS X) to a flashdrive (32 gigs)?