Error WUF-201 and WUF-200, when open or read file [message #341032] |
Fri, 15 August 2008 11:10 |
econtreras
Messages: 6 Registered: August 2008
|
Junior Member |
|
|
Products:
Forms [32 bits] Versión 10.1.2.0.2 (In Windows)
Pl/SQL Versión 10.1.0.4.2 (In Windows)
Oracle Database 10g Release 10.2.0.3.0 (in AIX)
OAS 10g (in AIX)
JInitiator 1.3.1.26 (In Windows)
Windows XP Professional (In Windows)
Mrs., excuse my english, i like read or open a file (it does not matter), but i received the message in the console of java: "WUF-200 unable to open file", when try to read "r", i am sure that file exists.
Next is the source code, is it invoked when push a botton:
Declare
Arch_Aceptados CLIENT_TEXT_IO.FILE_TYPE;
Nombre_Arch_Aceptado varchar2(500);
Linea varchar2(300);
Begin
Begin
Nombre_Arch_Aceptado := User||'_'||'prueba.Log';
Message(Nombre_Arch_Aceptado);
synchronize;
Arch_Aceptados :=
CLIENT_TEXT_IO.FOPEN('c:\'||Trim(Nombre_Arch_Aceptado),'w');
Message('Here...');
synchronize;
End;
CLIENT_Text_Io.Putf(Arch_Aceptados,'UNO'||'\n');
CLIENT_Text_Io.Putf(Arch_Aceptados,'DOS'||'\n');
CLIENT_Text_Io.Putf(Arch_Aceptados,'TRES'||'\n');
CLIENT_Text_Io.Fclose(Arch_Aceptados);
End;
------------------------------
The file is created but inmmediate send me error WUF-201 and not write nothing.
when is read "R" (and change some the code), send me WUF-200
PLEASE, I NEED HELP!!! (little documentation exists on the matter)
THANK.
|
|
|
|
Re: Error WUF-201 and WUF-200, when open or read file [message #341626 is a reply to message #341167] |
Tue, 19 August 2008 10:28 |
econtreras
Messages: 6 Registered: August 2008
|
Junior Member |
|
|
Yes, my form open the dialog box with get_file.
like additional commentary, the command open_file('nombarch', 'W'), make file with cero len and the inmediate report error WUF-201.
it will be permissions or mutual incompatibility with versions of the navigator, jinitiator or something thus ???
|
|
|
|
|
|
Re: Error WUF-201 and WUF-200, when open or read file [message #342148 is a reply to message #342002] |
Thu, 21 August 2008 09:27 |
econtreras
Messages: 6 Registered: August 2008
|
Junior Member |
|
|
Mr. Martin, Thank for your help.
We made the following steps:
- Disabled firewall
- We verify the disc space (it has sufficient)
- We eliminate all the restrictions of security of the
Activation Server
- We tried with IE and Firefox.
But the error even persists, we are calling to support of oracle (metalink) to see that it happens.
If You obtain something before, I will be thanked for always!
|
|
|
|
Re: Error WUF-201 and WUF-200, when open or read file [message #342472 is a reply to message #342271] |
Fri, 22 August 2008 07:55 |
econtreras
Messages: 6 Registered: August 2008
|
Junior Member |
|
|
Ups!, excuse me please.
The file name is:
Nombre_Arch_Aceptado := User||'_'||'prueba.Log';
-- User is econtre1
Directory is:
CLIENT_TEXT_IO.FOPEN('c:\'||Trim(Nombre_Arch_Aceptado),'w');
-- c:\, but i try in "c:\tb" and "C:\Documents and Settings\econtreras" and "C:\Carga_Masiva"
Thank.
|
|
|
|
|
|
|
Re: Error WUF-201 and WUF-200, when open or read file [message #583419 is a reply to message #583382] |
Tue, 30 April 2013 10:52 |
TM786
Messages: 6 Registered: August 2008
|
Junior Member |
|
|
I found the reason. This was happening after upgrading to Windows 7 from XP. Windows 7 have tightly control security causing it to permission issue. I changed the writing folder to a drive where user has access. Another soultion would be to ask Admin to update the permisson issue to the folder where you are writing the file.
Thanks for the response.
|
|
|
|
Re: Error WUF-201 and WUF-200, when open or read file [message #588410 is a reply to message #341032] |
Tue, 25 June 2013 11:48 |
|
sankalputtara
Messages: 53 Registered: January 2011 Location: Bangalore
|
Member |
|
|
Sorry For bumping the thread but i wanted to know if you guys were able to fix this issue without changing the output path??
1. Is there anyway to prove that the issue is because of proper rights because i am able to modify the files but webutil is not able to modify the data..
2. When my application is trying to write the file by which user will it be making the changes?
|
|
|