Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: treeview - virtual directory problem


Message #1 by "tejas joshi" <tvj08@y...> on Sat, 29 Jun 2002 05:02:36
Hello !
        I created a user control which uses a treeview to display different
categories. I'm loading this user control dynamically depending upon the
type of the user.
        To populate the treeview i'm useing a stored proc which fired
through a virtual directory 'vAspcom' . The nodesrc attribute's value is =
'http://localhost/vAspcom?sql=execute+spChooseCategories+@pid=0'

        where virtual directory 'vAspcom' maps to
'c:/inetpub/wwwroot/asp_com' which is the root directory of the 
application.
when i load the user control in any of the files in the root dir, it works
fine.

        But when i load the user control in any page in other dir under 
root
dir. it gives me problem.. that invalid data at root element.

        so i understand that the problem is with the virtual directory. If 
i
try creating a virtual directory with physical path mapping to the
particular dir. e.g. 'vAspcomReg' for 'c:\inetpub\wwwroot\asp_com\reg' 
still
the problem persist..

        Can anybody give me any lead on this problem..

        Thanx in advance ! :)


  Return to Index