M
Mr.KisS
Hello all,
I'm working with : WinXP PRO SP1, MS SQL 2005 Express,
Visual Web Dev 2005 Express.
I have an aspx page which must execute a stored procedure :
______________
try
{
myCommand.ExecuteNonQuery();
System.Web.Security.FormsAuthentication.SetAuthCookie(boxLogin.Text,
true);
Response.Redirect("/Signup.aspx?action=Complete");
}
catch (SqlException ex)
{
lbError.Text = ex.ToString();
}
______________
But, i get this exception :
System.Data.SqlClient.SqlException: Invalid object name
'UserData'.
But, i've never created UserData, my only stored procedure
is CreateAccount... I have made in sqlcmd :
]Changed database context to 'wizou'.
]1> GRANT EXECUTE ON [UserData] TO [KLEO\ASPNET]
]2> go
]Msg 15031, Level 16, State 1, Server KLEO\SQLEXPRESS, Line 1
]Invalid object name 'UserData'.
So if someone have any ideas, gimme
Best regards.
I'm working with : WinXP PRO SP1, MS SQL 2005 Express,
Visual Web Dev 2005 Express.
I have an aspx page which must execute a stored procedure :
______________
try
{
myCommand.ExecuteNonQuery();
System.Web.Security.FormsAuthentication.SetAuthCookie(boxLogin.Text,
true);
Response.Redirect("/Signup.aspx?action=Complete");
}
catch (SqlException ex)
{
lbError.Text = ex.ToString();
}
______________
But, i get this exception :
System.Data.SqlClient.SqlException: Invalid object name
'UserData'.
But, i've never created UserData, my only stored procedure
is CreateAccount... I have made in sqlcmd :
]Changed database context to 'wizou'.
]1> GRANT EXECUTE ON [UserData] TO [KLEO\ASPNET]
]2> go
]Msg 15031, Level 16, State 1, Server KLEO\SQLEXPRESS, Line 1
]Invalid object name 'UserData'.
So if someone have any ideas, gimme

Best regards.