I have a problem getting through my Proxy server when using a DNN module that I am modifying ‘Bring2mind.Questionnaire’.
I am making this module use a web service to past the information onto a database rather than email.
When creating a WebProxy object and Credentials “with tried and tested values” I still get the error;
The request failed with HTTP status 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )."
Source="System.Web.Services"
I have used
Dim myProxy As New System.Net.WebProxy("Myproxy", System.Convert.ToInt32("myproxy-port"))
myProxy.Credentials = System.Net.CredentialCache.DefaultCredentials
and also
Dim MyCreds As New CredentialCache()
MyCreds.Add(New Uri(uri), "Negotiate", New System.Net.NetworkCredential("MyNTName", "MyPassword", "MyDomain"))
myProxy.Credentials = MyCreds
ID’s and Names have all been changed to protect the inocent.
Now I know that both these methods work as I have used them on other projects in the past week, but not in this module.
I have also changed the Proxy Settings under host settings with no effect.
Can some one please point me in the right direction. Are there other DNN objects that I need to use?
Regards
Dale Grimshaw (ASE)
Ajax, Web Services & Mobile Software developer
Email: DGrimshaw@skm.com.au