Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS running .NET 2.__ instead of .NET 1.__

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  .htaccess mistake  
Author Message
Jim

External


Since: Dec 05, 2007
Posts: 2



(Msg. 1) Posted: Wed Dec 05, 2007 4:12 pm
Post subject: IIS running .NET 2.__ instead of .NET 1.__
Archived from groups: microsoft>public>inetserver>iis (more info?)

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! Smile

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

 >> Stay informed about: IIS running .NET 2.__ instead of .NET 1.__ 
Back to top
Login to vote
David Wang

External


Since: Nov 14, 2007
Posts: 361



(Msg. 2) Posted: Wed Dec 05, 2007 4:12 pm
Post subject: Re: IIS running .NET 2.__ instead of .NET 1.__ [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

How did you "set the application to run under ASP.NET 1.1".

Users are responsible for choosing and configuring IIS to use the
proper ASP.Net version for their application, as well as ensure that
only one version of .Net Framework is run in any Application Pool.
Unless you ensure those two things, you can be using any ASP.Net
version installed on your server.

aspnet_regiis.exe under the appropriate Framework version is the
easiest way to set the ASP.Net version.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//




On Dec 5, 2:12 pm, "Jim" <nore....RemoveThis@noreply.com> wrote:
> 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! Smile
>
> 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
> <AACATGTTTTTCAAAGTGATATTGATCTTCATTCTATTCAAGCAATGCAAGCAAATCCCATTGCGTGAAGGGAC-AACTGGCTCTCGCTGCTTTGCTAATGGAGAATTAGTCAAAACAGTAAATGCTACTAATGTGCCAGCAGAAGTCTG-CGTGAAAGATGATATATCAATAATTAAGTCTAACGGAGAACATTATAAAAAAGACAATAATATTGGCGCTGTAGT-TAAATATTATCGGCTGTATCAAATAAAAGATTGGGCTACTTGCAATCCTATTTTAGATACGCATGGAACATTCAT-GCTCCTGGATATAGATAATACAGGGATGTTAATTCCCAAAATGCATACTTGCCGTGTAGAATGCGATATAACACT-CAACAAAGATACAGCAGAAATAATATTAAATTCATATAGATTAAACCATTATAGGATATCCGGCTCAATGCATAT-ATCTGGATGGTTCAAGAATAAAATAGATATTCCTTTAGAAAATACTTGTGAAACTATCGATGTCACATGTGGCTT-AAAGACAATATCGTTTCATGCTTGTTTCCATACACATAAATCTTGCACTAGGTACTTCAAAGGTTCCGTGTTGCC-GGAGATAACAATAGAATCTATGTGCCAGAATATCGAATTAATTATTATTGGCTCTGCTATATTCTTTGGTTCAAT-ATTCCTGATAATACTAACTAAGACTTATATTGTGTATCTTTTTATACCGATATTCTATCCATTTGTCAAGATATA-TGCAATACTATACAACAGGTATTTCAAATTGTGCAAGAAATGTCTTCTTGCAGTCCATCCTTTCACAAACTGTCC-TACAACCTGTATCTGCGGTATGTCATATGGCAATACAGAATCACTTAGATTACATAGATTATGTAAAACTTGTGA-TGGCTATAAGGCACTACCTAAAGCTAGAAGATTATGTAAAAGCAAAGTGAGTAACATAATACTATGCACATGCAG-TGCGTTAATATTCTTCTCATTCATTACTCCTATCAATGCAGAATGCT...>
> 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

 >> Stay informed about: IIS running .NET 2.__ instead of .NET 1.__ 
Back to top
Login to vote
Jim

External


Since: Dec 05, 2007
Posts: 2



(Msg. 3) Posted: Wed Dec 05, 2007 5:20 pm
Post subject: Re: IIS running .NET 2.__ instead of .NET 1.__ [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank you for the reply, David.

In the IIS Manager, right-clicking on the application, selecting
"Properties" and looking at the "ASP .NET" tab, the choices are
1.1.4322 (selected) and 2.0.50727
The last time we had this error, we found it set to 2.__ and when we changed
it to 1.__ that appeared to make the error go away.

I have found aspnet_regiis.exe under the 1.x and 2.x versions on that
server. I ran the 1.x aspnet_regiis.exe, using no options and the ASPX
works fine now. I will look further into the utility's options, as needed

Thanks again, David!

--Jim

"David Wang" <w3.4you.TakeThisOut@gmail.com> wrote in message
news:043d328f-0adf-4793-8770-6d774fd85ff6@s12g2000prg.googlegroups.com...
How did you "set the application to run under ASP.NET 1.1".

Users are responsible for choosing and configuring IIS to use the
proper ASP.Net version for their application, as well as ensure that
only one version of .Net Framework is run in any Application Pool.
Unless you ensure those two things, you can be using any ASP.Net
version installed on your server.

aspnet_regiis.exe under the appropriate Framework version is the
easiest way to set the ASP.Net version.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//




On Dec 5, 2:12 pm, "Jim" <nore....TakeThisOut@noreply.com> wrote:
> 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! Smile
>
> 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
> <AACATGTTTTTCAAAGTGATATTGATCTTCATTCTATTCAAGCAATGCAAGCAAATCCCATTGCGTGAAGGGAC-AACTGGCTCTCGCTGCTTTGCTAATGGAGAATTAGTCAAAACAGTAAATGCTACTAATGTGCCAGCAGAAGTCTG-CGTGAAAGATGATATATCAATAATTAAGTCTAACGGAGAACATTATAAAAAAGACAATAATATTGGCGCTGTAGT-TAAATATTATCGGCTGTATCAAATAAAAGATTGGGCTACTTGCAATCCTATTTTAGATACGCATGGAACATTCAT-GCTCCTGGATATAGATAATACAGGGATGTTAATTCCCAAAATGCATACTTGCCGTGTAGAATGCGATATAACACT-CAACAAAGATACAGCAGAAATAATATTAAATTCATATAGATTAAACCATTATAGGATATCCGGCTCAATGCATAT-ATCTGGATGGTTCAAGAATAAAATAGATATTCCTTTAGAAAATACTTGTGAAACTATCGATGTCACATGTGGCTT-AAAGACAATATCGTTTCATGCTTGTTTCCATACACATAAATCTTGCACTAGGTACTTCAAAGGTTCCGTGTTGCC-GGAGATAACAATAGAATCTATGTGCCAGAATATCGAATTAATTATTATTGGCTCTGCTATATTCTTTGGTTCAAT-ATTCCTGATAATACTAACTAAGACTTATATTGTGTATCTTTTTATACCGATATTCTATCCATTTGTCAAGATATA-TGCAATACTATACAACAGGTATTTCAAATTGTGCAAGAAATGTCTTCTTGCAGTCCATCCTTTCACAAACTGTCC-TACAACCTGTATCTGCGGTATGTCATATGGCAATACAGAATCACTTAGATTACATAGATTATGTAAAACTTGTGA-TGGCTATAAGGCACTACCTAAAGCTAGAAGATTATGTAAAAGCAAAGTGAGTAACATAATACTATGCACATGCAG-TGCGTTAATATTCTTCTCATTCATTACTCCTATCAATGCAGAATGCT...>
> 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
 >> Stay informed about: IIS running .NET 2.__ instead of .NET 1.__ 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Getting IIS running - I have installed IIS on my pc and was working fine with my php scrips and web files. For strange reasons. My local host is not working even though it displays the directory browsing. Nothing displays anymore via localhost. Can anyone help?

IIS is not running - I have IIS installed on my computer. However, when I test it by attempting to display the http://localhost web site in the Explorer, I get the "File Not Found" error message. In the "Internet Services Manager" dialog box, I see the fo...

Running JSP with IIS - Can this be done and for free? Is it easy to install or would I need to install a JSP specific server in windows? Many thx Stu

IIS not running - Hi all I am experiencing a new type of problem. Recently I have installed NT4.0 with service pack 6a. Now NT 4.0 option pack is also installed with IIS and MTS and index server. But though console shows webserver is running i.e. default FTP and default..

getting IIS 5.1 up and running - Hi. I have just installed IIS 5.1 on XP pro SP1. The service appears to be running but I just get blank pages when I look at http://localhost/isshelp ...... the hTML source looks like this: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0..
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]