Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid URI: The URI scheme is not valid
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Invalid URI: The URI scheme is not valid
Divers
Thread ID:
00935062
Message ID:
00935062
Vues:
277
Hi all,

I have a VFP COM imported into an ASP.NET project. There is a method that returns XML string called by my webform, that XML string in turn is to be read into a DataSet. But when the DataSet object tries to ReadXml, it failes and an exception is thrown with the message as indicated by this thread's title. The code is as follows:
//code omitted
string cxml = ovfpcom.getmylist();// this returns an xml string
this.odataset.ReadXml(cxml);// this fails with "Invalid URI: The URI scheme is not valid"
//so I tried
this.odataset.ReadXml(cxmlXmlReadMode.ReadSchema);//I get the same message 
//so I tried
this.odataset.ReadXml(cxmlXmlReadMode.IgnoreSchema);//Still fails with the same message 
Any help will appreciated greatly,
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform