An invalid character was specified in the Path parameter for the MapPath method.

  •  11-03-2009, 9:11 AM

    An invalid character was specified in the Path parameter for the MapPath method.

    I am getting the same error as this post but it is still giving me an error.
    http://cutesoft.net/forums/thread/28219.aspx
     
     


    The page cannot be displayed
    There is a problem with the page you are trying to reach and it cannot be displayed.

    --------------------------------------------------------------------------------

    Please try the following:

    Click the Refresh button, or try again later.

    Open the localhost home page, and then look for links to the information you want.
    HTTP 500.100 - Internal Server Error - ASP error
    Internet Information Services

    --------------------------------------------------------------------------------

    Technical Information (for support personnel)

    Error Type:
    Server.MapPath(), ASP 0173 (0x80004005)
    An invalid character was specified in the Path parameter for the MapPath method.
    /timiskaminghu/www/CuteEditor/CuteEditor_Files/Dialogs/filePost.asp, line 136


    Browser Type:
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727)

    Page:
    POST 4705 bytes to /timiskaminghu/www/CuteEditor/CuteEditor_Files/Dialogs/filePost.asp

    POST Data:
    error '80020009'
    Exception occurred.

    /iisHelp/common/500-100.asp, line 223
     
     
     
     
     
     
     
    Here is my code for default.asp sample provided.  Everything works except uploading images.
     
      <%
       Dim editor
       Set editor = New CuteEditor
       editor.ID = "Editor1"
       editor.Text = "Type here"
       editor.FilesPath = "CuteEditor_Files"
       editor.EditorBodyStyle = "font:normal 12px arial;"
       editor.EditorWysiwygModeCss = "asp.css"
       editor.Draw()
                
       ' Request.Form(ID) access from other page
      %>
     
    That is located at D:\Inetpub\wwwroot\sample_website\www\CuteEditor
     
    I have the files here D:\Inetpub\wwwroot\Timiskaminghu\www\CuteEditor\CuteEditor_Files
     
View Complete Thread