Hi all !
I have a webservice that contains a Helloworld() method (This return a string type ) and a asp.net application . I call Helloworld method from webservice , it works fine . but when i call this method again , it have problem with error message following:
Unable to read data from the transport connection. at System.Net.Conn ectStream.Begin Read(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at System.Net.Conn ectStream.Read( Byte[] buffer, Int32 offset, Int32 size) at System.IO.Strea mReader.ReadBuf fer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffe r) at System.IO.Strea mReader.Read(Ch ar[] buffer, Int32 index, Int32 count) at System.Xml.XmlS canner.Read() at System.Xml.XmlS canner.ScanCont ent() at System.Xml.XmlT extReader.Parse Root() at System.Xml.XmlT extReader.Read( ) at System.Xml.XmlR eader.MoveToCon tent() at............. .
I configurated proxy in file "web.config " following :
<system.net>
<defaultProxy >
<proxy
usesystemdefaul t = "false"
proxyaddress="h ttp://myproxy : port"
bypassonlocal=" false"
/>
</defaultProxy>
</system.net>
but it didn't work .
If anyone have resolve to this problem , please help me !
Thank you very much
0 2537 Sign in to post your reply or Sign up for a free account.
Similar topics |
by: 21novembre |
last post by:
Hi all,
I made a question several days before to describe my strange trouble of
mysqldump. But I still can't figour it out. Well, I just want to ask
another question whether I could just backup my databases by copying
the data folder to some place? Then if I meet some disaster, could I
just copy the backup folder back to recover my databases?
Thank you.
Zh.y
|
by: RWC |
last post by:
Hello,
I'm getting the error "The field is too small to accept the amount of data
you attempted to add. Try inserting or pasting less data" when I run a
report. I'm simply trying to apply the following criteria/filter to this
report "kEmployee in(select kEmployee from proCriteria;)" I'm not really
trying to insert any data. This same line works on all my other reports,
and I can't seem to figure out why it doesn't work on this...
|
by: Galore |
last post by:
Hello,
I'm trying to make a simple socket application, something like a chat
application, but when I run it, it shows the following error when the client
connects to the server: "Unable to read data from the transport
connection.". I'm posting the code, so if somebody can help I'll be very
grateful.
private void DoListen()
{
|
by: Muscha |
last post by:
Hello,
Every now and then my application throw this exception:
"Unable to read data from the transport connection"
And when I break into the Visual Studio, the thread where it failed has none
of my code and the following is the call stack:
|
by: Aryeh Holzer |
last post by:
Hi, I've been trying to use the weather webservice
available from the National Weather Service (NWS), at
http://www.nws.noaa.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.
wsdl without success. Here's what I've found so far.
When I use .NET 1.0/1.1, and try to call the primary
webservice method NDFDgen, the call will succeed if the
productType is set to "glance", but fail if set to "time-
series".
| |
by: brian.mills |
last post by:
I'm having trouble with a web service I've been using since I've change
computers. The project was in source safe, and i've pulled it out, but I can
now not change beetween static and dynamic on a web service web reference. It
also gives me an error on trying to update it saying it can't consume it. The
Error "Custom tool error: Unable to import WebService/Schema. Unable to
import binding 'SoapGeneralSoap' from namespace...
|
by: quocvuong2005 |
last post by:
Hi all !
I have a webservice that contains a Helloworld() method (This return a string type ) and a asp.net application . I call Helloworld method from webservice , it works fine . but when i call this method again , it have problem with error message following:
Unable to read data from the transport connection. at System.Net.ConnectStream.BeginRead(Byte buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at...
|
by: MarkusR |
last post by:
If I run the stored proc in the Query Analyzer this works and I get the
expected result set back. However when I run it in my application I get
a results set of one row but when I try to access the values I get
"Invalid attempt to read when no data is present".
private void GetLotIDPriorityFromLot(string aLotDesc, out int aLotID,
out DateTime aPriorityDate)
{
SqlConnection Conn;
SqlDataReader reader = null;
|
by: divsTiw |
last post by:
I want to populate combo box with data from OracleDataReader
, but "Invalid attempt to read when no data is present."
is thrown.
there are two rows returned , then too why such error.
plzzz share ur knowledge to help me out with this probs.
my code is as below,
|
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,...
|
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...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |