Click here to Skip to main content
13,295,441 members (35,457 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hello Dear Friends
Database problem
ı can not connect the database, gives me above error:
Cannot open database "database name" requested by the login. The login failed.

Login failed for user 'my user name for my pc'.

plz help?

ajax error

ıam crating a slide in using c#
The control with ID 'SlideShowExtender1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.
Posted 31-Jan-13 14:18pm
Sergey Alexandrovich Kryukov 31-Jan-13 19:22pm
Why not using database access on server-side, via ADO.NET?
Sergey Alexandrovich Kryukov 31-Jan-13 19:51pm
What change? I advise you to use ADO.NET, not anything else. Just read about it, it's impossible to explain all at once.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

1: Sounds like you are passing the wrong user id and/or password to the connection string.

2: You need to add a ScriptManager control as the first item below the form element on your main page or any page that requires it (depending upon your design and requirements).

Next time, one question at a time and more information would be useful.
mustyname 31-Jan-13 19:35pm
thank you guys for the quick answers but:
ı check user of my database is dbo so what to change in connection string??
AshishChaudha 31-Jan-13 23:08pm
my +5
vinodkumarnie 1-Feb-13 5:31am
yes.. thats right.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.171207.1 | Last Updated 31 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100