This is after upgrading from 7.x to 8.3.42.
Not sure what could be causing the issue here - I have no other problems reported by FB and at the time of this error I would expect FB to have been completely idle....
10/02/2011 02:38 (GMT):
MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.Security.SecurityException: Request for the permission of type 'System.Net.DnsPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Object assemblyOrString, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet grantedSet, PermissionSet refusedSet, CodeAccessPermission demand, PermissionToken permToken, RuntimeMethodHandle rmh, Object assemblyOrString, SecurityAction action, Boolean throwException) at System.Security.CodeAccessSecurityEngine.CheckHelper(CompressedStack cs, PermissionSet grantedSet, PermissionSet refusedSet, CodeAccessPermission demand, PermissionToken permToken, RuntimeMethodHandle rmh, Assembly asm, SecurityAction action) at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.Net.Dns.GetHostEntry(String hostNameOrAddress) at MySql.Data.Common.StreamCreator.GetDnsHostEntry(String hostname) at MySql.Data.Common.StreamCreator.GetStream(UInt32 timeout) at MySql.Data.MySqlClient.NativeDriver.Open() The action that failed was: Demand The type of the first permission that failed was: System.Net.DnsPermission The first permission that failed was:
The demand was for:
The granted set of the failing assembly was:
The assembly or AppDomain that failed was: FogBugz, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a9eb54ba6d925add The method that caused the failure was: Int32 Execute() The Zone of the assembly that failed was: MyComputer The Url of the assembly that failed was: file:///c:/fb/website/bin/FogBugz.DLL --- End of inner exception stack trace ---
Server stack trace: at MySql.Data.MySqlClient.NativeDriver.Open() at MySql.Data.MySqlClient.Driver.Open() at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() at MySql.Data.MySqlClient.MySqlPool.GetConnection() at MySql.Data.MySqlClient.MySqlConnection.Open() at Wasabi.Runtime.ADO.KeySetCursor..ctor(DbCommand command, Boolean noUpdates) at Wasabi.Runtime.ADO.RecordSet..ctor(Command command) at Wasabi.Runtime.ADO.Command.Execute(Object ignored1, Object ignored2, Nullable`1 Options) at Wasabi.Runtime.ADO.Connection.<>c_DisplayClass1.b_0() at Wasabi.Runtime.ADO.Util.RerunIfDeadlock(Action action) at Wasabi.Runtime.ADO.Connection.Execute(String CommandText) at FogCreek.FogBugz.__Global.GetJustInsertedIx(RecordSet rs, String sFieldName) at FogCreek.FogBugz.Database.CInsertQuery.Execute() at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at FogCreek.FogBugz.Database.CInsertQuery.Execute() at FogCreek.FogBugz.CaseHistory.BugHistoryEntry.Save(CPluginApi api) at FogCreek.FogBugz.CaseHistory.Estimator.WriteHistory(List`1 rgHistory) at FogCreek.FogBugz.CaseHistory.Estimator.GenerateEstimates(Int32 ixBugMinExclusive, Int32 ixBugMaxInclusive) at FogCreek.FogBugz.CaseHistory.CaseHistory.HeartbeatTask() at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [1]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at FogCreek.FogBugz.Plugins.Interfaces.IPluginHeartbeatTask.HeartbeatTask() at FogCreek.FogBugz.__Global.SingleHeartbeatPlugins() in c:\code\release\build\fogbugz\8.3.42\FogBugz\distribution\src-Website\singleHeartbeat.was:line 235