HTTP 404 error. please help
When i tried to log into my application.. i got this error.
'the request failed with http status 404: not found.'
i didnt get this error before.. but after i re-formatted my computer.. this error came up. can someone please help me?
private void BtnLogin_Click(object sender, EventArgs e)
{
CustomerMS.localhost.Service1 cms = new CustomerMS.localhost.Service1();
ds = cms.GetUserInfo(txtUser.Text.Trim(), txtPwd.Text.Trim());--> error came from this line.
uid = txtUser.Text.Trim();
pwd = txtPwd.Text.Trim();
//ds1 = cms.GetUser(txtUser.Text.Trim(),txtPwd.Text.Trim());
if ((int)ds.Tables["User Information"].Rows[0].ItemArray[0] > 0)
{
this.Hide();
frmMain frmmain = new frmMain();
frmmain.Show();
}
else
{
MessageBox.Show("You didn't enter the right ID or Password", "Invalid ID or Password", MessageBoxButtons.OK
, MessageBoxIcon.Error);
}
}
lynn tanPosted Jun 14, 2006, 12:49 AM
lynn tanPosted Jun 13, 2006, 3:55 AM
azadsPosted Jun 13, 2006, 2:57 AM
There are various reaons for this error. Some of the key item you need to check:
1. Check whether your web site is properly configured or not. For this you need to check the IIS setting and check whether you have setup the virtual folder properly or not.
2. There are some useful link, where you can visit and find the solution.
http://support.microsoft.com/?id=315122
3. I would like to know the error description (get it from event viewer where the web server is located). So incase you are not able to get it resolved, please send me your error description with the scenerio you are using.
Regards,
Sanjeev Azad