New Posts New Posts RSS Feed: IIS BOS issue when remoting HELP
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

IIS BOS issue when remoting HELP

 Post Reply Post Reply
Author
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post Topic: IIS BOS issue when remoting HELP
    Posted: 25-Feb-2009 at 1:10pm
I am having a huge issue with by BOS. I am running v. 3.5.3.1. The application in question has not been used for a couple weeks. Then last Friday the application was ran and the following issue arose.
 
 
Issue: Client application will communicate with IIS BOS to fetch data. Client application will perform some update/delete functions on some entities. Error is thrown when trying to save some update/delete functions on some entities.
 
Environment
client -> web server -> database server each are different machines
 
What is working:
Development version that is running with direct connection to database works.
Release version that points directly to the database works.
 
What I have done so far:
  1.  Made sure client dll and server dll where same version and build.
  2. Rebuilt entire application and server components and reinstalled on server.
  3. Tried duplicating error on development machine
    1. Ran debug version pointing directly to database (successful)
    2. Installed server components on IIS on dev machine
    3. Ran debug version pointing to IIS server on dev machine (error)
  4. Checked to verify that save is not being denied by database. The transaction is never making it to the database.

The errors jump all over. The live server gets one consistent error (all are on save):

[SocketException (0x274c): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 159.121.92.252:80]
   System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +1073657
   System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +33
   System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +217

[WebException: Unable to connect to the remote server]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +2668969
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +717
   IdeaBlade.Persistence.IPersistenceService.Ping() +0
   IdeaBlade.Persistence.RemotingPersistenceService.GetRemoteInstance() +137

[PersistenceServerException: Unable to connect to http://ws2.orcities.org:80/CEMS/PersistenceServer.rem.  The server or internet connection may be down.]
   IdeaBlade.Persistence.RemotingPersistenceService.GetRemoteInstance() +271
   IdeaBlade.Persistence.RemotingPersistenceService.get_RemoteInstance() +64
   IdeaBlade.Persistence.RemotingPersistenceServerProxy.GetPersistenceServer() +20
   IdeaBlade.Persistence.RemotingPersistenceServerProxy.Reconnect() +40

[PersistenceServerException: Unable to connect to http://ws2.orcities.org:80/CEMS/PersistenceServer.rem.  The server or internet connection may be down.]
   IdeaBlade.Persistence.PersistenceManager.HandlePersistenceServerException(Exception pException, Boolean pTryToHandle, PersistenceOperation pOperation) +137
   IdeaBlade.Persistence.PersistenceManager.Connect() +98
   IdeaBlade.Persistence.PersistenceManager..ctor(Boolean pShouldConnect, String pDataSourceExtension, PersistenceServiceOption pPersistenceServiceOption) +418
   IdeaBlade.Persistence.PersistenceManager.get_DefaultManager() +125
   LOC.CEMS.Reporting.Web.ReportViewer.Page_Load(Object sender, EventArgs e) +259
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
 
When on dev box I get a few different ones including the above (when pointing directly to database they save successfully on same build):
1. object does not exist - traced code and this occurrs during persistence save
2. verification errors - traced code and this occurrs during persistence save
3. the above remoting error
 
I use the IIS BOS server to load some web services as well as some web pages. These web pages load. The are only fetch commands and not save so I have not been able to perform that check.
 
Please HELP.
 
 
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: 25-Feb-2009 at 11:31pm
What is the time difference between the fetch of data from the server and the save?  It's very strange to have a sudden connection problem just after communications have been established and data retrieved.  The stack trace also seems to indicate that the error occurs upon first access of the PersistenceManager.DefaultManager.
 
Please send the web.config, client and server ibconfig files, and client and server debug logs to support@ideablade.com.
Back to Top
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post Posted: 26-Feb-2009 at 7:20am
I am working with Josh now. I will post the result when we have found it.
Back to Top
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post Posted: 02-Mar-2009 at 10:45am
Kim,
 
I have been in contact with Josh. He said I would be hearing from you. I sent him some code last week when you servers where down. Have you had a chance to take a look?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down