Ask a Question related to ASP Database, Design and Development.
-
heidiwags #1
Cannot open database requested in login
I currently am trying to connect to a SQL Server 2000 database from an ASP page and a Java connection. I can connect to the database fine using ODBC locally, but when I try to create my connection string in ASP with the same username and password, I get an error
Also, on the same server, I currently am connecting to a different database in ASP and that works fine
Here is my connection string and error
mstrConnection = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=userid;Password=password;Initial Catalog=catalog;Data Source=servername.com
Microsoft OLE DB Provider for SQL Server (0x80004005
Cannot open database requested in login 'catalog'. Login fails.
heidiwags Guest
-
Database/Login on own PC
Hi I'm making a site, but do not have an online host yet. I want to make a login system, so I need a database. but when i want to set the site... -
Illustrator CS won't open-- error "Cannot Complete Requested Operation"
Weirdest thing, can't figure it out. I installed from our master license the onto to PC's running Windows XP the Adobe Creative Suite, and of all... -
ASP Login / Database Help.
I am needing some help with a few asp pages and a login script. Let me start by describing my project. I am trying to connect to a database and... -
The file 'bin\WebProj.dll' cannot be copied to the run directory. The requested operation cannot be performed on a file with a user-mapped section open.
Hi, All, I got this error when trying to compile a web project. The file 'bin\Kennel.dll' cannot be copied to the run directory. The requested... -
Protect using .htaccess - but dont open login box?
Hi, Ive made a login page which shows the target url in a hidden field - so at the moment that is kind of pointless. I have a .htaccess file... -
Ray at #2
Re: Cannot open database requested in login
If you open Query Analyzer, select servername.com, select SQL
authentication, COPY AND PASTE the userid from your connection string, COPY
AND PASTE the password from your connection string, connect, and then
execute USE CATALOG, do you successfully get in?
Ray at home
"heidiwags" <heidiwags99@yahoo.com> wrote in message
news:605CFA45-2AF3-4E73-8FA0-F9D0B3ADC875@microsoft.com...page and a Java connection. I can connect to the database fine using ODBC> I currently am trying to connect to a SQL Server 2000 database from an ASP
locally, but when I try to create my connection string in ASP with the same
username and password, I get an error.database in ASP and that works fine.>
> Also, on the same server, I currently am connecting to a differentID=userid;Password=password;Initial Catalog=catalog;Data>
> Here is my connection string and error:
> mstrConnection = "Provider=SQLOLEDB.1;Persist Security Info=False;User
Source=servername.com">
> Microsoft OLE DB Provider for SQL Server (0x80004005)
> Cannot open database requested in login 'catalog'. Login fails.
Ray at Guest



Reply With Quote

