HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly
But i have specified my file name correctly
then i have find out am just passing virtual address
so i changed my code to
string strVdir = Request.MapPath ;
now am getting error
Error 1 Cannot convert method group 'MapPath' to non-delegate type 'string'. Did you intend to invoke the method?
But i have specified my file name correctly
Code:
string strServer = Request.ServerVariables["SERVER_NAME"].ToString(); [B]string strVdir = Request.ApplicationPath;[/B] string strloc = "http://" + strServer + strVdir + "/" + "SignIn.aspx?VerifyId=" + keydto.MemberVerifyCode.ToString(); string msgbody = "Thanks for joining ZionRealtors,<br><br>Please memory your registration infos:<br><br><font color=blue size=+1>EmailId: " + MailId + "<br>Password: " + txtMemPassword.Text + "</font>"; message.Body = msgbody + "<br><br><b><a href='" + strloc + "'>" + strloc + "</a></b>";
then i have find out am just passing virtual address
so i changed my code to
string strVdir = Request.MapPath ;
now am getting error
Error 1 Cannot convert method group 'MapPath' to non-delegate type 'string'. Did you intend to invoke the method?
Comment