473,788 Members | 2,988 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.CrmS ervice service = new CrmService.CrmS ervice();
service.Url = crmserviceurl;
service.Credent ials = System.Net.Cred entialCache.Def aultCredentials ;

WhoAmIRequest whoamirequest = new WhoAmIRequest() ;
WhoAmIResponse myIdentity = (WhoAmIResponse )service.Execut e(whoamirequest );
Guid myId = myIdentity.User Id;
---------

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 3240
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.CrmS ervice service = new CrmService.CrmS ervice();
service.Url = crmserviceurl;
service.Credent ials = System.Net.Cred entialCache.Def aultCredentials ;

WhoAmIRequest whoamirequest = new WhoAmIRequest() ;
WhoAmIResponse myIdentity =
(WhoAmIResponse )service.Execut e(whoamirequest );
Guid myId = myIdentity.User Id;
---------

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
1241
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 can upload stuff 3) Used the "Copy Website" function in VS2005 to copy the files to that folder My error is as follows... Any ideas?:
1
1164
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 deploying the debug version on the production server to continue doing some "real world" testing). Because my hosting company doesn't grant debugging permissions on their instance of SqlServer this prevented connections from being created. No...
4
1488
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 their application outside of VS2005, it works. If he runs it in VS2005, the webservice call will time out. Any ideas on why this could happen? Runnning the application outside of studio verifies that the code, URL, and security rights are correct....
1
1433
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. strings). The problem is whenever I try to test the webservice I get: System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure...
2
1895
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. strings). The problem is whenever I try to test the webservice I get: System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure...
4
1323
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 can continue moving forward we decided to keep the managed c++ stuff in VS2003 and just compile them seperatley. My problem is that when I tried to reference one of our VS2005 dll's is gave me an error, so I tried to reference several different...
8
2707
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 is the last argument (e.g., "out obj" in C#) that is returned corrupted. It should be an array of integers. In one simple test App this argument does return an array of integers reliably. In the actual App it returns one or two integer arrays but...
4
3266
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 get it to work with VS2005 ( It works with vs2003!). Here is my testcase:
3
1847
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 built on. Now I want to build a release version so I can deploy it to Windows 2003 server. This project is compiled with "/clr:oldSystax". I've run into several problems and I am not sure all of the things I am discovering are related. Any help...
0
9656
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10364
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9967
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.