Click here to Skip to main content
15,916,702 members
Home / Discussions / Database
   

Database

 
GeneralRe: autoNumber and Max+1 which is Best Pin
David Salter3-Feb-05 22:39
David Salter3-Feb-05 22:39 
GeneralConfused about Subqueries grammer. Pin
denniskang20042-Feb-05 16:34
denniskang20042-Feb-05 16:34 
GeneralRe: Confused about Subqueries grammer. Pin
Just Greeky Creek2-Feb-05 21:16
Just Greeky Creek2-Feb-05 21:16 
Generalpassing DataReader obj Pin
DFrag2-Feb-05 11:32
DFrag2-Feb-05 11:32 
GeneralRe: passing DataReader obj Pin
Yulianto.2-Feb-05 17:19
Yulianto.2-Feb-05 17:19 
GeneralRe: passing DataReader obj Pin
DFrag3-Feb-05 3:39
DFrag3-Feb-05 3:39 
Generalxml importing and exporting Pin
lornej2-Feb-05 10:30
lornej2-Feb-05 10:30 
GeneralGeneral network error Pin
Marix2-Feb-05 4:01
Marix2-Feb-05 4:01 
Hi
I have a very very simple web application that does only one thing - tries to open a connection to SQL server.
On my PC it works fine. Connection is opened immediately!
But when I put that application on my host server I get this error "General network error. Check your network documentation."!!

The code is:
private void Page_Load(object sender, System.EventArgs e)
{
this.sqlConnection1.Close();
this.sqlConnection1.ConnectionString = "Data source=myServerIPAddress;Initial Catalog=dbName;User ID=user;Password=passwd";
try
{
this.sqlConnection1.Open();
}
catch(System.Data.SqlClient.SqlException ex)
{
this.Label1.Text = ex.Message;
}
finally
{
this.sqlConnection1.Close();
}
}

Doeas anyone know why is that so?

I tried tu turn pooling off, set bigger timeout but useless!
GeneralRe: General network error Pin
David Salter3-Feb-05 22:41
David Salter3-Feb-05 22:41 
GeneralRe: General network error Pin
Marix3-Feb-05 22:46
Marix3-Feb-05 22:46 
GeneralDatabase commits being reversed Pin
jonathan152-Feb-05 3:57
jonathan152-Feb-05 3:57 
GeneralRe: Database commits being reversed Pin
Mike Dimmick2-Feb-05 6:06
Mike Dimmick2-Feb-05 6:06 
GeneralRe: Database commits being reversed Pin
jonathan152-Feb-05 22:19
jonathan152-Feb-05 22:19 
GeneralDropdown in a Datagrid Pin
sanfeb151-Feb-05 22:23
sanfeb151-Feb-05 22:23 
GeneralAllow zero length Pin
Robert19741-Feb-05 22:06
Robert19741-Feb-05 22:06 
GeneralRe: Allow zero length Pin
Just Greeky Creek2-Feb-05 21:39
Just Greeky Creek2-Feb-05 21:39 
GeneralRe: Allow zero length Pin
SimonS4-Feb-05 4:49
SimonS4-Feb-05 4:49 
GeneralRe: Allow zero length Pin
Robert19744-Feb-05 9:10
Robert19744-Feb-05 9:10 
Generalproblem with MSDE installation Pin
Anonymous1-Feb-05 20:00
Anonymous1-Feb-05 20:00 
GeneralRe: problem with MSDE installation Pin
Anonymous1-Feb-05 23:39
Anonymous1-Feb-05 23:39 
GeneralRe: problem with MSDE installation Pin
Mike Dimmick2-Feb-05 3:59
Mike Dimmick2-Feb-05 3:59 
QuestionBULK INSERT without using Files? Pin
Rafferty Uy1-Feb-05 18:53
Rafferty Uy1-Feb-05 18:53 
AnswerRe: BULK INSERT without using Files? Pin
Rafferty Uy2-Feb-05 12:08
Rafferty Uy2-Feb-05 12:08 
GeneralReplication: Applying initial snapshot is dropping existing tables in the database. Pin
RuchirD1-Feb-05 18:00
RuchirD1-Feb-05 18:00 
GeneralBest way to import MSDE data into Access Pin
elephantstar1-Feb-05 9:04
elephantstar1-Feb-05 9:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.