Invalid file operation
i get this error when i try coping from a source directory which exist to a directory which does not exist.
instead of this stopping the loop i want to control it and log the source directory which does not exist in the destination
and continue the loop
how do i do this
this is my code below
UTL_FILE.fcopy ('Source ',
file_source_image,
'Destination',
file_source_image
invalid file operation
Hi,
Wrap the statement in its own BEGIN block, with its own EXCEPTION section:
LOOP
BEGIN
UTL_FILE.fcopy ( 'Source ',
file_source_image,
'Destination',
file_source_image
EXCEPTION
WHEN ...
-- Log error here
END;
-- Code here gets executed whether the fcopy worked or not
END LOOP;
Similar Messages
-
ORA-29283 invalid file operation
NLSRTL 10.2.0.5.0 Production
Oracle Database 10g Enterprise Edition 10.2.0.5.0 64bi
PL/SQL 10.2.0.5.0 Production
TNS for IBM/AIX RISC System/6000: 10.2.0.5.0 Productio
I am trying to get the content of a trace file generated for me.
Because I don't have privileges to log on the server and copy the trace file for me directly with some os user, I am doing the following:
1. I alter my session trace identifier to easier identify the trace file
ALTER SESSION SET TRACEFILE_IDENTIFIER = 'Func01';2. I invoke DBMS_MONITOR
3. I run the procedure I want to monitor.
4. I disable the monitoring by calling DBMS_MONITOR
5. At this point I run the following query to identify my trace file:
select u_dump.value || '/' || instance.value || '_ora_' || v$process.spid || nvl2(v$process.traceid, '_' || v$process.traceid, null ) || '.trc'"Trace File"
from V$PARAMETER u_dump
cross join V$PARAMETER instance
cross join V$PROCESS
join V$SESSION on v$process.addr = V$SESSION.paddr
where 1=1
and u_dump.name = 'user_dump_dest'
and instance.name = 'instance_name'
and V$SESSION.audsid=sys_context('userenv','sessionid');It gives me: /ORACLE/MYDB/trace/MYDB_ora_3616822_Func01.trc
I have created directory in advanced on the path where the traces are stored:
CREATE OR REPLACE DIRECTORY trace_dir AS '/ORACLE/MYDB/trace/';
SELECT * FROM dba_directories WHERE directory_name = 'TRACE_DIR';
Output:
OWNER DIRECTORY_NAME DIRECTORY_PATH
SYS TRACE_DIR /ORACLE/MYDB/trace/I don't have rights to grant read, write on TRACE_DIR to my user, as I am not logged with SYS.
I created a table to store in it the lines from the trace file:
CREATE TABLE tmp_traces_tab
callnum NUMBER,
line NUMBER,
fileline CLOB
);Then I run the following PL/SQL block to retrieve the content of the trace and store it in the table T:
DECLARE
l_file UTL_FILE.file_type;
l_location VARCHAR2 (100) := 'TRACE_DIR';
l_filename VARCHAR2 (255) := 'MYDB_ora_3616822_Func01.trc';
l_text VARCHAR2 (32767);
l_line NUMBER := 1;
l_call NUMBER := 1;
BEGIN
-- Open file.
l_file := UTL_FILE.fopen (l_location, l_filename, 'r', 32767);
-- Read and output first line.
UTL_FILE.get_line (l_file, l_text, 32767);
INSERT INTO tmp_traces_tab (callnum, line, fileline) VALUES (l_call, l_line, l_text);
l_line := l_line + 1;
BEGIN
LOOP
UTL_FILE.get_line (l_file, l_text, 32767);
INSERT INTO tmp_traces_tab (callnum, line, fileline) VALUES (l_call, l_line, l_text);
l_line := l_line + 1;
END LOOP;
EXCEPTION
WHEN NO_DATA_FOUND THEN
NULL;
END;
INSERT INTO tmp_traces_tab (callnum, line, fileline) VALUES (l_call, l_line, l_text);
l_line := l_line + 1;
UTL_FILE.fclose (l_file);
END;
/And when I run the code I get the error: ORA-29283 invalid file operation.
Is it possible to a role my user to be able to get the content of the trace files in the directory TRACE_DIR without having explicit READ , WRITE privileges on it?
My user currently has these roles:
select * from dba_role_privs where grantee = USER;
Output:
U1 OPR_ROLE_LOSS_SNAPSHOT_READER YES YES
U1 RESOURCE NO YES
U1 CONNECT NO YES
U1 DBA NO YES
U1 OPR_ROLE_SUPPORT_USER YES YESI know that on another db with different user I hit no errors when doing completely the same (of course the program unit I monitor is different).
That other user with which I have NO issues has these roles:
select * from dba_role_privs where grantee = USER;
Output:
U2 DBA NO YES
U2 EXEC_SYS_PACKAGES_ROLE NO YES
U2 EXECUTE_CATALOG_ROLE NO YES
U2 CONNECT NO YESVerdi wrote:
NLSRTL 10.2.0.5.0 Production
Oracle Database 10g Enterprise Edition 10.2.0.5.0 64bi
PL/SQL 10.2.0.5.0 Production
TNS for IBM/AIX RISC System/6000: 10.2.0.5.0 Productio
And when I run the code I get the error: ORA-29283 invalid file operation.
Is it possible to a role my user to be able to get the content of the trace files in the directory TRACE_DIR without having explicit READ , WRITE privileges on it?
My user currently has these roles:
select * from dba_role_privs where grantee = USER;
Output:
U1 OPR_ROLE_LOSS_SNAPSHOT_READER YES YES
U1 RESOURCE NO YES
U1 CONNECT NO YES
U1 DBA NO YES
U1 OPR_ROLE_SUPPORT_USER YES YESI know that on another db with different user I hit no errors when doing completely the same (of course the program unit I monitor is different).
Thanks for posting version alongwith other details.
TO my knowledge, No you cannot.
Privileges acquired via a Role are not valid in PL/SQL. You need to have explicit privileges. -
"Invalid menu operation" Alert bug - CS6
CS6.0.5
In the last couple of weeks I have started getting this alert:
I have tried to pay attention to what I have do to create this alert.
Occasionally it simply appears on opening a Project.
Reliably, it pops up when I hit Ctrl > z (undo), and Ctrl > s (save)...
but after clearing the alert, Ctrl > [Anything] does not make it reappear.
This happens regardless of the Project.
edit:
I have just discovered that if I try to use File > Save
instead of Ctrl > s to save, the alert appears
as soon as I touch the File Menu header.
This also happens with the Clip, Title, Window & Help headers.
As in the replies in the thread below, there seems to be
no detriment to any functionality when this alert appears.
Maybe it's a fairly inconsequential bug, but it does appear to be a bug.
I had worked in CS6 for almost a year without this alert occurring.
Invalid Menu Operation Error in CS6
http://forums.adobe.com/message/4913886Even if this errant "Invalid menu operation" alert is not
indicative of any real problem and does not seem to cause
any functionality problem within Premiere, it is still an obtrusive
alert that requires the extra steps to clear (at least once).
If not cleared, any 'real' alert would be missed since
all it will do is add a new entry to an un-cleared list.
Any suggestions aside from filing additional bug reports? -
"Invalid Variant Operation" when AVDoc.GetPDDoc
Hi, I create pdf object by ole in delphi.
=====================
try
AcroApp := CreateActiveXObject('AcroExch.App');
AcroApp.Hide;
except
Exit;
end;
AcroAVDoc := CreateActiveXObject('AcroExch.AVDoc');
if not AcroAVDoc.Open(strFileName, '') then begin
Exit;
end;
AcroAVDoc := AcroApp.GetActiveDoc;
AcroPDDoc := AcroAVDoc.GetPDDoc; <-- throw invalid variant operation exception
AcroPDDoc.Save(1, strFileName);
==========================
In fact, If I can save the document, do not know if there is no other way to bypass the pddoc, if only with pddoc, is not playing some of the patches canAttached a sample VBS. Save it as ...vbs and doubleclick on it.
If it works for you, ask in the delphi forum, how to translate.
HTH, Reinhard
AcroTestSave.vbs
fileIn = "C:\Test.pdf" '// state the full path of the file to open
FileOut = "C:\Test3.pdf" '// state the full path for the file to save
set App = CreateObject("AcroExch.App") '// start Adobe Acrobat
App.Show '// show Acrobat
Set AVDoc = CreateObject("AcroExch.AVDoc") '// connect to Ac Viewer
AVDoc.Open fileIn,"" '// Open a file into viewer
set PDDoc = AVDoc.GetPDDoc '// Get the Doc opened in the viewer
set JSO = PDDoc.GetJSObject '// Connect to Acrobat JS
JSO.app.alert("Hi, the file is open press Ok and I'll save it") '// Display a MsgBox
PDDoc.Save 3,fileOut '// SaveAs
App.CloseAllDocs '// close all docs
set JSO = nothing
set AvDoc = nothing
set PdDoc = nothing
set App = nothing -
Frequent 'Filesystem Corrupt', Invalid File count
I have been getting this message every a couple of days in my MBP or iMac running 10.6.2. It happens/visible only when I runs Disk Utility and Verify Disk. Of course, this brings unsettling point to me when it comes now and then. Not to mention I have to boot from DVD to run disk utility to fix this
Error Message: Invalid file count (It should be xxxxx instead of xxx+1) AND
Error Message: Invalid volume directory count (It should be xxxxx instead of xxxx-1)
Any idea what causes this and what's the impact i.e. do I lose any files?
Thanks!!Leonard Ong wrote:
Hi Tim,
By default, it is HFS+ Journaled (non-case sensitive). So I have also the same understanding that journalled filesystem should be robust as you wrote it. But the fact that this comes now and then, It created some doubts.
Is this a harmless error message or should I be worried about it. That basically my questions. I do repair when I see this.
It can't be because of disk is failing for a number of reason:
1) I have the same behavior both in my iMac and MBP
2) Both HDD has been replaced with new one recently
3) Both HDD has passed through surface scan from TechTool Deluxe 5.0.6, so no bad blocks
Still a puzzle...
Are you sure that the errors are showing up on both computers when performing either a "Verify Disk" or "Repair Disk" and NOT just a "Verify Disk Permissions" or "Repair Disk Permissions"? Permissions errors are mostly harmless. Filesystem errors (the sort you see when you ask for "Verify Disk" or "Repair Disk" in Disk Utility are not harmless and you should be worried about those.
If so, then either both drives are failing or your drives are being exposed to a strong enough magnetic field to damage their data (and that would have be pretty strong -- a common refrigerator magnet wouldn't do the trick.) In all of my years of working with journaled filesystems (or operating systems with "filesystem logging" which is the same thing) I have NEVER seen a journaled volume have filesystem errors unless it was physically failing.
Journaling will prevent filesystem errors if it's enabled for pretty much every cause except for a physically defective or damaged disk. Here's the short version of how journaling works...
Journaling (aka "filesystem logging") is intended to prevent filesystem corruption... and it's pretty rock-solid.
1) A "journal" (or "log") area is added.
2) A hard rule is established that, under no circumstances may the OS be performing writes to both the journal and the regular filesystem at the same time. One must be flushed before it can work on the other and vice versa.
3) When a write operation is about to happen, the OS writes information to the journal indicating which blocks on the filesystem are about to be changed and what it's about to change. This information is flushed to disk.
4) The OS can then perform the write on the actual filesystem areas it intended to change. These must then be flushed to disk.
5) The journal can now be cleared.
That's pretty much it (simplified). But think about what this does. Normally if something interrupts a write operation (something crashes, a kernel panic, a power loss, etc.) there is something that will still have integrity because the OS will not write to both the journal and the regular filesystem at the same time.
If a failure occurs while writing to the filesystem it's no big deal. When the system boots back up, it notices the journal wasn't cleared so it "replays" the journal. This re-writes any blocks that might only have been partially written thus clearing any chance of corruption on the volume.
If a failure occurs while writing to the journal it's still no big deal. When the system boots back up it notices a corrupt journal, but that means the regular filesystem itself wasn't being touched so the filesystem is guaranteed to not have errors on it (although it does mean the last file you were about to save probably didn't get saved -- and that file wouldn't have written successfully even if journaling were off. At least this way there is no filesystem corruption.)
While it sounds pretty solid (and it is) there's still a potential for corruption, but it's rare. If a drive swings the access arms to a specific track and starts writing data, the assumption is that the write head is above the correct track. If the head is "sloppy" due to wear, then the head may be slightly mis-aligned and bleeding writes into the adjacent track. This will cause filesystem corruption even with journaling enabled.
If these drives came with the computers then the only warranty would be via Apple. If you purchased these drives on your own then they probably came with a pretty good manufacturer warranty -- most drives I've purchased in recent years had at least a 3 year warranty. -
I get the following message(in my livecycle server log) when one of my forms loads in workspace. Its only the one form that this occurs in and the form appears to work correctly. Does anyone have any idea why this warning occurs and how to clear it? Anyone know what the specific fault lines (2812 and 1825) refer too? I was thinking it would refer to the xml source inside designer but it didn't appear to relate. This causes a lot of spam in the server log file and it could be causing an error that I haven't been able to find yet.
2011-09-16 13:37:00,203 WARN [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] Invalid append operation: field cannot have a child element of #text
2011-09-16 13:37:00,203 WARN [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] The fault occurred on line 2812.
2011-09-16 13:37:01,781 WARN [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] Invalid append operation: field cannot have a child element of #text
2011-09-16 13:37:01,781 WARN [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] The fault occurred on line 1825.
2011-09-16 13:37:01,813 WARN [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] Invalid append operation: field cannot have a child element of #text
2011-09-16 13:37:01,813 WARN [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] The fault occurred on line 1825.I don't work with LC servers but with Designer but think this doesn't matter here.
A fields text is the child element of a value element. So you first have to append a value element and then append the text element to it.
<field name="TextField1" y="6.35mm" x="15.875mm" w="62mm" h="9mm">
<ui>
<textEdit>
<border>
<edge stroke="lowered"/>
</border>
<margin/>
</textEdit>
</ui>
<font typeface="Myriad Pro"/>
<margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
<para vAlign="middle"/>
<caption reserve="25mm">
<para vAlign="middle"/>
<value>
<text>Text Field</text>
</value>
</caption>
<value>
<text>Sample text</text>
</value>
</field>
In Designer the script looks like:
var newValue = xfa.template.createNode("value");
var newText = xfa.template.createNode("text");
newText.value = "Sample text";
newValue.nodes.append(newText);
[referenceSyntax].nodes.append(newValue);
Hope this helps. -
Invalid Menu Operation Error in CS6
Recently, I've been seeing the little error indicator show up at the bottom-right corner of the Premiere screen after I import a file. When I click on it, the error listed says, "Invalid Menu Operation". I haven't noticed any negative effects from this, but I was wondering if anyone knows what it means.
Thanks.hi
i don't think that is fair you reply as you don't find any issue as we report!!!This unacceptable!!!
i'm using premium production cs6 everytime when i open files and click to FILE/CLIP/TITILE/WINDOW and HELP menu button the error message will come out immeadiately than after clear all it will be ok but it will appear everytime when we first launch the project file?!
Please take note: when click the menu EDIT/PROJECT/SEQUENCE and MARKER that is ok no error message appear!
we paid for the software is because we trust it , we are not paying for trouble!!! this is a problem giving us when we working we don't know it will affect any of our project or not?
ADOBE engineering team should find out the problem!!!
the problem doesn't drop from the sky itself!!!??? Do you think we created the problem????
Here is my system detail!
i'm using WIN7 OS, nvidia Quadro 4000, DELL T5500
AND BELOW IS THE ERROR REFERRENCE
PLEASE DON'T GIVE US THE SAME FEEDBACK AGAIN THAT MUST BE SOMEWHERE GOES WRONG! PLEASE SOLVE THE PROBLEM THANK YOU!
my email address is [email protected] or [email protected] -
Hi Folks,
I was trying to save basic search template master page "seattle.master" after making change to the template.
I have added just "CompanyName" folder and update the line below in seattle.master.
Change is this : <SharePoint:CssRegistration Name="Themable/CompanyName/corev15.css" runat="server"/>
When I save it, and refresh page on browser, it shows "Something went wrong" error.
ULS says the following error : "UserAgent not Available, file operation may not be optimized"
Pls let us know if there is a solution.
Any help Much appreciated !
Thanks,
Sal
Hi Salman,
Thanks for posting this issue,
Just remove this below given tag and check out. It might be happened that your control is conflicting with others.
Also, browse the below mentioned URL for more details
http://social.msdn.microsoft.com/Forums/office/en-US/b32d1968-81f1-42cd-8f45-798406896335/how-apply-custom-master-page-to-performance-point-dashboard-useragent-not-available-file?forum=sharepointcustomization
I hope this is helpful to you. If this works, Please mark it as Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS)
Blog : http://sharepoint-community.net/profile/DharmendraSingh -
Using regexp_instr in a where clause - invalid relational operator
Whey I try to run this query in TOAD I get an ORA-00920: invalid relational operator error. It's part of a 10g stored procedure. When I highlight it and run it it prompts me for the missing values and then the error pops up. The AND in line 4 is highlighted.
select CRIME_CLASSIFICATION_ID, crime_type, nvl(count(CRIME_CLASSIFICATION_ID),0) as CRIMECNT
From vaps.vw_offenses
where regexp_instr(valoc,to_char(location_id))
AND ( fromdate is null or
offense_date between to_date(fromdate, 'mm/dd/yyyy') AND to_date(todate,'mm/dd/yyyy')
group by crime_classification_id, crime_typeHi,
Review what REGEXP_INSTR does: it returns a NUMBER.
Your WHERE clause couldn't make any sense if you used any other kind of NUMBER expression in that place, e.g. a NUMBER literal such as 12:
select CRIME_CLASSIFICATION_ID, crime_type, nvl(count(CRIME_CLASSIFICATION_ID),0) as CRIMECNT
From vaps.vw_offenses
where 12 -- This is obviously wrong
AND ( fromdate is null or
offense_date between to_date(fromdate, 'mm/dd/yyyy') AND to_date(todate,'mm/dd/yyyy')
group by crime_classification_id, crime_type
It's not going to work any better with a function (like REGEXP_INSTR) that returns a NUMBER.
How can you fix it? That depends on what you want to do. Why are you calling REGEXP_INSTR? What is that condition checking?
Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved, so that the people who want to help you can re-create the problem and test their ideas.
Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
Always say which version of Oracle you're using (for example, 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
Error: ORA-00920: invalid relational operator (WWV-16016)
Hi,
When I try to query in the form, I'm getting the following error
An unexpected error occurred: ORA-00920: invalid relational operator (WWV-16016).
The form has a field of type varchar2 with lov attached to it. This error is happening only if I enter characters more than 40 or select a value which has more than 40 characters from the lov.
Anbody had this problem?..Is there a solution for this?..Help would be appreciated.
Thanks
PJI figured out the problem and it seems like if the value has any 'IN' or 'BETWEEN' and try to query this error is happening and it's not because of character length. I think Portal assumes that relational operator is entered and tries to query based on those words. Is it a bug in the Portal?..
Thanks
PJ -
CREATE_CASH : ORA-29282: invalid file ID
While running the AR_RECEIPT_API_PUB.create_and_apply to create and apply a receipt in R12, i get the error:
Message 1. CREATE_CASH : ORA-29282: invalid file ID
Message 2. ORA-29282: invalid file ID in Package AR_RECEIPT_API_PUB Procedure Create_cash
DECLARE
l_return_status VARCHAR2(1);
l_msg_count NUMBER;
l_msg_data VARCHAR2(240);
l_cash_receipt_id NUMBER;
p_count number := 0;
BEGIN
-- 1) Set the applications context
mo_global.init('AR');
mo_global.set_policy_context('S','83');
fnd_global.apps_initialize(1303, 50695, 222,0);
AR_RECEIPT_API_PUB.create_and_apply
( p_api_version => 1.0,
p_init_msg_list => FND_API.G_TRUE,
p_commit => FND_API.G_TRUE,
p_validation_level => FND_API.G_VALID_LEVEL_FULL,
x_return_status => l_return_status,
x_msg_count => l_msg_count,
x_msg_data => l_msg_data,
p_amount => 1309.6,
p_receipt_number => 'TIENDA-api2',
p_receipt_date => '22-JUL-2012',
p_gl_date => '22-JUL-2012',
p_customer_number => 1007,
p_receipt_method_id => 1000,
p_trx_number => '145996',
p_cr_id => l_cash_receipt_id );
-- 3) Review the API output
dbms_output.put_line('Status ' || l_return_status);
dbms_output.put_line('Message count ' || l_msg_count);
dbms_output.put_line('Cash Receipt ID ' || l_cash_receipt_id );
if l_msg_count = 1 Then
dbms_output.put_line('l_msg_data '|| l_msg_data);
elsif l_msg_count > 1 Then
loop
p_count := p_count + 1;
l_msg_data := FND_MSG_PUB.Get(FND_MSG_PUB.G_NEXT,FND_API.G_FALSE);
if l_msg_data is NULL Then
exit;
end if;
dbms_output.put_line('Message ' || p_count ||'. '||l_msg_data);
end loop;
end if;
END;Please see these docs.
Oracle Receivables Reference Guide Release 12 [ID 1077107.1]
Oracle Receivables: Receipts API Known Issues and Patches [ID 1362066.1]
Oracle Receivables: Receipts API Overview, Setup, Sample Scripts and Troubleshooting [ID 1361075.1]
http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=AR_RECEIPT_API_PUB&c_owner=APPS&c_type=PACKAGE
https://forums.oracle.com/forums/search.jspa?threadID=&q=AR_RECEIPT_API_PUB.create_and_apply&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Invalid File Name Errors when syncing to Ipod
Ever since an update last fall I have been getting Invalid file name errors when I try to sync my ipod. A window would pop up saying "Windows could not copy 'SONGNAME' to the iPod 'IPODNAME' because an unkown error occurred (-37)." I would press OK and another window would immediately pop up that would say, "Attempting to copy to the disk 'IPODNAME' failed. the file name is invalid or too long."
The windows would keep popping up countless times until the sync would just seem to time out and stop.
The problem songs would have no problem playing in iTunes.
Prior to the update this did not happen. No new songs were added around this time and nothing was changed to my file directory structure. I was too busy to troubleshoot this problem at the time and hoped that another update would fix it. Well, here I am many months and updates later and still no fix. After fiddling with iTunes and resetting my Ipod multiple times (goodbye saved angry bird games)I have found out that:
1. By writing down the file name when the error windows pop up I can get a partial list of the problem file names. I could not get a complete list of the problem files because the sync would time out before a full list could be compiled (the list appears to be in the hundreds).
2. If I changed the name of the file by adding OR deleting one character, remapping the song in itunes, the song would then sync properly.
3. If I changed the name of the file, remapped the location of the file within iTunes, changed the name of the file BACK to the original name that iTunes supposedly had a problem with, and then remapped the location of the song within iTunes, the song would then sync properly
4. If I moved the song to a different directory without changing the file name, remapped the song within iTunes, the song would sync properly.
5. If I moved the song to a different directory without changing the file name, remapped the song within iTunes, moved the file BACK to the original directory, remapped the song again, the song would sync properly.
6. If I renamed the file and then named it back to the original file name WITHOUT remapping the file location in iTunes, the song would still not sync properly
7. If I moved the file into a different directory and then back again without remapping the file location, the song would still not sync properly.
8. Changing or deleting the tags has no effect at all.
9. File name lengths are already under 200 characters and there are no special characters used.
So, to sum up, I have found out a way to fix the issue. The problem is, that there are hundreds of songs that appear to be affected and renaming or moving every single one individually and then remapping is extremely inefficient and ignores the cause of the problem. I also did not want to delete the itunes library and then add all of the songs back in because I have many custom playlists that I have spent hours creating and I do not want to delete them.
Is there a better way to fix the problem? Especially if someone knows the root cause?I got a procmon log file and examined it. I have the file and I could also provide you with that or screenshots of it.
There is nothing unusual about it. I can see entires in which CR has successfully opened the report and has cached in a c:\windows\temp.
However there is one or two non-successful entries that may be related, especially that examining the stack trace brings us to a call to get_ProductLocaleID():
- A call to read reg entry HKU\S-1-5-20\Software\Business Objects\Suite 12.0\Crystal Reports\Locale fails with NAME NOT FOUND.
- immediately after that and from the same process (w3wp.ex) there is a call to open directory "c:\" which is logged as ACCESS DENIED.
Any subsequent unsuccessful calls seem to be results of exception handling in the debug code.
Does this point to any setup issues with CR? We always run the redistributable x86 runtime when installing it. -
Copying files from Mac to Windows-invalid file names
Unfortunately, my boss likes Windows more than Macs, so we have puchased some new Dell computers to replace older G4 Macs.
I'm having trouble copying existing files from a Mac (OS 10.4)to the shared drive on the Windows XP computer. I'm getting an error message:
"You can't copy the item 'filename' because the name is too long or includes characters that the disk can't display." Sometimes it doesn't give a filename, it gives a similar message "Some items couldn't be copied..."
I assume the person has used some "illegal" file names such as "Meeting minutes 10/7/07" Or maybe we have too many folders inside of folders.
QUESTION: Is there a correct/better way to copy large quantites of files/folders from Mac to Windows? Or is there a program that will look at the Mac files and alert me to wrong or too long files names?
Other ideas to copy these files?
thanks,
BillYou can use a freeware utility like Renamer4Mac or BatchRename'em both of which have built-in filters that will rename files for Windows compatibility.
Thank you... This sounded to me like it would fix the problem, so I downloaded both and looked at them. However, the manual/help file is very sparse, so I don't know if it will do what I want to and how it would do it.
1. I couldn't find any option in either program to: Look at all files in selected folder, and list any invalid file names for Windows.
2. There doesn't seem to be an option to "rename files without bad Windows characters" or "Remove invalid for Windows characters"
I just couldn't find any explanation of how it was offering to rename the files. I can't rename all files to sequential names, that would make it hard to find a file later.
Thank you,
Bill -
ACS v5.2 - Unable to update User integer attributes through File Operations
Hi,
I have created some internal users on ACS v5.2 and added some Unsigned Integer attributes for each user. I am trying to do a bulk update of these integer attributes using the File Operation facility. However no matter what number I put on the import template it doesn't get updated and displays a "0" in the user config.
The import template is validated successfully with no errors and also the string attributes are updated correctly.
There is a sort of work around of deleting the users and adding them back in with the updated values. But this is not feasible as it would reset their passwords. I have also tried saving the csv file in Open Ofifce instead of Excel
Has any one else come across this problem?
(I am unable to see this issue in the Release notes or Bug tool kit although there is a similar issue when updating devices in CSCth68051)Hi,
Thanks for the reply. I have managed to recreate the problem to show you but it is a bit more complicated than I first thought. The problem only occurs when the integer attributes are added after the user is created.
I created a dummy user. The MTL and TLS attributes were present before the user was added. I then added the XXX and ZZZ attributes afterwards and assigned them default values. The default values show up in the GUI config.
However when I export the database to a csv file only the values of the MTL and TLS attributes show up in the export file:
I then downloaded an import template and updated the integer values for TLS,MTL, XXX and ZZZ for the dummy user:
The file imports successfully with no errors. However, when I display the user config only the MTL and TLS attributes have changed. The XXX and ZZZ attributes have stayed the same.
I thought it might be because I was assigning a default value of 0 to the new attributes but I assigned ZZZ a default value of 1 and the same thing occurred. -
USB Drive Resets during file copy, interrupting file operations
Fresh Arch Linux install, working USB thumb drive (Windows, previous Arch Linux setups, etc.), formatted FAT32.
Seems to randomly reset, eject, and auto-re-mount during extensive file operations (i.e. copying 4gb worth of 800 files from the USB thumb drive to disk).
I've tried various USB ports to no avail; no external hub being used.
Thoughts? Not sure where to begin diagnosing:
dmesg:
usb 1-1: configuration #1 chosen from 1 choice
scsi17 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 15
usb-storage: waiting for device to settle before scanning
scsi 17:0:0:0: Direct-Access OCZ RALLY2 1100 PQ: 0 ANSI: 0 CCS
sd 17:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
sd 17:0:0:0: [sdb] 31326208 512-byte logical blocks: (16.0 GB/14.9 GiB)
sd 17:0:0:0: [sdb] Write Protect is off
sd 17:0:0:0: [sdb] Mode Sense: 43 00 00 00
sd 17:0:0:0: [sdb] Assuming drive cache: write through
sd 17:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 17:0:0:0: [sdb] Assuming drive cache: write through
sd 17:0:0:0: [sdb] Attached SCSI removable disk
usb 1-1: reset high speed USB device using ehci_hcd and address 15
sd 17:0:0:0: [sdb] Unhandled error code
sd 17:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sdb, sector 7589504
sd 17:0:0:0: [sdb] Unhandled error code
sd 17:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sdb, sector 7589744
sd 17:0:0:0: [sdb] Unhandled error code
sd 17:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sdb, sector 7589776
usb 1-1: USB disconnect, address 15
FAT: bread failed in fat_clusters_flush
FAT: FAT read failed (blocknr 3805)
FAT: Directory bread(block 24147944) failed
FAT: FAT read failed (blocknr 3818)
<snip lots of repeats>
FAT: FAT read failed (blocknr 4032)
FAT: bread failed in fat_clusters_flush
FAT: bread failed in fat_clusters_flush
FAT: bread failed in fat_clusters_flush
usb 1-1: new high speed USB device using ehci_hcd and address 16
usb 1-1: configuration #1 chosen from 1 choice
scsi18 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 16
usb-storage: waiting for device to settle before scanning
scsi 18:0:0:0: Direct-Access OCZ RALLY2 1100 PQ: 0 ANSI: 0 CCS
sd 18:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
sd 18:0:0:0: [sdb] 31326208 512-byte logical blocks: (16.0 GB/14.9 GiB)
sd 18:0:0:0: [sdb] Write Protect is off
sd 18:0:0:0: [sdb] Mode Sense: 43 00 00 00
sd 18:0:0:0: [sdb] Assuming drive cache: write through
sd 18:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 18:0:0:0: [sdb] Assuming drive cache: write through
sd 18:0:0:0: [sdb] Attached SCSI removable disk
lsusb -v for the drive:
Bus 001 Device 016: ID 0325:ac02 OCZ Technology Inc ATV Turbo / Rally2 Dual Channel USB 2.0 Flash Drive
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0325 OCZ Technology Inc
idProduct 0xac02 ATV Turbo / Rally2 Dual Channel USB 2.0 Flash Drive
bcdDevice 11.00
iManufacturer 1 OCZ Technology
iProduct 2 RALLY2
iSerial 3 AA04012700275633
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 300mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 255
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 255
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
Last edited by lieut_data (2009-12-26 17:39:56)Jithin wrote:
When ever I copy some files or create a file in my external USB drive which is a FAT32 one. file permissions are not preserved.
From <http://support.apple.com/kb/HT3764>:
"The MS-DOS (FAT32) file system format does not support permissions, file owners, and groups. Such permissions are synthesized on Mac OS X with some default permissions. Because of this all files will have the same permissions […]"
So it's not "how it work in mac", but it's a limitation of the FAT32 file system.
Maybe you are looking for
-
Interest Calculation for special GL items
Hi Experts, We have posted some special GL indicator documents for the vendors, but in the interest calculation, that is not coming up. However the system is picking up all the others debit and credit items for that vendor. So what could be going wro
-
Using Photoshop online, when I try to open a file in RAW filter the page opens in bright red and won't allow me to acess the filter. What am I doing wrong?
-
I used a projecteor a while back in a Power Point presentation. Now my menus for Adobe are very small and hard to read. The print command is so compressed that I cannot read or use it. How do I fix this problem?
-
I have signed in to my account and am able to brouse media but not download or purchase anything. The "buy" button is also white instead of blue and nothing happens when I click to buy. I am able to make purchaces on the same account on my iphone as
-
Scratch Folder issue in APP-V 5.0
Hi, My application required two times reboot while seq'g, 1. cafter omplete installation and 2. configuration. So here i am facing issue after 2nd restart machine while seq'g. 1. i have changed scratch folder "C:\Users\<UserName>\AppData\Local\Temp\1