New Posts New Posts RSS Feed: Exception when more than one user connects
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Exception when more than one user connects

 Post Reply Post Reply
Author
GeorgeB View Drop Down
Groupie
Groupie


Joined: 03-May-2010
Posts: 66
Post Options Post Options   Quote GeorgeB Quote  Post ReplyReply Direct Link To This Post Topic: Exception when more than one user connects
    Posted: 30-Sep-2010 at 7:32am
Hi
 
DevForce Silverlight 6.0.6c (waiting for sales to send me the link for 6.0.6j)
 
I'm getting an exception on our IIS6 production server when more than one user tries to connect.
 
The first user can open as many browser sessions as they want but as soon as another user on another PC tries to login, bang, exception.
 
I've tested against IIS 7.5 and it seems to work okay. Not sure what could be different on IIS 6 (besides being OLD tech).
We have a new server coming in a few days but we have more EAP customers joining next week and I need to have a working solution.
 
Below is the exception copied from the Event Viewer.
 
WebHost failed to process a request.
 Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/35320229
 Exception:
System.ServiceModel.ServiceActivationException: The service '/Portal/EntityServer.svc' cannot be activated due to an exception during compilation. 
The exception message is: Object reference not set to an instance of an object.. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at IdeaBlade.EntityModel.Server.EntityServerHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
   --- End of inner exception stack trace ---
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
 Process Name: w3wp
 Process ID: 28096
 
Kr
George
 
Back to Top
GeorgeB View Drop Down
Groupie
Groupie


Joined: 03-May-2010
Posts: 66
Post Options Post Options   Quote GeorgeB Quote  Post ReplyReply Direct Link To This Post Posted: 01-Oct-2010 at 4:50am
Hi
 
Upgraded to 6.0.6k and had one of our support people make some changes and it's now working as expected.
 
Not sure what the problem was or what fixed it.
 
I'm just happy that everything is running as expected.
 
kr
George
Back to Top
sbelini View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options Post Options   Quote sbelini Quote  Post ReplyReply Direct Link To This Post Posted: 04-Oct-2010 at 4:35pm
Hi George,
 
glad the issue is fixed.
Normally, the web.config/global.asax files would look different if deploying on IIS6 or IIS7.5 and that could be a good lead on pinpointing the issue. Well, it's gone now.
Back to Top
GeorgeB View Drop Down
Groupie
Groupie


Joined: 03-May-2010
Posts: 66
Post Options Post Options   Quote GeorgeB Quote  Post ReplyReply Direct Link To This Post Posted: 05-Oct-2010 at 11:06am
Hi sbelini
 
I hate not knowing what caused it or how it was fixed. It's not in my nature.
 
As I said we're getting a new server in the next few days and IIS 7.5 will be my new best friend.
 
I just need to back off and be patient.
 
Kr
GeorgeB
Back to Top
BringerOD View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 27-Aug-2010
Location: USA
Posts: 35
Post Options Post Options   Quote BringerOD Quote  Post ReplyReply Direct Link To This Post Posted: 05-Oct-2010 at 12:33pm

I am getting the same error.  I am using 7.5 as well.

I am user devforce 6.0.5.0.

Is there an update that fixes this.  I am not sure if it is due to a login issue as above.  The only way I fixed it is rebooting the server.  I tried restarting the web site, then starting and stopping IIS, the reboot was the only fix.

Is there a later version than 6.0.5.0?


Bryan


Here is the error.


WebHost failed to process a request.

 Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/12036987

 Exception: System.ServiceModel.ServiceActivationException: The service '/EntityServer.svc' cannot be activated due to an exception during compilation.  The exception message is: Object reference not set to an instance of an object.. ---> System.NullReferenceException: Object reference not set to an instance of an object.

   at IdeaBlade.EntityModel.Server.EntityServerHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)

   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)

   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)

   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)

   --- End of inner exception stack trace ---

   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)

   at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)

 Process Name: w3wp

 Process ID: 3008

Back to Top
BringerOD View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 27-Aug-2010
Location: USA
Posts: 35
Post Options Post Options   Quote BringerOD Quote  Post ReplyReply Direct Link To This Post Posted: 05-Oct-2010 at 12:34pm
Sorry my error was WPF not Silverlight.
Back to Top
BringerOD View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 27-Aug-2010
Location: USA
Posts: 35
Post Options Post Options   Quote BringerOD Quote  Post ReplyReply Direct Link To This Post Posted: 13-Oct-2010 at 11:56am
I am still getting this error 3 times a day it seems.
 
Users are then not able to log in.
 
Anyone have any ideas?
 
 
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 13-Oct-2010 at 4:03pm
BringerOD, can you post, or send to support, your web.config and server debuglog files, as well as additional information on how the web site / application is configured.  Does the exception always occur when another user tries to connect?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down