Results 1 to 2 of 2

Thread: WebClasss1.ASP Can someone answer a question about it?

  1. #1

    Thread Starter
    Hyperactive Member Al Smith's Avatar
    Join Date
    May 1999
    Location
    Marcellus, MI. USA
    Posts
    330
    Hi,
    My question concerns line 10 and 11 of the below. My dll for this is named SvcOrd.dll.
    What is Project1 in line 10 and 11?
    This application works on the development PC (Win98 PWS) but doesn't on the production PC (WinNT 4.0 IIS).
    (Can't create object error)
    Thanks,
    Al.


    Code:
     1. Response.Buffer=True
     2. Response.Expires=0
     3. If (VarType(Application("~WC~WebClassManager")) = 0) Then
     4. 	Application.Lock
     5. 	If (VarType(Application("~WC~WebClassManager")) = 0) Then
     6.		Set Application("~WC~WebClassManager") = Server.CreateObject("WebClassRuntime.WebClassManager")
     7. 	End If
     8.	Application.UnLock
     9. End If
    10.Application("~WC~WebClassManager").ProcessRetainInstanceWebClass "Project1.WebClass1", _
    11.		"~WC~Project1.WebClass1", _
    12. 		Server, _
    13.		Application, _
    14.		Session, _
    15.		Request, _
    16.		Response
    A computer is a tool, not a toy.

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    I found this info on the M$ site:

    The WebClassManager lives in a file called Mswcrun.dll

    therefore I can hypothesize that this file does not exist on your web server and/or is not registered on the server. Copy the file over and regsvr32 it. It looks like that file only uses the VB Runtime files, so be sure those are on the server too.

    And some more useful info here about that file
    http://google.yahoo.com/bin/query?p=....dll&hc=0&hs=0




    Tom

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