| Could not establish secure channel for SSL/TLS ? (VIP replies) |
| microsoft.public.dotnet.framework.webservices |
| hello, my client code communicates with a web service through a https connection. the code has a stub derived from SoapHttpClientProtocol. It also sets a certificate policy handler that allows everything: class CertificatePolicy : ICertificatePolicy { public bool CheckValidationResult(ServicePoint servicepoint, X509Certificate certificate, WebRequest request, int problem) { return true; } } but so... |
|
| Session("MyName") not working (VIP replies) |
| microsoft.public.dotnet.framework.webservices |
| Hi, I am trying to store an object in the Session() I have a VB.Net control which is loaded in an asp page and then calls a function in my webservice (also written in VB.Net) The web service function has everything it seems to need the code is at the bottom of the mail The MSDN makes some mention of needing to do something on the client side with regards to cookies but I can't find a decent exampl... |
|
| System.Net.WebException: The underlying connection was closed: (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Team, We have deployed a webservice (asmx.cs) to a server. We have created a windows app (C# using visual studios.net 2003 Enterprise Arch) that refers to the web service. In the windows app, we added the web reference referring to the ?wsdl file. The C# code is quite simple: VOSEWebServicesDevW.WebServices WebSvcW new VOSEWebServicesDevW.WebServices(); returncode WebSvcW.OMTestAddOrderXML(comboBo... |
|
| Underlying connection was closed (VIP replies) |
| microsoft.public.dotnet.framework.webservices |
| http://support.microsoft.com/default.aspx?scid kb;en us;819450 Questions: 1) Is this patch (fix) applicable to the .NET 1.1 Framework as well? That is, if we have Framework 1.1 (On Win2K3/IIS6.0), do we still need this patch? 2) Does it specifically solve only this error: The underlying connection was closed. An unexpected error occured on send. and not these (which is what we are seeing): The und... |
|
| Web Service that calls an external Web Service (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.security |
| Hi, I developed and installed a Web Service on a Windows Server 2003, the web service works fine on any Windows XP Workstation but not on the server, I keep getting this exception: System.Security.SecurityException: Request for the permission of type System.Net.WebPermission, System, Version 1.0.5000.0, Culture neutral, PublicKeyToken b77a5c561934e089 failed. at System.Security.CodeAccessSecurityE... |
|
| WebException while calling Web Service over HTTPS... (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I'm having an issue calling a Web Service (This is an 3rd party Web Service and I have no control/access to it) via HTTPS. We have talked to the developers and they said their Web Services are working from their end. When I call their Web Service, though, I keep getting this error: Web Exception occurred! Status:SecureChannelFailure Entire Error Information:System.Net.WebException: The underlying ... |
|
| WebResponse Headers comma delimiting mistake (VIP replies) |
| microsoft.public.dotnet.framework |
| The expires date in a Set Cookie header includes a comma in every implementation I have seen or read documentation for. However, the CLR's WebResponse Headers collection delimits headers of the same name with commas. I thought I would get around this with the Headers collection method GetValues("Set Cookie"), but even at that point the headers have already been corrupted by storage as a comma deli... |
|
| Windows authentication proxy & web services (VIP replies) |
| microsoft.public.dotnet.framework |
| Hi I get an error when a winforms application tries to communicate with a web service. The winforms machine connects to the internet via a Windows Authentication proxy server (ISSA or whatever it's called!). The call stack is: MyApp.General.cFmsException System.Net.WebException: The operation has timed out. at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebReques t request) at S... |
|
| Windows authentication proxy server (VIP replies) |
| microsoft.public.dotnet.framework.webservices |
| Could someone point me in the direction of a good sample that shows how to get aWinforms application to access a webservice via a proxy server that uses Windows Authentication. Have written code that gets through Basic authentication without any problems, but ISA using Windows Authentication is causing us problems! |
|
| "The underlying connection was closed" error |
| ASPFriends.com 'aspngfreeforall' list |
| Here is the situation : Webservices hosted by an intranet web server and published at proxy outside web server accessing those webservices one aspx page accessing twice the same webservice like this : Dim myws as new MyWebService myws.Method1() myws.Method1() Since a few days, I get the following error "The Underlying Connection was closed", after I refresh the page. (the first Load is OK, but the... |
|
| "The underlying connection was closed" error |
| ASPFriends.com 'aspngwebservices' list |
| Here is the situation : Webservices hosted by an intranet web server and published at proxy outside web server accessing those webservices one aspx page accessing twice the same webservice like this : Dim myws as new MyWebService myws.Method1() myws.Method1() Since a few days, I get the following error "The Underlying Connection was closed", after I refresh the page. (the first Load is OK, but the... |
|
| .Net Remoting with Compact Framework |
| microsoft.public.dotnet.framework.compactframework |
| Can anyone who has been working with .Net CF for a while tell me whether ..Net remoting is in any way possible, in the same/similar way as with full blown VB.Net? Thanks Derek |
|
| A new session is created per call to a web method in ASP.NET web service. |
| microsoft.public.dotnet.framework.aspnet |
| I can see that every time I call a web method (same or the different) from a same client, every time a new session is created. I am not sure whether this is bug or a feature. In general can somebody let me know how to manage session level state in the Web Services. To demonstrate this problem I have created a simple web ser service with the following web method in it. [WebMethod(EnableSession true... |
|
| Applying certificates on web service |
| microsoft.public.dotnet.framework.webservices |
| Hi, I just wrote my first web service and now I want to enable security for both server and client. That's why I decided to use X509 Certificates on both server and client, so that every data that is send/received between both is encrypted and signed to keep hackers away. Now, the problem is, that I haven't found a way to 'add' a certificate to my web service object (in VB.NET). The class NetworkC... |
|
| Applying certificates on web service |
| microsoft.public.dotnet.general |
| Hi, I just wrote my first web service and now I want to enable security for both server and client. That's why I decided to use X509 Certificates on both server and client, so that every data that is send/received between both is encrypted and signed to keep hackers away. Now, the problem is, that I haven't found a way to 'add' a certificate to my web service object (in VB.NET). The class NetworkC... |
|
| Expert help needed |
| microsoft.public.dotnet.languages.vb |
| Hello, We have some code (see below) that has been working intermittently and I was wondering if someone had a better approach or an idea on why we get these errors. This part of code basically gets a file and uploads it from a cable or DSL connection to our t1 line to a server. The file size ranges from 1.7 MB to 4MB and there can be between 1 40 files that need to be uploaded to our server. We a... |
|
| Maintaining sessions - A newbie question |
| microsoft.public.dotnet.framework.aspnet.webservices |
| How do I maintain a Web Service session for a Windows Form Client? Please help. Prakash |
|
| Overriding Serialization |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I have a proxy client class that requires custom serialization/deserialization. Is there another way beside attributes to control the serialization? The XML tags I'd like to use can only be determined at run time. I thought my class could implement ISerializable and override GetObjectData but this doesn't appear to be the case. Thanks, Steve |
|
| Proxy / WebService |
| microsoft.public.dotnet.framework.aspnet.webservices |
| At runtime, I am using a Web Service on the web through our proxyserver. I am using the below code: oProxy New WebProxy(" proxy ip address ", 8080) With oProxy .Credentials New NetworkCredential ("myusername", "mypassword") End With o.Proxy oProxy o.Url "http://www.mysite.co.uk/service1.asmx" Try Debug.WriteLine(o.MyComputerName) Catch ex As Exception Debug.WriteLine(ex.ToString) End Try Using the... |
|
| Session Cookies (again) |
| microsoft.public.dotnet.framework.aspnet |
| Sorry to repost but I am looking at a deadline of the end of the day to fix this problem... Does anyone have any idea why the following code would work fine on my development server but when run on another server always has a null SessionCookie? Stumped so any help would be appreciated Cheers Simon void Page Load(object sender, System.EventArgs e) { // Put user code to initialize the page here Gee... |
|
| Sessions in Web Services |
| microsoft.public.dotnet.framework.aspnet |
| If I have a function in my web service: [WebMethod (EnableSession true)] public int incSession() { if (Session["Eye"] null) Session["Eye"] 0; Session["Eye"] (int) Session["Eye"] 1; return (int)Session["Eye"]; } I call this function from my client after creating an object for the web service via 'add web reference' and then creating the object WebService.Service1 service new WebService.Service1(); ... |
|
| System.Net.WebException: The operation has timed-out |
| microsoft.public.dotnet.framework.webservices |
| To All: We receive the following error when executing calls to a web service we created using Visual Studio 2002. The error shown below occures in reference.vb. Code that is generated by VS. System.Net.WebException: The operation has timed out. at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse... |
|
| The request failed with HTTP status 401: Access Denied. |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I don't get it. I've set the virtual directory hosting the ASMX pages as Disallow Anonymous Access Integrated Windows Authentication This will work because all accessors will be on the enterprise Intranet with a valid set of credentials. I can browse all the ASMX pages and try out all the functions from a browser locally on the same server which is hosting the Web Services. However, when I try to ... |
|
| The underlying connection was closed - Remoting.Channels.Http.HttpClientTransportSink |
| microsoft.public.dotnet.framework |
| Hi, I got this error. I search the web and found a long disscus and solutions for example at http://p2p.wrox.com/topic.asp?TOPIC ID 4858 the problem I use remoting and not webservie. I dont have reference.cs file. do you have any solution? which function to overload ? wehre? TIA Gilad System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. Server s... |
|
| Timeout when calling a webservice from c#. The problem is back. |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I have posted this once before and thought I had fixed the problem, but it's back and the original solution wasn't it. Somehow I was able to actually get it to go away, for a few hours, but it's back.... The same code works on another system, just not on mine. I have using XP Professional, 512 MB RAM. I have a simple C# app, no thrills and it tries to do this: localhost.Project DB projectDB new lo... |
|