[Mono-list] Mono.Data.Tds.Protocol.TdsConnectionPool.GetConnection null reference exception
James Jeffers
jjeffers at adzerk.com
Mon Jul 11 15:50:39 EDT 2011
When attempting to connect to a MSSQL instance, we see this error:
<pre>System.NullReferenceException: Object reference not set to an instance
of an object
at Mono.Data.Tds.Protocol.TdsConnectionPool.GetConnection () [0x00000] in
<filename unknown>:0
at System.Data.SqlClient.SqlConnection.Open () [0x00000] in <filename
unknown>:0
at SubSonic.SqlDataProvider.CreateConnection (System.String
newConnectionString) [0x00000] in <filename unknown>:0
at SubSonic.SqlDataProvider.CreateConnection () [0x00000] in <filename
unknown>:0
at SubSonic.AutomaticConnectionScope..ctor (SubSonic.DataProvider
provider) [0x00000] in <filename unknown>:0
at SubSonic.SqlDataProvider.GetReader (SubSonic.QueryCommand qry)
[0x00000] in <filename unknown>:0
at SubSonic.DataService.GetReader (SubSonic.QueryCommand cmd) [0x00000] in
<filename unknown>:0
at SubSonic.Query.ExecuteReader () [0x00000] in <filename
unknown>:0
at SubSonic.ReadOnlyRecord`1[Adzerk.Model.Network].LoadByParam
(System.String columnName, System.Object paramValue) [0x00000] in
<filename unknown>:0
<...>
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter
(IActionFilter filter, System.Web.Mvc.ActionExecutingContext preContext,
System.Func`1 continuation) [0x00000] in <filename unknown>:0
at
System.Web.Mvc.ControllerActionInvoker+<>c__DisplayClassd+<>c__DisplayClassf.<InvokeActionMethodWithFilters>b__c
() [0x00000] in <filename unknown>:0
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters
(System.Web.Mvc.ControllerContext controllerContext, IList`1 filters,
System.Web.Mvc.ActionDescriptor actionDescriptor, IDictionary`2 parameters)
[0x00000] in <filename unknown>:0
at System.Web.Mvc.ControllerActionInvoker.InvokeAction
(System.Web.Mvc.ControllerContext controllerContext, System.String
actionName) [0x00000] in <filename unknown>:0 </pre>
Does anyone know what causes this? We're able to connect to the MSSQL server
from other machines in the network. This is the only instance running Mono
(on Ubuntu).
Thanks,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110711/16cc6d61/attachment.html
More information about the Mono-list
mailing list