473,385 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Problems using a webservice from VS2005/.Net2.0

Hi,

I try to use the WebService from MS CRM 3.0 but I always get a Time-out.

So I make a really simple testapp which uses the following code:

---------
CrmService.CrmService service = new CrmService.CrmService();
service.Url = crmserviceurl;
service.Credentials = System.Net.CredentialCache.DefaultCredentials;

WhoAmIRequest whoamirequest = new WhoAmIRequest();
WhoAmIResponse myIdentity = (WhoAmIResponse)service.Execute(whoamirequest);
Guid myId = myIdentity.UserId;
---------

With VS 2003 this works fine. The same code in VS 2005 and I get the
exception:
"The operation has timed out"

I'm connected to the webserver via VPN.

Has anyone an idea what I'm doing wrong?

Thanks in advance.
Thorsten
Jan 5 '06 #1
1 3220
Hi,

the virus scanner was the problem.

Thanks
Thorsten
Hi,

I try to use the WebService from MS CRM 3.0 but I always get a Time-out.

So I make a really simple testapp which uses the following code:

---------
CrmService.CrmService service = new CrmService.CrmService();
service.Url = crmserviceurl;
service.Credentials = System.Net.CredentialCache.DefaultCredentials;

WhoAmIRequest whoamirequest = new WhoAmIRequest();
WhoAmIResponse myIdentity =
(WhoAmIResponse)service.Execute(whoamirequest);
Guid myId = myIdentity.UserId;
---------

With VS 2003 this works fine. The same code in VS 2005 and I get the
exception:
"The operation has timed out"

I'm connected to the webserver via VPN.

Has anyone an idea what I'm doing wrong?

Thanks in advance.

Thorsten

Jan 5 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Riga | last post by:
Hi guys, I'm trying to deploy a WebService on a server. Here's what I did so far: 1) Created a new website in IIS (on the port I want to use) 2) Shared that directory through windows so that I...
1
by: Mark Olbert | last post by:
I don't know if these two problems are related or if they're independent. In moving my site to a production server I discovered that I had enabled T-SQL debugging and forgotten to turn it off (I'm...
4
by: Craig | last post by:
Hi All, Not too long ago, I posted a question about any known issues of a VS2005 application calling a VS2003 web service. We narrowed it down to an issue with VS2005. If our customer runs...
1
by: Franklin M. Gauer III | last post by:
I create a simple DATAADAPTER in a webservice project. It creates the UPDATE, INSERT, DELETE commands for me - no problem. In vS2005 it creates these commands as RESOURCES in the RESX file (i.e....
2
by: Franklin M. Gauer III | last post by:
I create a simple DATAADAPTER in a webservice project. It creates the UPDATE, INSERT, DELETE commands for me - no problem. In vS2005 it creates these commands as RESOURCES in the RESX file (i.e....
4
by: DaTurk | last post by:
Hi, I'm converting our code base into VS2005 and we have alot of Managed c++. Problem is, is that for some reason some of our code will compile, but doesn't run correctly in VS2005. So, as we...
8
by: John Olbert | last post by:
Subject: Problems with Interop in C# We are having problems using Interop with a Vb6 ActiveX Dll in C# code in Net2 using Vs2005. Below are the signatures of the method that is the problem. It...
4
by: =?Utf-8?B?TmFkYXYgUG9wcGxld2VsbA==?= | last post by:
Hi everybody, I've got two questions about using the EnableSession property with an ASP.NET WebService: First Question: I'm trying to create a web service with EnableSession=true. I can't...
3
by: Russ | last post by:
I have a Web Service that was originally created with .NET VC 2003, and subsequently converted to the 2005 version. It works fine when built as a debug version, and run on the workstation it was...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.