VB Script error

Basic Installation and Setup.

Moderator: davidyin

ddano
Members
Members
Posts: 8
Joined: Fri Mar 02, 2007 3:02 pm

VB Script error

Post 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
User avatar
davidyin
Members
Members
Posts: 192
Joined: Wed Apr 27, 2005 10:50 pm
Location: Burnaby

Post by davidyin »

I think the email address you entered is not a regular email address.
ddano
Members
Members
Posts: 8
Joined: Fri Mar 02, 2007 3:02 pm

Post 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.
ddano
Members
Members
Posts: 8
Joined: Fri Mar 02, 2007 3:02 pm

Post 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??
User avatar
davidyin
Members
Members
Posts: 192
Joined: Wed Apr 27, 2005 10:50 pm
Location: Burnaby

Post by davidyin »

The email validation function will check the domain used by email address.
ddano
Members
Members
Posts: 8
Joined: Fri Mar 02, 2007 3:02 pm

Post 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.
User avatar
davidyin
Members
Members
Posts: 192
Joined: Wed Apr 27, 2005 10:50 pm
Location: Burnaby

Post by davidyin »

I think it is a DNS problem.

Do you use a special email address or you install the system behind the firewall?
ddano
Members
Members
Posts: 8
Joined: Fri Mar 02, 2007 3:02 pm

Post 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
PowerKevin

Post 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?
PowerKevin

Post 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.
ddano
Members
Members
Posts: 8
Joined: Fri Mar 02, 2007 3:02 pm

Post 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.
User avatar
davidyin
Members
Members
Posts: 192
Joined: Wed Apr 27, 2005 10:50 pm
Location: Burnaby

Post 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
Last edited by davidyin on Wed Mar 07, 2007 8:21 pm, edited 1 time in total.
User avatar
davidyin
Members
Members
Posts: 192
Joined: Wed Apr 27, 2005 10:50 pm
Location: Burnaby

Post 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.
PowerKevin

Post by PowerKevin »

David,

The internet account on the system has full access to the folders. Any other ideas?
ddano
Members
Members
Posts: 8
Joined: Fri Mar 02, 2007 3:02 pm

Post 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.
Post Reply