HelpServer.exe problem

Posts 1–12 of 12 · Page 1 of 1
Server.exe problem
I have this problem...



Can someone please help me???

I am using club's source if you need some info. I just added some stuff from Trapped's source into it and some pets as well with the abilities.

This problem only occurs when I run my client.. kinda weird.

BTW: I have read all the other previous posts and none of them help
1. to add photos to your thread/post upload the image to igmur click save and at right side the is something like BB code and under it is for example[ Img]www.igmur.. ....[/ Img] copy that and paste it in yuor thread/post

2. had you installed mysql?
It appears that you have an error on line 21 of list.cs
Quote Originally Posted by SuperHusky View Post
It appears that you have an error on line 21 of list.cs
Maybe Yes but i think that he haven't mysql and mysql is the most important thing to run that source
Quote Originally Posted by Jankos View Post
Maybe Yes but i think that he haven't mysql and mysql is the most important thing to run that source
I had mysql. I always have mysql or else how would i have been able to change my rank to founder in my pserver
Quote Originally Posted by SuperHusky View Post
It appears that you have an error on line 21 of list.cs
Line 21 is
Code:
 using (var db = new Database())
And I got no errors for that. When I run the server project with debugger it tells me that

Code:
System.Net.HttpListenerException: Access is denied
   at System.Net.HttpListener.AddAllPrefixes()
   at System.Net.HttpListener.Start()
   at server.Program.Main(String[] args) in c:\Users\AWong\Desktop\PhoenixRealms-master-master\server\Program.cs:line 23
So when I look at line 23 in program.cs it's
Code:
11        private const int port = 8888;
12        private static HttpListener listener;
13        private static Thread listen;
14        private static readonly Thread[] workers = new Thread[5];
15        private static readonly Queue<HttpListenerContext> contextQueue = new Queue<HttpListenerContext>();
16        private static readonly object queueLock = new object();
17        private static readonly ManualResetEvent queueReady = new ManualResetEvent(false);
18
19        private static void Main(string[] args)
20        {
21            listener = new HttpListener();
22            listener.Prefixes.Add("http://*:" + port + "/");
23            listener.Start();

Anyone help??
I got this error yesterday as well, I got it to work by reinstalling MySQL
Quote Originally Posted by CrazyJani View Post
I got this error yesterday as well, I got it to work by reinstalling MySQL
Yeah I had to reinstall it as well. too much stuff in mysql
Quote Originally Posted by CrazyJani View Post
I got this error yesterday as well, I got it to work by reinstalling MySQL
did it help you. Well I reinstalled MySql and it didn't do anything for me. It talks about my host not supporting the mysql connection.. any help?
so when you have installed mysql you ticked the "always run at system startup"? or maybe you havent ran your mysql?
Quote Originally Posted by Jankos View Post
so when you have installed mysql you ticked the "always run at system startup"? or maybe you havent ran your mysql?
Yeah i have done that already.
Quote Originally Posted by Jankos View Post
so when you have installed mysql you ticked the "always run at system startup"? or maybe you havent ran your mysql?


Can someone help??? Dragonlord3344 has already helped out in some way telling me that I only need to edit 3 things but I have. This is a mysql error but I have imported the struct.sql into mysql workbench. Please help, if you don't want to well I understand
Posts 1–12 of 12 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?