Error: Invalid class string

Ask a Question related to ASP Components, Design and Development.

  1. #1

    Default Error: Invalid class string

    I am facing a problem with MAPI.SESSION for server.createobject in a ASP
    page. I am getting a message as "Invalid class string".

    I checked up the registry and found no entry for the same. So I used
    regsvr32 and registered the cdonts.dll file. But even then there is no entry
    in the registry and I am getting the same error in the asp script.

    can someone please guide me.

    TIA,

    Gary


    Gary Guest

  2. Similar Questions and Discussions

    1. Invalid class string
      hi! i'm getting this error when i run my asp app in windows xp. Server object, ASP 0177 (0x800401F3) Invalid class string...
    2. #40340 [NEW]: Creating a DateTime object using a string that is invalid due to DST transition
      From: kal at kalunite dot net Operating system: Linux PHP version: 5.2.0 PHP Bug Type: Date/time related Bug description: ...
    3. Server object, ASP 0177 (0x800401F3) Invalid Class String
      First of all, I have read all of the solutions I could possibly find for this issue. Secondly, none of them work for me. I am using: WinXP Pro...
    4. #14066 [Com]: Can't suppress warnigns on accessing invalid string offset
      ID: 14066 Comment by: php at pleaseletusknow dot com Reported By: mfischer at guru dot josefine dot at Status: ...
    5. CDONTS - Invalid class string
      Hi, Im trying to send a mail from my webpage using CDONTS but i keep getting the errormessage "Invalid class string" (0x800401F3). I have the SMTP...
  3. #2

    Default Error: Invalid class string

    I am facing a problem with MAPI.SESSION for server.createobject in a ASP
    page. I am getting a message as "Invalid class string".

    I checked up the registry and found no entry for the same. So I used
    regsvr32 and registered the cdonts.dll file. But even then there is no entry
    in the registry and I am getting the same error in the asp script.

    can someone please guide me.

    TIA,

    Gary



    Gary Guest

  4. #3

    Default RE: Error: Invalid class string

    Hi Gary,

    Try registering CDO.dll
    If that doesnt work post a snippet of your code if you could.

    "This posting is provided "AS IS" with no warranties, and confers no
    rights. You assume all risk for your use. © 2003 Microsoft Corporation. All
    rights reserved."

    Richard Marr
    Microsoft IIS Support Professional

    Richard Marr Guest

  5. #4

    Default Re: Error: Invalid class string

    What is MAPI.SESSION?

    If you are attempting to send an email using the installed SMTP Service you
    should be using CDO or CDONTS

    "Gary" <msnews@microsoft.com> wrote in message
    news:uAJQJYXYDHA.2236@TK2MSFTNGP10.phx.gbl...
    > I am facing a problem with MAPI.SESSION for server.createobject in a ASP
    > page. I am getting a message as "Invalid class string".
    >
    > I checked up the registry and found no entry for the same. So I used
    > regsvr32 and registered the cdonts.dll file. But even then there is no
    entry
    > in the registry and I am getting the same error in the asp script.
    >
    > can someone please guide me.
    >
    > TIA,
    >
    > Gary
    >
    >

    David Morgan Guest

  6. #5

    Default Re: Error: Invalid class string

    Hi Gary:

    You get 'Invalid Class String' error in Server.CreateObject, when the Server could not find the registered Component in Registry.

    Did you register your component? If it is a thirdparty tool like Persits ASPEMail, then the installation program would automatically do that for you when you are logged on with an account having Administrator Privileges.

    Did this help you?

    deepak
    "Gary" <msnews@microsoft.com> wrote in message news:OEPQ$mXYDHA.888@TK2MSFTNGP10.phx.gbl...
    I am facing a problem with MAPI.SESSION for server.createobject in a ASP
    page. I am getting a message as "Invalid class string".

    I checked up the registry and found no entry for the same. So I used
    regsvr32 and registered the cdonts.dll file. But even then there is no entry
    in the registry and I am getting the same error in the asp script.

    can someone please guide me.

    TIA,

    Gary



    Deepak Kumar Vasudevan Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139