Private server error

Posts 1–15 of 19 · Page 1 of 2
Private server error
Last night everything was working fine but now when i run server.exe admin or not I get this:

Code:
Unhandled Exception: System.Net.HttpListenerException: Access is denied
   at System.Net.HttpListener.AddAllPrefixes()
   at System.Net.HttpListener.Start()
   at server.Program.Main(String[] args) in C:\rotmg_svr-master\server\Program.c
s:line 26
Anyone know?
Right click > Run as Administrator, If you still get an error, paste it here.
Quote Originally Posted by C453 View Post
Right click > Run as Administrator, If you still get an error, paste it here.
That is what happens when I run it as Admin. The co sole crashes, I have try ed to re download it as well.
Quote Originally Posted by dg97k View Post
That is what happens when I run it as Admin. The co sole crashes, I have try ed to re download it as well.
Can you post a screenshot of the error?
Quote Originally Posted by C453 View Post
Can you post a screenshot of the error?


Just looked at my picture and noticed I don't have a "Brandon" account on my pc only mine.
Its not the same error.

Easy fix. A process is already listening on port 80/8080/8888.
Just go to server/Program.cs, then find
Code:
const int port = 8080; //This may be 8080, 8888, or 80
(line 20)

change it to anything different. Try 8080, or 8888 if it isn't one of those already.
Quote Originally Posted by C453 View Post
Its not the same error.

Easy fix. A process is already listening on port 80/8080/8888.
Just go to server/Program.cs, then find
Code:
const int port = 8080; //This may be 8080, 8888, or 80
(line 20)

change it to anything different. Try 8080, or 8888 if it isn't one of those already.
just forwarded 80 last night. Probably a stupid thing to do but do I need to port forward 8080 too?
well you get that error because there is something already listening on port 80. Go to the file I told you to, and change the port to 8080.
Quote Originally Posted by C453 View Post
well you get that error because there is something already listening on port 80. Go to the file I told you to, and change the port to 8080.
I did now i am asking if i need to port forward 8080.
well depends. You do need to port forward it if you want to make the server public
I forwarded the ports and changed the number in the text file and I am still getting the same error. Can you help me or send me a server download link so i can start fresh.
Did you rebuild after changing the number?
Quote Originally Posted by C453 View Post
Did you rebuild after changing the number?
I am going to say i don't know what your saying. BUT i downloaded the files straight from github and set everything up and now it works to a point. I try ed to signing as admin and i get this:
Code:
Listening at port 8080...
MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'role' in 'fi
eld list'
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& i
nsertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affected
Rows, Int32& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior
)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()
   at db.Database.getRole(Account acc)
   at server.char.list.HandleRequest(HttpListenerContext context)
   at server.Program.ProcessRequest(HttpListenerContext context)
MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'role' in 'fi
eld list'
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& i
nsertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affected
Rows, Int32& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior
)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()
   at db.Database.getRole(Account acc)
   at server.char.list.HandleRequest(HttpListenerContext context)
   at server.Program.ProcessRequest(HttpListenerContext context)
MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'role' in 'fi
eld list'
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& i
nsertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affected
Rows, Int32& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior
)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()
   at db.Database.getRole(Account acc)
   at server.char.list.HandleRequest(HttpListenerContext context)
   at server.Program.ProcessRequest(HttpListenerContext context)
MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'role' in 'fi
eld list'
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& i
nsertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affected
Rows, Int32& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior
)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()
   at db.Database.getRole(Account acc)
   at server.char.list.HandleRequest(HttpListenerContext context)
   at server.Program.ProcessRequest(HttpListenerContext context)
MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'role' in 'fi
eld list'
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& i
nsertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affected
Rows, Int32& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior
)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()
   at db.Database.getRole(Account acc)
   at server.char.list.HandleRequest(HttpListenerContext context)
   at server.Program.ProcessRequest(HttpListenerContext context)
MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'role' in 'fi
eld list'
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& i
nsertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affected
Rows, Int32& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior
)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()
   at db.Database.getRole(Account acc)
   at server.char.list.HandleRequest(HttpListenerContext context)
   at server.Program.ProcessRequest(HttpListenerContext context)
MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'role' in 'fi
eld list'
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& i
nsertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affected
Rows, Int32& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior
)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()
   at db.Database.getRole(Account acc)
   at server.char.list.HandleRequest(HttpListenerContext context)
   at server.Program.ProcessRequest(HttpListenerContext context)
MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'role' in 'fi
eld list'
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& i
nsertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affected
Rows, Int32& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
Quote Originally Posted by dg97k View Post
MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'role' in 'fi
eld list'
Missing the column 'role'?
Quote Originally Posted by donran View Post
Missing the column 'role'?
How do i fix that.
Posts 1–15 of 19 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?