Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I've created an app that uses a xmlvalidation reader to load an xml file. my problem is that the xml file contains a reference to a dtd external to our network.

 

When i try to load the document I get this error:

"The remote server returned an error: (407) Proxy authentication Required"

 

This is what i have in my app.config. I Also verified that my machine.config file has a 'usesystemdefaults="true"' entry.

 

<configuration>

<system.net>

<defaultProxy>

<proxy

usesystemdefaults="true"

proxyaddress="http://myProxy:8080"

bypassonlocal="true"

/>

</defaultProxy>

</system.net>

</configuration>

 

 

One funny thing that is happening is that my app.config file gets deleted when i try to run in debug mode. I can't find any documentation on this. Can anyone help? :o

Thanks!

 

PePe.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...