473,386 Members | 1,715 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,386 software developers and data experts.

Acessing WebService From Behind ISA with WinForms App

I'm trying to access a WindowsForms application from a network with a ISA
server proxy. At this point I'm convinced that ISA Server is the Devil!!!
I originally had issue with the credentials, so I passed the credentials as
follows:
Dim wp As WebProxy = CType(GlobalProxySelection.Select, WebProxy)

wp.Credentials = CredentialCache.DefaultCredentials

myWebService.Credentials = wp.Credentials

Now I'm getting a the following error:

System.Net.WebException: The request failed with HTTP status 403: Forbidden
( The ISA Server denies the specified Uniform Resource Locator (URL). ).

Any help appreciated,

Thanks

Todd


Nov 23 '05 #1
1 1497
FYI the original error was HTTP status 407.

Todd

"Todd Plambeck" <tp***@nospamflash.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I'm trying to access a WindowsForms application from a network with a ISA
server proxy. At this point I'm convinced that ISA Server is the Devil!!!
I originally had issue with the credentials, so I passed the credentials
as follows:
Dim wp As WebProxy = CType(GlobalProxySelection.Select, WebProxy)

wp.Credentials = CredentialCache.DefaultCredentials

myWebService.Credentials = wp.Credentials

Now I'm getting a the following error:

System.Net.WebException: The request failed with HTTP status 403:
Forbidden ( The ISA Server denies the specified Uniform Resource Locator
(URL). ).

Any help appreciated,

Thanks

Todd


Nov 23 '05 #2

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

Similar topics

5
by: Richard Kure | last post by:
Is it possible to get a webservice to call to a Windows Form? Both the webservice and the form are running at the same computer. I work in C#.NET in Visual Studio. I tried to make an eventin the...
2
by: Raul Cortes | last post by:
I have been developing winforms for a while. I had an app, that downlods exchange rates from an html page from a website, creating a dataset, and then writing the xml to the local drive....
1
by: Greg Busby | last post by:
I am a newbie to ASP.NET and webservices. I have a webservice that is calling a C# dll. This dll then calls methods in a VB COM+ component. The COM+ component is not instantiating correctly. The...
2
by: author | last post by:
Newbie Q... When I hit the "ws.asmx" in a browser, I get "Parser Error Message: Could not create type 'Service1'" ?? If I use the file "ws_ok.asmx" (without codebehind, but same code), I get...
4
by: MacLanca | last post by:
Hi, I've done the HelloWorld WebService, installed in a WebServer (INTERNET) When I call it with Windows App it works, if I use a webform it doesn’t (INTERNET) Both of them work in the INTRANET...
1
by: rival | last post by:
Hi. I've a single solution with many projects. I'm using VS2003 and framework 1.1 1. Data project - contains UserData class, inheriting from DataSet, and setting up constants and columns...
4
by: Boni | last post by:
I want consuming a webserivce trough a proxy. I use this code. myService s = new myService (); System.Net.WebProxy proxyObject = new System.Net.WebProxy("http://proxyhost:8080"); s.Proxy =...
1
by: kimberly.walker | last post by:
Im new to creating a web service..... I have a public web page that collects data this is stored in an .mdb. The plan is to create a web service behind the firewall to get the data from the .mdb...
3
by: | last post by:
Hi, We have .NET 1.1 WinForms apps accessing webservices through proxy servers in various companies using different proxy server setups. Our WinForms app is currently configurable to either use...
2
by: =?Utf-8?B?U2VyZ2V5IFBvYmVyZXpvdnNraXk=?= | last post by:
In my ASP.Net 2.0 website I defined base page type in web config as follows: <pages MaintainScrollPositionOnPostback="true" pageBaseType="base_Page" /> It all works fine for the pages. Now I am...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
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...
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.