need help to make a Solver fundation model to work on an ASP.net app

Answered need help to make a Solver fundation model to work on an ASP.net app

  • Friday, October 12, 2012 9:26 PM
     
     

    Ok,

    my model work on as a console application (i used this for testing and experimentation), but when everything was ready to go i moved my model to an asp.net application as a vb.net class, with all the corresponding tables etc

    im refering directly the microsoftsolverfundation.dll

    but the moment i call the get context method i get

    The exception was: Microsoft.SolverFoundation.Common.MsfSolverConfigurationException: Microsoft Solver Foundation plugin solver configuration exception ---> System.ArgumentException: exePath must be specified when not running inside a stand alone exe. at System.Configuration.ConfigurationManager.OpenExeConfigurationImpl(ConfigurationFileMap fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath) at System.Configuration.ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel userLevel) at Microsoft.SolverFoundation.Services.PluginSolverCollection.d__3.MoveNext() at Microsoft.SolverFoundation.Services.PluginSolverCollection.Initialize() at Microsoft.SolverFoundation.Services.PluginSolverCollection.CreatePluginSolverCollection() --- End of inner exception stack trace --- at Microsoft.SolverFoundation.Services.PluginSolverCollection.CreatePluginSolverCollection() at Microsoft.SolverFoundation.Services.SolverContext.GetContext() at

    im not running a web service its a plain vb.net class and using net 4 framework

    i dont know if am missing somenthing perhaps in the web.config???

     

    thanks

    any thougths?

    sergio

All Replies

  • Monday, October 15, 2012 8:02 PM
     
     Answered

    Well Now it works, apparently i was using a multithreading that was not allowing the model to run

    thanks

    Sergio


    sergio

    • Marked As Answer by Checko1 Monday, October 15, 2012 8:02 PM
    •