mibuso.com

Microsoft Business Solutions online community
It is currently Thu May 23, 2013 1:49 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Web service unable to read file from a network share
PostPosted: Fri May 06, 2011 5:24 pm 
Offline

Joined: Wed Jan 26, 2005 10:18 am
Posts: 18
Location: ITALY
Country: Italy (it)
Hello,
In NAV2009 SP1 i have made a webservice (code unit) for read a file and inport data into nav table.
If the file is on the same server of the MicrosoftDinamicsNavWS all is OK, if the file is on network share don't work with the following error:

System.Web.Services.Protocols.SoapException: Either the caller does not have the required permission or the specified path is read-only.

The service run with "Network Service" and for test i put on the share permission everyone full controll (also in file permission) on the network share.


How i cant sove the problem.

Thank everybody


Top
 Profile  
 
 Post subject: Re: Web service unable to read file from a network share
PostPosted: Fri May 06, 2011 5:50 pm 
Offline

Joined: Wed Jan 02, 2002 8:01 am
Posts: 109
Location: Boston area, USA
Country: United States (us)
Hopefully someone will correct me if I'm wrong, but I think if you're going to access shares on the network, you can't use the "Network Service" login. I'd try to see if you can get it to work with a domain user account instead.

_________________
JEREMY VYSKA

Remember to mark your original post as [SOLVED]!


Top
 Profile E-mail WWW  
 
 Post subject: Re: Web service unable to read file from a network share
PostPosted: Fri May 06, 2011 7:13 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12265
Location: Brno
Country: Czech Republic (cz)
Try to add the permissions for the "domain\servername$" account (the server domain account).

_________________
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.


Top
 Profile E-mail WWW  
 
 Post subject: Re: Web service unable to read file from a network share
PostPosted: Fri Dec 30, 2011 2:28 pm 
Offline

Joined: Wed Feb 20, 2008 10:14 am
Posts: 11
Location: Finland
Country: Finland (fi)
Hi,

Were you able to solve this problem? I'm currently having exactly the same issue. I've added permissions to network folder for machine account which runs NAV web service but it still does not work. I also tried running web service with domain account but that causes error:

"The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Negotiate gjeroigero....'"

Any ideas?


Top
 Profile  
 
 Post subject: Re: Web service unable to read file from a network share
PostPosted: Mon Jan 09, 2012 7:54 am 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12265
Location: Brno
Country: Czech Republic (cz)
You need to enable delegation on the NST account to be able to delegate to file server, service CIFS.

see http://blogs.msdn.com/b/nav/archive/201 ... n-rtc.aspx

_________________
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.


Top
 Profile E-mail WWW  
 
 Post subject: Re: Web service unable to read file from a network share
PostPosted: Fri Jun 08, 2012 1:15 pm 
Offline

Joined: Thu Oct 07, 2010 2:06 pm
Posts: 2
Country: Sweden (se)
Hi, Im have exactly the same problem as rotoflex. Did you ever solve this?


Top
 Profile E-mail  
 
 Post subject: Re: Web service unable to read file from a network share
PostPosted: Fri Jun 08, 2012 1:25 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12265
Location: Brno
Country: Czech Republic (cz)
And have you tried what I wrote?

_________________
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.


Top
 Profile E-mail WWW  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: kriki, thegunzo and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: