Hello Sir, Thank you for reply. :-O download.aspx is present on the server. and it is opening properly when typeing the url manually on ther browser. But it may be server is not configured properly. On the control panel of this website a error 404 (page not found) is set to a html page by the hosting provider (godaddy.com). And that page is showing while i am trying that code. There are other options of 404 Error Behavior are: Use home page: Use custom page: If i set a custome page to a aspx page. I think it will open but where i wil loose the username (here username1). so how to solve this?
Dipak