Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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 asp.net using c#
The control with ID 'SlideShowExtender1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.
Posted
Comments
Sergey Alexandrovich Kryukov 31-Jan-13 19:22pm    
Why not using database access on server-side, via ADO.NET?
—SA
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.
—SA

1 solution

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.
 
Share this answer
 
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900