- Home /
Web Service not running problem
Hi,
So basically i am trying to do this tut (http://wiki.unity3d.com/index.php?title=Webservices_In_Unity#Testing_the_server) so I can get an understanding of how to use web services in unity.
I can do this part "Testing the server Now, lets test the server. Start a command shell (cmd) and change to the webserver directory. We will now use xsp to serve the pages, xsp can be found in your Mono installation directory (ex. C:\Program Files\Mono-2.6.7\bin). I reccomend you put this directory in your path.Start the webserver from the command prompt:"
However after i execute the command and try to access it via a browser it returns the following error:
Server Error in '/' Application
Type MyService not found.
Description: HTTP 500. Error processing request.
Stack Trace:
System.Web.HttpException: Type MyService not found. at System.Web.UI.SimpleWebHandlerParser.GetTypeFromBin (System.String tname) [0x00000] in :0 at System.Web.Compilation.SimpleBuildProvider.LoadTypeFromBin (System.Web.Compilation.BaseCompiler compiler, System.Web.UI.SimpleWebHandlerParser parser) [0x00000] in :0 at System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.SimpleWebHandlerParser].GetGeneratedType (System.CodeDom.Compiler.CompilerResults results) [0x00000] in :0 at System.Web.Compilation.BuildManagerCacheItem..ctor (System.Reflection.Assembly assembly, System.Web.Compilation.BuildProvider bp, System.CodeDom.Compiler.CompilerResults results) [0x00000] in :0 at System.Web.Compilation.BuildManager.StoreInCache (System.Web.Compilation.BuildProvider bp, System.Reflection.Assembly compiledAssembly, System.CodeDom.Compiler.CompilerResults results) [0x00000] in :0 at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, Boolean debug) [0x00000] in :0 at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, Boolean debug) [0x00000] in :0 at System.Web.Compilation.BuildManager.Build (System.Web.VirtualPath vp) [0x00000] in :0 at System.Web.Compilation.BuildManager.GetCompiledType (System.Web.VirtualPath virtualPath) [0x00000] in :0 at System.Web.Compilation.BuildManager.GetCompiledType (System.String virtualPath) [0x00000] in :0 at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler (System.Web.HttpContext context, System.String verb, System.String url, System.String filePath) [0x00000] in :0 at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url, Boolean ignoreContextHandler) [0x00000] in :0 at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) [0x00000] in :0 at System.Web.HttpApplication+c__Iterator6.MoveNext () [0x00000] in :0
If anyone could help me that would be amazing.
Thanks in advance :)