On Fri, 24 Jun 2005 08:30:03 +0800, "Mike" <(E-Mail Removed)> wrote:
¤ I'm getting an error while running an aspx page on a production server.
¤
¤ The error is that either the server can not be found or the access is
¤ denied.
¤
¤ The following code fails at line 36.
¤ Line 34: str = "Driver={SQL
¤ Server};server=sallyserver;database=school;uid=www_intra;pwd=www_intra"
¤ Line 35: C.ConnectionString = str
¤ Line 36: C.Open()
¤ Line 37: Dim R As New ADODB.Recordset
¤
¤ Other aspx pages that don't talk to the data server run correctly.
¤
¤ The same page run on the development PC (WinXp Pro) connects and dispays the
¤ data correctly. (SQL server is on another box)
¤
¤ If I alter the code to run in an Access 2000 database on the same production
¤ server, it runs correctly.
¤
¤ Thus I'm not sure how to go about getting this up and running.
¤
¤ Any thoughts would be appreciated.
See if the following helps:
http://support.microsoft.com/default...b;en-us;328306
Paul
~~~~
Microsoft MVP (Visual Basic)