M
mydooodle
Hi all,
I have created a small App in .Net 2005. The App uses a web service in
the local macine to query the database.
The result is to be displayed in the grid in Emulator.
Web Service is connecting fine with Windows App but not working with
Pocket PC App.
I am getting following error :
"Unable to connect to the Network".
just while running the application in Emulator.
I have tried various things like setting the URL property in code,
Connecting to the Emulator. Emulator displays the grid but on pressing
on load button the error pops up.
Code :
private void btnLoad_Click(object sender, EventArgs e)
{
FirstAppIIS.Service oUserService = new
FirstAppIIS.Service();
//oUserService.Url = "http://localhost:1232/FirstApp/
Service.asmx";
oUserService.Url = "http://kavitahome/FirstAppIIS/
Service.asmx";
DataSet dsUser = new DataSet("User");
dsUser = oUserService.ReturnData();
ugdUser.DataSource = dsUser.Tables[0];
ugdUser.Refresh();
}
I have tried with local host as well as machine name. No chances.
Any help would be highly praised.
Regards,
Bhoomi.
I have created a small App in .Net 2005. The App uses a web service in
the local macine to query the database.
The result is to be displayed in the grid in Emulator.
Web Service is connecting fine with Windows App but not working with
Pocket PC App.
I am getting following error :
"Unable to connect to the Network".
just while running the application in Emulator.
I have tried various things like setting the URL property in code,
Connecting to the Emulator. Emulator displays the grid but on pressing
on load button the error pops up.
Code :
private void btnLoad_Click(object sender, EventArgs e)
{
FirstAppIIS.Service oUserService = new
FirstAppIIS.Service();
//oUserService.Url = "http://localhost:1232/FirstApp/
Service.asmx";
oUserService.Url = "http://kavitahome/FirstAppIIS/
Service.asmx";
DataSet dsUser = new DataSet("User");
dsUser = oUserService.ReturnData();
ugdUser.DataSource = dsUser.Tables[0];
ugdUser.Refresh();
}
I have tried with local host as well as machine name. No chances.
Any help would be highly praised.
Regards,
Bhoomi.