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?
|