Signalr: "NetworkError: 500 Internal Server Error

Created on 4 Jun 2012  Â·  13Comments  Â·  Source: SignalR/SignalR

When I am running the web site on my local computer it works properly, but when I uploading to my domain, its starts to generates this error. I am in rush, and it is very critical for me, I have done the whole project based on Signal and I m confused now, please please please help me soon.

Regards

Question

All 13 comments

500 means internal server error and you can get the actual error text from the event log, that'll help you diagnose the problem. If you're using ASP.NET you can turn custom errors off to get the actual error text in the network tab of your browser.

Dear David
The error was for Trust Level of my website which is fixed on Medium by my hosting company (Go Daddy). I asked them to change it they refused, I changed my hosting company to the one that has FULL level, it worked! And meantime, really, really Thank you for your great job! It is amazing and simple and light and lot of good things :)

Awesome!

I get this issue even with full trust? Is there another way to get around the /signalr/hubs 500 error?

Try debugging

Problem is this exist only on remote server. Locally works fine.

The 500 in fiddler is System.MissingMethodException: Method not found: 'System.Version System.Web.HttpRuntime.get_IISVersion()'.

You're running .net 4.5 locally and .net 4.0 on the remote server. You need to re-target your app to 4.0 in VS, uninstall and then install the SignalR package again (so you get the 4.0 version), then re-deploy.

Damian,
You are referring to VS2012 if I'm not mistaken. VS2010 doesn't show 4.5, just 4.0. When deploying project compiled on vs2010 to server that doesn't have 4.5, I get the same error.

I even had the same issue, I solved it by modifying a property of my class which was inheriting "Hub" Class.

myClass Properties --> Build Action --> Content.  (instead of "compile")

I hope this will help someone.

Hi,

Sorry, I have no idea about it.
Consider asking on https://jabbr.net/#/rooms/signalr where you can find the
developers of SignalR. (Assuming you didn't know about this).

Regards,
Venkateshwar.

On Wed, Jan 30, 2013 at 10:35 PM, Loreto Parisi [email protected]:

Same error happens when building on Mono 3.0.3, even if setting
TargetFramework to .NET 4.0 the server responds

System.MissingMethodException
Method not found: 'System.Web.HttpRuntime.get_IISVersion'.

Description: HTTP 500.Error processing request.
Details: Non-web exception. Exception origin (name of application or
object): Microsoft.Owin.Host.SystemWeb.
Exception stack trace:
at Microsoft.Owin.Host.SystemWeb.OwinAppContext.Initialize (System.Action1
startup) [0x00000] in :0
at Microsoft.Owin.Host.SystemWeb.OwinBuilder.Build (System.Action1
startup) [0x00000] in :0
at Microsoft.Owin.Host.SystemWeb.RouteCollectionExtensions.MapOwinRoute
(System.Web.Routing.RouteCollection routes, System.String name,
System.String pathBase, System.Action`1 startup) [0x00000] in :0
at System.Web.Routing.RouteExtensions.MapHubs
(System.Web.Routing.RouteCollection routes, System.String name,
System.String path, Microsoft.AspNet.SignalR.HubConfiguration
configuration) [0x00000] in :0
at System.Web.Routing.RouteExtensions.MapHubs
(System.Web.Routing.RouteCollection routes, System.String path,
Microsoft.AspNet.SignalR.HubConfiguration configuration) [0x00000] in :0
at System.Web.Routing.RouteExtensions.MapHubs
(System.Web.Routing.RouteCollection routes,
Microsoft.AspNet.SignalR.HubConfiguration configuration) [0x00000] in :0
at System.Web.Routing.RouteExtensions.MapHubs
(System.Web.Routing.RouteCollection routes) [0x00000] in :0
at mxm_signalr.Global.Application_Start (System.Object sender,
System.EventArgs e) [0x00001] in
/Users/loreto/Projects/SDK/mxm-signalr-prj/mxm-signalr/Global.asax.cs:18
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x0006a] in
/private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.3/_build/mono-3.0.3.git/mcs/class/corlib/System.Reflection/MonoMethod.cs:223

Version Information: 3.0.3 (tarball Thu Jan 10 22:29:30 CET 2013); ASP.NETVersion: 4.0.30319.17020

—
Reply to this email directly or view it on GitHubhttps://github.com/SignalR/SignalR/issues/430#issuecomment-12900207.

Regards,
_K. Venkateshwar_
http://www.linkedin.com/in/kamlekarvenkateshwarhttp://stackoverflow.com/users/1577396/mr-green

Hello, I have same problem like the others... Same problem I have on two my applications on difference servers. Same is only implementation solution, what is ASP.Net MVC 3, C#. Both of my applications are running on "Full trust" prottection on IIS server. Locally it works fine but problems are on remote servers.

Applications are running fine, but returns there errors :( Here is screenshot from mozilla firebug/network.

SignalR

Thanks for any Ideas!!!

It's August, 2017 and I have a GoDaddy account also. I have a very small sample app using SignalR which runs perfectly on localhost but will not run at my GoDaddy Site.
I have given full trust in web.config. I have set up virtual directories for signalr/hubs (in a vain hope that somehow the .NET generated hub would work). Nothing actually works and you always get the 500 internal server error.
Finally, I got a free account at smarterasp.net, dropped in the same code that is running on my localhost and it worked perfectly.
You can see the article I wrote and see the sample at SignalR - @ codeproject

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mdraganza picture mdraganza  Â·  23Comments

DamianEdwards picture DamianEdwards  Â·  32Comments

VoidMonk picture VoidMonk  Â·  19Comments

clodprogea picture clodprogea  Â·  15Comments

cburgdorf picture cburgdorf  Â·  191Comments