Re: Locked out of my own SQL Server???

From: MSH (harlan@globalaspirations.com)
Date: 10/04/02


From: "MSH" <harlan@globalaspirations.com>
Date: Thu, 3 Oct 2002 17:37:22 -0700


The connection string needs to specify the driver to use.

Try this instead...

Application("ConnectionString") = "Provider=SQLOLEDB;user
id=sa;password=funtest;data source=funwebtest;initial
catalog=FSIntranet2;"

>-----Original Message-----
>Hi all,
>
>as an update, what I did was I moved the asp application
onto a different
>server, and got this error

 messaage again, only to discover that the
>application was running in the default application's
context, and therefore
>using its GLOBAL.ASA file. I fixed this by putting the
application back
>into its own application context, but now the problem I'm
ahving is that
>back on the original server, it's trying to get onto SQL
using my domain
>account rather than the one I specified in my GLOBAL.ASA
file. I'm really
>confused on this one, and don't know where to look to
check this. I DO have
>anonymous browsing enabled, and the SQL SErver's running
in mixed mode.
>
>Any thoughts anyone?
>
>Stephajn
>"Stephajn Craig" <s.craig@funsunvacations.com> wrote in
message
>news:#RvzE0vaCHA.1744@tkmsftngp11...
>> Hi all,
>>
>> I can't seem to gain access to my SQL server from
within my ASP
>> Application.
>>
>> It's the OLE-DB provider throwing back the error. I've
configured my ASP
>> app to use an applicationwide Connectionstring Variable
that uses the sa
>> account (for the moment) to interface with the
database. What I get back
>> is:
>>
>> Error Type:
>> Microsoft OLE DB Provider for SQL Server (0x80004005)
>> [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does
not exist or access
>> denied.
>>
>> Strange part is that I can create a UDL file, and that
will work just
>fine,
>> but the ASP app won't work.
>>
>> I can ping the server, use Query Analyzer to log onto
the server using the
>> same credentials I supply in the ASP application, but
for some reason, I'm
>> getting back that error. Does anyone have any thoughts?
>>
>> Here's my connectionstring:
>>
>> Application("ConnectionString") = "user
id=sa;password=funtest;data
>> source=funwebtest;initial catalog=FSIntranet2;"
>>
>> Thanks for any help,
>> Stephajn
>>
>>
>
>
>.
>



Relevant Pages

  • Re: HELP PLEASE ~ ???
    ... You can check the real name of the Membership's application name by going to your SQL Server, open up the aspnet_Applications table and view the LoweredApplicationName column. ... if you have a connectionString you are using for your ... The connection string specifies a local Sql Server Express instance ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Adp to asp web page
    ... of drunk retards that dont understand web development ... when I went into the connection box, it listed my server but in the drop ... Access ADP is merely front end app and IDE for SQL Server, ... ASP is old technology and different from ASP.NET. ...
    (microsoft.public.access.adp.sqlserver)
  • Re: What is the difference between php & asp?
    ... >ASP is a Microsoft product based on the very ackward Visual Basic syntax ... >PHP is a C-Like, ... >need to physically register on the server. ... It works fine with SQL Server and Access if you really really ...
    (alt.php)
  • Re: Visual Studio .NET 2005 WebParts cant connect to SQL Server 2005
    ... Server 2005 you are trying to connect to has remote ... If your connection string is ... How can I use WebParts without SQL Server 2005 Express Edition so that I ... user, String password, Boolean trusted, String connectionString) +68 ...
    (microsoft.public.sqlserver.security)
  • Re: System.ArgumentException bei Durchlauf des Konfigurations-Assi
    ... Ich habe die Installation auch schon mehrfach versucht und die SQL Server ... Konfigurations-Assistenten, wenn ich versuche eine Serverfarm zu ... connectionString) at ...
    (microsoft.public.de.german.sharepointportalserver)