.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Post New Web Links

debug application using device emulator

Posted By:      Posted Date: September 08, 2010    Points: 0   Category :ASP.Net
HiCan u tell me how to debug application using device emulator.Thank You

View Complete Post

More Related Resource Links

Wireless Web: Microsoft Mobile Internet Toolkit Lets Your Web Application Target Any Device Anywhere


If you've built Web sites using ASP.NET, you'll welcome the Microsoft Mobile Internet Toolkit (MMIT). MMIT extends the Visual Studio .NET IDE you already know by providing new controls for handheld devices letting you easily develop applications for wireless devices. This means you can write less code while adapting it to more devices. Not only does MMIT integrate with Visual Studio .NET, it extends ASP.NET as well. This article gives you the background you need to write, test, and deploy a site with MMIT and make all your code able to target specific devices for a custom fit.

Paul Yao and David Durant

MSDN Magazine November 2002

Not Able to debug while application is running.

 Hi I am working with a Visual studio 2005 (2.0 frame work) with a windows application When I am Running the application in Debug mode and if I do some code change it is giving the following exception.   "C:\\XXX\bin\Debug\Scheduling.dll] Invalid Typeref token.     Could not load type "System.ComponentModel.Component" from assembly "Version=, CultureCould not load type "System.ComponentModel.Component" from assembly "Common, Version=, Culture=neutral, PublicKeyToken=null".=neutral, PublicKeyToken=null". 1:00:34 PM "

OnTextChanged event in device emulator

HiHow to call OnTextChanged event in device emulator?

Remote Debug an XBAP application in VS 2010



I have an XBAP application that I created in VS 2010.  On my local machine I browse to the XBAP on the hosting server, via the folder structure [UNC] and run it.  The application does load and start.  I then go to "Attach to Process" in VS 2010 and browse to the server [which has msvsmon.exe running], but I cannot see the process to attach to.  I can debug ASP.NET applications remotely with no issues.  What am I doing wrong?

Thanks in advance

Access to update application files stored in Program Files, restricted on a Windows 7 device when us


Hi all,


I'm here to solve a problem, and that is our application, which speaks to a central server on startup, checks for updates and if found, updates its local files (stored in Program Files) with those pushed from the central server.  Currently, we are getting access denied exception when this updater tries to add/edit files in this special directory.  What I am looking for is a way to accomplish this updating process without moving these application files to a different location.

Smart Device Project - want to run on Emulator


I am working on a smart device project and want to run on emulator.i have completed the application.but now i want to run it on Emulator in vs2008.

Please help.

How to debug application crash with ExceptionCode: c0000409 (Stack buffer overflow)?



I searched many areas (from google to msdn forum) for the last 1.5 months on application crash with ExceptionCode: c0000409 (Stack buffer overflow) but nothing seems similar to what I have. Most of the queries manged to find something wrong with unmanged string management or wrong parameters.

Can someone enlighten me on this application crash?

Program structure:

Application in WPF C#, main body is RichTexBox; Wrapper for unmanged code and event; C++ usb communication.

1 unmanged thread will raise a event (callback) whenever a data comes back from USB or COM communication. The callback is being wrapped and using delegate to sent event to the application. The data is then update to the richtextbox via Dispatcher.BeginInvoke

TextRange tr = new TextRange(rtb.Document.ContentEnd, rtb.Document.ContentEnd);
tr.Text = message;
tr.ApplyPropertyValue(TextElement.ForegroundProperty, Brushes.Red);
tr.ApplyPropertyValue(TextElement.FontWeightProperty, FontWeights.Bold);
rtb.CaretPosition = rtb.CaretPosition.DocumentEnd; //richtextbox caret position to end doc.
srtb.ScrollToBottom(); // Scroll viewer to scroll to bottom

1 managed thread call a

I need to simulate a proxy server to test mobile device c# application.


I need to simulate a proxy server to test mobile device c# application.

Is there a way to do this? how should I do this. 

Application crash in exe and not in debug




I have a really strange problem in, my application (on my computer).

When I start my application in debug mode from VB2010, all is fine, but if I launch the exe file manually (from the debug directory) the application crashes and no message is shown.

In the applicatiopn log I have the following error

I have no idea about what I can do and I can't put any messagebox in the program because the crash happens before the InitializeComponent (of the designer).

A few weeks ago, all was fine, but now I have the problem.

Can you please help me ? What should I look for to solve the problem.

My application uses the NET 4 Client profile and I use Windows 7 x64 (all updaters from Windows Update applied).

Thank you


Report 1-----------------------------------------------------------------------------------------------------

Faulting application name: allWin.exe, version:, time stamp: 0x4ced0caf
Faulting module name: KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdbdf
Exception code: 0xe0434352
Fault offset: 0x0000b727
Faulting process id: 0xf58
Faulting application start time: 0x01cb8be669f6b117
Faulting application path: D:\SVN\NET2005\allWin.NET\allWin.NET\bin\Debug\allWin.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dl

Can I send an email from a smart device application in VS2008 or VS2010?


I have a smart device application for a portable terminal (terminal has GPRS and a SIM card) created using Visual Basic in VS2008.  I need to be able to send an email from this applicaiton. Can anyone tell me how to do this with either VS2008 or VS2010.

Smart Device Application(C#.net)


How to read, write and append text in  text file using C#.net using smart device application

Please Help Me......................................

unable to open file Obj/debug/application.g.resources


When I started a new WPF Application and build it without modifying anything on it  I am getting an error BC31027

Unable to Open file WPFApplication1/obj/Debug/wpfApplication.g.resources : System Error &H80070002&

When I build an existing application which was working fine it thows the same exception 

But when I start a new windows application and build it , it just works fine

How to Debug asp.net application with out VisualStudio


How to debug an asp.net Application with out Visualstudio.any one have idea(I know lot of people know).pls respond .





Microsoft's Collaborative Application Markup Language (CAML) Loop

discovered an interesting error recently while working with Microsoft's Collaborative Application Markup Language (CAML) that, surprisingly, had received no ink. Partly what surprises me about this is that the error may require you to rewrite large sections of your code if you haven't previously considered this SharePoint limitation. I'll start with some context, but first of all the error is:

Integrating a Legacy Web Application in SharePoint

This month we will continue with the theme of deploying Microsoft's SharePoint as a company intranet by describing a method for integrating a legacy Web application inside a SharePoint site.

In many companies the intranet site is not just a home page with announcements. It houses Web applications used by many different departments. In last month's article, I built a page to search the employee table in Northwind (the sample database included in Microsoft's SQL Server). This month, I will move the Web pages used to add/remove records from the table into the SharePoint intranet.

MVC architecture in ASP.Net using C# and Microsoft Data Access Application block

The Model-View-Controller (MVC) pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes [Burbeck92]:

Model. The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller).

View. The view manages the display of information.

Controller. The controller interprets the mouse and keyboard inputs from the user, informing the model and/or the view to change as appropriate.

High-Performance .NET Application Development & Architecture

It has always been a goal of project architects to plan an effective strategy from the ground up in regards to an new application. All relevant factors are taken into consideration with respect to the application, from its design and layout to a functional website infrastructure. Pre-.NET strategies and design guidelines still effective now were developed with Microsoft's DNA (Distributed interNet Application) platform. This model successfully served the purpose of architecting N(any number of)-Tier (levels) applications. In its basic sense, as in most robust, distributed applications, you'll architect 3 main layers or Tiers: presentation, business rules and data access.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend