TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Doug Ramsay
NA
1
0
System.UriFormatException
Oct 12 2005 5:31 PM
I am having trouble with an intermittent System.UriFormatException. The error seems to be caused by a call to an XML stored procedure in the format: http://[address of sql server xml]+[stored procedure] + [arguments, if any]&root=root When I look at the page on the offending server, I see the following error message: Target site: Void Parse() Error: Invalid URI: The URI scheme is not valid. Stack trace: at System.Uri.Parse() at System.Uri..ctor(String uriString, Boolean dontEscape) at System.Uri..ctor(String uriString) at System.Xml.XmlResolver.ResolveUri(Uri baseUri, String relativeUri) at System.Xml.XmlTextReader..ctor(String url, XmlNameTable nt) at System.Xml.XmlDocument.Load(String filename) at [namespace].Utils.showNewsTitlesXML(Int32 nCount, Int32 bHomepage, Int32 nCategoryID) at [namespace].home.Page_Load(Object sender, EventArgs e) My only solutions for resolving the error are to copy over the bin/.dll file from our staging server to the server with the error, or opening Web.config, making a minor change, and resaving. Obviously, I'd like a better solution - ideally one that avoids the problem altogether, or at the very least handles the exception gracefully. Any suggestions would be extremely welcome.
Reply
Answers (
0
)
uploading a directory
Configurations of the .Net applications