Click here to Skip to main content
15,894,405 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionTree view control Pin
anandhakrishnan12-Feb-09 19:04
anandhakrishnan12-Feb-09 19:04 
AnswerRe: Tree view control Pin
VijayVishwakarma12-Feb-09 19:22
VijayVishwakarma12-Feb-09 19:22 
Questiondrag and drop Pin
248912812-Feb-09 18:57
248912812-Feb-09 18:57 
AnswerRe: drag and drop Pin
Calin Tatar13-Feb-09 1:20
Calin Tatar13-Feb-09 1:20 
QuestionFtp Directory and Webserver director in Same Folder Pin
Radhakrishnan G.12-Feb-09 18:37
Radhakrishnan G.12-Feb-09 18:37 
QuestionConfiguration Error Pin
MS Lee12-Feb-09 18:30
MS Lee12-Feb-09 18:30 
AnswerRe: Configuration Error Pin
Vimalsoft(Pty) Ltd12-Feb-09 19:50
professionalVimalsoft(Pty) Ltd12-Feb-09 19:50 
GeneralRe: Configuration Error Pin
MS Lee12-Feb-09 20:01
MS Lee12-Feb-09 20:01 
previously i went to IIS tree, right-click the Default Web Site item and choose New -> Virtual Directory
gave alias name,then physical directory path,and gave virtual directory access path,and finished.


then i delete the virtual directory
and configure again with the same process, i dont know how the things went wrong previously,

now my index page is working, here am getting user name and login,
when i give signin button am getting error as

Server Error in '/MySweethomes' Application.
Cannot open database "test" requested by the login. The login failed.
Login failed for user 'SOFTWARE\ASPNET'.--------------> here my database name is 'SOFTWARE\test'


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Cannot open database "test" requested by the login. The login failed.
Login failed for user 'SOFTWARE\ASPNET'.

Source Error:

Line 23: {
Line 24: SqlConnection conn = new SqlConnection(ConnStr);
Line 25: conn.Open();
Line 26: string MyQuery = "SELECT USERNAME,PASSWORD FROM LoginDB " + "WHERE USERNAME = '" + UName + "' AND PASSWORD = '" + Pass + "'";

Line 27: SqlDataAdapter Sda = new SqlDataAdapter(MyQuery, conn);


Source File: F:\SweetHomes\SweetHomes\Login.cs Line: 25

self confidence+hard work=SUCCESS

GeneralRe: Configuration Error Pin
Vimalsoft(Pty) Ltd12-Feb-09 20:15
professionalVimalsoft(Pty) Ltd12-Feb-09 20:15 
GeneralRe: Configuration Error Pin
MS Lee12-Feb-09 20:21
MS Lee12-Feb-09 20:21 
GeneralRe: Configuration Error Pin
Vimalsoft(Pty) Ltd12-Feb-09 20:32
professionalVimalsoft(Pty) Ltd12-Feb-09 20:32 
GeneralRe: Configuration Error Pin
MS Lee12-Feb-09 20:39
MS Lee12-Feb-09 20:39 
GeneralRe: Configuration Error Pin
Vimalsoft(Pty) Ltd12-Feb-09 20:42
professionalVimalsoft(Pty) Ltd12-Feb-09 20:42 
GeneralRe: Configuration Error Pin
MS Lee12-Feb-09 20:34
MS Lee12-Feb-09 20:34 
GeneralRe: Configuration Error Pin
MS Lee12-Feb-09 21:10
MS Lee12-Feb-09 21:10 
GeneralRe: Configuration Error Pin
MS Lee12-Feb-09 23:51
MS Lee12-Feb-09 23:51 
Questionasp.net html emails problem. Pin
VijayVishwakarma12-Feb-09 17:51
VijayVishwakarma12-Feb-09 17:51 
AnswerRe: asp.net html emails problem. Pin
VijayVishwakarma12-Feb-09 19:22
VijayVishwakarma12-Feb-09 19:22 
Questionhttps to http Pin
Sarfaraj Ahmed12-Feb-09 16:12
Sarfaraj Ahmed12-Feb-09 16:12 
AnswerRe: https to http Pin
Jon Rista12-Feb-09 16:16
Jon Rista12-Feb-09 16:16 
GeneralRe: https to http Pin
Sarfaraj Ahmed12-Feb-09 16:49
Sarfaraj Ahmed12-Feb-09 16:49 
GeneralRe: https to http Pin
Jon Rista13-Feb-09 13:33
Jon Rista13-Feb-09 13:33 
Questionselect control in asp Pin
radupopescu77712-Feb-09 5:42
radupopescu77712-Feb-09 5:42 
AnswerRe: select control in asp Pin
Abhijit Jana12-Feb-09 7:15
professionalAbhijit Jana12-Feb-09 7:15 
GeneralRe: select control in asp Pin
radupopescu77712-Feb-09 8:09
radupopescu77712-Feb-09 8:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.