Click here to Skip to main content
15,908,906 members
Please Sign up or sign in to vote.
1.33/5 (2 votes)
See more:
Hi,

I am getting this error when debugging the data base access layer

source file is different from when the module was built.<br />

Please help me .
I am fed up with this problem
Posted
Updated 26-Aug-19 20:00pm
v2

1 solution

This commonly means that the code you are debugging in the db layer has had build errors, and you are running with an out of date version. If this is the case, fix and rebuild the db layer.

An alternative reason for this happening is that the PDB files have not been refreshed when building. Do a "build clean", and then rebuild the solution (actually go into the output directories and check that the files have been removed before you rebuild the app).
 
Share this answer
 
Comments
jagadeesh123qqq 29-Jun-11 5:57am    
Ya thanks..
Its working...
Pete O'Hanlon 29-Jun-11 6:27am    
You're welcome. I'm glad I could help.
Member 10622990 25-Feb-14 11:47am    
Error: An unhandled exception of type 'System.InvalidOperationException' occurred in System.Data.dll
Please help me to solve it.

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