ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Unable to find file in IFS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to find file in IFS

    Ok, need some help here... I have searched through the forum but not having much luck.

    I have an application on the AS400 that will allow the user to enter an SQL statement and an email address on the AS400. The program will run the command and place the output into the IFS. It will then email a hyperlink to the file to the user. (We do this to prevent the users from sending massive result sets through the email network.)

    When I run the test I can click on the hyperlink and pull up the results with no problem. No one else can though. I have checked the authorities on the IFS and they are all *PUBLIC *ALL. Whenever a user tries to click on the hyperlink they get the message that the file was not found. The path to the AS400 was not found.

    I have checked this with users who's network profile and password exactly matched their as400 profile and password as well as those where they do not match.

    I am running out of ideas.

  • #2
    Re: Unable to find file in IFS

    I don't know if it means anything, (I saw something about this in another thread) but the "GUEST" profile on this machine is disabled.

    I re-enabled it briefly and had the user try the links again, but no luck.

    Comment


    • #3
      Re: Unable to find file in IFS

      Ok, here is some more information.... I went to the user's machine and opened Window's explorer and put the address of the AS400 in the search bar. It immediately popped up an AS400 signon box. If I put my user name and credentials in the box the directory would show up, and now the links in the email would work.... even after I closed down Windows explorer.

      Additionally weird though, after rebooting the machine, we did the same thing but tried the user's credentials. Each time it would redisplay the user id with the domain name in front and the logon would fail. Not sure why it kept trying to put the domain name in there.

      Comment


      • #4
        Re: Unable to find file in IFS

        Do you have a mapped drive to the IFS folder (and the user not)?
        Do you have CA configured as Bypass signon ticked (and the user not)?
        Regards

        Kit
        http://www.ecofitonline.com
        DeskfIT - ChangefIT - XrefIT
        ___________________________________
        There are only 3 kinds of people -
        Those that can count and those that can't.

        Comment


        • #5
          Re: Unable to find file in IFS

          Yes to both, but when I go over to the user's pc and use my credentials at the CA prompt, then it works fine. Even though it's configured without a mapped drive and without the bypass signon.

          Comment


          • #6
            Re: Unable to find file in IFS

            With windows explorer, click on the drive and then make sure you can click all the way down to the directory of where the results set are stored for that user.

            If you can get all the way down to the folder, but dont see the result set file, then it sounds like the object is getting placed into the IFS without the correct authority set. (Especially if the user can see other files in this subfolder) If you are using the IFS apis, you need to make sure the file creation authorities are set up for all users when the file is created. I believe (if memory serves) that the IFS api will set the authority based upon what you specified on the api, not the folder default.
            Michael Catalani
            IS Director, eCommerce & Web Development
            Acceptance Insurance Corporation
            www.AcceptanceInsurance.com
            www.ProvatoSys.com

            Comment

            Working...
            X