ccleebelt
asked on
Request for Procedure failed, X is a table object
We've got a few old customers that, believe it or not, still have old classic ASP sites. We recently began to migrate them from SQL 2012 to Azure SQL Database. After the database migration, we get the following errors on the sites:
Server Native Client 11.0][SQL Server]The request for procedure '[tablename]' failed because '[tablename]' is a table object.
I figure at this point there has to be a fix for this however I cannot seem to locate it.
Anyone have the magic bullet?
Server Native Client 11.0][SQL Server]The request for procedure '[tablename]' failed because '[tablename]' is a table object.
I figure at this point there has to be a fix for this however I cannot seem to locate it.
Anyone have the magic bullet?
ASKER
Well, here's the most bassackwards solution, but it worked. We had some legacy ASP code that was looking for datatype TEXT. Varchar(MAX) blew it up.
We changed the column datatype back to TEXT and it worked. Welcome to 2002.
Now, TEXT is supposed to be deprecated but apparently Azure SQL Database is supporting it now.
Go figure.
We changed the column datatype back to TEXT and it worked. Welcome to 2002.
Now, TEXT is supposed to be deprecated but apparently Azure SQL Database is supporting it now.
Go figure.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
yeah, probably a better solution assuming that would work with ASCII vs. UNICODE. For now, this worked, so we wont touch it again until it blows up.
if that doesn't resolve the issue, seeing some offending code may help.