View Single Post
  #7 (permalink)  
Old November 20th, 2007, 06:50 AM
ours ours is offline
Registered User
 
Join Date: Nov 2007
Location: Moscow, , Russia.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to ours Send a message via MSN to ours
Default

Hi.
In the book "Beginning e-commerce with visual basic, asp, sql server 7.0 and mts" The code for test page WroxCommerceTest2.asp is resulted, at start of page in IE the mistake jumps out: "It is not possible to display demanded page Display of page it is impossible because of the malfunctions which have arisen at attempt of access to it.
--------------------------------------------------------------------------------
try to execute the following: Press the button To update or repeat attempt later. Open localhost a homepage and look on it for references to interesting data. HTTP 500.100 - an internal mistake of a server - mistake ASP Internet Information Services

Technical data (for employees of a support service) Type of a mistake: the Mistake of compilation Microsoft VBScript (0x800A0401) Is supposed presence of the termination of the instruction/Jo's Coffee/wroxCommercetest2.asp, line 17, column 12 Dim objVisit. Configure "Jo's Coffee", "joscoffee.com", "driver=SQL", " Server; DATABASE=JoCoffee; UID=JoCoffeeWeb; PWD=eermlate; SERVER=localhost "
Code on page:
<% option explicit %>
<html>
<head>
  <title>WroxCommerce Test page</title>
</head>
<body>

  <%

     ' ñîçäàåì îáúåêò Visit
     Dim visit
     Set visit = Server.CreateObject("WroxCommerce.Visit")

     ' êîíôèãóðèðóåì îáúåêò visit íà èìÿ ñàéòà, èìÿ ïî÷òîâîãî äîìåíà
     ' è ïàðàìåòðû ïîäêëþ÷åíèÿ ê áàçå äàííûõ
     Dim objVisit.Configure "Jo's Coffee", "joscoffee.com", "driver=SQL " , "Server; DATABASE=JoCoffee; UID=JoCoffeeWeb; PWD=eermlate; SERVER=localhost"

      ' îïðåäåëÿåì íîìåð âåðñèè DLL
      Response.Write "Version Number: " & visit.Version & "<br><br>"

      ' çàïèñûâàåì èìåíà íåêîòîðûõ îáúåêòîâ
      Response.Write "Visit object: " & typename(visit) & "<br>"
      Response.Write "Catalog object: " & typename(visit.Catalog) & "<br>"

      ' çàêðûâàåì è î÷èùàåì îáúåêò
      visit.Shutdown
      Set visit = Nothing
  %>
</body>
</html>

Where a mistake?