472,373 Members | 1,990 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,373 software developers and data experts.

Problem occured when i placed my working folder in the server

hi all,
it's me again. i'm using ASP.NET Web Application, 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.

Everything was working fine when i was working on my local PC.......The problem come when i placed the 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".
Problem occured when i placed my working folder in the server
May i know how to solve this problem?

dim Filename as string
Filename=File1.value
Process(Filename)
Jul 21 '05 #1
1 1573

"Kelly" <Ke***@discussions.microsoft.com> wrote in message
news:90**********************************@microsof t.com...
hi all,
it's me again. i'm using ASP.NET Web Application, 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.
Everything was working fine when i was working on my local PC.......The problem come when i placed the 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". Problem occured when i placed my working folder in the server
May i know how to solve this problem?

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

I see you've posted this same question in multiple newsgroups. If you need
to post in multiple groups, please learn to cross-post (place multiple group
names in the newsgroups field of one message), rather than multi-posting
(sending the same message to groups, one at a time). Cross-posting allows a
response posted in one group to automatically appear in all, thus
eliminating redundant responses. That said, cross-posting should be limited
to two or three groups at most.
As to your question:
Is the file you want to access stored in the c:\ root on the server, or is
that where it was on your development PC? Now that your application is on
the server, the local path (c:\abc.txt) applies to the server, not the
client. A file on a remote PC will have to be accessed as such.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Ali | last post by:
I did the folloing in python shell: >>> x = 5.07e-25 >>> x = long(x) >>> print x 0L Um... I was under the impresion that long numbers had very very long precision. But, it seems that in...
1
by: Kelly | last post by:
hi all, it's me again. i'm using ASP.NET Web Application, 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...
1
by: Keali | last post by:
hi all, it's me again. i'm using ASP.NET Web Application, 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...
1
by: Kelly | last post by:
hi all, it's me again. i'm using ASP.NET Web Application, 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...
1
by: BG | last post by:
Hey All, Using VB.Net Standard 2003. WIN 2000/Pro & WIN XP Pro 2002. Trying to create an ASP.Net web app out on the server that I lease from. Steps that I'm using... ...
1
by: Kelly | last post by:
hi all, it's me again. i'm using ASP.NET Web Application, 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...
2
by: Michael Groeger | last post by:
Hi everybody, I rewrote a component of us so that it is now a service. Unfortunateley the service cannot start, because the third party product relies on expects to be started from a special...
10
by: Marcin Zmyslowski | last post by:
Hello all! I have a database created in MS Access 2003 which works fine in Win2000. This database shows me the following message in WinXP: "The expression On Load you entered as the event...
1
by: SayamiSuchi | last post by:
Hi.. I have been assigned to make a database in some remote machine.The machine has MSSQL 2005.I need to connect to that remote machine's sql server via my pc using my SQL Management express.I do...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.
0
DizelArs
by: DizelArs | last post by:
Hi all) Faced with a problem, element.click() event doesn't work in Safari browser. Tried various tricks like emulating touch event through a function: let clickEvent = new Event('click', {...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.