system.net.webrequest, system.notsupportedexception

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • BrentonMCA

    #1

    system.net.webrequest, system.notsupportedexception

    I am trying to create a webrequest using the create method with a URL (string
    or system.uri) with the prefix "http://". A "system.notsupp ortedexception"
    is raised, even though documentation tells me that this prefix is supported
    by default.

    I have tried to register this prefix using the webrequest.regi ster prefix
    method according to what is specified in
    http://msdn2.microsoft.com/library/8...us,vs.80).aspx, but the
    'creator' parameter is not accepted, being nothing.

    Any advice?

    Brenton
  • BrentonMCA

    #2
    RE: system.net.webr equest, system.notsuppo rtedexception

    I've now sorted out the second aspect of my query.

    Brenton

    "BrentonMCA " wrote:
    [color=blue]
    > I am trying to create a webrequest using the create method with a URL (string
    > or system.uri) with the prefix "http://". A "system.notsupp ortedexception"
    > is raised, even though documentation tells me that this prefix is supported
    > by default.
    >
    > I have tried to register this prefix using the webrequest.regi ster prefix
    > method according to what is specified in
    > http://msdn2.microsoft.com/library/8...us,vs.80).aspx, but the
    > 'creator' parameter is not accepted, being nothing.
    >
    > Any advice?
    >
    > Brenton[/color]

    Comment

    • BrentonMCA

      #3
      RE: system.net.webr equest, system.notsuppo rtedexception

      All resolved now.

      Brenton

      "BrentonMCA " wrote:
      [color=blue]
      > I've now sorted out the second aspect of my query.
      >
      > Brenton
      >
      > "BrentonMCA " wrote:
      >[color=green]
      > > I am trying to create a webrequest using the create method with a URL (string
      > > or system.uri) with the prefix "http://". A "system.notsupp ortedexception"
      > > is raised, even though documentation tells me that this prefix is supported
      > > by default.
      > >
      > > I have tried to register this prefix using the webrequest.regi ster prefix
      > > method according to what is specified in
      > > http://msdn2.microsoft.com/library/8...us,vs.80).aspx, but the
      > > 'creator' parameter is not accepted, being nothing.
      > >
      > > Any advice?
      > >
      > > Brenton[/color][/color]

      Comment

      Working...