Sharing violation on a DLL file - DOTNET

This is a discussion on Sharing violation on a DLL file - DOTNET ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Sharing violation on a DLL file

  1. Default 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
    database).
    Can anybody help me?


  2. Default Re: Sharing violation on a DLL file

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

    Peter

    --
    Peter Foot
    Device Application Development MVP
    www.peterfoot.net | www.inthehand.com

    <sanduche> wrote in message
    news:1170333613.205763.91960@v33g2000cwv.googlegroups.com...
    >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
    > database).
    > Can anybody help me?
    >



+ Reply to Thread

Similar Threads

  1. VASmalltalk - Windows - close file and sharing violation
    By Application Development in forum Smalltalk
    Replies: 0
    Last Post: 11-14-2005, 07:39 PM