Permissions error trying to access the IFS

15 pts.
Tags:
.NET
.NET applications
AS/400
IFS
Microsoft Windows Server 2003
This worked for years now suddenly doesn't. I'm reading a folder on the IFS via a UNC path (\ibmserverifsfolder) from a .NET application. Now I get a permission denied error. The Windows server user that is being used is Network Service. This is the normal user to use for file IO ops. What user does the iSeries use for a Network Service request coming in? Thanks.

Software/Hardware used:
iSeries 400/Windows Server 2003

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    What user does the iSeries use for a Network Service request coming in? It uses whichever user is supplied with the connection request. Commonly, that would be the Windows user that the process runs under. If the Windows user and password match an iSeries user and password, things are usually fine. If the user doesn't exist on the iSeries, then a "guest" profile can be used if your iSeries has one configured. For a 'permissions' error, if things have run okay in the past, start by verifying that passwords haven't changed on either side. Also verify that the user hasn't been disabled. If those check out, verify that the NetServer server is running. Tom
    125,585 pointsBadges:
    report
  • JohnS1
    Thanks for that info Tom. We got it to work doing what you said, but the mystery is that in the past it was running under a Windows system account called "Network Service", and there is no 400 account by that name, so how was it working? Well it's moot now, thanks again.
    15 pointsBadges:
    report
  • TomLiotta
    how was it working? There are a couple general possibilities. First, your NetServer configuration includes the app0ointment of a "guest" account. You would use iSeries Navigator to look at NetServer Properties. The Security tab will show a "Guest user ID" if one is used, and that user profile can be examined (DSPUSRPRF) to see its status. Or your connection might be established through kerberos. From there, you'd need to check what roles/systems were configured for the account for interaction with your iSeries. Possibly -- is there any kind of script that is run? What is actually executed on the PC? A network logon might be done that specifies an iSeries profile to use. When a connection is in use, you can list the NetServer jobs in iSeries Navigator by selecting Server Jobs from the context menu of NetServer. You will see a QZLSFILE job that will have a CurrentUser attribute. That profile will be the one that is actually controlling the process on the iSeries side. Tom
    125,585 pointsBadges:
    report
  • graybeard52
    Also, you might want to check for disabled ID's when you are looking at the NetServer service. AN account can get disabled for NetServer, but still be enabled in the user profile.
    3,115 pointsBadges:
    report
  • MurrayInfoSys
    Tom - Could you elaborate on what a "GUEST" account is. Or point me to a link that would define it for me. R we talking about Group Profiles? Phil MIS
    940 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following