Problem with hosting webservice on IIS that uses manager
Hi All,
I have upgraded a web service from 7.0.x to 7.2.1 and now getting this error
the code is simply fail when initializing manager object
I can replicate this issue by hosting JiwaAPI on IIS
There is no problem with selfhosted JiwaAPI (Window service) on the same server and there is no problem hosting my webservice on a different sever...
Has anyone had this issue before?
I have done/checked below btw
- .Net Framework 4.8 installed
- Windows features
- used an admin account as application pool identity
- app pool is 4.0 and uses 32bit
I have upgraded a web service from 7.0.x to 7.2.1 and now getting this error
- Code: Select all
Message: request: System.NullReferenceException: Object reference not set to an instance of an object.
at JiwaFinancials.Jiwa.JiwaApplication.ConnectionManager.ConnectionProfile.ReadRecord()
at JiwaFinancials.Jiwa.JiwaApplication.ConnectionManager.ConnectionProfile.Setup()
at JiwaFinancials.Jiwa.JiwaApplication.Manager..ctor()
the code is simply fail when initializing manager object
- Code: Select all
manager = New JiwaFinancials.Jiwa.JiwaApplication.Manager()
I can replicate this issue by hosting JiwaAPI on IIS
- Code: Select all
[NullReferenceException: Object reference not set to an instance of an object.]
JiwaFinancials.Jiwa.JiwaApplication.ConnectionManager.ConnectionProfile.ReadRecord() in C:\VSTS\Jiwa 7\07.02.00\JiwaApplication\ConnectionManager\ConnectionProfile.vb:187
JiwaFinancials.Jiwa.JiwaApplication.ConnectionManager.ConnectionProfile.Setup() in C:\VSTS\Jiwa 7\07.02.00\JiwaApplication\ConnectionManager\ConnectionProfile.vb:616
JiwaFinancials.Jiwa.JiwaApplication.Manager..ctor() in C:\VSTS\Jiwa 7\07.02.00\JiwaApplication\Manager.vb:3499
JiwaAPI.AppHost.Configure(Container container) in C:\VSTS\Jiwa 7\07.02.00\JiwaAPI\JiwaAPI\JiwaAPI\AppHost.cs:41
ServiceStack.ServiceStackHost.Init() +280
JiwaAPI.Global.Application_Start(Object sender, EventArgs e) in C:\VSTS\Jiwa 7\07.02.00\JiwaAPI\JiwaAPI\JiwaAPI\Global.asax.cs:9
There is no problem with selfhosted JiwaAPI (Window service) on the same server and there is no problem hosting my webservice on a different sever...
Has anyone had this issue before?
I have done/checked below btw
- .Net Framework 4.8 installed
- Windows features
- used an admin account as application pool identity
- app pool is 4.0 and uses 32bit