reset password
Author Message
ashasabeer
Posts: 55
Posted 00:51 Sep 29, 2010 |

Hi,

I am getting Runtime Error in" index.html page" while running the CSNS project.

Also i am getting "Invalid username and password while trying to login o CSNS.

I do have values in local tables.

 

Attached he screen shot of the errors.

Attachments:
JHautzinger
Posts: 14
Posted 01:04 Sep 29, 2010 |

I don't know why I am still getting these subscription messages as I was in the class last quarter, but let me see if I can help.

 

When you say running the CSNS project what do you mean?  Anything showing the error or a stack trace would be helpful.  Remember to read through the logs....if you have those set up yet.

 

Second, make sure your database is set up correctly and that the username that you use to log into the database from your csns project has ownership rights ( easiest way to do this is create the database with the user that you intend to use for the project).  Next, make sure that the csns-test-insert or whatever it is called is running through to a successful completion.  If the users have not been inserted yet, you will get this error.

 

Jack

 

alomo
Posts: 70
Posted 01:21 Sep 29, 2010 |

Jack,

I've got a couple messages - about cs520 and about cs422 ! ))) :)

Just go to your User Profile (Forums) and unsubscribe from this class's forum.


Alex

Last edited by alomo at 01:25 Sep 29, 2010.
cysun
Posts: 2935
Posted 07:48 Sep 29, 2010 |
ashasabeer wrote:

Hi,

I am getting Runtime Error in" index.html page" while running the CSNS project.

Also i am getting "Invalid username and password while trying to login o CSNS.

I do have values in local tables.

 

Attached he screen shot of the errors.

Most likely it's because your application failed to access the database. Use Log Viewer to check the log file. The error message in the log should give you some idea what's wrong, e.g. the JDBC driver is missing, or wrong username/password, or wrong database/tables, and so on.

ashasabeer
Posts: 55
Posted 13:05 Sep 29, 2010 |

After installing PostgreSQL .When i try to login through Command Prompt  in am getting below error

 

C:\Users\ashasabeer>psql templete1
Password:
psql: FATAL:  password authentication failed for user "ashasabeer"

But i didnt create any user name "ashasabeer".

Please help me

cysun
Posts: 2935
Posted 15:35 Sep 29, 2010 |
ashasabeer wrote:

After installing PostgreSQL .When i try to login through Command Prompt  in am getting below error

 

C:\Users\ashasabeer>psql templete1
Password:
psql: FATAL:  password authentication failed for user "ashasabeer"

But i didnt create any user name "ashasabeer".

Please help me

Use the "-U" option to specify a username, e.g. "psql -U postgres template1". Without the -U option psql will use the system account name as the username.