Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
| Search | Today's Posts | Mark Forums Read
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 8th, 2006, 10:21 PM
Authorized User
Join Date: Feb 2005
Location: hyderabad, Andhara Pradesh, India.
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ashokparchuri Send a message via Yahoo to ashokparchuri
Default Un Authorized Exception

Hi i had used Xml file as database to an asp.net application when i am running the code everything is ok.When i try to retrive an eleent which is not availlable in xml file it was saying that the element is not found.

The trouble is when i entered an element which is availlable in the xml file it was giving Un authorised Exception.All the permissions for the xml file such as read/ write are given.

So there is no poblem when i enter the element which is not availlable in xml file when i entered the element which is there in the xml file it was giving the error.

Please help me if you can.

Thanks in Advance-Ashok Parhuri
  #2 (permalink)  
Old December 9th, 2006, 10:50 AM
mhkay's Avatar
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts

It seems that your application has no problem accessing the XML file, but while it is processing an element in the XML file it attempts to access some other resource which is not available.

It's difficult to debug your application without seeing it.

Michael Kay
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference

Similar Threads
Thread Thread Starter Forum Replies Last Post
Un authorized Exception ashokparchuri ASP.NET 1.x and 2.0 Application Design 7 December 12th, 2006 03:23 AM
Un Authorized Exception ashokparchuri ASP.NET 1.0 and 1.1 Professional 1 December 8th, 2006 11:16 PM
Form view control, Authorized edit only nuttylife2 ASP.NET 2.0 Professional 0 July 10th, 2006 07:57 PM
Local WroxUnited - Not authorized to view page... willieb BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 November 20th, 2005 08:25 AM
Authorized site access quinn Classic ASP Basics 3 September 24th, 2003 02:33 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.