Getting UTL FILE error trying to read from User_TUNE_MVIEW

I am trying to set up a materialized view using the dbms_advisor.tune_mview which works and populates the user_tune_mview table. Supposedly I am supposed to be able to extract the suggested SQL from that table by
a) logging on as sysdba and
i) create directory MYDIR as 'C:\';
ii) grant read,write on directory mydir to grantee (in my case aradmin)
b) logging back on as aradmin (the user) and running,
c)
exec_dbms_advisor.create_file(dbms_advisor.get_task_script('TASK_Number'),
'MYDIR','FIXME.txt');
the last step does not work:
instead I get a cascade of errors other people must have also encountered which are:
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 475
ORA-29283: invalid file operation
ORA-06512: at "SYS.PRVT_ADVISOR", line 140
ORA-06512: at "SYS.DBMS_ADVISOR", line 527
ORA-06512: at line 2
Since this is a called oracle package I am at a loss and hope that someone else ran into this and solved it.
thanks in advance.

What version pof the database are you using and what documentation are you reading regarding exec_dbms_advisor. I can not find anything.
This may be related:
Oracle Server Performance Technical Forum
Thread Status: Active
From: [email protected] 09-Nov-05 07:59
Subject: Broken SQL Access Advisor
RDBMS Version: 10.2.0.1.0
Operating System and Version: MS Windows XP SP2
Error Number (if applicable): ORA-13600
Product (i.e. SQL*Loader, Import, etc.): SQL Access Advisor
Product Version:
Broken SQL Access Advisor
When I try to create SQL Access Advisor task
VARIABLE task_id NUMBER;
VARIABLE task_name VARCHAR2(255);
EXECUTE :task_name := 'MYTASK';
EXECUTE DBMS_ADVISOR.CREATE_TASK ('SQL Access Advisor', :task_id, :task_name);
I get this error
begin DBMS_ADVISOR.CREATE_TASK ('SQL Access Advisor', :task_id, :task_name); end;
ORA-13600: error encountered in Advisor
ORA-13635: The value provided for parameter ADJUSTED_SCALEUP_GREEN_THRESH cannot be converted to a number.
ORA-06512: at "SYS.PRVT_ADVISOR", line 3902
ORA-06512: at "SYS.DBMS_ADVISOR", line 102
ORA-06512: at line 1
From: Joze Senegacnik 09-Nov-05 21:59
Subject: Re : Broken SQL Access Advisor
Ivo,
I think you have encountered a bug. I get the same error on my 10.2. The ADJUSTED_SCALEUP_GREEN_THRESH parameter is defined in SYS.WRI$_ADV_DEF_PARAMETERS table having value 1.25. The other similar parameter OVERALL_SCALEUP_GREEN_THRESH has value of 1.5 (this one also causes a procedure crash). Both should be converted to a number type but obviously can't be. If you change their values to 1 and 2 respectively then the procedure successfully completes. Therefore I suspect that this is a bug and the best idea is to log a TAR. If you will not do it, I'll log it.
Regards, Joze
From: Joze Senegacnik 10-Nov-05 07:16
Subject: Re : Broken SQL Access Advisor
Ivo,
Hmmmm..., in my previous post I overlooked the fact that the problem is the NLS setting for decimal point. If you set NLS_LANG=american_america.us7ascii then things work correctly. I would expect that Oracle would do a proper NLS handling inside their package.
The other possibility is to properly set nls_numeric_characters parameter and then run your code.
alter session set nls_numeric_characters='.,';
Sorry for misleading information in my previous post.
Regards, Joze
From: [email protected] 10-Nov-05 07:24
Subject: Re : Broken SQL Access Advisor
That's it! There is a problem with decimal point, while we use comma (',') in Czech as decimal point, and therefore the conversion of '1.25' to number is unsuccessful...
I'm not sure, if this a bug (looks like not-very-clever feature), if you think so, please create a TAR.
Thanks for your help.
From: Joze Senegacnik 10-Nov-05 07:41
Subject: Re : Re : Broken SQL Access Advisor
I don't consider this behaviour a bug. However, I would expect that Oracle would use proper NLS settings internally in the package.
Regards, Joze

