Server will not start....

May 8, 2012 at 11:34 AM

This is the log I get when attempting to start the server :

 

2012-05-08 13:31:27,098 [6736] ERROR SuperSocket - Failed to initialize service YourService!System.IO.FileNotFoundException: Could not load file or assembly 'YourServiceAssembly' or one of its dependencies. The system cannot find the file specified.File name: 'YourServiceAssembly'   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)   at System.Type.GetType(String typeName, Boolean throwOnError)   at SuperSocket.Common.AssemblyUtil.TryGetType(String type, Type& result, Exception& e) in C:\Users\Zss\Desktop\websocketServer\Common\AssemblyUtil.cs:line 57

 

Thanks

Coordinator
May 8, 2012 at 11:43 AM

Please take a look at the documentation:

http://supersocket.codeplex.com/documentation

http://supersocket.codeplex.com/wikipage?title=let%20your%20appserver%20run

http://supersocket.codeplex.com/wikipage?title=Implement%20your%20AppServer%20and%20AppSession,%20the%20first%20step%20of%20using%20SuperSocket

May 8, 2012 at 12:08 PM

I am sorry, i`m just starting to learn more in depth .net.

 

I modified the config file, and I get this error :

 

2012-05-08 14:07:33,506 [5360] ERROR SuperSocket - Failed to initialize service EchoService!System.TypeLoadException: Could not load type 'SuperSocket.QuickStart.EchoService.EchoServer' from assembly 'SuperSocket.Common, Version=1.4.4.0, Culture=neutral, PublicKeyToken=6c80000676988ebb'.   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)   at System.Type.GetType(String typeName, Boolean throwOnError)   at SuperSocket.Common.AssemblyUtil.TryGetType(String type, Type& result, Exception& e) in C:\Users\Zss\Desktop\websocketServer\Common\AssemblyUtil.cs:line 57

Coordinator
May 8, 2012 at 12:13 PM

The error has told you the reason.

Please read the documentaion CAREFULLY!