Hi,
We are getting the error below from an aspx page built with Visual Studio
2003, running in IIS 6 on Windows Server 2003 SP2. The application is set
to run under ASP .NET version 1.1.4322. At the bottom, you see:
"Version Information: Microsoft .NET Framework Version:2.0.50727.832;
ASP.NET Version:2.0.50727.832 "
This does not make sense. We have seen this error ("Type of value has a
mismatch with column type ") before when the application was accidentally
set to run under .NET 2.____
IIS was restarted, and that did not reset anything that would make the error
go away. The machine was restarted and that did not help either.
Thanks in advance for any pointers!
Regards,
Jim
Server Error in '/test/production/vbrc' Application.
--------------------------------------------------------------------------------
Type of value has a mismatch with column type
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.ArgumentException: Type of value has a mismatch
with column type
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentException: Type of value has a mismatch with column type]
System.Data.Common.ObjectStorage.Set(Int32 recordNo, Object value) +971
System.Data.DataColumn.set_Item(Int32 record, Object value) +34
[ArgumentException: Type of value has a mismatch with column typeCouldn't
store
<AACATGTTTTTCAAAGTGATATTGATCTTCATTCTATTCAAGCAATGCAAGCAAATCCCATTGCGTGAAGGGACAACTGGCTCTCGCTGCTTTGCTAATGGAGAATTAGTCAAAACAGTAAATGCTACTAATGTGCCAGCAGAAGTCTGCGTGAAAGATGATATATCAATAATTAAGTCTAACGGAGAACATTATAAAAAAGACAATAATATTGGCGCTGTAGTTAAATATTATCGGCTGTATCAAATAAAAGATTGGGCTACTTGCAATCCTATTTTAGATACGCATGGAACATTCATGCTCCTGGATATAGATAATACAGGGATGTTAATTCCCAAAATGCATACTTGCCGTGTAGAATGCGATATAACACTCAACAAAGATACAGCAGAAATAATATTAAATTCATATAGATTAAACCATTATAGGATATCCGGCTCAATGCATATATCTGGATGGTTCAAGAATAAAATAGATATTCCTTTAGAAAATACTTGTGAAACTATCGATGTCACATGTGGCTTAAAGACAATATCGTTTCATGCTTGTTTCCATACACATAAATCTTGCACTAGGTACTTCAAAGGTTCCGTGTTGCCGGAGATAACAATAGAATCTATGTGCCAGAATATCGAATTAATTATTATTGGCTCTGCTATATTCTTTGGTTCAATATTCCTGATAATACTAACTAAGACTTATATTGTGTATCTTTTTATACCGATATTCTATCCATTTGTCAAGATATATGCAATACTATACAACAGGTATTTCAAATTGTGCAAGAAATGTCTTCTTGCAGTCCATCCTTTCACAAACTGTCCTACAACCTGTATCTGCGGTATGTCATATGGCAATACAGAATCACTTAGATTACATAGATTATGTAAAACTTGTGATGGCTATAAGGCACTACCTAAAGCTAGAAGATTATGTAAAAGCAAAGTGAGTAACATAATACTATGCACATGCAGTGCGTTAATATTCTTCTCATTCATTACTCCTATCAATGCAGAATGCT...>
in genome_seq Column. Expected type is SqlDataReader.]
System.Data.DataColumn.set_Item(Int32 record, Object value) +71
System.Data.DataRow.set_Item(DataColumn column, Object value) +276
System.Data.DataRow.set_Item(Int32 columnIndex, Object value) +26
SNF_jr.SNF_DatabaseProxy.executeSQLAndReturnData(String queryText, String
databaseName) +831
VBRC.getNtSeq.getNtSeq() in
V:\Inetpub\test\production\vbrc\getNtSeq.aspx.vb:65
VBRC.getNtSeq.PopulatePageWithInitialData() in
V:\Inetpub\test\production\vbrc\getNtSeq.aspx.vb:24
SNF_jr.SNF_SimpleNavPage.Page_Load(Object sender, EventArgs e) +55
System.Web.UI.Control.OnLoad(EventArgs e) +80
System.Web.UI.Control.LoadRecursive() +49
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3745
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET
Version:2.0.50727.832