Register for your free account! | Forgot your password?

You last visited: Today at 00:46

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Database hosting

Discussion on Database hosting within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 80
Join Date: Sep 2007
Posts: 642
Received Thanks: 168
Database hosting

Ok, well me and a friend have decided to mess around with websites and ****, and i got to thinking. You know how most websites have to ability to host Sql servers? Well i tried hosting this for a CoEmuv2 server and it didn't work, has anyone do this before? Is it even possible? Ill post a picture of my error, its line 30, but the line 30 "fix" doesn't seem to be working.
Santa is offline  
Old 01/09/2010, 09:22   #2
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
If you cant understand what the console says, quit.
~Yuki~ is offline  
Old 01/09/2010, 09:31   #3
 
elite*gold: 80
Join Date: Sep 2007
Posts: 642
Received Thanks: 168
Quote:
Originally Posted by ~Yuki~ View Post
If you cant understand what the console says, quit.
All my fault cause i don't sit on my PC 24/7 like my, SORRY FORGOT. Dude, if you have nothing nice to say, don't say ****. Its really ******* annoying.

Any btw, you must not be very smart, cause you couldn't answer my other questions.
Santa is offline  
Old 01/09/2010, 10:15   #4
 
spare2's Avatar
 
elite*gold: 20
Join Date: Oct 2009
Posts: 1,009
Received Thanks: 621
Starbuck please don't respond to flame with flame, there's is a report button.

But to answer your question, the exception is a null reference exception, which means on that line you called a object or instance that is null or returned null. Try and find out what caused that by debugging.
spare2 is offline  
Old 01/09/2010, 11:14   #5


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Looks like you didnt define your connection object before you tried to open it.

Your absolutely right that web servers can be used to host Sql servers, the thing is that you will have a delay between when your servers sends the request, and when you receive your data because it has to be sent accross the internet unlike accessing it from a local server where you get your data almost instantly. You might want to think about that before you go for it.
Korvacs is offline  
Old 01/09/2010, 14:50   #6
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
yah I used an external sql server hosted with my webhosting for a while (to make registration and other access simpler) but after a week or so I gave up on that due to the lag between the two.
pro4never is offline  
Old 01/09/2010, 20:20   #7
 
elite*gold: 80
Join Date: Sep 2007
Posts: 642
Received Thanks: 168
Quote:
Originally Posted by Korvacs View Post
Looks like you didnt define your connection object before you tried to open it.

Your absolutely right that web servers can be used to host Sql servers, the thing is that you will have a delay between when your servers sends the request, and when you receive your data because it has to be sent accross the internet unlike accessing it from a local server where you get your data almost instantly. You might want to think about that before you go for it.
Well, i have messed with this source before and it has never done this to me before i have tried connecting to an outside database.

Quote:
Originally Posted by pro4never View Post
yah I used an external sql server hosted with my webhosting for a while (to make registration and other access simpler) but after a week or so I gave up on that due to the lag between the two.
Yeah, i remember that, but im just messin around with different options.
Santa is offline  
Old 01/10/2010, 12:52   #8


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Quote:
Originally Posted by StarBucks View Post
Well, i have messed with this source before and it has never done this to me before i have tried connecting to an outside database.
Well, my advice would be to recheck your definition for your connection and make sure it is correctly defined, because it clearly states that it isnt defined when you try to open it.
Korvacs is offline  
Reply




All times are GMT +1. The time now is 00:47.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.