24
Views
5
Comments
Error executing query. Error in advanced query , Unknown column
Application Type
Traditional Web

Hi I am getting Error executineg query. Error in advanced query , Unknown column  error when executing the SQL advanced query, This is working as expected in dev environment but in testing environment its not working. I checked the connection string and its fine and alsp checked the column name in table and the column name is present. I caompared the code with Developer environment and to that of testing environment and the code is also not having nay issues and its ditto, like to know how to resolve this environment issue ?


Thanks and Regards,

Ramya

2024-03-22 09-17-23
Chandra Vikas Sharma

Hi,

Can you please check the service centre log.in service center log you can identify which column is missing.

Thanks 

Cv

2024-10-12 12-11-20
Kerollos Adel
Champion

hallo @Ramya somashekaraiah  , 

in case table and column is same both environment , can you check in dependance if there are any out of date . 

2026-01-15 03-18-59
Vijay Malviya

Hi @Ramya somashekaraiah 

try to execute executing query in database.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Ramya,

What you'd typically do is load the module in Service Studio in the environment where it goes wrong (if it's not production, you can't test queries in production), make a copy of the query, and comment out or remove parts of the query to nail down what causes the problem.

2019-01-07 16-04-16
Siya
 
MVP

Since your query is executed on an external database and you have access to that server, try using SQL Profiler on the database connected to the test environment to capture the actual SQL statement that was executed. This should help identify the issue.

btw do verify that your extension is using the correct Database connection.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.