Re: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name
From: Manohar Kamath [MVP] (mkamath_at_TAKETHISOUTkamath.com)
Date: 02/14/04
- Next message: Nico Leiska: "Re: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name"
- Previous message: Mario T. Lanza: "Re: Improving The Checkbox Input On Forms"
- In reply to: Nico Leiska: "[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 13 Feb 2004 22:56:28 -0600
Show us the INSERT statement, please.
--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
"Nico Leiska" <nadlo@pipari.net.invalid> wrote in message
news:evhiHRk8DHA.2416@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> I am able to retrieve data from database and then the object name is fine,
> say SELECT * FROM problemdb, but when I try to use INSERT, I get the error
> in subject.
>
> The access rights are enough, as far as I can see, and the error only
comes
> from ASP page, not when I do it with windows scripting host (or cscript).
>
> I use the following command in ASP, is it ok?
> <%
> set Conn = CreateObject ("ADODB.connection")
> Conn.Open "driver={SQL
> Server};server=ip.ad.re.ss;uid=myself;pwd=mypasswd;database=mydatabase"
> %>
>
> So I explicitely connect to the database I want to.
>
> Could anyone say what's the problem? I think it might be the connection
I'm
> using... I've seen it done differently, but this works
>
> The SQL server is in the same server as the IIS where I run the pages.
>
> Thanks for the help.
>
>
- Next message: Nico Leiska: "Re: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name"
- Previous message: Mario T. Lanza: "Re: Improving The Checkbox Input On Forms"
- In reply to: Nico Leiska: "[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|