I am facing a strange issue since last 2 days. I am trying a publish a GP service containing a simple code to send an email to the provided userid using smtplib. The tool is running successfully and the email is being sent.
After the tool is published, when I am opening the folder
strangely I am finding a tilingservice.xml file.
And when I am opening the folder:
I found that smtplib.py has been copied !
I tried publishing the service from a ArcMap in a different server to mine this issue is not getting reproduced. But when I am publishing my from ArcMap in my laptop to any other server the same issue is getting reproduced.
I have tried deleting the Python27 folder and repairing it but this does not help.
Any help or leads is really appreciated.
Thanks in advance,