my visit function not working

Results 1 to 2 of 2

Thread: my visit function not working

  1. #1
    Join Date
    Dec 1969

    Default my visit function not working

    hello..<BR>i doing a ecommerce web site..<BR>im facing problem with visit function<BR><BR>this is my code:<BR>&#060;%<BR> <BR> const g_sitename = "Coffee"<BR> const g_domainname = ""<BR> <BR> <BR> <BR> const g_bodytag = _<BR> "bgcolor=#ffffff leftmargin=0 topmargin=0 marginleft=0 margintop=0"<BR> <BR>Dim m_visit<BR><BR>Function Visit<BR><BR> &#039; Do we have one?<BR> If IsEmpty(m_visit) Then<BR><BR> &#039; Create an instance of a Visit object...<BR> Set m_visit = Server.CreateObject("USM.Visit")<BR> <BR> m_visit.Configure g_sitename, g_domainname, "Provider=SQLOLEDB;Persists Security Info=FALSE;"&_<BR> "User ID=sa;Initial Catalog=Ecommerce;"&_<BR> "Initial File Name = C:MSSQL7DataEcommerce_Data.mdf"<BR> <BR> <BR> End If<BR> <BR> &#039; Return the Visit object back...<BR> Set Visit = m_visit<BR> <BR>End Function <BR> <BR> %&#062; <BR><BR><BR>this is a part in the default.asp page..<BR>error i get is:<BR>Error Type:<BR>Server object, ASP 0177 (0x800401F3)<BR>Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: <BR>/new1/site.asp, line 24<BR><BR>how do i correct this error?<BR><BR>thank u<BR> <BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: my visit function not working

    Is that component registered? Double check it.

Posting Permissions

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