473,326 Members | 2,173 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

SQL Server does not exist

Hi all,

I am getting the "SQL Server does not exist or access denied" error when i
am trying access the SQL Server from a web page.
SQL Server is installed in other system.
Connection string is "Data Source=CTSINCALSFAW;Initial Catalog=SSGRelo;
UID=user; PWD=password;".
However i am able to connect to the SQL Server from Query analyser and also
from Windows application.
I am getting this error for Web applications only.

TIA
Satya
Nov 19 '05 #1
3 932
What connection are u using to connect to it when using Query Analyzer?
Try setting it tot the same connection
And remember u are connecting to another system
Hope that helps Patrick

"Satya" wrote:
Hi all,

I am getting the "SQL Server does not exist or access denied" error when i
am trying access the SQL Server from a web page.
SQL Server is installed in other system.
Connection string is "Data Source=CTSINCALSFAW;Initial Catalog=SSGRelo;
UID=user; PWD=password;".
However i am able to connect to the SQL Server from Query analyser and also
from Windows application.
I am getting this error for Web applications only.

TIA
Satya

Nov 19 '05 #2
Thanks for your reply.
I have given the port number in connectionstring. It worked.

Satya

"Patrick.O.Ige" wrote:
What connection are u using to connect to it when using Query Analyzer?
Try setting it tot the same connection
And remember u are connecting to another system
Hope that helps Patrick

"Satya" wrote:
Hi all,

I am getting the "SQL Server does not exist or access denied" error when i
am trying access the SQL Server from a web page.
SQL Server is installed in other system.
Connection string is "Data Source=CTSINCALSFAW;Initial Catalog=SSGRelo;
UID=user; PWD=password;".
However i am able to connect to the SQL Server from Query analyser and also
from Windows application.
I am getting this error for Web applications only.

TIA
Satya

Nov 19 '05 #3
I have the same problem, can you give me example, how did you give port number?

"Satya" wrote:
Thanks for your reply.
I have given the port number in connectionstring. It worked.

Satya

"Patrick.O.Ige" wrote:
What connection are u using to connect to it when using Query Analyzer?
Try setting it tot the same connection
And remember u are connecting to another system
Hope that helps Patrick

"Satya" wrote:
Hi all,

I am getting the "SQL Server does not exist or access denied" error when i
am trying access the SQL Server from a web page.
SQL Server is installed in other system.
Connection string is "Data Source=CTSINCALSFAW;Initial Catalog=SSGRelo;
UID=user; PWD=password;".
However i am able to connect to the SQL Server from Query analyser and also
from Windows application.
I am getting this error for Web applications only.

TIA
Satya

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jay Chan | last post by:
We have just installed a SQL Server 2000 (SP 3A) onto a computer that has Windows-2003 Server on it. Now, we cannot get access to that database server from other computers. Seem like this may be an...
4
by: hooi | last post by:
I'm new to Visual Studio.NET and Visual Basic.NET. While trying to run the sample application, it shows an error message as shown below. I have an SQL Server containing the sample database...
2
by: george r smith | last post by:
Gentlemen, I know that this problem has happened before and I searched and tried all solutions but problem is not solved. I install asp.net community starter kit with some help from this...
3
by: Hermit Dave | last post by:
Hi, I am getting this SQLException: Sql Server does not exist or access denied Here is the situation: Build machine: VS 2003, Framework 1.1, Windows XP and SQL Server I have two sets of...
5
by: Bruce Schechter | last post by:
I just started to develop an ASP.NET application in vs.net 2003 . But each time I try to execute the application (which is basically empty so far), I get a dialog box titled "Microsoft Development...
3
by: Olivogt | last post by:
Hello, I was just puting an application on the web server but it did not work as usual... - I do develop on my notebook and move released applications to the Web server - both have Sql Server...
1
by: ssp | last post by:
G'Day All, I have a web application sitting on my laptop and a Sql Server 2000 database on our INTRANET server running Windows 2003. Up until recently I was able to access the database using my...
1
by: Atia Amin | last post by:
Hi, I am a new member. Hello to every one. I am new in ASP.NET area. I wrote an ASP.NET web application which was running ok with my old laptop. Currently I have given a new laptop. Now I copied...
2
by: itfetish | last post by:
I've just upgraded our WIndows 2003 (with SBS server) web server to .Net framework 2.0 (it had 1.1 before) As I have been working on a web parts page on my laptop, hosting it there, working...
3
by: LamSoft | last post by:
I am not going to write a aspx to connect a SQL Server... but it tries to connect the SQL Server... Some of the Code.. protected void LoginButton_Click(object sender, EventArgs e) { if...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.