Create a File System Website / You can create directly IIS application also. Create a folder by the name of Mobile Add a new mobile web user form. Rename Default.aspx with a new name otherwise it will clash with the normal website default.aspx webform. I'm renaming this with Mobile_Default.aspx Design view of Mobile Web Form. You have to use only the Mobile Web Forms tools from toolbox. Design view of my mobile web form. To run the mobile application on mobile devices you have to configure the IIS in your machine. Start -> Control Panel -> Administrative Tools -> Double click on internet information service. Cross check that IIS is working in your computer or not. (You can type the url: http://localhost/iishelp/iis/misc/default.asp) Also check the default web site shouldn't be stopped. If it's stopped then right click on default website and choose an option start. Now right click on Default Web Site and go to properties. Choose "Home Directory" tab: Replace the Local Path from C:\InetPub\wwwroot to your application path. Go to dos prompt and check your IP Address and machine name. Go to internet explorer and type the following url:http://localhost/Your Application Name http://172.23.22.189/YourApplicationName http://00210-E8/YourApplicationName If it's working fine then first step is over. Go to your mobile application now. Go to Tools Menu -> Options -> Devices -> Pocket PC 2003 SE Emulator -> Go to properties Click on Emulator Options. Cross check that all three above options should be unchecked. Cross Check Microsoft ActiveSync is installed or not. If not then install it. Now go to Tools Menu -> Click on Device Emulator Manager. Right Click on Pocket PC 2003 SE Emulator then connect. Right Click on Pocket PC 2003 Emulator and click on Cradle This will automatically state "The Synchronization with Microsoft Async" Cross check the settings of Microsoft Async Go to File -> Click on Connection Settings. Do the appropriate changes Click on Ok. Click on Start and click on settings Click on Connections Double click on Connections Click on Advanced Click on Select Networks. Choose My Work Network and Click on Ok.. Ok... and Ok. Click on Start and then go to Internet Explorer Type the URL Type the specified URL and run application. Note: When connecting to Microsoft Async it will propmt to configure Microsoft Outlook just ignore that part. Note: Properly shutdown the Device Emulator. First do uncradle then shutdown and finally close the device emulator.
C# Corner. All contents are copyright of their authors.