K
kohl.mike
I've been having an on going problem.
About 6 months ago I was given a huge project at work, and one of the
tasks was to restucture an existing database, which contains around
50+ Sql Tables. The new Database is on the sql server at work.
To make a long story short, the company I work for, is going to
outsource the project to me and I will be working on it from home in
my spare time.
The problem is, the database is on the server at work, and I can not
connect to the database.
The project Im working on is in vs2008, the language I am using is C#,
and The sql server i believe is 2005. My employer gave me the
information to set up a VPN.
Now the strange thing is if i can add a connection to the database
explorer in visual studio and access the database from there, the
problem that I am having is thru the connection string within in the
application.
The following is the original SQL connection string that I use when im
at work:
public static string connectionString = "Data Source=xxxxx;Initial
Catalog=xxxx;Integrated Security=True;Pooling=False";
After connection to the database in the database explore and I click
on the properties for that database, the following is the connection
string that I get:
Data Source=11.0.11.11,1234;Initial Catalog=xxxx;User
ID=xxxx;Password=***********
notice on the datasource their is a comma, 1234. I believe this is
the open port, and also notice how the password has *****.
Does anyone know what I need to do to connect to this database? Is it
just a setting on the server that needs modified? I have told my
employer in the past of my problem, several times, and basically they
just say i should be able to connect to it.. and they don't seem to
know what the problem is.
About 6 months ago I was given a huge project at work, and one of the
tasks was to restucture an existing database, which contains around
50+ Sql Tables. The new Database is on the sql server at work.
To make a long story short, the company I work for, is going to
outsource the project to me and I will be working on it from home in
my spare time.
The problem is, the database is on the server at work, and I can not
connect to the database.
The project Im working on is in vs2008, the language I am using is C#,
and The sql server i believe is 2005. My employer gave me the
information to set up a VPN.
Now the strange thing is if i can add a connection to the database
explorer in visual studio and access the database from there, the
problem that I am having is thru the connection string within in the
application.
The following is the original SQL connection string that I use when im
at work:
public static string connectionString = "Data Source=xxxxx;Initial
Catalog=xxxx;Integrated Security=True;Pooling=False";
After connection to the database in the database explore and I click
on the properties for that database, the following is the connection
string that I get:
Data Source=11.0.11.11,1234;Initial Catalog=xxxx;User
ID=xxxx;Password=***********
notice on the datasource their is a comma, 1234. I believe this is
the open port, and also notice how the password has *****.
Does anyone know what I need to do to connect to this database? Is it
just a setting on the server that needs modified? I have told my
employer in the past of my problem, several times, and basically they
just say i should be able to connect to it.. and they don't seem to
know what the problem is.