PDA

Click to See Complete Forum and Search --> : WebClasss1.ASP Can someone answer a question about it?


Al Smith
Feb 4th, 2001, 10:23 AM
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.


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

Clunietp
Feb 4th, 2001, 10:53 PM
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=Mswcrun.dll&hc=0&hs=0




Tom