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
 HuwR, help! Mod problems!
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

StiH
Starting Member

Slovenia
15 Posts

Posted - 15 March 2001 :  05:53:03  Show Profile  Visit StiH's Homepage  Send StiH an ICQ Message
I went through MSDN Library for ASP 0177 error and is says that it's usually generated when the asp script doesn't have permission to create object or something similar. One of the ways to find the problem is giving the IUSR_DOMAIN account Admin privileges. I tried that but I still get the same error.

I put the forum on another server running IIS 5.0 (the first one was IIS 4.0) and now I get the following error:


Microsoft VBScript runtime error '800a0005'

Invalid procedure call or argument

/tabla/Include/clsFile.inc, line 88


This really bothers me because I really need to implement this mod into my forum.

Does ANYONE know how to get this fixed?




Edited by - StiH on 15 March 2001 06:15:06
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 15 March 2001 :  15:36:35  Show Profile  Visit HuwR's Homepage
I really don't know. the three servers I run it on are just standard install of win2k server, with all the latest updates for MDAC, scripting host etc. I did not enable anything special or set any other security than to allow the IUSR_ access to the directory.

Is this your own or a hosted web server ?

Go to Top of Page

StiH
Starting Member

Slovenia
15 Posts

Posted - 16 March 2001 :  06:48:17  Show Profile  Visit StiH's Homepage  Send StiH an ICQ Message
quote:

I really don't know. the three servers I run it on are just standard install of win2k server, with all the latest updates for MDAC, scripting host etc. I did not enable anything special or set any other security than to allow the IUSR_ access to the directory.

Is this your own or a hosted web server ?



It's our own server. Actually, there are two web servers. One is NT 4.0 SP4 and one is W2k Server SP1.
The whole thing is starting to get on my nerves. It's the only mod that I can't get to work and it's about the most important one for one of my forums.


Have a nice day!
StiH
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 16 March 2001 :  07:09:42  Show Profile  Visit HuwR's Homepage
Is it possible to connect via Terminal services ?

Go to Top of Page

StiH
Starting Member

Slovenia
15 Posts

Posted - 16 March 2001 :  08:21:05  Show Profile  Visit StiH's Homepage  Send StiH an ICQ Message
quote:

Is it possible to connect via Terminal services ?



Well... the W2k is running terminal server... the NT is on SMS.
But I doubt our administrator would allow that. I'll ask him and get back to you.

Have a nice day!
StiH
Go to Top of Page

peakhour
Starting Member

Taiwan
8 Posts

Posted - 18 March 2001 :  03:22:08  Show Profile  Visit peakhour's Homepage  Send peakhour an ICQ Message
Hello, StiH:

I met this problem before. my solution is to add "ON ERROR RESUME NEXT" in clsFile.inc just after:

Public Sub Save(strPath)
Dim objFSO
Dim objFile
Dim lngCounter
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile(strPath & "\" & m_strFileName)
For lngCounter = 1 To LenB(m_vntBlob)

==> Add here


objFile.Write Chr(AscB(MidB(m_vntBlob, lngCounter, 1)))
Next
objFile.Close
End Sub



Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 18 March 2001 :  08:09:41  Show Profile  Visit HuwR's Homepage
did this remove the error and upload correctly ?

Go to Top of Page

StiH
Starting Member

Slovenia
15 Posts

Posted - 19 March 2001 :  06:01:34  Show Profile  Visit StiH's Homepage  Send StiH an ICQ Message
YES!!!
It's ALIVE :)

Thank you very VERY much peakhour!!! It works now. I can go and die my grey hair now :)

HuwR it works now. Perhaps it would be a good idea to update the clsFile.asp with this line?

Have a nice day!
StiH
Go to Top of Page

HenryH
Starting Member

9 Posts

Posted - 21 March 2001 :  22:57:25  Show Profile
Hi,
I got the same problem as StiH's and I followed the Peakhour's suggestion to put "ON ERROR RESUME NEXT" in clsFile.inc

Results: files uploaded OK, but only .txt files are readable (after downloaded), all others (.zip; .doc; jpg; .gif; etc.) are not valid and cannot open.

Please help!


Go to Top of Page

StiH
Starting Member

Slovenia
15 Posts

Posted - 22 March 2001 :  02:41:43  Show Profile  Visit StiH's Homepage  Send StiH an ICQ Message
quote:

Hi,
I got the same problem as StiH's and I followed the Peakhour's suggestion to put "ON ERROR RESUME NEXT" in clsFile.inc

Results: files uploaded OK, but only .txt files are readable (after downloaded), all others (.zip; .doc; jpg; .gif; etc.) are not valid and cannot open.

Please help!



Hmmm.. I just went and chechked the files (didn't do it before, was happy just to get it uploaded), and the zip files are corrupted!
I compared both files (the original and the uploaded one) and it seemed the same. Maybe it's an encoding problem?

Have a nice day!
StiH
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 22 March 2001 :  03:11:49  Show Profile  Visit HuwR's Homepage
I'm sorry I can't be any further help, but there is obviously a setting on the server that it doesn't like. But which one I'm afraid I have no idea

Go to Top of Page

StiH
Starting Member

Slovenia
15 Posts

Posted - 22 March 2001 :  06:27:19  Show Profile  Visit StiH's Homepage  Send StiH an ICQ Message
Well.. it IS an encoding problem. I uploaded a *.doc file and this is what happens:

the original file (viewed with windows commander viewer):
ŠĻą”±į >  ž’     ƒ  ž’’’  € ’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’ģ„Į 9 $ ųæ

and this is what happens to the uploaded file:
Ia!±į >  y     f  yyy  € yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyiYĮ 9 $ o


Now I'm no expert on such stuff, but from what I can see (and from the code) all files are uploaded as plain ascii files. Txt files are not affected by this because they are ASCII, but all other file formats (.doc, .zip. mdb...) should be uploaded as an octet-stream.

I tried to play around with MIME types on the web server but with no success...

Any ideas appreciated...

Have a nice day!
StiH
Go to Top of Page

HenryH
Starting Member

9 Posts

Posted - 22 March 2001 :  09:36:14  Show Profile
Hi StiH,

Just curious... who host your site? My site is hosted by 121host.net

Go to Top of Page

StiH
Starting Member

Slovenia
15 Posts

Posted - 23 March 2001 :  01:36:13  Show Profile  Visit StiH's Homepage  Send StiH an ICQ Message
My company has it's own web servers.

Have a nice day!
StiH
Go to Top of Page

HenryH
Starting Member

9 Posts

Posted - 26 March 2001 :  00:12:55  Show Profile
Ah!!! After I uploading the original inc_functions.asp, my problem is gone, I can upload other file types now!

Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07