Skip to content

HTTP 404 error. please help

lynn tan

Asked Jun 12, 2006, 10:38 PM EDT3 answers
Share
LinkedInX
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); } }

3 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Hi

    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
    0
  • 0
    i cant find the web services extension node at all in my IIS 6.0 > CustomerMS.exe!CustomerMS.frmLogin.BtnLogin_Click(object sender = {Text = "Login"}, System.EventArgs e = {X = 43 Y = 9 Button = Left}) Line 47 C# [External Code] CustomerMS.exe!CustomerMS.Program.Main() Line 17 + 0x1a bytes C# [External Code] the above is the stack trace. this is the error message: The request failed with HTTP status 404: Not Found.
    0
  • 0
    someone please help me.. now the HTTP 404 error is gone but the HTTP 405 : method not allowed is back.. i just solved it yesterday but it is back.. what can i do?
    0