Publishing Access to IIS
Posted on 1998-12-29
Pretty self explanatory. Tried publishing the tute database that came with Interdev and MSDN. Can't seem to get it to work. Here's the code and error message
---This is the global.asa---
<SCRIPT LANGUAGE='VBScript' RUNAT='Server'>
'You can add special event handlers in this file that will get run automatically when
'special Active Server Pages events occur. To create these handlers, just create a
'subroutine with a name from the list below that corresponds to the event you want to
'use. For example, to create an event handler for Session_OnStart, you would put the
'following code into this file (without the comments):
'**Put your code here **
'Session_OnStart Runs the first time a user runs any page in your application
'Session_OnEnd Runs when a user's session times out or quits your application
'Application_OnStart Runs once when the first page of your application is run for the first time by any user
'Application_OnEnd Runs once when the web server shuts down
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
'==Visual InterDev Generated - startspan==
'--Project Data Connection
Application("Fitch_ConnectionString") = "DSN=Fitch;DBQ=F:\Jason\Fitch\Fitch_Mather.mdb;DriverId=25;FIL=MS Access;MaxBufferSize=512;PageTimeout=5;"
Application("Fitch_ConnectionTimeout") = 15
Application("Fitch_CommandTimeout") = 30
Application("Fitch_CursorLocation") = 3
Application("Fitch_RuntimeUserName") = ""
Application("Fitch_RuntimePassword") = ""
'-- Project Data Environment
Set DE = Server.CreateObject("DERuntime.DERuntime")
Application("DE") = DE.Load(Server.MapPath("Global.ASA"), "_private/DataEnvironment/DataEnvironment.asa")
'==Visual InterDev Generated - endspan==
---This is the error message when I try to browse---
Server object error 'ASP 0177 : 800401f3'
/Fitch/global.asa, line 31
Invalid class string
It may be an ODBC thing I'm not sure but maybe someone knows. By the way does anybody know of a good book on this stuff ie. Interdev, Access and the Web.
I'll start at 50 and go from there and if the suggestions are good enough I'll up the points.