This topic is locked

Document upload/download

7/14/2005 11:03:00 AM
ASPRunnerPro General questions
D
dogboy author

Hi All,
I want to attach a word document to every record I save.

But until now I have not managed yet to do so.
For the document upload/download folder I use a folder on my c:drive where all my word documents are saved.

But when I use the document upload functionality ( each time when I add a record to asprunnerpro ) it keeps saying the errormessage:
---------------------------------------------------

Server.MapPath() error 'ASP 0172 : 80004005'
Invalid Path
/apl/asprunnerpro/idmatch/Kandidaten_Algemeen_edit.asp, line 1149
The Path parameter for the MapPath method must be a virtual path. A physical path was used.

-----------------------------------------------------
does anybody know what I'm doing wrong ?
my settings in website/virtual directory is:

( on the output directory page in de asprunnerpro wizzard )
----------------------------------------------

Select a website /Virtual Directory or Browse for output directory
idmatch (C:\idmatch)
c:\idmatch
Web Site Url:

http://localhost:80/idmatch/index.htm
thanks in advance for your answers !!!
regards, Marcel

Sergey Kornilov admin 7/14/2005

Marcel,
when you define Document upload/download field you need to enter relative path to folder where you loke to store uploaded documents.
Correct: uploads

Incorrect: c:\idmatch\uploads

500297 7/16/2005

thanks very much !!!
it works !!