Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unhandled type encountered
Message
From
25/02/2011 09:19:39
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01501802
Message ID:
01501815
Views:
54
>>>>>>HI
>>>>>>
>>>>>>I've been running these pages in asp.net using the .net development server.
>>>>>>
>>>>>>Now I've moved them onto an IIS server and am running them outside Visual Studio
>>>>>>
>>>>>>and I'm getting the error
>>>>>>
>>>>>>Unhandled type encountered
>>>>>>
>>>>>>any thoughts on why I would get that after moving the system to the server.
>>>>>>Ans any tips on how to debug on that server
>>>>>
>>>>>Probably need a bit more info on the exception.
>>>>>BTW is it 'Unhandled type encountered' or 'Unhandled data type encountered'
>>>>>The latter is a fairly common exception in Javascript
>>>>
>>>>here you go.
>>>>I've run the web site in iis on the development machine now and it works ok.
>>>>this error is occurring on the live server.
>>>>Any thoughts on where to start looking ?
>>>>
>>>>[MySqlException (0x80004005): Unhandled type encountered]
>>>> MySql.Data.Types.MetaData.NameToType(String typeName, Boolean unsigned, Boolean realAsFloat, MySqlConnection connection) +1283
>>>> MySql.Data.MySqlClient.StoredProcedure.GetAndFixParameter(DataRow param, Boolean realAsFloat, String returnParameter) +332
>>>> MySql.Data.MySqlClient.StoredProcedure.Resolve(Boolean preparing) +517
>>>> MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +477
>>>> MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +4
>>>> System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +10
>>>> System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +130
>>>> System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) +162
>>>> System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) +115
>>>> validation.DataLayer.fillDataTable(MySqlCommand sqlCmd) +111
>>>> validation.DataLayer.execSp(String storedProcedureName, String[] parameterNames, Object[] parameterValues) +220
>>>> validation.AllModelsSharedCode.populateFailureChart() +732
>>>> validation.AllModelsSharedCode.drawGraphs(Boolean isUpdateRequest) +301
>>>> validation.AllModelsSharedCode.Page_LoadExtracted(Page& thisPage, PlaceHolder& filterTextBoxes, Chart& chartFailure, PlaceHolder& checkboxesHolder, Chart& BounceChart, Boolean& isAdmin, Table& tableButtons) +283
>>>> validation.AllModels.Page_Load(Object sender, EventArgs e) +238
>>>> System.Web.UI.Control.OnLoad(EventArgs e) +99
>>>> System.Web.UI.Control.LoadRecursive() +50
>>>> System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
>>>
>>>Only the obvious : It looks as if whatever page this is is passing an invalid parameter to MySql during it's Page_Load.
>>>Never used MySql from .NET I'm afraid but if you know the page and the data being retrieved......
>>
>>Yes but the weirdness is that the same page accessing the same mysql data works ok on the development machine :-(
>
>So where are the parameters for the call coming from?
>If it's from something like web.config or any other server specific settings that might account for it ?

Its a good point and I am looking there. I thought everything came out of the database but maybe not.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform