Re: How to connect SQL Server from ASP.NET Page
From: Rik (rikleo2001_at_yahoo.com)
Date: 02/24/05
- Next message: Hope: "Stack Trace Line Number"
- Previous message: Brian Bischof: "Re: Crystal Reports Cascading parameters don't get preserved between postbacks"
- In reply to: Patrick Olurotimi Ige: "Re: How to connect SQL Server from ASP.NET Page"
- Next in thread: Juan T. Llibre: "Re: How to connect SQL Server from ASP.NET Page"
- Reply: Juan T. Llibre: "Re: How to connect SQL Server from ASP.NET Page"
- Reply: Patrick Olurotimi Ige: "Re: How to connect SQL Server from ASP.NET Page"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 25 Feb 2005 12:44:13 +1300
Patrick,
I really appriciate you response.
strCmd = "user id=sa;password=testserver;initial catalog=TestDatabase;data
source=210.xxx.xxx.146,1444;Connect Timeout=30"
The IP Address is our Static IP Address, which is linked with my system, and
My System have SQL Server running on it.
I generated a ASP.NET page, and Launched it on the free trial Web Hosting
web site "Webmatrixhosting.net"
Now when I want to connect to the my Static IP Address, It raised an Error,
SQL Server Does not exit.
Waiting for further help please....
rik
"Patrick Olurotimi Ige" <ige@iprimus.com.au> wrote in message
news:OG5QmTsGFHA.1172@TK2MSFTNGP12.phx.gbl...
> Data Source = 120.xxx.xxx.xxxx,1444
> Rik is that only ur connection?
> how can that connect ..
> And pls ask the Admin where u are hosting ur website whats the database
> server name u are connecting to and ur password and username.
> And tthen use the string below to connect:-
> "Data Source=DatabaseServerName;Initial Catalog=DatabaseName;User
> Id=;Password=;"
> Hope it helps.
> PAtrick
>
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!
- Next message: Hope: "Stack Trace Line Number"
- Previous message: Brian Bischof: "Re: Crystal Reports Cascading parameters don't get preserved between postbacks"
- In reply to: Patrick Olurotimi Ige: "Re: How to connect SQL Server from ASP.NET Page"
- Next in thread: Juan T. Llibre: "Re: How to connect SQL Server from ASP.NET Page"
- Reply: Juan T. Llibre: "Re: How to connect SQL Server from ASP.NET Page"
- Reply: Patrick Olurotimi Ige: "Re: How to connect SQL Server from ASP.NET Page"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|