Hola a todos, lo primero daros la enhorabuena por esta web, que no la conocía hasta ahora, y la verdad es que me ha impresionado bastante.
Estoy haciendo una web en asp, bueno es un software, pero me encuentro con este error, que buscando por internet, lo he visto mucho, pero la verdad, no me aclaro nada, porque es la primera vez que uso sql y asp. Deciros que soy novatisima en este tema...
Código:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC SQL Server Driver][Shared Memory]SQL Server does not exist or access denied.
/AuctionSettings.asp, line 72
Yo creo que el problema es que no sé que poner en los settingns en asp, os pego aquí el archivo y si me pudierais echar una manita, de verdad os lo agradecería, me tiene de cabeza.
Código:
<%
'--- if connecting to sql server use the two settings below
Const AuctionDBisSQL = true 'set to no if using MS Access
'Const AuctionSQLDSN = "driver={SQL Server};server=;uid=;pwd=;database="
Const AuctionSQLDSN = "driver={SQL Server};server=(local);uid=auctionuser;pwd=auctionpswd;database=auctionsite"
'--- otherwise use the two settings below for MS Access
'Const AuctionDatabasePath = "c:/www/Domain/db/"
'Const AuctionDatabaseName = "defaultdb.mdb"
'Const AuctionSQLDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("db/defaultdb.mdb") & ";Persist Security Info=False"
%>
Y yo lo pongo así:
Código:
<%
'--- if connecting to sql server use the two settings below
Const AuctionDBisSQL = true 'set to no if using MS Access
'Const AuctionSQLDSN = "driver={SQL Server};server=AQUI LA IP DE MI SERVIDOR;uid=NOMBRE DE LA BASE DE DATOS;pwd=CONTRASEÑA DE LA BASE DE DATOS;database=NOMBRE DE LA BASE DE DATOS"
Const AuctionSQLDSN = "driver={SQL Server};server=(local);uid=auctionuser;pwd=auctionpswd;database=auctionsite"
'--- otherwise use the two settings below for MS Access
'Const AuctionDatabasePath = "c:/www/MIDOMINIO.net/mdb-database/"
'Const AuctionDatabaseName = "NOMBRE DE LA BASE DE DATOS.mdb"
'Const AuctionSQLDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("mdb-database/NOMBRE DE LA BASE DE DATOS.mdb") & ";Persist Security Info=False"
%>
Estoy desesperada, la verdad que me pensaba que me iba a costar menos y ahora estoy comprometida y no sé como hacerlo...
Gracias de antemano por todo.