469,906 Members | 2,183 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,906 developers. It's quick & easy.

could not find the path

hi all,
i'm using ASP.NET Web Application writie in VB, using a "File Field"component under HTML tab and i do a right click on the component and select "Run As Server Control". This was done because i wanted the user to browse a specific file in their own directory(on their client PC only).

Everything was working fine when i was programming on my local PC(MY working folder in my PC) .......The problem come when i placed the working folder to the SERVER. Mapping to the server(http:12:12:12.12/kelly/index.aspx), when i click on the File1's button to browse a file in my CLIENT PC, the error show "could find file in c:\abc.txt". ( but in my client PC's the abc.txt is my c:\ mar) Why does it prompt me "could not find the path"?...sigh...:(

Problem occurred when i placed my working folder up to the server.
May i know how to solve this problem?

dim Filename as string
Filename=File1.value
Process(Filename)
Pls Help......

Nov 22 '05 #1
1 1382
ur extension containing 4 characters instead of 3 characters.
i think it is index.asp not index.aspx

Kelly wrote:
hi all,
i'm using ASP.NET Web Application writie in VB, using a "File Field"component under HTML tab and i do a right click on the component and select "Run As Server Control". This was done because i wanted the user to browse a specific file in their own directory(on their client PC only).

Everything was working fine when i was programming on my local PC(MY working folder in my PC) .......The problem come when i placed the working folder to the SERVER. Mapping to the server(http:12:12:12.12/kelly/index.aspx), when i click on the File1's button to browse a file in my CLIENT PC, the error show "could find file in c:\abc.txt". ( but in my client PC's the abc.txt is my c:\ mar) Why does it prompt me "could not find the path"?...sigh...:(

Problem occurred when i placed my working folder up to the server.
May i know how to solve this problem?

dim Filename as string
Filename=File1.value
Process(Filename)
Pls Help......


Nov 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Steve | last post: by
9 posts views Thread by Clinton Frankland | last post: by
14 posts views Thread by Gianfranco | last post: by
3 posts views Thread by gogaz | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.