![]() |
Sergey Kornilov admin 9/15/2008 |
If UserID a numeric field: str = "select * from dbo.Employee where UserID=" & Session("UserID")
str = "select * from dbo.Employee where UserID='" & Session("UserID") & "'" |
T
|
tlalle author 9/23/2008 |
str = "select * from dbo.NPSServiceLogons where Account='" & username & "' and password='" & password & "'" |
![]() |
Sergey Kornilov admin 9/23/2008 |
What event do you use and what is the exact error message? |
T
|
tlalle author 9/23/2008 |
After successful login is the event. the error is: |
![]() |
Sergey Kornilov admin 9/23/2008 |
Make sure BusinessName and MerchantID fields exist in NPSServiceLogons table. |
T
|
tlalle author 9/23/2008 |
NPSServiceLogons is a MS SQL view that did not contain "MerchantName" so I used the SQL query in ASPrunner to add the field. After reviewing your msg... i removed it from the ASP Runner SQL query... and edited the MS SQL view to include the field and it works. Thanks.... |