View Single Post
  #4 (permalink)  
Old December 7th, 2007, 08:12 PM
woodyz woodyz is offline
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay - I'll help if you will answer specific questions:

Have you installed the "WroxCommerce" dll that is being called on this line?:
Set m_visit = Server.CreateObject("WroxCommerce.Visit")

In other words, has it been registered on the machine that is running this code?

Second:
Pay close attention to your call to m_visit.Configure call.
The issue is tha you are breaking it onto several lines, and the syntax is not correct.
I would suggest you put that entire call onto one line to help solve your problem with
the syntax:
m_visit.Configure "g_sitename", "g_domainname", "driver=SQL Server;DATABASE=Jo's Coffee; UID=jocofeeWeb; PWD=eermlate; SERVER=localhost", Session

You will note that this line might break up in the post here due to the width of the page, but put it onto one line. One problem with your code is the missing between "g_domainname" and "driver=SQL Server;....." . These are parameters in the call to m_visit.Configure and you need to separate them with a comma.

There are probably other problems, but that is a start.


Woody Z
http://www.learntoprogramnow.com
How to use a forum to help solve problems
By blog... please visit