Sharing violation on a DLL file



I am using VS2005 to develop a C# aplication on a PocketPC device.
Sometimes I get a sharing violation error when deploying project to
device. Error is regarding to a .dll file that is used in application
but in the time of deploying aplication is not running on device
(running process list doesn't show my application). DLL contains
classes for SQL Server Mobile Edition data access, but I am pretty
shure that connection to database is closed when the application exits
(on Form.Closing event application closes the connection to the
Can anybody help me?



Peter Foot [MVP]

If you soft-reset the device and then begin deploying does the error occur?


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question