Unable to translate physical path to virtual path, ImageGalleryPath

Last post 05-08-2007, 9:30 AM by hbaill. 2 replies.
Sort Posts: Previous Next
  •  05-02-2007, 5:47 PM 29100

    Unable to translate physical path to virtual path, ImageGalleryPath

    I'm trying to get the image gallery popup to load, but every time I click on the insert image button to open it I keep getting the following error:
     
    "An Exception occurred in CuteEditor.dll but was not handled in user code
     
    Additional information: Unable to translate physical path c:\inetpub\wwwroot\uploads\images to virtual path."
     
    along with this error page:
     
     
     
    The method I am calling in the code is coded exacly like the example:
     
    Editor1.SetSecurityImageGalleryPath(@"c:\inetput\wwwroot\uploads\images");
     
    I've tryed all kinds of different path strings, but I keep getting the same error message.
     
    Thanks for any help.  This is version Cute Editor .NET 6
     
  •  05-03-2007, 6:37 AM 29124 in reply to 29100

    Re: Unable to translate physical path to virtual path, ImageGalleryPath

  •  05-08-2007, 9:30 AM 29343 in reply to 29124

    Re: Unable to translate physical path to virtual path, ImageGalleryPath

    Thanks for the reply, but I'm still having trouble getting the images from the virtual directory to show up in the Image gallery.
     
    I created an "uploads" directory under my main project, then created a virtual directory in IIS that points to that uploads folder and set it to point to or redirect to my images that are stored in another location, then put the directory path as "/uploads" for the image gallery path.
     
    This opens the image directory fine, but no images are showing up.
     
    Seems that its not redirecting to the pointed path that is set in IIS, but just looking at the uploads folder directly and since the images are not actually stored there no images show up.
     
    I guess I'm still a little unclear as to how the former person got this to work.
     
    I'm using Visual Studio 2005, 2.0 framework.
View as RSS news feed in XML