![alt text](https://i.stack.imgur.com/HqDlc.png)In my current project, I have a webservice file called MyServices.asmx. This webservice I want to reference in my Default.aspx.cs file.

**My Code**:

```
    MyServices newService = new MyServices();

    newService.addUser(txFirstName.Text, txLastName.Text, txtEmail.Text, 
txtUserName.Text, txtPassword.Text, txtBalance.Text);

```

---

But when I refer to that webservice (as shown below), I get error saying:
"***The type or namespace name 'MyServices' could not be found (are you missing a using directive or an assembly reference?)***"

What should I do to correct this error?

Current Solution of Adding Service Reference still gives me that error. Can you please suggest what could be wrong?