Results 1 to 2 of 2

Thread: invalid string in asp

  1. #1

    Thread Starter
    Member
    Join Date
    May 2000
    Location
    London, UK
    Posts
    39
    Hi,

    This is my asp code:

    <% @Language = "VBScript" %>
    <% Response.buffer = true %>

    <%


    Dim answer




    Set myobj = Server.CreateObject("add.class1")

    answer = myobj.add (1,2)


    %>


    The following is my dll/class code setup in visual basic :-

    Public Function add(num1, num2)
    Dim result As Integer
    result = num1 + num2
    add = result
    End Function


    When I try to run my asp, I get the following error:-

    Server object error 'ASP 0177 : 800401f3'

    Server.CreateObject Failed

    /yeoman/test.asp, line 12

    Invalid class string


    Can you help me.


  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    that means that you haven't registered the DLL on the server

Posting Permissions

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



Click Here to Expand Forum to Full Width