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
0
Comments
I hope you know that business logic executes in service tier in RTC..
Do you have permissions in service tier?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
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!
If yes, give Execution permission in that Codeunit for XMLport
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
To answer your question - Yes I am running XMLport from Codeunit.
I tried to follow your suggestions, but still could not succeed.
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?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
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.
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.
Manish
Check Report 9172 how it is UPLOADING File to Server and Importing
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
See cu419 if you need more information.
|To-Increase|
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
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 suggestion
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
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.