Re: Connection to SQL Server works in VB.NET, not ASP.NET
From: Roy Lawson (roy_at_xeon.tv)
Date: 02/26/04
- Next message: Chip: "Disable RowSelectorColumn checkbox"
- Previous message: Tu-Thach: "RE: How long is a piece of string?"
- In reply to: Suresh: "RE: Connection to SQL Server works in VB.NET, not ASP.NET"
- Next in thread: Kevin Yu [MSFT]: "Re: Connection to SQL Server works in VB.NET, not ASP.NET"
- Reply: Kevin Yu [MSFT]: "Re: Connection to SQL Server works in VB.NET, not ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Date: 26 Feb 2004 08:38:37 -0800
Suresh <anonymous@discussions.microsoft.com> wrote in message news:<4DAF5136-06C2-4C19-8F54-DC294646095E@microsoft.com>...
> Try changing your connection string to,
> server=DATA.MYWEBSITE.COM;uid=USER;password=PW; database=DATABASE
Hi Suresh, thanks for the security tips. That change to the
connection string did not work. My error is:
System.InvalidCastException: Specified cast is not valid. It occurs
as soon as I open the connection.
Still puzzled :-)
-Roy
- Next message: Chip: "Disable RowSelectorColumn checkbox"
- Previous message: Tu-Thach: "RE: How long is a piece of string?"
- In reply to: Suresh: "RE: Connection to SQL Server works in VB.NET, not ASP.NET"
- Next in thread: Kevin Yu [MSFT]: "Re: Connection to SQL Server works in VB.NET, not ASP.NET"
- Reply: Kevin Yu [MSFT]: "Re: Connection to SQL Server works in VB.NET, not ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|