Similar Messages

  • When I try to install Itunes, I get this error: (translated from Norwegian) There was a network error while trying to read from the file: C: \ windows \ installer \ iTunes.msi I have tried many times to reinstall, but nothing helps, please help me.

    When I try to install Itunes, I get this error: (translated from Norwegian) There was a network error while trying to read from the file: C: \ windows \ installer \ iTunes.msi I have tried many times to reinstall, but nothing helps, please help me.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Web Service; Error attempting to read from file

    I'm trying to connect to a web service as outlined by the book "Creating Dynamic Forms with Adobe LiveCycle Designer" which is an excellent book by the way.
    I'm receiving the following error "Error attempting to read from file. http://www.webservicex.net/BibleWebservice.asmx"
    I've successfully created the Data Connection to
    http://www.webservicex.net/BibleWebservice.asmx?wsdl
    I dragged and dropped the bookTitle, chapter & Versie onto the form. I also dragged and dropped the GetBibleWordsByChapterAndVerseResult and the GetBibleWordsByChapterAndVerseBtn.
    I Preview PDF and click the button I get the above error.
    Does anyone have experience using Web Services with Adobe LiveCycle ES and have advice on how to resolve this. Any Suggestions would be greatly appreciated.
    -Todd

    Well, I have more news on the error I'm getting. - NO I didn't find the problem. Yet
    I checked and made sure that web.config had "None" selected " in authentication mode. I.E. <authentication mode="None" /> This should eliminate any authentication problems since that turns off IIS's authentication checking.
    At first I was thinking the form was generating the error trying to read the result coming back from the web service, but I put in some code that writes the result to a log file when the method fires off.
    I noticed that when I clicked on the button on the form, the error message would pop up from Acrobat, but when I check the log file, there was NO entry. This means that Acrobat failed before it could execute the method.
    Here is the web method:
    [WebMethod(CacheDuration = 30,
    Description="Returns the String 'True' or 'False' whether or
    not you entered a 'T' or 't'.")]
    public string TF(string Tf)
    string result="False";
    if(Tf.Substring(0,1).ToLower()=="t"){
    result= "True";}
    LogFile.Write("Sent: "+result);
    return result;

  • Getting error Can't read from the source or disk when moving documents from one folder to another folder in the library

    Hi,
    When we try to move documents from one folder to another folder in the document library using "Open with explorer" getting beloe error.
         Can read from the source file or disk.
        The user having below permission for the Library as well as site.
    Fullcontrol,Limited access--->Given directly
    Read,Limited access--->Givin through the all Test grp
    Contribute,Limited Access-->given through test members grp
    Read,Limited access---> givin through The group grp
    Could you please help me anyone....
    Thanks

    Hi Reddy,
    If you are moving files in two libraries in different sites, then the error will occur and it is by design that there are limitations on the DAV move commands that the DAV client is respecting.
    https://social.msdn.microsoft.com/Forums/en-US/6245f332-c609-4a7b-8e00-c8b5e46f7759/cant-move-files-using-windows-explorer-cant-read-from-source?forum=sharepointgeneral
    If you are moving files in the same library, I recommend you to use Wireshark to reveal the error message and enable IIS
    Trace Logging for Failed Requests to examine the IIS log file for troubleshooting.
    https://social.msdn.microsoft.com/Forums/en-US/47cd569d-98f2-4cca-b78e-fd178c097285/cant-read-from-the-source-file-or-disk?forum=sharepointgeneralprevious
    To narrow down the issue scope, I recommend you to test with another library and see if the copy in explorer can work.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • HT4528 I can't seem to sync my iPhone with iTunes.  I keep getting this message:  iTunes could not connect to the iPhone because an error occurred while reading from this device.  What can I do?

    I can't seem to sync my iPhone to my computer; I keep getting this message:  "iTunes could not connect to the iPhone because an error occurred while reading from this device."  I get the same message with my iPad, even though they all share the same account.  What can I do?

    This could be caused by a USB connection issue. Make sure the iPhone is directly connected to the Mac using the USB cable it came with. Also, try disconnecting all other USB devices.
    If you haven't already try resetting the iPhone by holding the Home and Sleep/Wake buttons until you see an Apple logo as described here:http://docs.info.apple.com/article.html?artnum=305743

  • I am trying to sync iphone 5 to itunes but it says "iTunes could not connect to the iphone as an error occured while reading from the device " and the iphone is not seen on itunes........

    i am trying to sync iphone 5 to itunes but it says "iTunes could not connect to the iphone as an error occured while reading from the device " and the iphone is not seen on itunes........

    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. And then reboot your computer.
    See if that fixes your problem.

  • Trying to import a .mov file in final cut ex but get the file error 1 file recognized 0 access denied 1 unknownpress,  but get the press

    Trying to import a .mov file in final cut ex but get the file error 1 file recognized 0 access denied 1 unknown

    Most likely the file cannot work directly in FCE.
    Please provide details on the file properties.
    Al

  • Every time I try to create a new button I get "photoshop file error -1"

    I'm creating a BluRay set of discs. I'm on number 4 and there will probably be 12. I use the previous discs as a template for the new ones to save huge amounts of time. I haven't had an issue till I opened my project today. Usually I right click on a menu, edit it in photoshop, save it back in, and then I right click the new elemnts and turn them into buttons. I've made dozens of menus like this. Then today I get "photoshop file error -1" that pops up every time I try to make something into a button. I deleted the menu I was working on and used a different menu to rebuild it but I get the same problem. I then opened the photoshop file and saved it to a different location outside the project and then imported it into Encore. Same problem once I tried to make buttons. I also tried trashing the preferences. No Luck. I really need to get this working. It has completely destroyed my ability to get this job done. Ideas anyone?
    If it helps, I am on a Mac running OS X 10.9.1. Encore is version CS5.1.

    I thought there ought to be way to add buttons from the Encore library, but I don't think we found one.
    Best case: add menu from the library with buttons like what you want. Change background etc.
    I like working that way rather than adding things within Encore.
    Worst case: add a menu with the buttons you want; "edit in photoshop" and also "edit in photoshop" your menu; copy paste to your menu.
    You can also directly open library menus; add buttons etc from the encore library folders. I would make a copy of them first. Encore imports a menu from the library to your project; it is never working on its master copy.

  • "error occured while reading from device"

    when trying to sync our itouches the device is initailly recongnized in itunes and will begin to sync , but never gets through the whole proccess - each time it gets to a different step, but always ends with error message "ipod cannot sync as an error occured while reading from device" or something close to that...any ideas or help please....
    i have checked the usb drivers...uninstalled and reinstalled itunes and removed the security software that I can find....

    It could be to either a problem with a "file" that is either one the iPod or on the computer that is trying to be read for syncing. I would in order:
    - Reset the iPod:
    Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Restore the iPod via iTunes. First from backup then to factory defaults/new iPod.

  • In aperture 3.4.5, I get unsupported file error when exporting version of photo I've edited using plugins?

    In aperture 3.4.5, I get unsupported file error when exporting version of photo I've edited using plugins. I have try reinstalling aperture three times, deleting plists a few times, reinstalling plugins, restarting my MacBook Pro many times. Everything I've tried may fix the problem for a very short while and I can export a few photos before it returns. The problem happens with topaz and photomatrix pro plugins after I edited and try to export version.

    I had the same problem with the Photomatix plug-in and this solved it for me. I realised it only happened with Photomatix and not other plug-ins so I checked where the plug-ins were installed. The Photomatix plug-in was installed in
    ~/Library/Application Support/Aperture/Plug-Ins/
    where ~ is the home location for the current user account. All the other plug-ins however were installed in
    Macintosh HD/Library/Application Support/Aperture/Plug-Ins/
    which is the location that makes them available to all user accounts on your Mac. Moving the Photomatix plug-in to this location solved the problem for me.
    Note that the Library directory under the first location is normally hidden, to get to it hold down the Option (Alt) key and select it from the Finder Go menu.

  • RH7 Error: Failed to read from log... Failed to generate WebHelp Pro

    Installed RH9 trial on Windows XP PC. Then, generated an existing project using RH7 to a new C: drive directory location on the PC using the same name. Renamed the project files in that C:drive directory to a test name and opened the project's .xpj file in RH9.  It converted cleanly. 
    Now, when I go to generate the RH7 original project from the original server directory, I receive:  
    Error: Failed to read from log (file name) .log.... Internal error encountered,  Failed to generate WebHelp Pro.
    Does the log file keep track of the previous generation (time stamp,etc), since this RH7 generation has a skip in it for the one generated to the C:drive?  I've compared the log files from each run (.txt files) and don't see a difference. I even copied the log file from the C:drive run to the Server directory. No luck.  Any ideas?

    Hi John,
    Thanks for the prompt response.  I am trying to evaluate RH9 / RH Server 9.
    When I generate RH7 projects, I’ve always put the server (RH7 Server) directory reference in the ‘Output Folder and Start Page’ field.  This directory reference is where the compiled output ends up right? In my case, it’s in that field as:
    PBSrobohelp\D$\RoboHelp <file:///
    PBSrobohelp\D$\RoboHelp>  Web Files\PBS Unit Processes Manual.  I’m not aware of a C:Drive local copy of the files. Doesn’t it go out to the server output for the .log file in question?
    For the test, I took an existing project in RH7 and replaced this server reference with a C:Drive local hard drive directory reference and ran the output to it.  Then I went to the C:Drive directory and changed the project name, because there doesn’t appear to be a way to do a ‘save as’ on a project – RH7 wants to keep that name badly.  I then, shutdown RH7 and started RH9.  I opened the .xpj file from the new test project copy. It recognized that it was from an older release and it converted the test copy to RH9.  It converted cleanly with about 2 inconsequential document warnings but did not create a TOC.  I looked it over and saved it in RH9 – it was already my test name.  
    The original RH7 project opens fine in RH7 and the Test RH9 project opens fine in RH9. So I think I have a good test copy.  It’s just that when I point the RH7 original to the Server Output folder (which has its files) it gets the error on generation.  
    We are evaluating RH Server 9 but I haven’t attempted to publish anything to it yet. I’ve stayed  purely on my desktop.  
    Hope this clears it up.
    Jim
    Jim Dages
    Business Professional Technician III
    University of Colorado, Payroll & Benefit Services
    1800 Grant St, Suite 400
    Denver, CO  80203
    t. 303-860-4230
    f. 303-860-4299
       Please consider the environment before printing this e-mail.
    CONFIDENTIALITY NOTICE - This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify the sender by telephone or return e-mail and delete the original transmission and its attachments without reading or saving in any manner. Thank you.

  • Error 1901. Error attempting to read from the source installation database

    OS: Windows 7 Enterprise 64-bit
    Browsers: IE 9 and Firefox 10
    Flash Version 11.7.700.169
    I'm logged in as Administrator.  I'm trying to install using this:
    start "" /wait msiexec /i install_flash_player_11_active_x.msi /qb
    and
    start "" /wait msiexec /i install_flash_player_11_plugin.msi /qb
    Both commands result in:
    Error 1901. Error attempting to read from the source installation database: C:\Windows\Installer\3c0cc1.msi
    (the file name seems to be random)
    echo %errorlevel% returns 1603.
    Help.

    Not sure how much I can help you with this.  Error 1603 usually indicates that the installer cannot proceed because something is in use; search this page for 1603: http://msdn.microsoft.com/en-us/library/windows/desktop/aa372835%28v=vs.85%29.aspx

  • How is it posible to get the File name, size and type from a File out the H

    How is it posible to get the File name, size and type from a File out the HttpServletRequest. I want to upload a File from a client and save it on a server with the client name. I want to conrole before saving the name, type and size of the file.How is it posible to get the File name, size and type from a File out the HttpServletRequest.
    form JSP
    <form name="form" method="post" action="procesuploading.jsp" ENCTYPE="multipart/form-data">
    File: <input type="file" name="filename"/
    Path: <input type="text" readonly="" name="path" value="c:"/
    Saveas: <input type="text" name="saveas"/>
    <input name="submit" type="submit" value="Upload" />
    </form>
    proces JSP
    <%@ page language="java" %>
    <%@ page import="java.util.*" %>
    <%@ page import="FileUploadBean" %>
    <jsp:useBean id="TheBean" scope="page" class="FileUploadBean" />
    <%
    TheBean.doUpload(request);
    %>
    BEAN
    import java.io.*;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletInputStream;
    public class FileUploadBean {
    public void doUpload(HttpServletRequest request) throws IOException
              String melding = "";
              String filename = request.getParameter("saveas");
              String path = request.getParameter("path");
              PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("test.java")));
              ServletInputStream in = request.getInputStream();
              int i = in.read();
              System.out.println("filename:"+filename);
              System.out.println("path:"+path);
              while (i != -1)
                   pw.print((char) i);
                   i = in.read();
              pw.close();
    }

    Thanks it works great.
    Here an excample from my code
    import org.apache.commons.fileupload.*;
    public class FileUploadBean extends Object implements java.io.Serializable{
    String foutmelding = "geen";
    String path;
    String filename;
    public boolean doUpload(HttpServletRequest request) throws IOException
         try
         // Create a new file upload handler
         FileUpload upload = new FileUpload();
         // Set upload parameters
         upload.setSizeMax(100000);
         upload.setSizeThreshold(100000000);
         upload.setRepositoryPath("/");
         // Parse the request
         List items = upload.parseRequest(request);
         // Process the uploaded fields
         Iterator iter = items.iterator();
         while (iter.hasNext())
         FileItem item = (FileItem) iter.next();
              if (item.isFormField())
                   String stringitem = item.getString();
         else
              String filename = "";
                   int temp = item.getName().lastIndexOf("\\");
                   filename = item.getName().substring(temp,item.getName().length());
                   File bestand = new File(path+filename);
                   if(item.getSize() > SizeMax && SizeMax != -1){foutmelding = "bestand is te groot.";return false;}
                   if(bestand.exists()){foutmelding ="bestand bestaat al";return false;}
                   FileOutputStream fOut = new FileOutputStream(bestand);     
                   BufferedOutputStream bOut = new BufferedOutputStream(fOut);
                   int bytesRead =0;
                   byte[] data = item.get();
                   bOut.write(data, 0 , data.length);     
                   bOut.close();
         catch(Exception e)
              System.out.println("er is een foutontstaan bij het opslaan de een bestand "+e);
              foutmelding = "Bestand opsturen is fout gegaan";
         return true;
         }

  • Error message, what does this mean: Itunes couldnt connect because an error occured while reading from the devise?!?!?! HELP

    I'm trying to connect my iPAD to my desktop but I receive an error: itunes couldnt connect because an error occured while reading from the devise?!?!?! HELP

    have you done a update for your itunes this can be the problem that it will not connect to you ipad so update you itunes and then try it again

  • Keep getting 'The file iTunes cannot be read because it was created by a newer version of iTunes' how do I fix this so iTunes will open on my computer

    I Keep getting 'The file iTunes cannot be read because it was created by a newer version of iTunes' how do I fix this so iTunes will open on my computer.  I am running Windows 7 and I think the last time I synced or tried to open iTunes I was running windows XP, but I am not sure. 

    See Empty/corrupt iTunes library after upgrade/crash.
    tt2

Maybe you are looking for