Verify that the TCP/IP protocol has been enabled for your SQL Server. I believe this is disabled by default.
Perhaps someone can help me via Teamviewer and I can paypal some lunchmoney... :-)
Brilliant! it worked! However, when solving this, the next error already occures... http://puu.sh/aY7Nm/23606cb722.png it has something to do with the virtual folder "mxclientsystem" that I can't get into my IIS... the CMD link in the IIS tutorial doesn't seem to work for me. Any tips? –
The mxclientsystem folder link is automatically generated when updating the new version of the client system.
If you have issues met an application on windows with IIS you first want to establish what is causing your issue IIS or Mendix.
You can easily determine this by opening your browser on the server and opening localhost:8080 (or the port you are using). Make sure you open the browser on the server, the Mendix application should not listen to other sources.
If the app works with localhost:8080 but not from your laptop via IIS, it is an IIS problem. Based on your description my guess would by the localhost:8080 doesn't work either.
If the application doesn't work without IIS you should validate if the server installation went well. So you should lookup the 'server' folder and validate that all the folders (at least the ones from the message) are present. If not you should re-install the server distribution.
You are right, localhost:8080 is not working either. When I put that into my browser, the error in the console I posted earlier appears.
I have completely reconfigured the service conson, but now I'm getting a new error.....
Uncaught fatal error from thread [MxRuntimeSystem-akka.actor.action-dispatcher-10] shutting down ActorSystem [MxRuntimeSystem]
java.lang.ExceptionInInitializerError: null at appcloudservices.OpenIDHandler.<clinit>(OpenIDHandler.java:97) at appcloudservices.actions.StartSignOnServlet.executeAction(StartSignOnServlet.java:31) at appcloudservices.actions.StartSignOnServlet.executeAction(StartSignOnServlet.java:20) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:53) at com.mendix.core.actionmanagement.CoreAction.doCall(SourceFile:291) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:276) at com.mendix.core.actionmanagement.ActionManager.executeSync(SourceFile:205) at com.mendix.core.component.InternalCore.execute(SourceFile:259) at com.mendix.hs.execute(SourceFile:42) at com.mendix.ib.a(SourceFile:47) at com.mendix.ia.a(SourceFile:193) at com.mendix.ia.executeAction(SourceFile:148) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:53) at com.mendix.core.actionmanagement.CoreAction.doCall(SourceFile:291) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:276) at com.mendix.core.actionmanagement.CustomActionMonitorImpl$$anonfun$run$1.apply(SourceFile:17) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(SourceFile:148) at scala.util.Try$.apply(Try.scala:161) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(SourceFile:146) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:498) at akka.actor.ActorCell.invoke(ActorCell.scala:456) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237) at akka.dispatch.Mailbox.run(Mailbox.scala:219) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Caused by: java.lang.NullPointerException: null at appcloudservices.OpenIDUtils.<clinit>(OpenIDUtils.java:15) at appcloudservices.OpenIDHandler.<clinit>(OpenIDHandler.java:97) at appcloudservices.actions.StartSignOnServlet.executeAction(StartSignOnServlet.java:31) at appcloudservices.actions.StartSignOnServlet.executeAction(StartSignOnServlet.java:20) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:53) at com.mendix.core.actionmanagement.CoreAction.doCall(SourceFile:291) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:276) at com.mendix.core.actionmanagement.ActionManager.executeSync(SourceFile:205) at com.mendix.core.component.InternalCore.execute(SourceFile:259) at com.mendix.hs.execute(SourceFile:42) at com.mendix.ib.a(SourceFile:47) at com.mendix.ia.a(SourceFile:193) at com.mendix.ia.executeAction(SourceFile:148) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:53) at com.mendix.core.actionmanagement.CoreAction.doCall(SourceFile:291) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:276) at com.mendix.core.actionmanagement.CustomActionMonitorImpl$$anonfun$run$1.apply(SourceFile:17) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(SourceFile:148) at scala.util.Try$.apply(Try.scala:161) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(SourceFile:146) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:498) at akka.actor.ActorCell.invoke(ActorCell.scala:456) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237) at akka.dispatch.Mailbox.run(Mailbox.scala:219) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
If anyone could assist... then please :)
I have solved my problem. And great news! Mendix seems to be working now.
I have a few questions I hope can be answered till I stop my complaining (haha)
Hope someone can assist!
Thanks
The error the console gives me when trying to login:
com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"type":"LoginAction","user":"administrator"}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.ActionManager.executeSync(SourceFile:216)
Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"type":"LoginAction","user":"administrator"}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.CoreAction.processErrorState(SourceFile:343)
Caused by: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"amount":-1,"sort":{},"offset":-1,"type":"RetrieveXPathAction","depth":0,"xpath":"//System.User[Name='administrator']"}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.ActionManager.executeSync(SourceFile:216)
Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"amount":-1,"sort":{},"offset":-1,"type":"RetrieveXPathAction","depth":0,"xpath":"//System.User[Name='administrator']"}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.CoreAction.processErrorState(SourceFile:343)
Caused by: java.lang.IllegalArgumentException: Entity id should be not zero at com.mendix.core.objectmanagement.SchemeManagerImpl.getObjectType(SourceFile:1510) at com.mendix.core.objectmanagement.MendixIdentifier.getObjectType(SourceFile:142) at com.mendix.core.objectmanagement.MendixObjectImpl.setId(SourceFile:356) at com.mendix.core.objectmanagement.SchemeManagerImpl.getInstance(SourceFile:969) at com.mendix.core.action.user.RetrieveXPathAction.executeAction(SourceFile:58) at com.mendix.core.action.user.RetrieveXPathAction.executeAction(SourceFile:17) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:53) at com.mendix.core.actionmanagement.CoreAction.doCall(SourceFile:291) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:276) at com.mendix.core.actionmanagement.CustomActionMonitorImpl$$anonfun$run$1.apply(SourceFile:17) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(SourceFile:148) at scala.util.Try$.apply(Try.scala:161) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(SourceFile:146) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:498) at akka.actor.ActorCell.invoke(ActorCell.scala:456) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237) at akka.dispatch.Mailbox.run(Mailbox.scala:219) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
This is after I manually added a user to the SQL management studio.
The last question I have is about the licensing. My app stops working every 2 hours now, I have to restart the service manually in order for it to work again.
Isn't Mendix supposed to be free of use on your own IIS server? Or have I misunderstood? I'm starting to think I haven't configured my Mendix server the right way, because it somehow runs on the console and not on IIS. I can take down my IIS site and still connect to my server. This doesn't seem right.
Can someone please shed some light on this?