No execute permission on

bteredesai
Member Posts: 129
Hi,
We customized an interface with third party application. Data exchange takes place using XML file.
When I run the inertafece in the Classic Client it works fine. However when I run the interface with RoleTailored Client, it gives me error: No execute permission on '
'XmlPORT with ID 50003
I am working on this to resolve this issue. Any advice will be appreciated.
Thanks.
Bhushan
We customized an interface with third party application. Data exchange takes place using XML file.
When I run the inertafece in the Classic Client it works fine. However when I run the interface with RoleTailored Client, it gives me error: No execute permission on '
'XmlPORT with ID 50003
I am working on this to resolve this issue. Any advice will be appreciated.
Thanks.
Bhushan
0
Comments
-
Is it importing or exporting the XMlport?
I hope you know that business logic executes in service tier in RTC..
Do you have permissions in service tier?0 -
Hi Mohana,
I am also having the similar issue, while importing XML file using xml port, i am also getting the same error.
Scenario is I have define the setup master for the location path of xml file, where all the file are placed, when i run through the classic client it work fine, but when i run through the RTC(Under 3-teir enviornment) it give me the error "No execute permission on 'XXXX' XmlPORT with ID XXXX".
Can anybody help, how to resolve this permission error.
Thanks!0 -
Are you running XMLport from Codeunit?
If yes, give Execution permission in that Codeunit for XMLport0 -
Thanks Mohana for your inputs.
To answer your question - Yes I am running XMLport from Codeunit.
I tried to follow your suggestions, but still could not succeed.0 -
mohana_cse06 wrote:I hope you know that business logic executes in service tier in RTC..
Do you have permissions in service tier?
I hope you noticed this..
While importing in RTC(Client - Server environment), the RTC searched file in Service tier machine not in Client machine.
Is your file available in service tier?0 -
Hi Mohana,
Can u help me what code need to write, so that file will transfer to service teir. I have written the following code:
IF ISSERVICETIER THEN BEGIN
ClientFilePath := COPYSTR(FileList.Path + '\' + FileList.Name, 1, MAXSTRLEN(FilePath));
IF TeirManagement.SilentUpload(ClientFilePath,ServerFilePath) THEN
FilePath := ServerFilePath
END;
Still i am getting the error message that "their is no file found".
If i have Clinet, service teir & database are on the same machine, then it is sucessfully imported. can you tell me why it is happening.0 -
What do you mean by this,
If i have Client, service teir & database are on the same machine, then it is sucessfully imported. can you tell me why it is happening.
Is the installation on 3 tier or what, where the error is occuring.Regards,
Manish0 -
brijleo wrote:Hi Mohana,
Can u help me what code need to write, so that file will transfer to service teir. I have written the following code:
IF ISSERVICETIER THEN BEGIN
ClientFilePath := COPYSTR(FileList.Path + '\' + FileList.Name, 1, MAXSTRLEN(FilePath));
IF TeirManagement.SilentUpload(ClientFilePath,ServerFilePath) THEN
FilePath := ServerFilePath
END;
Still i am getting the error message that "their is no file found".
If i have Clinet, service teir & database are on the same machine, then it is sucessfully imported. can you tell me why it is happening.
Check Report 9172 how it is UPLOADING File to Server and ImportingIF ISSERVICETIER THEN BEGIN TempFile.CREATETEMPFILE; FileName := TempFile.NAME + '.xml'; TempFile.CLOSE; IF UPLOAD(Text001, '',Text002,'',FileName) THEN ConfPersMgt.ImportProfiles(FileName); CurrReport.QUIT; END;
0 -
It looks to me that the user running the nav service doesn't have permisson on the "magicpath": temporary folder.
See cu419 if you need more information.0 -
[Topic title changed]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
mohana_cse06 wrote:Are you running XMLport from Codeunit?
If yes, give Execution permission in that Codeunit for XMLport
Hi,
Could you explain me how to give execution permission in the CodeUnit for the XMLPort?
Many thanks0 -
amphysvena wrote:mohana_cse06 wrote:Are you running XMLport from Codeunit?
If yes, give Execution permission in that Codeunit for XMLport
Hi,
Could you explain me how to give execution permission in the CodeUnit for the XMLPort?
Many thanks
Sorry ,my mistake..we can give permissions for Table only..
Check this suggestionSog wrote:It looks to me that the user running the nav service doesn't have permisson on the "magicpath": temporary folder.
See cu419 if you need more information.0 -
Thank you all. This is now resolved.0
-
it will be very helpful to all if you provide the solution also..0
-
mohana_cse06 wrote:
Sorry ,my mistake..we can give permissions for Table only..
Check this suggestionSog wrote:It looks to me that the user running the nav service doesn't have permisson on the "magicpath": temporary folder.
See cu419 if you need more information.
Thx for the reply.
A little out of topic, I have the similar problems (no execute permissions..) when using codeunit & xmlport. But my solutions, doesn't have any relations with the magicpath. I have to apply hotfixes from microsoft (KB 2503818).
Thanks anyway.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions