You need to sign in to do that
Don't have an account?
Paras Jain
I am deploying my Trigger and test classes to Production--Error
I am deploying my Trigger and test classes to Production but i am getting the error too much soql queries 101....and the test classes that are already in production are failing ... and as i have checked the error lines of Test class the method of class is callling and there is no problem of anywhere of SOQL query.. please explain me what happening?
Try to wrap test methods with Test.startTest and Test,stopTest method to avoid 101 SOQL Limit .
Avoid more DML statement for a single object using foe loop which will solve your problem ,
Like ,
Let me know if it helps
Thanks
Manoj
Can you show us your test class?