Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Problem about Mikes File Attachment MOD
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

brianzy
Starting Member

China
7 Posts

Posted - 19 July 2006 :  07:14:43  Show Profile
I have set up a forum(3.4.05).The environment is Windows 2000, IIS5, Access database.
And Mikes File Attachment MOD is installed as its readme file said.
But I can not attach any file. The error message is shown below:
---------------------------------------------------
Microsoft VBScript compilation error '800a03f6'

Expected 'End'

/iisHelp/common/500-100.asp, line 242

Microsoft VBScript runtime error '800a0046'

Permission denied

/forum/outputFile.asp, line 48
-------------------------------------------------

I think it is about IIS. But I'm not sure and no idea to solve it.
Is there anyone can help me to handle it? Pls tell me the cause and give me a solution. Thanks a lot.

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 July 2006 :  07:20:29  Show Profile  Send ruirib a Yahoo! Message
Seems like there is a permissions issue with the folder where you are uploading the files. You need to ask your host to assign read / write permissions on the uploaded files folder to the anonynous internet user.

There seems to be another error too, though I'm not sure that it won't go away as soon as the permissions issue is fixed.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

brianzy
Starting Member

China
7 Posts

Posted - 19 July 2006 :  07:31:45  Show Profile
Thanks for your quickly reply.
But the Forum is set up in a small LAN, so I do not think there is a permission on the uploaded folder.

And even I set up the forum on my own pc(localhost), I also can not attach any file, and the error message is :

-----------------------------------------
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
-----------------------------------------

How do you think?

thanks again.
Go to Top of Page

brianzy
Starting Member

China
7 Posts

Posted - 19 July 2006 :  07:35:03  Show Profile
And if it is a permission problem, how to solve it? 'cos I am the host administrator.
thanks.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 July 2006 :  07:47:59  Show Profile  Send ruirib a Yahoo! Message
I told you how to solve it: assign read / write permissions on the uploaded files folder to the anonymous internet user. You need to do that with Windows Explorer.

The script is failing when trying to create the folder for the user.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

brianzy
Starting Member

China
7 Posts

Posted - 19 July 2006 :  22:17:44  Show Profile
Hi, I have solved the permission problem. But I can upload only TXT file with english filename. There are still some problems:
1. can not upload any other file except TXT file.
2. can not upload a txt file with Chinese filename.
3. can not upload any file located in My Documents.
And the error code is shown below:
--------------------------------------------------
Microsoft VBScript compilation error '800a03f6'

Expected 'End'

/iisHelp/common/500-100.asp, line 242

Microsoft VBScript runtime error '800a0005'

Invalid procedure call or argument

/forum/outputFile.asp, line 56
-------------------------------------------------

Pls find out the root cause, thanks a lot.
Go to Top of Page

brianzy
Starting Member

China
7 Posts

Posted - 19 July 2006 :  22:21:41  Show Profile
And the line 56 in my outputFile.asp is :
MyFile.Write chr(AscB(MidB(value,i,1)))
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 July 2006 :  10:17:15  Show Profile  Send ruirib a Yahoo! Message
There is a section, I believe it is in the output.asp file, where you specify the allowed extensions. As I don't have the code here to check, have a look in the readme file for the mod or in output.asp itself, to check what type of files are being allowed.

I don't know about the chinese characters. I would expect, though, that the use of an UTF-8 character encoding would allow you to use that, but I really can't be sure.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07