473,418 Members | 2,083 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,418 software developers and data experts.

SQL Network Interfaces, error: 26


I downloaded the personal website starter kit and when I run it I get the
error shown below.
I found a way of using Launch Surface Area Configuration that is supposed
to fix the remote setting but I tried it and still get the error.

I do not have SQL Server 2005 installed (thought I did once). I do have SQL
Server 2008 installed.

I don't see anywhere in the code where SQL Server 2005 is referenced.

Don't I have to tell in the code that I want to use SQL Server 2008?
Suppose I hade both on my machine?

Do I have some registry entry that did not get up dated from the 2005 to the
2008 versions?

Thanks for any help.

An error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact that
under the default settings SQL Server does not allow remote connections.
(provider: SQL Network Interfaces, error: 26 - Error Locating
Server/Instance Specified)
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: An error has occurred
while establishing a connection to the server. When connecting to SQL
Server 2005, this failure may be caused by the fact that under the default
settings SQL Server does not allow remote connections. (provider: SQL
Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Source Error:

Line 194: Using command As New SqlCommand("GetNonEmptyAlbums", connection)
Line 195: command.CommandType = CommandType.StoredProcedure
Line 196: connection.Open()
Line 197: Dim list As New Generic.List(Of Album)()
Line 198: Using reader As SqlDataReader = command.ExecuteReader

Source File: I:\MyDocuments\Visual Studio
2008\WebSites\PersonalWebSite1\App_Code\PhotoManag er.vb Line: 196

Jul 17 '08 #1
13 3303
Hello AAaron123,

Check the web.config, where should be the "connectionstring" attribute, where
they specify where to connect
of this can be somewhere in code

---
WBR,
Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
AI downloaded the personal website starter kit and when I run it I get
Athe
Aerror shown below.
AI found a way of using Launch Surface Area Configuration that is
Asupposed
Ato fix the remote setting but I tried it and still get the error.
AI do not have SQL Server 2005 installed (thought I did once). I do
Ahave SQL Server 2008 installed.
A>
AI don't see anywhere in the code where SQL Server 2005 is referenced.
A>
ADon't I have to tell in the code that I want to use SQL Server 2008?
ASuppose I hade both on my machine?
A>
ADo I have some registry entry that did not get up dated from the 2005
Ato the 2008 versions?
A>
AThanks for any help.
A>
AAn error has occurred while establishing a connection to the server.
AWhen
Aconnecting to SQL Server 2005, this failure may be caused by the fact
Athat
Aunder the default settings SQL Server does not allow remote
Aconnections.
A(provider: SQL Network Interfaces, error: 26 - Error Locating
AServer/Instance Specified)
ADescription: An unhandled exception occurred during the execution of
Athe
Acurrent web request. Please review the stack trace for more
Ainformation
Aabout the error and where it originated in the code.
AException Details: System.Data.SqlClient.SqlException: An error has
Aoccurred while establishing a connection to the server. When
Aconnecting to SQL Server 2005, this failure may be caused by the fact
Athat under the default settings SQL Server does not allow remote
Aconnections. (provider: SQL Network Interfaces, error: 26 - Error
ALocating Server/Instance Specified)
A>
ASource Error:
A>
ALine 194: Using command As New SqlCommand("GetNonEmptyAlbums",
Aconnection)
ALine 195: command.CommandType = CommandType.StoredProcedure
ALine 196: connection.Open()
ALine 197: Dim list As New Generic.List(Of Album)()
ALine 198: Using reader As SqlDataReader = command.ExecuteReader
ASource File: I:\MyDocuments\Visual Studio
A2008\WebSites\PersonalWebSite1\App_Code\PhotoMana ger.vb Line: 196
A>
Jul 17 '08 #2
I do have SQL Server 2005 installed.
I previously had SQL Server 2008 Express installed.

I downloaded the personal website starter kit and when I run it I get the
error shown below.

I found a way of using Launch Surface Area Configuration that is supposed
to fix the remote setting but I tried it and still get the error.

I don't see anywhere in the code where SQL Server 2005 is referenced.

Don't I have to tell in the code that I want to use SQL Server 2005?
Suppose I hade mutilple versions on my machine?

Do I have some registry entry that did not get up dated from the 2008
express
to the 2005 versions?

Thanks for any help.

An error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact that
under the default settings SQL Server does not allow remote connections.
(provider: SQL Network Interfaces, error: 26 - Error Locating
Server/Instance Specified)
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: An error has
occurred
while establishing a connection to the server. When connecting to SQL
Server 2005, this failure may be caused by the fact that under the default
settings SQL Server does not allow remote connections. (provider: SQL
Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Source Error:

Line 194: Using command As New SqlCommand("GetNonEmptyAlbums", connection)
Line 195: command.CommandType = CommandType.StoredProcedure
Line 196: connection.Open()
Line 197: Dim list As New Generic.List(Of Album)()
Line 198: Using reader As SqlDataReader = command.ExecuteReader

Source File: I:\MyDocuments\Visual Studio
2008\WebSites\PersonalWebSite1\App_Code\PhotoManag er.vb Line: 196


Jul 17 '08 #3
the error means the sqlserver specified in the connection string was not
found. if you had both sqlserver 2005 & 2008, the 2008 is probably not the
default instance. either specify the instance, or create a new default
instance (reinstall sqlserver 2008)

-- bruce (sqlwork.com)
"AAaron123" wrote:
>
I downloaded the personal website starter kit and when I run it I get the
error shown below.
I found a way of using Launch Surface Area Configuration that is supposed
to fix the remote setting but I tried it and still get the error.

I do not have SQL Server 2005 installed (thought I did once). I do have SQL
Server 2008 installed.

I don't see anywhere in the code where SQL Server 2005 is referenced.

Don't I have to tell in the code that I want to use SQL Server 2008?
Suppose I hade both on my machine?

Do I have some registry entry that did not get up dated from the 2005 to the
2008 versions?

Thanks for any help.

An error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact that
under the default settings SQL Server does not allow remote connections.
(provider: SQL Network Interfaces, error: 26 - Error Locating
Server/Instance Specified)
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: An error has occurred
while establishing a connection to the server. When connecting to SQL
Server 2005, this failure may be caused by the fact that under the default
settings SQL Server does not allow remote connections. (provider: SQL
Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Source Error:

Line 194: Using command As New SqlCommand("GetNonEmptyAlbums", connection)
Line 195: command.CommandType = CommandType.StoredProcedure
Line 196: connection.Open()
Line 197: Dim list As New Generic.List(Of Album)()
Line 198: Using reader As SqlDataReader = command.ExecuteReader

Source File: I:\MyDocuments\Visual Studio
2008\WebSites\PersonalWebSite1\App_Code\PhotoManag er.vb Line: 196

Jul 17 '08 #4
I find two such strings as shown below.

I see now that who ever wrote this assumed it would be used with the Express
version.
How do I change it to point to the SQL Server2005?
Also, I do see the file Personal.mdf in the solution list of file names.
But I do not see the file aspnetdb.mdf there. Do you thing the program might
create it when it runs?

Finally, the error message mentioned SQL2005 as if it converted from the
Express to 2005 since that is what it found. If that's the case why didn't
it make the connection?

Very confusing!

Thanks for the help

....
<add name="Personal" connectionString="Data Source=.\SQLExpress;Integrated
Security=True;User
Instance=True;AttachDBFilename=|DataDirectory|Pers onal.mdf"
providerName="System.Data.SqlClient"/>
<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" connectionString="Data
Source=.\SQLExpress;Integrated Security=True;User
Instance=True;AttachDBFilename=|DataDirectory|aspn etdb.mdf"/>
</connectionStrings>

"Michael Nemtsev [MVP]" <ne*****@msn.comwrote in message
news:90**************************@msnews.microsoft .com...
Hello AAaron123,

Check the web.config, where should be the "connectionstring" attribute,
where they specify where to connect
of this can be somewhere in code

---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

AI downloaded the personal website starter kit and when I run it I get
Athe
Aerror shown below.
AI found a way of using Launch Surface Area Configuration that is
Asupposed
Ato fix the remote setting but I tried it and still get the error.
AI do not have SQL Server 2005 installed (thought I did once). I do
Ahave SQL Server 2008 installed.
AAI don't see anywhere in the code where SQL Server 2005 is
referenced.
AADon't I have to tell in the code that I want to use SQL Server 2008?
ASuppose I hade both on my machine?
AADo I have some registry entry that did not get up dated from the
2005
Ato the 2008 versions?
AAThanks for any help.
AAAn error has occurred while establishing a connection to the server.
AWhen
Aconnecting to SQL Server 2005, this failure may be caused by the fact
Athat
Aunder the default settings SQL Server does not allow remote
Aconnections.
A(provider: SQL Network Interfaces, error: 26 - Error Locating
AServer/Instance Specified)
ADescription: An unhandled exception occurred during the execution of
Athe
Acurrent web request. Please review the stack trace for more
Ainformation
Aabout the error and where it originated in the code.
AException Details: System.Data.SqlClient.SqlException: An error has
Aoccurred while establishing a connection to the server. When
Aconnecting to SQL Server 2005, this failure may be caused by the fact
Athat under the default settings SQL Server does not allow remote
Aconnections. (provider: SQL Network Interfaces, error: 26 - Error
ALocating Server/Instance Specified)
AASource Error:
AALine 194: Using command As New SqlCommand("GetNonEmptyAlbums",
Aconnection)
ALine 195: command.CommandType = CommandType.StoredProcedure
ALine 196: connection.Open()
ALine 197: Dim list As New Generic.List(Of Album)()
ALine 198: Using reader As SqlDataReader = command.ExecuteReader
ASource File: I:\MyDocuments\Visual Studio
A2008\WebSites\PersonalWebSite1\App_Code\PhotoMana ger.vb Line: 196
A>

Jul 18 '08 #5
I'll ask you the same questions I asked Michael Nemtsev.

I find two such strings as shown below.

I see now that who ever wrote this assumed it would be used with the Express
version.
How do I change it to point to the SQL Server2005?
Also, I do see the file Personal.mdf in the solution list of file names.
But I do not see the file aspnetdb.mdf there. Do you thing the program might
create it when it runs?

Finally, the error message mentioned SQL2005 as if it converted from the
Express to 2005 since that is what it found. If that's the case why didn't
it make the connection?

Very confusing!

Thanks for the help

"bruce barker" <br*********@discussions.microsoft.comwrote in message
news:1A**********************************@microsof t.com...
the error means the sqlserver specified in the connection string was not
found. if you had both sqlserver 2005 & 2008, the 2008 is probably not the
default instance. either specify the instance, or create a new default
instance (reinstall sqlserver 2008)

-- bruce (sqlwork.com)
"AAaron123" wrote:
>>
I downloaded the personal website starter kit and when I run it I get the
error shown below.
I found a way of using Launch Surface Area Configuration that is
supposed
to fix the remote setting but I tried it and still get the error.

I do not have SQL Server 2005 installed (thought I did once). I do have
SQL
Server 2008 installed.

I don't see anywhere in the code where SQL Server 2005 is referenced.

Don't I have to tell in the code that I want to use SQL Server 2008?
Suppose I hade both on my machine?

Do I have some registry entry that did not get up dated from the 2005 to
the
2008 versions?

Thanks for any help.

An error has occurred while establishing a connection to the server.
When
connecting to SQL Server 2005, this failure may be caused by the fact
that
under the default settings SQL Server does not allow remote connections.
(provider: SQL Network Interfaces, error: 26 - Error Locating
Server/Instance Specified)
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: An error has
occurred
while establishing a connection to the server. When connecting to SQL
Server 2005, this failure may be caused by the fact that under the
default
settings SQL Server does not allow remote connections. (provider: SQL
Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Source Error:

Line 194: Using command As New SqlCommand("GetNonEmptyAlbums",
connection)
Line 195: command.CommandType = CommandType.StoredProcedure
Line 196: connection.Open()
Line 197: Dim list As New Generic.List(Of Album)()
Line 198: Using reader As SqlDataReader = command.ExecuteReader

Source File: I:\MyDocuments\Visual Studio
2008\WebSites\PersonalWebSite1\App_Code\PhotoMana ger.vb Line: 196


Jul 18 '08 #6
Hello AAaron123,

".\SQLExpress" means that you are connecting to SQL Express server. It's
standard build-in name
If you want to connect to SQL Server (not express) you need to change this
line on "(local)".

Btw, if you have SQL Management Studio installed (install if you not) then
you cant check which sevices you have and their names)

Alternatively, you can use Server tabs in visual studio and it shows available
SQL server around you. After u connect to one of them in shows your connection
string in properties. You can copy paste that connection string into your
web.config

---
WBR,
Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
AI find two such strings as shown below.
A>
AI see now that who ever wrote this assumed it would be used with the
AExpress
Aversion.
AHow do I change it to point to the SQL Server2005?
AAlso, I do see the file Personal.mdf in the solution list of file
Anames.
ABut I do not see the file aspnetdb.mdf there. Do you thing the
Aprogram might
Acreate it when it runs?
AFinally, the error message mentioned SQL2005 as if it converted from
Athe Express to 2005 since that is what it found. If that's the case
Awhy didn't it make the connection?
A>
AVery confusing!
A>
AThanks for the help
A>
A...
A<add name="Personal" connectionString="Data
ASource=.\SQLExpress;Integrated
ASecurity=True;User
AInstance=True;AttachDBFilename=|DataDirectory|Per sonal.mdf"
AproviderName="System.Data.SqlClient"/>
A<remove name="LocalSqlServer"/>
A<add name="LocalSqlServer" connectionString="Data
ASource=.\SQLExpress;Integrated Security=True;User
AInstance=True;AttachDBFilename=|DataDirectory|asp netdb.mdf"/>
A</connectionStrings>
A"Michael Nemtsev [MVP]" <ne*****@msn.comwrote in message
Anews:90**************************@msnews.microsof t.com...
A>
>Hello AAaron123,

Check the web.config, where should be the "connectionstring"
attribute,
where they specify where to connect
of this can be somewhere in code
---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high
and we
miss it, but that it is too low and we reach it" (c) Michelangelo
AI downloaded the personal website starter kit and when I run it I
get
Athe
Aerror shown below.
AI found a way of using Launch Surface Area Configuration that is
Asupposed
Ato fix the remote setting but I tried it and still get the error.
AI do not have SQL Server 2005 installed (thought I did once). I do
Ahave SQL Server 2008 installed.
AAI don't see anywhere in the code where SQL Server 2005 is
referenced.
AADon't I have to tell in the code that I want to use SQL Server
2008?
ASuppose I hade both on my machine?
AADo I have some registry entry that did not get up dated from
the
2005
Ato the 2008 versions?
AAThanks for any help.
AAAn error has occurred while establishing a connection to the
server.
AWhen
Aconnecting to SQL Server 2005, this failure may be caused by the
fact
Athat
Aunder the default settings SQL Server does not allow remote
Aconnections.
A(provider: SQL Network Interfaces, error: 26 - Error Locating
AServer/Instance Specified)
ADescription: An unhandled exception occurred during the execution
of
Athe
Acurrent web request. Please review the stack trace for more
Ainformation
Aabout the error and where it originated in the code.
AException Details: System.Data.SqlClient.SqlException: An error
has
Aoccurred while establishing a connection to the server. When
Aconnecting to SQL Server 2005, this failure may be caused by the
fact
Athat under the default settings SQL Server does not allow remote
Aconnections. (provider: SQL Network Interfaces, error: 26 - Error
ALocating Server/Instance Specified)
AASource Error:
AALine 194: Using command As New SqlCommand("GetNonEmptyAlbums",
Aconnection)
ALine 195: command.CommandType = CommandType.StoredProcedure
ALine 196: connection.Open()
ALine 197: Dim list As New Generic.List(Of Album)()
ALine 198: Using reader As SqlDataReader = command.ExecuteReader
ASource File: I:\MyDocuments\Visual Studio
A2008\WebSites\PersonalWebSite1\App_Code\PhotoMan ager.vb Line:
196
A>

Jul 18 '08 #7
a mdf file is a detached database. to create one you create a database
in sqlserver, then detach it (via a sql command).

in the connect string you can specify a mdf to auto attach which is
useful for simple sites. you can upload the database then attach on the
first connect.

from a programs point of view there is no difference between sqlexpress
and sqlserver 2005. only the license is different, and the tools
supplied.

to connect to a sqlserver you need to know the server its on and the
instance name. this is specified in the connect string, along with
default database, and an attach command if desired.

if you have sql2005, then run the management studio and browse for
sqlservers. this will list the instance names.
read the docs on sqlserver connect strings

-- bruce (sqlwork.com)

AAaron123 wrote:
I'll ask you the same questions I asked Michael Nemtsev.

I find two such strings as shown below.

I see now that who ever wrote this assumed it would be used with the Express
version.
How do I change it to point to the SQL Server2005?
Also, I do see the file Personal.mdf in the solution list of file names.
But I do not see the file aspnetdb.mdf there. Do you thing the program might
create it when it runs?

Finally, the error message mentioned SQL2005 as if it converted from the
Express to 2005 since that is what it found. If that's the case why didn't
it make the connection?

Very confusing!

Thanks for the help

"bruce barker" <br*********@discussions.microsoft.comwrote in message
news:1A**********************************@microsof t.com...
>the error means the sqlserver specified in the connection string was not
found. if you had both sqlserver 2005 & 2008, the 2008 is probably not the
default instance. either specify the instance, or create a new default
instance (reinstall sqlserver 2008)

-- bruce (sqlwork.com)
"AAaron123" wrote:
>>I downloaded the personal website starter kit and when I run it I get the
error shown below.
I found a way of using Launch Surface Area Configuration that is
supposed
to fix the remote setting but I tried it and still get the error.

I do not have SQL Server 2005 installed (thought I did once). I do have
SQL
Server 2008 installed.

I don't see anywhere in the code where SQL Server 2005 is referenced.

Don't I have to tell in the code that I want to use SQL Server 2008?
Suppose I hade both on my machine?

Do I have some registry entry that did not get up dated from the 2005 to
the
2008 versions?

Thanks for any help.

An error has occurred while establishing a connection to the server.
When
connecting to SQL Server 2005, this failure may be caused by the fact
that
under the default settings SQL Server does not allow remote connections.
(provider: SQL Network Interfaces, error: 26 - Error Locating
Server/Instance Specified)
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: An error has
occurred
while establishing a connection to the server. When connecting to SQL
Server 2005, this failure may be caused by the fact that under the
default
settings SQL Server does not allow remote connections. (provider: SQL
Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Source Error:

Line 194: Using command As New SqlCommand("GetNonEmptyAlbums",
connection)
Line 195: command.CommandType = CommandType.StoredProcedure
Line 196: connection.Open()
Line 197: Dim list As New Generic.List(Of Album)()
Line 198: Using reader As SqlDataReader = command.ExecuteReader

Source File: I:\MyDocuments\Visual Studio
2008\WebSites\PersonalWebSite1\App_Code\PhotoMan ager.vb Line: 196


Jul 18 '08 #8

"bruce barker" <no****@nospam.comwrote in message
news:e$**************@TK2MSFTNGP03.phx.gbl...
>a mdf file is a detached database. to create one you create a database in
sqlserver, then detach it (via a sql command).

in the connect string you can specify a mdf to auto attach which is useful
for simple sites. you can upload the database then attach on the first
connect.

from a programs point of view there is no difference between sqlexpress
and sqlserver 2005. only the license is different, and the tools supplied.

to connect to a sqlserver you need to know the server its on and the
instance name. this is specified in the connect string, along with default
database, and an attach command if desired.

if you have sql2005, then run the management studio and browse for
sqlservers. this will list the instance names.


The default instance is unnamed and is shown as the computer name.
How do I reference that in the
connectionString="Data Source=

thanks for staying with me

>

read the docs on sqlserver connect strings
This helped using management studio
>
-- bruce (sqlwork.com)

AAaron123 wrote:
>I'll ask you the same questions I asked Michael Nemtsev.

I find two such strings as shown below.

I see now that who ever wrote this assumed it would be used with the
Express version.
How do I change it to point to the SQL Server2005?
Also, I do see the file Personal.mdf in the solution list of file names.
But I do not see the file aspnetdb.mdf there. Do you thing the program
might create it when it runs?

Finally, the error message mentioned SQL2005 as if it converted from the
Express to 2005 since that is what it found. If that's the case why
didn't it make the connection?

Very confusing!

Thanks for the help

"bruce barker" <br*********@discussions.microsoft.comwrote in message
news:1A**********************************@microso ft.com...
>>the error means the sqlserver specified in the connection string was not
found. if you had both sqlserver 2005 & 2008, the 2008 is probably not
the
default instance. either specify the instance, or create a new default
instance (reinstall sqlserver 2008)

-- bruce (sqlwork.com)
"AAaron123" wrote:

I downloaded the personal website starter kit and when I run it I get
the
error shown below.
I found a way of using Launch Surface Area Configuration that is
supposed
to fix the remote setting but I tried it and still get the error.

I do not have SQL Server 2005 installed (thought I did once). I do have
SQL
Server 2008 installed.

I don't see anywhere in the code where SQL Server 2005 is referenced.

Don't I have to tell in the code that I want to use SQL Server 2008?
Suppose I hade both on my machine?

Do I have some registry entry that did not get up dated from the 2005
to the
2008 versions?

Thanks for any help.

An error has occurred while establishing a connection to the server.
When
connecting to SQL Server 2005, this failure may be caused by the fact
that
under the default settings SQL Server does not allow remote
connections.
(provider: SQL Network Interfaces, error: 26 - Error Locating
Server/Instance Specified)
Description: An unhandled exception occurred during the execution of
the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: An error has
occurred
while establishing a connection to the server. When connecting to SQL
Server 2005, this failure may be caused by the fact that under the
default
settings SQL Server does not allow remote connections. (provider: SQL
Network Interfaces, error: 26 - Error Locating Server/Instance
Specified)

Source Error:

Line 194: Using command As New SqlCommand("GetNonEmptyAlbums",
connection)
Line 195: command.CommandType = CommandType.StoredProcedure
Line 196: connection.Open()
Line 197: Dim list As New Generic.List(Of Album)()
Line 198: Using reader As SqlDataReader = command.ExecuteReader

Source File: I:\MyDocuments\Visual Studio
2008\WebSites\PersonalWebSite1\App_Code\PhotoMa nager.vb Line: 196

Jul 18 '08 #9


"Michael Nemtsev [MVP]" <ne*****@msn.comwrote in message
news:90**************************@msnews.microsoft .com...
Hello AAaron123,

".\SQLExpress" means that you are connecting to SQL Express server. It's
standard build-in name
If you want to connect to SQL Server (not express) you need to change this
line on "(local)".

Btw, if you have SQL Management Studio installed (install if you not) then
you cant check which sevices you have and their names)

The default instance is unnamed and is shown as the computer name.
How do I reference that in the
connectionString="Data Source=

thanks for staying with me
>
Alternatively, you can use Server tabs in visual studio and it shows
available SQL server around you. After u connect to one of them in shows
your connection string in properties. You can copy paste that connection
string into your web.config

---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

AI find two such strings as shown below.
AAI see now that who ever wrote this assumed it would be used with the
AExpress
Aversion.
AHow do I change it to point to the SQL Server2005?
AAlso, I do see the file Personal.mdf in the solution list of file
Anames.
ABut I do not see the file aspnetdb.mdf there. Do you thing the
Aprogram might
Acreate it when it runs?
AFinally, the error message mentioned SQL2005 as if it converted from
Athe Express to 2005 since that is what it found. If that's the case
Awhy didn't it make the connection?
AAVery confusing!
AAThanks for the help
AA...
A<add name="Personal" connectionString="Data
ASource=.\SQLExpress;Integrated
ASecurity=True;User
AInstance=True;AttachDBFilename=|DataDirectory|Per sonal.mdf"
AproviderName="System.Data.SqlClient"/>
A<remove name="LocalSqlServer"/>
A<add name="LocalSqlServer" connectionString="Data
ASource=.\SQLExpress;Integrated Security=True;User
AInstance=True;AttachDBFilename=|DataDirectory|asp netdb.mdf"/>
A</connectionStrings>
A"Michael Nemtsev [MVP]" <ne*****@msn.comwrote in message
Anews:90**************************@msnews.microsof t.com...
A>
>>Hello AAaron123,

Check the web.config, where should be the "connectionstring"
attribute,
where they specify where to connect
of this can be somewhere in code
---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high
and we
miss it, but that it is too low and we reach it" (c) Michelangelo
AI downloaded the personal website starter kit and when I run it I
get
Athe
Aerror shown below.
AI found a way of using Launch Surface Area Configuration that is
Asupposed
Ato fix the remote setting but I tried it and still get the error.
AI do not have SQL Server 2005 installed (thought I did once). I do
Ahave SQL Server 2008 installed.
AAI don't see anywhere in the code where SQL Server 2005 is
referenced.
AADon't I have to tell in the code that I want to use SQL Server
2008?
ASuppose I hade both on my machine?
AADo I have some registry entry that did not get up dated from
the
2005
Ato the 2008 versions?
AAThanks for any help.
AAAn error has occurred while establishing a connection to the
server.
AWhen
Aconnecting to SQL Server 2005, this failure may be caused by the
fact
Athat
Aunder the default settings SQL Server does not allow remote
Aconnections.
A(provider: SQL Network Interfaces, error: 26 - Error Locating
AServer/Instance Specified)
ADescription: An unhandled exception occurred during the execution
of
Athe
Acurrent web request. Please review the stack trace for more
Ainformation
Aabout the error and where it originated in the code.
AException Details: System.Data.SqlClient.SqlException: An error
has
Aoccurred while establishing a connection to the server. When
Aconnecting to SQL Server 2005, this failure may be caused by the
fact
Athat under the default settings SQL Server does not allow remote
Aconnections. (provider: SQL Network Interfaces, error: 26 - Error
ALocating Server/Instance Specified)
AASource Error:
AALine 194: Using command As New SqlCommand("GetNonEmptyAlbums",
Aconnection)
ALine 195: command.CommandType = CommandType.StoredProcedure
ALine 196: connection.Open()
ALine 197: Dim list As New Generic.List(Of Album)()
ALine 198: Using reader As SqlDataReader = command.ExecuteReader
ASource File: I:\MyDocuments\Visual Studio
A2008\WebSites\PersonalWebSite1\App_Code\PhotoMa nager.vb Line:
196
A>


Jul 18 '08 #10
re:
!How do I reference that in the connectionString="Data Source=

Use the same name which the SQL Server Service Manager shows.

You should have an icon for the SQL Server Service Manager in your Taskbar Tray.
Double click it...and use the exact name it shows.

If the service manager isn't running, run it from
"Start Menu", "Programs", "SQL Server", "Service Manager".

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"AAaron123" <aa*******@roadrunner.comwrote in message news:eK**************@TK2MSFTNGP04.phx.gbl...
>
"bruce barker" <no****@nospam.comwrote in message news:e$**************@TK2MSFTNGP03.phx.gbl...
>>a mdf file is a detached database. to create one you create a database in sqlserver, then detach it (via a sql
command).

in the connect string you can specify a mdf to auto attach which is useful for simple sites. you can upload the
database then attach on the first connect.

from a programs point of view there is no difference between sqlexpress and sqlserver 2005. only the license is
different, and the tools supplied.

to connect to a sqlserver you need to know the server its on and the instance name. this is specified in the connect
string, along with default database, and an attach command if desired.

if you have sql2005, then run the management studio and browse for sqlservers. this will list the instance names.

The default instance is unnamed and is shown as the computer name.
How do I reference that in the
connectionString="Data Source=

thanks for staying with me

>>

read the docs on sqlserver connect strings

This helped using management studio
>>
-- bruce (sqlwork.com)

AAaron123 wrote:
>>I'll ask you the same questions I asked Michael Nemtsev.

I find two such strings as shown below.

I see now that who ever wrote this assumed it would be used with the Express version.
How do I change it to point to the SQL Server2005?
Also, I do see the file Personal.mdf in the solution list of file names.
But I do not see the file aspnetdb.mdf there. Do you thing the program might create it when it runs?

Finally, the error message mentioned SQL2005 as if it converted from the Express to 2005 since that is what it
found. If that's the case why didn't it make the connection?

Very confusing!

Thanks for the help

"bruce barker" <br*********@discussions.microsoft.comwrote in message
news:1A**********************************@micros oft.com...
the error means the sqlserver specified in the connection string was not
found. if you had both sqlserver 2005 & 2008, the 2008 is probably not the
default instance. either specify the instance, or create a new default
instance (reinstall sqlserver 2008)

-- bruce (sqlwork.com)
"AAaron123" wrote:

I downloaded the personal website starter kit and when I run it I get the
error shown below.
I found a way of using Launch Surface Area Configuration that is supposed
to fix the remote setting but I tried it and still get the error.
>
I do not have SQL Server 2005 installed (thought I did once). I do have SQL
Server 2008 installed.
>
I don't see anywhere in the code where SQL Server 2005 is referenced.
>
Don't I have to tell in the code that I want to use SQL Server 2008?
Suppose I hade both on my machine?
>
Do I have some registry entry that did not get up dated from the 2005 to the
2008 versions?
>
Thanks for any help.
>
>
>
An error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact that
under the default settings SQL Server does not allow remote connections.
(provider: SQL Network Interfaces, error: 26 - Error Locating
Server/Instance Specified)
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
>
Exception Details: System.Data.SqlClient.SqlException: An error has occurred
while establishing a connection to the server. When connecting to SQL
Server 2005, this failure may be caused by the fact that under the default
settings SQL Server does not allow remote connections. (provider: SQL
Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
>
Source Error:
>
Line 194: Using command As New SqlCommand("GetNonEmptyAlbums", connection)
Line 195: command.CommandType = CommandType.StoredProcedure
Line 196: connection.Open()
Line 197: Dim list As New Generic.List(Of Album)()
Line 198: Using reader As SqlDataReader = command.ExecuteReader
>
Source File: I:\MyDocuments\Visual Studio
2008\WebSites\PersonalWebSite1\App_Code\PhotoM anager.vb Line: 196
>
>
>
>

Jul 18 '08 #11
One of my earlier tries was to simply changed Data Source=./SQLExpress to
Data Source=./zz

where zz is the name SQL Server Service Manager shows which is just the
computer name followed by nothing else. Guess that's the way the default
instance is named.

That did not work but when I removed the .\ it worked.

What does the dot stand for?

What if I run the program on another machine? Maybe using just the dot means
use the default instance. I'll try that now to see if it works. Comment?

I also had to remove User Instance=True which I guess is unique to the
Express version. Read the help but still don't know if removing will bite me
later. Think so?

SQL Server Service Manager Studio does not appear in my Taskbar tray when
it's running. Maybe there's an option I have to find for that to happen.

Thanks a lot
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:uE**************@TK2MSFTNGP05.phx.gbl...
re:
!How do I reference that in the connectionString="Data Source=

Use the same name which the SQL Server Service Manager shows.

You should have an icon for the SQL Server Service Manager in your Taskbar
Tray.
Double click it...and use the exact name it shows.

If the service manager isn't running, run it from
"Start Menu", "Programs", "SQL Server", "Service Manager".

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"AAaron123" <aa*******@roadrunner.comwrote in message
news:eK**************@TK2MSFTNGP04.phx.gbl...
>>
"bruce barker" <no****@nospam.comwrote in message
news:e$**************@TK2MSFTNGP03.phx.gbl...
>>>a mdf file is a detached database. to create one you create a database in
sqlserver, then detach it (via a sql command).

in the connect string you can specify a mdf to auto attach which is
useful for simple sites. you can upload the database then attach on the
first connect.

from a programs point of view there is no difference between sqlexpress
and sqlserver 2005. only the license is different, and the tools
supplied.

to connect to a sqlserver you need to know the server its on and the
instance name. this is specified in the connect string, along with
default database, and an attach command if desired.

if you have sql2005, then run the management studio and browse for
sqlservers. this will list the instance names.

The default instance is unnamed and is shown as the computer name.
How do I reference that in the
connectionString="Data Source=

thanks for staying with me

>>>

read the docs on sqlserver connect strings

This helped using management studio
>>>
-- bruce (sqlwork.com)

AAaron123 wrote:
I'll ask you the same questions I asked Michael Nemtsev.

I find two such strings as shown below.

I see now that who ever wrote this assumed it would be used with the
Express version.
How do I change it to point to the SQL Server2005?
Also, I do see the file Personal.mdf in the solution list of file
names.
But I do not see the file aspnetdb.mdf there. Do you thing the program
might create it when it runs?

Finally, the error message mentioned SQL2005 as if it converted from
the Express to 2005 since that is what it found. If that's the case why
didn't it make the connection?

Very confusing!

Thanks for the help

"bruce barker" <br*********@discussions.microsoft.comwrote in message
news:1A**********************************@micro soft.com...
the error means the sqlserver specified in the connection string was
not
found. if you had both sqlserver 2005 & 2008, the 2008 is probably not
the
default instance. either specify the instance, or create a new default
instance (reinstall sqlserver 2008)
>
-- bruce (sqlwork.com)
>
>
"AAaron123" wrote:
>
>I downloaded the personal website starter kit and when I run it I get
>the
>error shown below.
>I found a way of using Launch Surface Area Configuration that is
>supposed
>to fix the remote setting but I tried it and still get the error.
>>
>I do not have SQL Server 2005 installed (thought I did once). I do
>have SQL
>Server 2008 installed.
>>
>I don't see anywhere in the code where SQL Server 2005 is referenced.
>>
>Don't I have to tell in the code that I want to use SQL Server 2008?
>Suppose I hade both on my machine?
>>
>Do I have some registry entry that did not get up dated from the 2005
>to the
>2008 versions?
>>
>Thanks for any help.
>>
>>
>>
>An error has occurred while establishing a connection to the server.
>When
>connecting to SQL Server 2005, this failure may be caused by the fact
>that
>under the default settings SQL Server does not allow remote
>connections.
>(provider: SQL Network Interfaces, error: 26 - Error Locating
>Server/Instance Specified)
>Description: An unhandled exception occurred during the execution of
>the
>current web request. Please review the stack trace for more
>information
>about the error and where it originated in the code.
>>
>Exception Details: System.Data.SqlClient.SqlException: An error has
>occurred
>while establishing a connection to the server. When connecting to
>SQL
>Server 2005, this failure may be caused by the fact that under the
>default
>settings SQL Server does not allow remote connections. (provider: SQL
>Network Interfaces, error: 26 - Error Locating Server/Instance
>Specified)
>>
>Source Error:
>>
>Line 194: Using command As New SqlCommand("GetNonEmptyAlbums",
>connection)
>Line 195: command.CommandType = CommandType.StoredProcedure
>Line 196: connection.Open()
>Line 197: Dim list As New Generic.List(Of Album)()
>Line 198: Using reader As SqlDataReader = command.ExecuteReader
>>
>Source File: I:\MyDocuments\Visual Studio
>2008\WebSites\PersonalWebSite1\App_Code\Photo Manager.vb Line: 196
>>
>>
>>
>>


Jul 18 '08 #12
Hello AAaron123,

Just specify you PC name in the connection string
instead of "Data Source=.\SQLExpress;
use "Data Source=YOUPCNAME;

---
WBR,
Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
A"Michael Nemtsev [MVP]" <ne*****@msn.comwrote in message
Anews:90**************************@msnews.microsof t.com...
A>
>Hello AAaron123,

".\SQLExpress" means that you are connecting to SQL Express server.
It's
standard build-in name
If you want to connect to SQL Server (not express) you need to change
this
line on "(local)".
Btw, if you have SQL Management Studio installed (install if you not)
then you cant check which sevices you have and their names)
AThe default instance is unnamed and is shown as the computer name.
AHow do I reference that in the
AconnectionString="Data Source=
Athanks for staying with me
A>
>Alternatively, you can use Server tabs in visual studio and it shows
available SQL server around you. After u connect to one of them in
shows your connection string in properties. You can copy paste that
connection string into your web.config

---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high
and we
miss it, but that it is too low and we reach it" (c) Michelangelo
AI find two such strings as shown below.
AAI see now that who ever wrote this assumed it would be used
with the
AExpress
Aversion.
AHow do I change it to point to the SQL Server2005?
AAlso, I do see the file Personal.mdf in the solution list of file
Anames.
ABut I do not see the file aspnetdb.mdf there. Do you thing the
Aprogram might
Acreate it when it runs?
AFinally, the error message mentioned SQL2005 as if it converted
from
Athe Express to 2005 since that is what it found. If that's the
case
Awhy didn't it make the connection?
AAVery confusing!
AAThanks for the help
AA...
A<add name="Personal" connectionString="Data
ASource=.\SQLExpress;Integrated
ASecurity=True;User
AInstance=True;AttachDBFilename=|DataDirectory|Pe rsonal.mdf"
AproviderName="System.Data.SqlClient"/>
A<remove name="LocalSqlServer"/>
A<add name="LocalSqlServer" connectionString="Data
ASource=.\SQLExpress;Integrated Security=True;User
AInstance=True;AttachDBFilename=|DataDirectory|as pnetdb.mdf"/>
A</connectionStrings>
A"Michael Nemtsev [MVP]" <ne*****@msn.comwrote in message
Anews:90**************************@msnews.microso ft.com...
A>
>>>Hello AAaron123,

Check the web.config, where should be the "connectionstring"
attribute,
where they specify where to connect
of this can be somewhere in code
---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high
and we
miss it, but that it is too low and we reach it" (c) Michelangelo
AI downloaded the personal website starter kit and when I run it
I
get
Athe
Aerror shown below.
AI found a way of using Launch Surface Area Configuration that
is
Asupposed
Ato fix the remote setting but I tried it and still get the
error.
AI do not have SQL Server 2005 installed (thought I did once). I
do
Ahave SQL Server 2008 installed.
AAI don't see anywhere in the code where SQL Server 2005 is
referenced.
AADon't I have to tell in the code that I want to use SQL
Server
2008?
ASuppose I hade both on my machine?
AADo I have some registry entry that did not get up dated from
the
2005
Ato the 2008 versions?
AAThanks for any help.
AAAn error has occurred while establishing a connection to the
server.
AWhen
Aconnecting to SQL Server 2005, this failure may be caused by the
fact
Athat
Aunder the default settings SQL Server does not allow remote
Aconnections.
A(provider: SQL Network Interfaces, error: 26 - Error Locating
AServer/Instance Specified)
ADescription: An unhandled exception occurred during the
execution
of
Athe
Acurrent web request. Please review the stack trace for more
Ainformation
Aabout the error and where it originated in the code.
AException Details: System.Data.SqlClient.SqlException: An error
has
Aoccurred while establishing a connection to the server. When
Aconnecting to SQL Server 2005, this failure may be caused by the
fact
Athat under the default settings SQL Server does not allow remote
Aconnections. (provider: SQL Network Interfaces, error: 26 -
Error
ALocating Server/Instance Specified)
AASource Error:
AALine 194: Using command As New
SqlCommand("GetNonEmptyAlbums",
Aconnection)
ALine 195: command.CommandType = CommandType.StoredProcedure
ALine 196: connection.Open()
ALine 197: Dim list As New Generic.List(Of Album)()
ALine 198: Using reader As SqlDataReader = command.ExecuteReader
ASource File: I:\MyDocuments\Visual Studio
A2008\WebSites\PersonalWebSite1\App_Code\PhotoM anager.vb Line:
196
A>

Jul 19 '08 #13
That works!

But now the code will only run on my machine (I assume).
"Data Source=.; also appears to work.
Will that use the default instance on any machine the code is loaded on?
How do people prepare code to work on multiple machines without hard coding
for the default instance?

Thanks
"Michael Nemtsev [MVP]" <ne*****@msn.comwrote in message
news:90**************************@msnews.microsoft .com...
Hello AAaron123,

Just specify you PC name in the connection string
instead of "Data Source=.\SQLExpress;
use "Data Source=YOUPCNAME;

---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

A"Michael Nemtsev [MVP]" <ne*****@msn.comwrote in message
Anews:90**************************@msnews.microsof t.com...
A>
>>Hello AAaron123,

".\SQLExpress" means that you are connecting to SQL Express server.
It's
standard build-in name
If you want to connect to SQL Server (not express) you need to change
this
line on "(local)".
Btw, if you have SQL Management Studio installed (install if you not)
then you cant check which sevices you have and their names)
AThe default instance is unnamed and is shown as the computer name.
AHow do I reference that in the
AconnectionString="Data Source=
Athanks for staying with me
A>
>>Alternatively, you can use Server tabs in visual studio and it shows
available SQL server around you. After u connect to one of them in
shows your connection string in properties. You can copy paste that
connection string into your web.config

---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high
and we
miss it, but that it is too low and we reach it" (c) Michelangelo
AI find two such strings as shown below.
AAI see now that who ever wrote this assumed it would be used
with the
AExpress
Aversion.
AHow do I change it to point to the SQL Server2005?
AAlso, I do see the file Personal.mdf in the solution list of file
Anames.
ABut I do not see the file aspnetdb.mdf there. Do you thing the
Aprogram might
Acreate it when it runs?
AFinally, the error message mentioned SQL2005 as if it converted
from
Athe Express to 2005 since that is what it found. If that's the
case
Awhy didn't it make the connection?
AAVery confusing!
AAThanks for the help
AA...
A<add name="Personal" connectionString="Data
ASource=.\SQLExpress;Integrated
ASecurity=True;User
AInstance=True;AttachDBFilename=|DataDirectory|P ersonal.mdf"
AproviderName="System.Data.SqlClient"/>
A<remove name="LocalSqlServer"/>
A<add name="LocalSqlServer" connectionString="Data
ASource=.\SQLExpress;Integrated Security=True;User
AInstance=True;AttachDBFilename=|DataDirectory|a spnetdb.mdf"/>
A</connectionStrings>
A"Michael Nemtsev [MVP]" <ne*****@msn.comwrote in message
Anews:90**************************@msnews.micros oft.com...
A>
Hello AAaron123,
>
Check the web.config, where should be the "connectionstring"
attribute,
where they specify where to connect
of this can be somewhere in code
---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high
and we
miss it, but that it is too low and we reach it" (c) Michelangelo
AI downloaded the personal website starter kit and when I run it
I
get
Athe
Aerror shown below.
AI found a way of using Launch Surface Area Configuration that
is
Asupposed
Ato fix the remote setting but I tried it and still get the
error.
AI do not have SQL Server 2005 installed (thought I did once). I
do
Ahave SQL Server 2008 installed.
AAI don't see anywhere in the code where SQL Server 2005 is
referenced.
AADon't I have to tell in the code that I want to use SQL
Server
2008?
ASuppose I hade both on my machine?
AADo I have some registry entry that did not get up dated from
the
2005
Ato the 2008 versions?
AAThanks for any help.
AAAn error has occurred while establishing a connection to the
server.
AWhen
Aconnecting to SQL Server 2005, this failure may be caused by the
fact
Athat
Aunder the default settings SQL Server does not allow remote
Aconnections.
A(provider: SQL Network Interfaces, error: 26 - Error Locating
AServer/Instance Specified)
ADescription: An unhandled exception occurred during the
execution
of
Athe
Acurrent web request. Please review the stack trace for more
Ainformation
Aabout the error and where it originated in the code.
AException Details: System.Data.SqlClient.SqlException: An error
has
Aoccurred while establishing a connection to the server. When
Aconnecting to SQL Server 2005, this failure may be caused by the
fact
Athat under the default settings SQL Server does not allow remote
Aconnections. (provider: SQL Network Interfaces, error: 26 -
Error
ALocating Server/Instance Specified)
AASource Error:
AALine 194: Using command As New
SqlCommand("GetNonEmptyAlbums",
Aconnection)
ALine 195: command.CommandType = CommandType.StoredProcedure
ALine 196: connection.Open()
ALine 197: Dim list As New Generic.List(Of Album)()
ALine 198: Using reader As SqlDataReader = command.ExecuteReader
ASource File: I:\MyDocuments\Visual Studio
A2008\WebSites\PersonalWebSite1\App_Code\Photo Manager.vb Line:
196
A>


Jul 19 '08 #14

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

Similar topics

4
by: Matthew K Jensen | last post by:
In one of my "because I can" projects, I want to be able to see the enabled network interfaces on a machine. I have no clue as to how to do this. Any suggestions?
1
by: le dahut | last post by:
Hi, Is there a way to get network parameters (number of network interfaces, ip address(es), DNS, gateway) on a linux station using python 2.3 ? Klaas
1
by: Oney | last post by:
I use Microsoft Exception management block to publish exception to event log. but some error occured. Error is blow, how can I solve this problem ??? Configuration Error Description: An error...
8
by: rongchaua | last post by:
Hi all, i would like now to disable and enable network adapter programmatically with c#. I have searched but found nothing useful. There's no topic about this problem. Has someone done with this...
1
by: steve1rm | last post by:
Hello, I have a problem trying to connect a remote sql server. The error: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may...
2
by: Joshua Beall | last post by:
Hi All, I've got a utility I'm working on, and I want to be able to list for the user all the current network interfaces on the machine. Is there a way to do this in PHP? PHP 5.0.3, Mandriva...
2
by: Dave | last post by:
Hi everyone, I've got a program which sends UDP data which works perfectly on my PC but not on my laptop. The problem experienced is that sometimes on the laptop packets that I send just...
1
by: Andrew | last post by:
Hello Everyone I am receiving an error in an application I am working on. The application when its done will be a Dungeons and Dragons Network game. I am having problems with the Networked...
1
by: dscreation | last post by:
I am building a site with Visual Web 2005 using a SQL Database. It works locally just fine, however when I deploy it to our server I get this error message... An error has occurred while...
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
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.