<div>it is strange, I uninstalled MiKTeX and then install it and compiled the same code and I got the output without that previous error but there is no sign of pstricks in the output.<br>&nbsp;<br>BTW, this is the URL where I uploaded my files using MIKTeX (the second time).<br>
&nbsp;<br><a href="http://parsilatex.org/XeTeX-PSTricks/">http://parsilatex.org/XeTeX-PSTricks/</a></div>
<div><br>Thanks<br clear="all"><br>-- <br>PSTricks<br><a href="http://pstricks.wordpress.com/">http://pstricks.wordpress.com/</a> </div>