Print Page | Close Window

Attachment using aspSmartUpload. - HELP

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=9990
Printed Date: 08 April 2026 at 5:01am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Attachment using aspSmartUpload. - HELP
Posted By: john8118
Subject: Attachment using aspSmartUpload. - HELP
Date Posted: 13 April 2004 at 11:01pm

Dear Sirs,

Please help me out on how to integrate aspsmartupload v3.3 component into webwiz forums 7.7a. I am running win2000, IIS 5,  SP4, Microsoft SQL Server 2000. I am able to upload using the template supplied by aspsmartupload but can never upload any image or attachment when I am trying to upload using the forum function( image attachment button).

I have the following file structure on my  webserver. c:\inetpub\wwwroot\forum\admin\
c:\inetpub\wwwroot\forum\administrator\
c:\inetpub\wwwroot\forum\avatars\
c:\inetpub\wwwroot\forum\Documentation and FAQ's\
c:\inetpub\wwwroot\forum\functions\
c:\inetpub\wwwroot\forum\includes\
c:\inetpub\wwwroot\forum\language_files\
c:\inetpub\wwwroot\forum\security_images\
c:\inetpub\wwwroot\forum\smileys\

My server web page is set to c:\inetpub\wwwroot\forum\ 
If I type the URL http://localhost/ - http://localhost/  it  will point to c:\inetpub\wwwroot\forum\default.asp

I am able to access to my forum page but I can never do any image attachment. I have search the forum and found the solution provided below.

Here is one solution provided by the Administrator in one of the thread in this forum

The path to the upload folder in the admin area
is incorrect.

The path must be from the directory the forum is
in to the upload directory
.

What does it mean that the path must be from the directory the forum is in to the upload directory??????

I have tried to create a upload folder in c:\inetpub\wwwroot\forum\upload\

Set the upload directory to have read, write permisson. It does not work.

I have tried to create a upload folder in c:\inetpub\wwwroot\upload\

Set the upload firectory to have read, write permisson. It does not work too. I have tried various combination by creating upload directory in different folders but the result is still the same.

Note : I have unchecked show friendly HTTP error messages in the advance option for the Internet web browser (IE v6.0).

 

Here is the Error Message I encountered on my server:

The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

------------------------------------------------------------ --------------------

Please try the following:

Click the Refresh button, or try again later.

Open the localhost home page, and then look for links to the information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

------------------------------------------------------------ --------------------

Technical Information (for support personnel)

Error Type:
Microsoft VBScript runtime (0x800A004C)
Path not found
/functions/functions_upload.asp, line 80


Browser Type:
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

Page:
POST 355 bytes to /upload_files.asp

POST Data:
. . .

Time:
Tuesday, April 13, 2004, 11:35:08 PM




Replies:
Posted By: WebWiz-Bruce
Date Posted: 14 April 2004 at 6:23am
The error means the path is incorrect to the upload folder.

The default upload folder and path already entered into the upload setup page should be fine, just make sure the upload folder has write and read permissions.

The path to be a relative path to the main forum files. eg.

If the forum files are in:-

c:\inetpub\wwwroot\forum\

And tyhe upload folder is:-

c:\inetpub\wwwroot\forum\upload\

Enter as the upload path:-

upload

Relative paths must be used not physical paths.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: john8118
Date Posted: 14 April 2004 at 9:35am

Thank you for your help. I encountered yet another problem. This time I am really stuck as I could not find any solution on the forum.

I am able to click on upload image, browse to the required image files and click OK. A message box pop up. Please be patient while the image is being loaded to the server. I click OK.

Another message POP up again.

Error:

A Runtime Error has occurred.Do you wish to Debug? Line: 12

Error: Object doesn't support this property or method.

Click Yes or No.

If I click Yes I go to the Microsoft ScriptDebugger.


<html>
<head>
<meta name="copyright" content="Copyright (C) 2001-2004 Bruce Corkhill" />
<title>Image Upload</title>

<!-- Web Wiz Rich Text Editor ver. 1.2c is written and produced by Bruce Corkhill ©2001-2004
      If you want your own Rich Text Editor then goto
http://www.richtexteditor.org - http://www.richtexteditor.org -->

<script  language="JavaScript">


 window.opener.frames.message.document.focus();
 window.opener.frames.message.document.execCommand('Ins ertImage', false, '../images/upload/administrator/2004-04-14_212707_web_wiz_fo rums.gif');
 window.close();

 

If I click No

I go back to normal Image Upload forms.


Do note that if i click Yes, my image attachment did appear in target

c:\Inetpub\wwwroot\images\upload\

 

However, how can I get rid of the Microsoft Debugger message???

Error:

A Runtime Error has occurred.Do you wish to Debug? Line: 12

Error: Object doesn't support this property or method



Posted By: WebWiz-Bruce
Date Posted: 14 April 2004 at 12:26pm
It could be a problem with the version of IE you are using, you didn't say????

Try upgrading IE or use a better browser like Mozilla Firebird.

It could also be a corrupoted file coursing the problems, so try reuploading forum files.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: john8118
Date Posted: 15 April 2004 at 3:01am

Hi Admin,

 

It is working now. I have upgraded my IE5 to IE6.0.

Now It is working fine. It is due to my Internet Explorer.

Thank you.



Posted By: WebWiz-Bruce
Date Posted: 15 April 2004 at 6:46am
Some beta or minor versions of IE5 do have issues with the built in RTE features of the browser.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net