I got the feeling these two users, @kate-smith and @sarah-smith, are the same user (there could be more, but these are the two I've spotted).
That in itself isn't a problem, but when you look at the questions they continue to post, the fact they ignore all efforts to help them I can't help but feel this is just spam.
They are continually posting in the asp-classic queue questions about code (that are clearly custom wrappers and both myself and others have pointed this out).
Using execute scalar to set a variable
Some comments
This loosely looks like asp-classic and not asp.net but
ExecuteScalar()
is similar to a asp.net method inSystem.Data
. In this case I would sayExecuteScalar()
andNewIntParam()
are both UDFs (User Defined Functions) and you need to show the code for them (they will be defined in the asp page or in dependent files that are linked via#include
syntax), there is nothing built in to Classic ASP like that. – Lankymart 20 hours agoClassic asp parameter length causes 'String or binary data would be truncated.' error
ExecuteReader without parameters
Some comments
ExecuteReader()
is no built in asp-classic function I've ever heard of which is probably why @ShadowWizard deems it off topic. Perhaps you can show the code forExecuteReader()
andNewIntParam()
(possibly in your page or in an#include
file that the page is dependant on). Remember not to confuse asp.net methods with Classic ASP coding. – Lankymart Sep 14 at 14:58ExecuteNonQuery Object Undefined
Some comments
Classic ASP has no native "ExecuteNonQuery" function or method. Ask whoever wrote the code where this method is defined and add it to your code. – Shadow Wizard Sep 14 at 11:37
Bearing in mind that there are no such built-in functions as ExecuteScalar()
, ExecuteNonQuery()
, ExecuteReader()
, NewIntParam()
, or NewTextParam()
in asp-classic, it's almost like some .NET developer has decided to write a load of wrappers for asp-classic. Without any of that UDF code we are helpless to help, but they continue to post similar questions (different titles, different users).
What is the best course of action to take?