eranshuman

I have a main project which contains many forms.
Also two control library project.

I also final calling the Application.Exit(),
Even though after deployment it is showing this error :

Error 1 Deployment and/or registration failed with error: 0x8973190e

Can anybody help on this.

Thanks and regards


Re: Smart Devices VB and C# Projects Regarding deployment into the emulator/device

Guang-Ming Bian - MSFT

Hi eranshuman,

Base on my understanding, you get the error while deploy your project into device or emulator. If I have misunderstood you, please let me know, thanks.

Your problem seems that your application on device/emulator is not closed. You have to terminate your application somehow (memory applet, soft reset, exit menu, etc.) before you can deploy it again. If your application has several threads, all of them have to be terminated before application can exit.

For more information:

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=117720&SiteID=1

This problem has also been discussed a lot in the forum:

http://forums.microsoft.com/MSDN/Search/search.aspx words=0x8973190e&searchKey=&lcid=1033&searchscope=forumgroupscope&siteid=1&ForumID=-1&ForumGroupID=11&GoButton=+Go

Best regards,

Guang-Ming Bian - MSFT






Re: Smart Devices VB and C# Projects Regarding deployment into the emulator/device

eranshuman


I have checked all the terminating point

Even I have place the buttton with the following

Dispose();
Application.Exit();
In my program There are thread being used. I also checked them , they are also terminating .

But still the same error comes.

Can you throw some light on it.

PS : When I again try to deploy the program, the VS.Net ask to run other way , If I click Yes then it run the previous deployed file.

Thanks







Re: Smart Devices VB and C# Projects Regarding deployment into the emulator/device

eranshuman


I have seen all the thread they all are terminating before the application exit.

Actually I m using 3 C# dll in my program.

If there is any method to see any thread still alive even the applicaton end\

Please help me in this regard.

Thanks i advance.

Anshuman




Re: Smart Devices VB and C# Projects Regarding deployment into the emulator/device

Guang-Ming Bian - MSFT

Hi Anshuman,

There is a third party tools named "Task Manager" which can observe the cpu usage and all running application

You can click the link below to download:

http://www.pocketpcfreeware.com/fr/index.php soft=1612

Best regards,

Gaung-Ming Bian - MSFT

This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.






Re: Smart Devices VB and C# Projects Regarding deployment into the emulator/device

eranshuman


I have imate phone which a smartphone and not pocket pc
It has a task manager. But it also does not show any process running

How can I know which thread are still running while my application runs

This is some output message I get while exiting the application for the first time:

The thread 0xf67b0e22 has exited with code 0 (0x0).

The thread 0xf67b0e22 has exited with code 0 (0x0).
The thread 0x36b6df9e has exited with code 0 (0x0).
The thread 0xf67b0e22 has exited with code 0 (0x0).

The program '[36905f62] MobileSpeechRecording.exe: Managed' has exited with code 0 (0x0).


After second running it show the following error:

Error 1 Deployment and/or registration failed with error: 0x8973190e. Error writing file '%CSIDL_PROGRAM_FILES%\MobileSpeechRecording\MobileSpeechRecording.exe'. Error 0x80070020: The process cannot access the file because it is being used by another process.
Device Connectivity Component .


Please help me in this regard

Thanks in advance

Regards