473,386 Members | 1,812 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,386 software developers and data experts.

SQL Server Does Not exist

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
newsgroup.Install went fine,
database was created on the SQL server machine but when I bring up
browser and try to
connect I get:
"SQL Server does not exist or access denied" error message.

IIS and visual studion running on workstation (2000 pro). SQL server
is
running on a workgroup computer (2003).

I can access the SQL server using isqlw from workstation. Checked
connection string in web.config it looks OK as follows:
<database>
<add key="connectionString"
"Server=GSMITH;UID=sa;PWD=xxxx;database=CommunityS tarterKit" />

Can anyone help. Funny thing is that this is the exact setup as home
and it works fine
there but not here

thanks
grs
Nov 15 '05 #1
2 3260
Maybe name resolution. What happens if you use the SQL Servers IP Address rather than the name?

Want to know more? Check out the MSDN Library at http://msdn.microsoft.com or the Microsoft Knowledge Base at http://support.microsoft.com

Scot Rose, MCSD
Microsoft Visual Basic Developer Support
Email : sc***@online.microsoft.com <Remove word online. from address>

This posting is provided “AS IS”, with no warranties, and confers no rights.


--------------------
From: "george r smith" <gs****@budgetext.com>
Subject: SQL Server Does Not exist
Date: Tue, 19 Aug 2003 16:19:47 -0500
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <uA**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: 216-63-152-112.budgetext.com 216.63.152.112
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:177540
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

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
newsgroup.Install went fine,
database was created on the SQL server machine but when I bring up
browser and try to
connect I get:
"SQL Server does not exist or access denied" error message.

IIS and visual studion running on workstation (2000 pro). SQL server
is
running on a workgroup computer (2003).

I can access the SQL server using isqlw from workstation. Checked
connection string in web.config it looks OK as follows:
<database>
<add key="connectionString"
"Server=GSMITH;UID=sa;PWD=xxxx;database=Community StarterKit" />

Can anyone help. Funny thing is that this is the exact setup as home
and it works fine
there but not here

thanks
grs

Nov 15 '05 #2
Scot,
Tried IP address no luck - still blows up. I have msdn it does not seem to
be much help.
How can isqlw work and the community starter kit connection string does not.
I have
the line of code but it provides not help to me, because the code then goes
to the microsoft binaries.
Here is the dump as suggested by the IDE
Source Error:

Line 128: dadCommunities.SelectCommand.CommandType =
CommandType.StoredProcedure;
Line 129: DataSet dstCommunities = new DataSet();
Line 130: dadCommunities.Fill( dstCommunities );
Line 131: return dstCommunities;
Line 132: }

Source File: C:\Program Files\ASP.NET Starter Kits\ASP.NET Community Starter
Kit
(CSVS)\CommunityStarterKit\Engine\Framework\Commun ities\Components\Community
Utility.cs Line: 130

Stack Trace:

[SqlException: SQL Server does not exist or access denied.]
System.Data.SqlClient.ConnectionPool.GetConnection (Boolean&
isInTransaction) +474

System.Data.SqlClient.SqlConnectionPoolManager.Get PooledConnection(SqlConnec
tionString options, Boolean& isInTransaction) +372
System.Data.SqlClient.SqlConnection.Open() +384
System.Data.Common.DbDataAdapter.QuietOpen(IDbConn ection connection,
ConnectionState& originalState) +44
System.Data.Common.DbDataAdapter.FillFromCommand(O bject data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) +304
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord,
Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
behavior) +77
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +38
ASPNET.StarterKit.Communities.CommunityUtility.Get AllCommunitiesFromDB()
in C:\Program Files\ASP.NET Starter Kits\ASP.NET Community Starter Kit
(CSVS)\CommunityStarterKit\Engine\Framework\Commun ities\Components\Community
Utility.cs:130
ASPNET.StarterKit.Communities.CommunityUtility.Get AllCommunities() in
C:\Program Files\ASP.NET Starter Kits\ASP.NET Community Starter Kit
(CSVS)\CommunityStarterKit\Engine\Framework\Commun ities\Components\Community
Utility.cs:111
ASPNET.StarterKit.Communities.CommunityUtility.Get CommunityInfo() in
C:\Program Files\ASP.NET Starter Kits\ASP.NET Community Starter Kit
(CSVS)\CommunityStarterKit\Engine\Framework\Commun ities\Components\Community
Utility.cs:75

ASPNET.StarterKit.Communities.CommunitiesModule.Ap plication_BeginRequest(Obj
ect source, EventArgs e) in C:\Program Files\ASP.NET Starter Kits\ASP.NET
Community Starter Kit
(CSVS)\CommunityStarterKit\Engine\Framework\BaseCl asses\CommunitiesModule.cs
:64

System.Web.SyncEventExecutionStep.System.Web.HttpA pplication+IExecutionStep.
Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +87


"Scot Rose [MSFT]" <sc***@online.microsoft.com> wrote in message
news:JO**************@cpmsftngxa06.phx.gbl...
Maybe name resolution. What happens if you use the SQL Servers IP Address rather than the name?
Want to know more? Check out the MSDN Library at http://msdn.microsoft.com or the Microsoft Knowledge Base at http://support.microsoft.com
Scot Rose, MCSD
Microsoft Visual Basic Developer Support
Email : sc***@online.microsoft.com <Remove word online. from address>

This posting is provided "AS IS", with no warranties, and confers no rights.

--------------------
From: "george r smith" <gs****@budgetext.com>
Subject: SQL Server Does Not exist
Date: Tue, 19 Aug 2003 16:19:47 -0500
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <uA**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: 216-63-152-112.budgetext.com 216.63.152.112
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:177540X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

Gentlemen,
I know that this problem has happened before and I searched and triedall solutions but
problem is not solved.

I install asp.net community starter kit with some help from this
newsgroup.Install went fine,
database was created on the SQL server machine but when I bring up
browser and try to
connect I get:
"SQL Server does not exist or access denied" error message.

IIS and visual studion running on workstation (2000 pro). SQL serveris
running on a workgroup computer (2003).

I can access the SQL server using isqlw from workstation. Checked
connection string in web.config it looks OK as follows:
<database>
<add key="connectionString"
"Server=GSMITH;UID=sa;PWD=xxxx;database=Community StarterKit" />

Can anyone help. Funny thing is that this is the exact setup as homeand it works fine
there but not here

thanks
grs


Nov 15 '05 #3

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...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

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.