Remove double forward slash in LoadControl so that CE will run with other web servers.

  •  08-29-2007, 12:18 PM

    Remove double forward slash in LoadControl so that CE will run with other web servers.

    Hi Adam,
     
    Re: the problem with LoadControl path reference.
     
    We've done some checking and it seems that the double forward slash is non-standard. We tested in other 3 other web servers and it fails in all of them.
     
    IIS handles it because they strip the extra slash before execution, but using double forward slashes to identify a path spec is apparently a non-standard programming practice (it's really a Java thing to ensure identification of the second character as a forward slash).
     
    Can you please ensure in future releases that the double forward slash is replaced with a single..
     
    In the immediate problem, modify tag.aspx from:
     
       Control ctrl=LoadControl("Tag//"+tabcontrol); 
     
    to
     
       Control ctrl=LoadControl("Tag/"+tabcontrol); 
     
    Can you confirm that you will be doing this..
     
    Thanks,
     
    FredD
View Complete Thread