Showing posts with label line. Show all posts
Showing posts with label line. Show all posts

Wednesday, March 28, 2012

Set default framework version for a web site via the command line

Greetings,
How do I set the default version of the .net framework via the command line?
I have installed the .net framework v2 beta 2 and for what ever reason I am
unable to set the default runtime for a web site using IIS. I have used
aspnet_regiis to see if it installed properly and it has.
I want to use the command line to get around this issue. I've googled it and
still nothing.
Thanks,
BryanUse the application's ASP.NET tab in the IIS Manager,
or use Denis Bauer's ASP.NET Version Switcher :
http://www.denisbauer.com/NETTools/...onSwitcher.aspx
Juan T. Llibre
ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
==========================
"RedEye" <redeye_51@.hotmail.com> wrote in message
news:OhV8hzzsFHA.2540@.TK2MSFTNGP09.phx.gbl...
> Greetings,
> How do I set the default version of the .net framework via the command lin
e?
> I have installed the .net framework v2 beta 2 and for what ever reason I a
m unable to
> set the default runtime for a web site using IIS. I have used aspnet_regii
s to see if it
> installed properly and it has.
> I want to use the command line to get around this issue. I've googled it a
nd still
> nothing.
> Thanks,
> Bryan
>
I forgot about that tool.
THANKS!!!
"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:uSyuc9zsFHA.904@.tk2msftngp13.phx.gbl...
> Use the application's ASP.NET tab in the IIS Manager,
> or use Denis Bauer's ASP.NET Version Switcher :
> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>
> Juan T. Llibre
> ASP.NET MVP
> ASP.NET FAQ : http://asp.net.do/faq/
> ==========================
> "RedEye" <redeye_51@.hotmail.com> wrote in message
> news:OhV8hzzsFHA.2540@.TK2MSFTNGP09.phx.gbl...
>

Set default framework version for a web site via the command line

Greetings,

How do I set the default version of the .net framework via the command line?

I have installed the .net framework v2 beta 2 and for what ever reason I am
unable to set the default runtime for a web site using IIS. I have used
aspnet_regiis to see if it installed properly and it has.

I want to use the command line to get around this issue. I've googled it and
still nothing.

Thanks,
BryanUse the application's ASP.NET tab in the IIS Manager,
or use Denis Bauer's ASP.NET Version Switcher :

http://www.denisbauer.com/NETTools/...onSwitcher.aspx

Juan T. Llibre
ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
==========================

"RedEye" <redeye_51@.hotmail.com> wrote in message
news:OhV8hzzsFHA.2540@.TK2MSFTNGP09.phx.gbl...
> Greetings,
> How do I set the default version of the .net framework via the command line?
> I have installed the .net framework v2 beta 2 and for what ever reason I am unable to
> set the default runtime for a web site using IIS. I have used aspnet_regiis to see if it
> installed properly and it has.
> I want to use the command line to get around this issue. I've googled it and still
> nothing.
> Thanks,
> Bryan
I forgot about that tool.

THANKS!!!

"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:uSyuc9zsFHA.904@.tk2msftngp13.phx.gbl...
> Use the application's ASP.NET tab in the IIS Manager,
> or use Denis Bauer's ASP.NET Version Switcher :
> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>
> Juan T. Llibre
> ASP.NET MVP
> ASP.NET FAQ : http://asp.net.do/faq/
> ==========================
> "RedEye" <redeye_51@.hotmail.com> wrote in message
> news:OhV8hzzsFHA.2540@.TK2MSFTNGP09.phx.gbl...
>> Greetings,
>>
>> How do I set the default version of the .net framework via the command
>> line?
>>
>> I have installed the .net framework v2 beta 2 and for what ever reason I
>> am unable to set the default runtime for a web site using IIS. I have
>> used aspnet_regiis to see if it installed properly and it has.
>>
>> I want to use the command line to get around this issue. I've googled it
>> and still nothing.
>>
>> Thanks,
>> Bryan
>>

Monday, March 26, 2012

set field to dbnull?

In the following code the line: row("OrderDate") = DBNull is invalid. But,
how can I set the field to DBNull?

Thanks,

Gary

daClearOrders.Fill(DsClearOrders1)

Dim row As DataRow

For Each row In DsClearOrders1.Inventory.Rows

row("QuantityOrdered") = 0

row("OrderDate") = DBNull (this doesn't work)

Next

daClearOrders.Update(DsClearOrders1)Hi Gary,

Try assigning DBNull.Value instead of DBNull.

Harold

"Gary" <Gary@.nospam.com> wrote in message
news:etjh3kRGEHA.688@.tk2msftngp13.phx.gbl...
> In the following code the line: row("OrderDate") = DBNull is invalid.
But,
> how can I set the field to DBNull?
> Thanks,
> Gary
> daClearOrders.Fill(DsClearOrders1)
> Dim row As DataRow
> For Each row In DsClearOrders1.Inventory.Rows
> row("QuantityOrdered") = 0
> row("OrderDate") = DBNull (this doesn't work)
> Next
> daClearOrders.Update(DsClearOrders1)

set field to dbnull?

In the following code the line: row("OrderDate") = DBNull is invalid. But,
how can I set the field to DBNull?

Thanks,

Gary

daClearOrders.Fill(DsClearOrders1)

Dim row As DataRow

For Each row In DsClearOrders1.Inventory.Rows

row("QuantityOrdered") = 0

row("OrderDate") = DBNull (this doesn't work)

Next

daClearOrders.Update(DsClearOrders1)Hi Gary,

Try assigning DBNull.Value instead of DBNull.

Harold

"Gary" <Gary@.nospam.com> wrote in message
news:etjh3kRGEHA.688@.tk2msftngp13.phx.gbl...
> In the following code the line: row("OrderDate") = DBNull is invalid.
But,
> how can I set the field to DBNull?
> Thanks,
> Gary
> daClearOrders.Fill(DsClearOrders1)
> Dim row As DataRow
> For Each row In DsClearOrders1.Inventory.Rows
> row("QuantityOrdered") = 0
> row("OrderDate") = DBNull (this doesn't work)
> Next
> daClearOrders.Update(DsClearOrders1)