Invalid String

Discussion in 'ASP General' started by D, Oct 13, 2004.

  1. D

    D Guest

    Hi, got a strabnge problem here... All the while my program is working
    fine then yesterday when i do the testing it tell me invalid class
    string. Do anyone know hwo it cause the problem. This is strange cause I
    didnt touch the code at all and suddenly tell me this error


    cheers

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
    D, Oct 13, 2004
    #1
    1. Advertising

  2. Paste your code and error here.

    <D> wrote in message news:%...
    > Hi, got a strabnge problem here... All the while my program is working
    > fine then yesterday when i do the testing it tell me invalid class
    > string. Do anyone know hwo it cause the problem. This is strange cause I
    > didnt touch the code at all and suddenly tell me this error
    >
    >
    > cheers
    >
    > *** Sent via Developersdex http://www.developersdex.com ***
    > Don't just participate in USENET...get rewarded for it!
    Jonathan Chong, Oct 13, 2004
    #2
    1. Advertising

  3. D

    D Guest

    SQLstmt = "INSERT INTO orders
    (sid,orderno,customer,adate,code,qty,price,shipping,shipcode,description
    ,username)"
    SQLstmt = SQLstmt & " VALUES ("
    SQLstmt = SQLstmt & "'" & sid & "',"
    SQLstmt = SQLstmt & "'" & orn & "',"
    SQLstmt = SQLstmt & "'" & customer & "',"
    SQLstmt = SQLstmt & "'" & date() & "',"
    SQLstmt = SQLstmt & "'" & key & "',"
    SQLstmt = SQLstmt & "'" & dictCart(Key) & "',"
    SQLstmt = SQLstmt & "'" & GetItemPrice(Key) & "',"
    SQLstmt = SQLstmt & "'" & shipping & "',"
    SQLstmt = SQLstmt & "'" & shipcode & "',"
    SQLstmt = SQLstmt & "'" & description & "',"
    SQLstmt = SQLstmt & "'" & username & "'"
    SQLstmt = SQLstmt & ")"

    Error Type:
    Server object, ASP 0177 (0x800401F3)
    Invalid class string

    POST Data:
    fullname=Test+Company&coaddress=This+is+a+test+address&phone=3333333&not
    es=TEST+user&user=&smt=1&shipping=0&B1.x=66&B1.y=11

    cheers

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
    D, Oct 13, 2004
    #3
  4. Usually this is causing from the object name you use for CreateObject
    command. Double check again that they are spelled correctly in your
    createobject command. Such as ADODB not ADOBD.

    <D> wrote in message news:...
    > SQLstmt = "INSERT INTO orders
    > (sid,orderno,customer,adate,code,qty,price,shipping,shipcode,description
    > ,username)"
    > SQLstmt = SQLstmt & " VALUES ("
    > SQLstmt = SQLstmt & "'" & sid & "',"
    > SQLstmt = SQLstmt & "'" & orn & "',"
    > SQLstmt = SQLstmt & "'" & customer & "',"
    > SQLstmt = SQLstmt & "'" & date() & "',"
    > SQLstmt = SQLstmt & "'" & key & "',"
    > SQLstmt = SQLstmt & "'" & dictCart(Key) & "',"
    > SQLstmt = SQLstmt & "'" & GetItemPrice(Key) & "',"
    > SQLstmt = SQLstmt & "'" & shipping & "',"
    > SQLstmt = SQLstmt & "'" & shipcode & "',"
    > SQLstmt = SQLstmt & "'" & description & "',"
    > SQLstmt = SQLstmt & "'" & username & "'"
    > SQLstmt = SQLstmt & ")"
    >
    > Error Type:
    > Server object, ASP 0177 (0x800401F3)
    > Invalid class string
    >
    > POST Data:
    > fullname=Test+Company&coaddress=This+is+a+test+address&phone=3333333&not
    > es=TEST+user&user=&smt=1&shipping=0&B1.x=66&B1.y=11
    >
    > cheers
    >
    > *** Sent via Developersdex http://www.developersdex.com ***
    > Don't just participate in USENET...get rewarded for it!
    Jonathan Chong, Oct 13, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UmFlZCBTYXdhbGhh?=

    Invalid character in a Base-64 string.

    =?Utf-8?B?UmFlZCBTYXdhbGhh?=, Aug 23, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    848
    =?Utf-8?B?UmFlZCBTYXdhbGhh?=
    Aug 23, 2005
  2. Patrick.O.Ige
    Replies:
    1
    Views:
    1,938
    Patrick.O.Ige
    Jul 2, 2006
  3. Java Guy
    Replies:
    1
    Views:
    665
    Manish Pandit
    Oct 15, 2006
  4. kevin
    Replies:
    0
    Views:
    954
    kevin
    Jan 16, 2008
  5. Java Guy
    Replies:
    1
    Views:
    290
Loading...

Share This Page