Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello everyone,
Struck with a unique problem.

I am using sql server management studio 2005
Have dot net web application to which db is connected.

Actually I have a database on production in which wrong entries are getting inserted from somewhere. I have debugged whole code and checked the stored procedure as well but all went well when I am manually executing stored procs with parameters. Correct values are getting inserted in db.
But I can clearly check the wrong entries in 1 of the table but have no clue from where they are coming into the db

Can anyone give some suggestion so as to diagnose the issue.
Any suggestion will be helpful.

Thanks
Posted
Comments
Prasad Khandekar 24-Jul-13 11:45am    
Have you checked the triggers? Also check your code and ensure that you are using SQLCommand and bind parameters everywhere. It might be the case of SQLInjection as well.

Regards,
ZurdoDev 24-Jul-13 12:09pm    
I would suggest you post as the solution.
[no name] 24-Jul-13 12:11pm    
Hi Prasad, My application is internal application for the client so probability of sql injection is very lean.
Prasad Khandekar 25-Jul-13 9:38am    
Well that does not rules out the possibility. I develop softwares for FI's and most of the controls and checks are actually implemented on internal apps. Since you yourself have not created any entries it might also be possible that some one knowing the db credentials actually inserted then using an SQL client.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900