Mail sending error from the IIS and Shared Server in asp.net
<p>Im doing a project where i have to send a link to my user/clients. The mail will be sent to them once they register their account. Now there will be a link in their mail when clicked on that link the users will be redirected once again to my website and they will be shown a pdf.</p>

<p>When i did this from my system and localserver it worked fine.</p>

<p>But now my project has been put up in the development server from where its not possible for me to send mail. </p>

<p>I get the following errors</p>

<p>Message: Sys.WebForms.PageRequestManagerServerErrorException: AspPDF.NET 2.0.0.14045 has generated error #46: [ Opening output file failed: Access to the path 'C:\inetpub\wwwroot\Myesign\UploadedFiles\Signed\Support2(1).pdf' is denied. ]</p>

<p>Im not clear that what might be the possible reason for this error. The same project worked when i used the localserver and from my pc also worked fine but from the production server the same project is not working.</p>

<p>Also the link that i get in my mail id is</p>

<p>"http://localhost/ScriptResource.axd?d=n3csX8loR-nh3aSKQ4FNi7Vth7ZBerv1fa-7sJrneEaqqdsyYs5M1zxZ6mXbdwJ0oPXtyofmMkG8z9SZaK8qgo6xYZPs72x4Icy0pXeiYtTxb_JCbdFLZmwvpEToNB0tY6mtEQ2&amp;t=2939b118"</p>

<p>in the above link dont need the "http://localhost/"  is there anything i can do about. Im sure there might be some way but im not able to find it.</p>
