MySQL Server Doesnt Work

Having problems with the panel? Have questions? Post here!
Post Reply
PAL-18
Posts: 146
Joined: Tue Jan 03, 2012 8:09 pm

MySQL Server Doesnt Work

Post by PAL-18 »

I created a user, gave access to the ugcc database and copy/pasted the credentials into Web.config in the website root. But when i try logging in i get this error:

Code: Select all

Server Error in '/' Application.
Object cannot be cast from DBNull to other types.
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.InvalidCastException: Object cannot be cast from DBNull to other types.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidCastException: Object cannot be cast from DBNull to other types.]
   UGCC_Sharp.dbinterface.() in dbinterface.cs:97
   UGCC_Sharp.defaultnew.Button1_Click(Object sender, EventArgs e) in Default.aspx.cs:206
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +121
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +136
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4657
Why is it doing this?
SGCatlantis
Posts: 34
Joined: Wed Apr 16, 2014 2:00 pm

Re: MySQL Server Doesnt Work

Post by SGCatlantis »

hi same problem here
Attachments
error MYSQL.png
PAL-18
Posts: 146
Joined: Tue Jan 03, 2012 8:09 pm

Re: MySQL Server Doesnt Work

Post by PAL-18 »

I also need to add, i get that error after logging in with the default username and password (i cant even change it yet as this is a new install).
SGCatlantis
Posts: 34
Joined: Wed Apr 16, 2014 2:00 pm

Re: MySQL Server Doesnt Work

Post by SGCatlantis »

Hi
Some help pls masher
Masher
Site Admin
Posts: 3614
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: MySQL Server Doesnt Work

Post by Masher »

Use mysql and not mariadb.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
SGCatlantis
Posts: 34
Joined: Wed Apr 16, 2014 2:00 pm

Re: MySQL Server Doesnt Work

Post by SGCatlantis »

Hi ty for info
You can uptade for mariadb ?
Because plesk use Maria by default now
Post Reply