Page 1 of 2

VB Script error

Posted: Fri Mar 02, 2007 3:06 pm
by ddano
First of all thank you so much for making this software available. It looks great. I've installed the software as per the instructions. When I run the setup (pt_load.asp) and click the submit button, this is the error I get...

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'CInt'

/pentacle/pt_load.asp, line 137

Can you gve me some indication of what could be causing this?
Thanks once again

Dan

Posted: Fri Mar 02, 2007 4:01 pm
by davidyin
I think the email address you entered is not a regular email address.

Posted: Mon Mar 05, 2007 8:28 am
by ddano
I used a valid email address unless you are supposed to omit the @ symbol or somthing to that effect. I used my normal email address. Any other ideas?? In the mean time I will try another email address of mine. Thanks for the quick response.

Posted: Mon Mar 05, 2007 8:35 am
by ddano
Well i tried 2 other email addresses but I'm getting the same error. I see that you cannot omit the @ symbol :-). I'm by no means a scripting expert, but it looks like in the error the line that it is refering to seems to be around checking for a valid email address. Could this be a DNS issue??

Posted: Mon Mar 05, 2007 10:14 am
by davidyin
The email validation function will check the domain used by email address.

Posted: Mon Mar 05, 2007 2:12 pm
by ddano
davidyin wrote:The email validation function will check the domain used by email address.
So could this be a DNS problem then? Or is there something else that I should be looking at? Thanks for all your help.

Posted: Tue Mar 06, 2007 9:18 am
by davidyin
I think it is a DNS problem.

Do you use a special email address or you install the system behind the firewall?

Posted: Wed Mar 07, 2007 8:47 am
by ddano
No special email address, I used one from my ISP and then my yahoo account as well. Neither one worked, It is behind a firewall though and also on a private IP with NAT

Posted: Wed Mar 07, 2007 11:09 am
by PowerKevin
I too am having the same problem.

I am running Windows Server 2003 Dual Processor, 6ghz
Service Pack 2
IIS 6.0
ASP.net 2.0
.NET 2.0

I was receiving the error about the email, and I believe this to be a DNS resolution issue. I went into the pt_load.asp and removed the check for the email, as I know the email is valid, and made it so it always validates,

Now I receive this.

Microsoft VBScript runtime error '800a0005'

Invalid procedure call or argument: 'Mid'

/pt_load.asp, line 135


Any idea on why it is refusing that argument David?

Posted: Wed Mar 07, 2007 12:16 pm
by PowerKevin
Ok, Sorry for the double post

I figured out that error was part of the mail account verification, which I removed since I know that the email is good. Now, I am having an issue where I cannot open the database. The specific error is :

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/pt_load.asp, line 178

800401f3


I am not going to debug further until you can tell me what the problem is with the database.

Thanks for the great open source work though, the software, when running, looks like it will suit our small company to a T.

Posted: Wed Mar 07, 2007 3:17 pm
by ddano
Can you let me know the specific scripting you removed? I tried to remove it and kept getting that same error you did.

Posted: Wed Mar 07, 2007 8:04 pm
by davidyin
Sorry, I am late.

To solve the problem,
Microsoft VBScript runtime error '800a000d'

Type mismatch: 'CInt'

/pentacle/pt_load.asp, line 137

Doing the following step.
1) Open the pt_load.asp in your text editor program.

2) Find lines 128 to 141.

3) Replace line 128 to 141 by one line code below:
MxLookUp = True

4) Save it, run setup again.

Or, you can download the modified file here
http://forum.g2soft.net/viewtopic.php?t=156

Posted: Wed Mar 07, 2007 8:20 pm
by davidyin
PowerKevin wrote:Ok, Sorry for the double post

I figured out that error was part of the mail account verification, which I removed since I know that the email is good. Now, I am having an issue where I cannot open the database. The specific error is :

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/pt_load.asp, line 178

800401f3


I am not going to debug further until you can tell me what the problem is with the database.

Thanks for the great open source work though, the software, when running, looks like it will suit our small company to a T.
Make sure the database files and the folders containing the database files provide Read, Write, and Modify permissions for the authenticated user or group. Say, IUSR_machinename user, or Internet Guset Account.

Posted: Thu Mar 08, 2007 6:01 am
by PowerKevin
David,

The internet account on the system has full access to the folders. Any other ideas?

Posted: Thu Mar 08, 2007 7:41 am
by ddano
Are you running NTFS if so make sure your permissions are set on the database as well. And thanks for the info David, I'll give it a try in a bit and let you know.