Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP.NET
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 at 31-Jan-13 19:22pm
Why not using database access on server-side, via ADO.NET?
Sergey Alexandrovich Kryukov at 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 at 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 at 31-Jan-13 23:08pm
my +5
vinodkumarnie at 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
0 OriginalGriff 410
1 Sergey Alexandrovich Kryukov 350
2 ProgramFOX 275
3 Maciej Los 275
4 CHill60 260
0 OriginalGriff 360
1 ProgramFOX 265
2 Maciej Los 235
3 CHill60 200
4 RyanDev 170

Advertise | Privacy | Mobile
Web01 | 2.8.150331.1 | Last Updated 31 Jan 2013
Copyright © CodeProject, 1999-2015
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