ed7890
June 23rd, 2005, 10:15 AM
Hey, i'm having a real problem getting my asp pages to connect to my sql database. I am using Microsoft SQL Server 2000. My database server is on my computer, and my .asp pages are on a server on my network at work.
The connection is line is:
Set cnn = Server.CreateObject("ADODB.Connection")
cnn.open "PROVIDER=SQLOLEDB;DATA SOURCE=EMF3JDALTON;Integrated Security=SSPI;DATABASE=here"
But my pages just comeback with the following error:
Microsoft OLE DB Provider for SQL Server error '80040e4d'
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
I can't find a solution to this problem that relates to my situation. It's probably they're not on the same server. Eventually they will be put together on a proper server, but i need this to work to develope them in the mean time. Is there any way of changing my setting or of running the .asp pages off my pc.
Thanks
The connection is line is:
Set cnn = Server.CreateObject("ADODB.Connection")
cnn.open "PROVIDER=SQLOLEDB;DATA SOURCE=EMF3JDALTON;Integrated Security=SSPI;DATABASE=here"
But my pages just comeback with the following error:
Microsoft OLE DB Provider for SQL Server error '80040e4d'
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
I can't find a solution to this problem that relates to my situation. It's probably they're not on the same server. Eventually they will be put together on a proper server, but i need this to work to develope them in the mean time. Is there any way of changing my setting or of running the .asp pages off my pc.
Thanks