Re: ASPEmail & ASPUpload problems
From: Jeff Cochran (jeff.nospam_at_zina.com)
Date: 11/30/04
- Next message: Jeff Cochran: "Re: From submitted to fax"
- Previous message: Jeff Cochran: "Re: Request.Form doesn't work in email"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Nov 2004 15:56:06 GMT
On Mon, 29 Nov 2004 21:44:03 GMT, Kelli <kellihREMNOREPLY@shaw.ca>
wrote:
>On Mon, 29 Nov 2004 20:59:25 GMT, jeff.nospam@zina.com (Jeff Cochran)
>wrote:
>
>>On Mon, 29 Nov 2004 19:02:29 GMT, Kelli <kellihREMNOREPLY@shaw.ca>
>>wrote:
>>
>>>The only error I'm getting is the ole 500 Internal Server Error.
>>
>>The one answered here?
>>
>>Why do I get a 500 Internal Server error for all ASP errors?
>>http://www.aspfaq.com/show.asp?id=2109
>
>Thanks but I do have that IE option on. I was still getting the 500
>error with a couple of scripts I tried. The latest one I'm trying
>however is giving me the "System cannot find path specified" error,
>see below.
>
>
>>>I've kind of abandoned that particular script for the moment and I'm
>>>trying a simpler example taken from ASPUpload's site to see if I can
>>>get that working. However, the err msg I'm getting from this one is:
>>>
>>>The system cannot find the path specified.
>>>
>>>/UploadAttachment.asp, line 19
>>
>>You need to identify line 19 if you're going to tell us there's
>>something wrong there...
>
>Sorry, the err msg is "System cannot find path specified"
>Which is why I think I need to use the Server.MapPath. It's not
>included in my code, cuz I don't know how to implement it at this
>point.
You still would need to tell us what line 19 is...
My guess is it's the c:\..... path in your code (snipped from your
reply so I can't be much more specific...) and that path either not
existing or not having correct permissions for the anonymous user
account.
>Thanks for the link to the Server.MapPath info!
>>
>>
>>>I think I need to use the Server.MapPath, but I have no idea how to
>>>use it. Here's my simple code example:
>>
>>Your code example has no Server.MapPath in it. But it's used thusly:
>>
>>http://www.devguru.com/Technologies/asp/quickref/server_mappath.html
>>
>>This is a problem with a component, so you may want to ask the
>>component publisher for help. Beyond that, strip your test to as
>>simple as possible, dump the form, test ASPUpload and ASPMail
>>separately and use files that are in the same folder as the script so
>>paths aren't an issue.
>
>The whole issue I think is the fact thatI cannot get the uploaded
>attachment part of the form working. Using files that are in the same
>folder as the script seems pointless to me, because I need to be able
>to get the script/form to work with files that the user wil be
>uploading.
Then you get to guess where the error may be instead of breaking the
parts out and testing individually.
Think of it this way:
You have a computer and a new 21" LCD display (lucky you!). But you
connect them and there's no image. You could swap an old 15" CRT for
the new display to test if anything is coming from the computer, but
since you want to use the new display you see no sense in testing with
a different display. It's called troubleshooting... :)
Jeff
- Next message: Jeff Cochran: "Re: From submitted to fax"
- Previous message: Jeff Cochran: "Re: Request.Form doesn't work in email"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|