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.
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.
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.
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.
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.
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
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.
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.