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

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.notsupportedexception"
is raised, even though documentation tells me that this prefix is supported
by default.

I have tried to register this prefix using the webrequest.register 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
Nov 21 '05 #1
2 1959
I've now sorted out the second aspect of my query.

Brenton

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

I have tried to register this prefix using the webrequest.register 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

Nov 21 '05 #2
All resolved now.

Brenton

"BrentonMCA" wrote:
I've now sorted out the second aspect of my query.

Brenton

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

I have tried to register this prefix using the webrequest.register 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

Nov 21 '05 #3

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

Similar topics

0
by: Norm Dotti | last post by:
I'm running an app through auto-deployment ( ex. http://localhost/SampleSolution/SampleProjMain/bin/Main.exe ). I'd like to display a list of loaded assemblies, so I'm stepping through an array of...
4
by: Justin Malloy | last post by:
I am using the System.Net.Webclient to try and download an XML file from a website but am receiving a HTTP protocol error when running the DownloadFile() sub routine. I did a HTTP trace using...
3
by: MJB | last post by:
I'm getting an IStream back from function xmlHttp.responsestream. I would like to convert this to a System.IO.Stream in order to work with it in my application. Has anyone encountered this and...
1
by: stone1977 | last post by:
In my code I call following procedure. I use the Compact Framework. string path= System.IO.Directory.GetCurrentDirectory(); I get an expcepiton: 'System.NotSupportedException' occurred in...
0
by: jesper.hvid | last post by:
Hi. I've noticed, after moving some of our code to 2.0, that System.Net.WebRequest.Create(System.String) and System.Uri(System.String) no longer behave as they did in 1.1 framework. Example:...
0
by: fero | last post by:
Hello, I have the following problem. I have a page which works fine. But sometimes I see the following error in error log: -- Message: System.Web.HttpUnhandledException: Exception of type...
4
by: Sathyaish | last post by:
The WebRequest class implements IWebRequestCreate and hence, a method Create. This method has two other overloads, one of which is a private method. Here's how it looks: public static...
7
by: Mark Rae | last post by:
Hi, Has anyone successfully used the FTP stuff in the System.Net namespace against a VMS FTP server? I'm trying to do this at the moment and can't even get a directory listing, although there...
3
by: wingsganesh | last post by:
Hi buddys, I have the followinf Bug......... when i run my application "NotSupportedException was un handled" in "System.Drawing.Icon" for the following designer code.... ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.