Re: ASPEmail & ASPUpload problems

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jeff Cochran (jeff.nospam_at_zina.com)
Date: 11/30/04


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



Relevant Pages

  • Re: Options --> After sending, move to...
    ... Get this script Open Folder: ... buttons default button 1 with icon stop ... display dialog "An error occurred and the messages were not moved. ...
    (microsoft.public.mac.office.entourage)
  • Re: Internet Explorer - Firefox
    ... Firefox, the problem is how publisher displayed it in IE. ... I imagine it is a problem with how the script is ... suppose to display a search box for flights..i am pretty sure that the ...
    (microsoft.public.publisher.webdesign)
  • Re: Display a block of text in Firefox & Safari
    ... in FireFox and Safari it appears as a narrow ... There seems to be a needless reliance on the global variable 'NumberOfQuestionsShown', I've suggested a different strategy below that should be easier to maintain - it uses a single class to hide/show questions so the script doesn't need to know how many questions there are nor do they need to be consecutively numbered. ... var questionNum; ... Instead of going through all questions, how about giving them all the same style, then just modify the style to change display from 'none' to ''. ...
    (comp.lang.javascript)
  • Re: Conditional formatting
    ... happens if you step through the script in Script Debugger? ... I'd like to dynamically place a button on my layout. ... I only want the "Show All" button to display when I'm ... calculation determining how the button is labelled and describing what ...
    (comp.databases.filemaker)
  • Re: Internet Explorer - Firefox
    ... the Pub 2003 coding engine produces the code. ... the problem is how publisher displayed it in IE. ... original script given to you from the source, ... suppose to display a search box for flights..i am pretty sure ...
    (microsoft.public.publisher.webdesign)