Question
Moving from Win2000 to XP - ODBC problem
I have had an intranet site hosted on a PC running
Windows2000 for *ages* that connects to a SQL server database. The
site uses ASP / VBScript. I came to move it onto a XP (sp2) machine
and static pages work fine but anything that accesses the backend
DB gives me this error message;
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
/workload/dept_colours.asp, line 5
All the files are copied verbatim (including the connection file below)
Dim MM_connPathData_STRING
MM_connPathData_STRING = "dsn=pathnet_data;"
Both PCs are logged into Windows with the same user so there shouldn't be a differing permissions. The DSN for the database (using Windows NT authentication) is set up identically on both machines so I'm at a loss as to why one works and one doesn't )-:
Funnily enough, when setting up the ODBC on the new machine the 'test data source' button claims that it can connect to the db OK!!
Is there some difference between the 2 OSs that means that my 'old' set up no longer works? If so, what should my 'connection' file look like?
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
/workload/dept_colours.asp, line 5
All the files are copied verbatim (including the connection file below)
Dim MM_connPathData_STRING
MM_connPathData_STRING = "dsn=pathnet_data;"
Both PCs are logged into Windows with the same user so there shouldn't be a differing permissions. The DSN for the database (using Windows NT authentication) is set up identically on both machines so I'm at a loss as to why one works and one doesn't )-:
Funnily enough, when setting up the ODBC on the new machine the 'test data source' button claims that it can connect to the db OK!!
Is there some difference between the 2 OSs that means that my 'old' set up no longer works? If so, what should my 'connection' file look like?