Showing posts with label service. Show all posts
Showing posts with label service. Show all posts

Tuesday, March 20, 2012

Connection OLAP with VS.NET

Hello,
I'm trying to connect with Analysis Service's Database and create, see,
drop cubes with ASP.NET (programming in VB.NET). What I need to do this?
(I'm beginner with Analysis Server, but already I knew SQL Server).
Thanks.
Gema.You want ADOMD.NET
See this download:
9209e6ac8ad&DisplayLang=en" target="_blank">http://www.microsoft.com/downloads/...&DisplayLang=en
--
Dave Wickert [MSFT]
dwickert@.online.microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Gema Snchez" <gema.sanchez@.grupo-episteme.com> wrote in message
news:e3AGeYTXFHA.616@.TK2MSFTNGP12.phx.gbl...
> Hello,
> I'm trying to connect with Analysis Service's Database and create, see,
> drop cubes with ASP.NET (programming in VB.NET). What I need to do this?
> (I'm beginner with Analysis Server, but already I knew SQL Server).
> Thanks.
> Gema.
>|||Can I connect only with XML? (ADOMD.NET)
Thanks.
"Dave Wickert [MSFT]" <dwickert@.online.microsoft.com> escribi en el men
saje
news:ueh%23%23OYXFHA.2348@.TK2MSFTNGP14.phx.gbl...
> You want ADOMD.NET
> See this download:
>
layLang=en" target="_blank">http://www.microsoft.com/downloads/... />
layLang=en
> --
> Dave Wickert [MSFT]
> dwickert@.online.microsoft.com
> Program Manager
> BI SystemsTeam
> SQL BI Product Unit (Analysis Services)
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> "Gema Snchez" <gema.sanchez@.grupo-episteme.com> wrote in message
> news:e3AGeYTXFHA.616@.TK2MSFTNGP12.phx.gbl...
see,[vbcol=seagreen]
>|||Hello Dave,
I've installed ADOMD.NET and that is de way that I want. Thanks. If I
have questions, I'll ask here.
Regards.
"Gema Snchez" <gema.sanchez@.grupo-episteme.com> escribi en el mensaje
news:%23aDqR55XFHA.796@.TK2MSFTNGP10.phx.gbl...
> Can I connect only with XML? (ADOMD.NET)
> Thanks.
> "Dave Wickert [MSFT]" <dwickert@.online.microsoft.com> escribi en el
mensaje
> news:ueh%23%23OYXFHA.2348@.TK2MSFTNGP14.phx.gbl...
>
layLang=en" target="_blank">http://www.microsoft.com/downloads/... />
layLang=en
> rights.
> see,
this?[vbcol=seagreen]
>

Connection no longer works

I was able to connect to a SQL Server 2000 instance using ODBC on a Windows
2000 workstation (Service Pack 4). But after installing several security
updates and rollups, I am no longer able to connect to SQL Server.
The drivers tab in the ODBC Administrator lists SQL Server as Not marked
under Version and Company. Another machine that was not as updated lists
Version as 3.70.06.90 and Company as Microsoft.
Have you run component checker to verify your MDAC
installation? You could also try reinstalling MDAC - sounds
like the issue is likely with once of the MDAC components.
You can download component checker and mdac versions from:
http://msdn.microsoft.com/data/mdac/...s/default.aspx
-Sue
On Mon, 3 Oct 2005 10:42:01 -0700, "Alton Chinn" <Alton
Chinn@.discussions.microsoft.com> wrote:

>I was able to connect to a SQL Server 2000 instance using ODBC on a Windows
>2000 workstation (Service Pack 4). But after installing several security
>updates and rollups, I am no longer able to connect to SQL Server.
>The drivers tab in the ODBC Administrator lists SQL Server as Not marked
>under Version and Company. Another machine that was not as updated lists
>Version as 3.70.06.90 and Company as Microsoft.
|||I used it to determine that the various windows updates and hotfixes may have
knocked my MDAC version down to 2.5 SP3. For the SQL Server connection to
work, the version has to be at least 2.6 RTM, I think.
I tried to bring the version up to 2.8 but the rollback would always fail.
I tried to rename ODBCCONF.DLL and run unmgrt, then re-run mdac_type, but
that did not seem to work.
Alton
"Sue Hoegemeier" wrote:

> Have you run component checker to verify your MDAC
> installation? You could also try reinstalling MDAC - sounds
> like the issue is likely with once of the MDAC components.
> You can download component checker and mdac versions from:
> http://msdn.microsoft.com/data/mdac/...s/default.aspx
> -Sue
> On Mon, 3 Oct 2005 10:42:01 -0700, "Alton Chinn" <Alton
> Chinn@.discussions.microsoft.com> wrote:
>
>
|||You're going to have to get that MDAC updated. Don't try a rollback. Just
install the latest MDAC over the top. If you get an error try rebooting. If
that doesn't work, post the error and we'll help you out from there.
MeanOldDBA
derrickleggett@.hotmail.com
http://weblogs.sqlteam.com/derrickl
When life gives you a lemon, fire the DBA.
"Alton Chinn" wrote:
[vbcol=seagreen]
> I used it to determine that the various windows updates and hotfixes may have
> knocked my MDAC version down to 2.5 SP3. For the SQL Server connection to
> work, the version has to be at least 2.6 RTM, I think.
> I tried to bring the version up to 2.8 but the rollback would always fail.
> I tried to rename ODBCCONF.DLL and run unmgrt, then re-run mdac_type, but
> that did not seem to work.
> Alton
> "Sue Hoegemeier" wrote:
|||I tried running mdac_type.exe for version 2.8 sp1. After copying the new
files, it starts rolling back components automatically. Then I get a message
saying the setup failed to complete. After restarting, I ran the checker and
it lists the verison as 2.5 sp3.
Alton
"MeanOldDBA" wrote:
[vbcol=seagreen]
> You're going to have to get that MDAC updated. Don't try a rollback. Just
> install the latest MDAC over the top. If you get an error try rebooting. If
> that doesn't work, post the error and we'll help you out from there.
> --
> MeanOldDBA
> derrickleggett@.hotmail.com
> http://weblogs.sqlteam.com/derrickl
> When life gives you a lemon, fire the DBA.
>
> "Alton Chinn" wrote:
|||First try reading through the MDAC setup troubleshooting
guide:
http://support.microsoft.com/?id=232060
Typically you get more information in the error than just
setup failed to complete - that may provide more pointers to
what is going on.
I remember an issue with automatic rollbacks with other
versions of MDAC - see the info in the following:
http://support.microsoft.com/?id=286442
You may want to check the event logs to see if you have
something similar going on.
-Sue
On Tue, 4 Oct 2005 11:22:02 -0700, "Alton Chinn"
<AltonChinn@.discussions.microsoft.com> wrote:
[vbcol=seagreen]
>I tried running mdac_type.exe for version 2.8 sp1. After copying the new
>files, it starts rolling back components automatically. Then I get a message
>saying the setup failed to complete. After restarting, I ran the checker and
>it lists the verison as 2.5 sp3.
>Alton
>
>"MeanOldDBA" wrote:
|||According to dasetup, installation fails at the ODBC configuration:
************************************************** *****
ODBCConf called with arguments: '/S /Lv C:\WINNT\dasetup.log /F
C:\WINNT\system32\sqlclnt.rsp'
Data Struct:
Reboot First : 0
Use Response File : 1
Response File : 'C:\WINNT\system32\sqlclnt.rsp'
Erase Response File: 0
Silent : 1
Continue on Error : 0
Log Mode : 2
Log File : 'C:\WINNT\dasetup.log'
Actions:
5, 'SQL Server|Driver=SQLSRV32.dll||', '(null)', '"SQL
Server|Driver=SQLSRV32.dll||"'
1, 'SQL Server', 'CPTimeout=60', '"SQL Server" "CPTimeout=60"'
2, 'SQL Server', 'DSN=MQIS|Server=(Local)|Description=SQL
Server|Database=MQIS||', '"SQL Server"
"DSN=MQIS|Server=(Local)|Description=SQL Server|Database=MQIS||"'
EXECUTING ACTIONS
Executing Action: INSTALLDRIVER
arg1: 'SQL Server|Driver=SQLSRV32.dll||'
arg2: '(null)'
args: '"SQL Server|Driver=SQLSRV32.dll||"'
INSTALLDRIVER SQLInstallDriverEx succeeded
Return HR: 0x0
Executing Action: CONFIGDRIVER
arg1: 'SQL Server'
arg2: 'CPTimeout=60'
args: '"SQL Server" "CPTimeout=60"'
CONFIGDRIVER SQLConfigDriver succeeded
Return HR: 0x0
Executing Action: CONFIGDSN
arg1: 'SQL Server'
arg2: 'DSN=MQIS|Server=(Local)|Description=SQL Server|Database=MQIS||'
args: '"SQL Server" "DSN=MQIS|Server=(Local)|Description=SQL
Server|Database=MQIS||"'
CONFIGDSN Unable to create a data source for the 'SQL Server' driver:
Could not load the setup or translator library
Return HR: 0x80004005
Error Executing Action: CONFIGDSN
Unable to create a data source for the 'SQL Server' driver:
Could not load the setup or translator library with error code -2147467259
Debug: Loaded string resource: 4. Characters = 23
Debug: Loaded string resource: 6. Characters = 16
Calling function: RestoreCatalog
RestoreCatalog: Success.
Entering function: ExecuteInstall()
Parameters:
nDirective = 5
hWnd = 0x00090042
pwcsInfFile = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\SQLODB C.INF
pwcsCabFile = (null)
pwcsSection = DefaultInstall
pwcsExtractPath = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP
dwSetupFlags = 64
pContext = 0x0012B450
************************************************** *****
After that, the program starts to execute UNREGW2KMIGRATION.
|||Don't know what else to tell you. If you get an error, it
should be listed in the bottom of the log you posted -
that's the relevant part - where it goes into the
Entering function: ExecuteInstall()
-Sue
On Wed, 5 Oct 2005 10:26:14 -0700, "Alton Chinn"
<AltonChinn@.discussions.microsoft.com> wrote:

>According to dasetup, installation fails at the ODBC configuration:
>************************************************* ******
>ODBCConf called with arguments: '/S /Lv C:\WINNT\dasetup.log /F
>C:\WINNT\system32\sqlclnt.rsp'
>Data Struct:
>Reboot First : 0
>Use Response File : 1
>Response File : 'C:\WINNT\system32\sqlclnt.rsp'
>Erase Response File: 0
>Silent : 1
>Continue on Error : 0
>Log Mode : 2
>Log File : 'C:\WINNT\dasetup.log'
>Actions:
>5, 'SQL Server|Driver=SQLSRV32.dll||', '(null)', '"SQL
>Server|Driver=SQLSRV32.dll||"'
>1, 'SQL Server', 'CPTimeout=60', '"SQL Server" "CPTimeout=60"'
>2, 'SQL Server', 'DSN=MQIS|Server=(Local)|Description=SQL
>Server|Database=MQIS||', '"SQL Server"
>"DSN=MQIS|Server=(Local)|Description=SQL Server|Database=MQIS||"'
>EXECUTING ACTIONS
>Executing Action: INSTALLDRIVER
> arg1: 'SQL Server|Driver=SQLSRV32.dll||'
> arg2: '(null)'
> args: '"SQL Server|Driver=SQLSRV32.dll||"'
>INSTALLDRIVER SQLInstallDriverEx succeeded
> Return HR: 0x0
>Executing Action: CONFIGDRIVER
> arg1: 'SQL Server'
> arg2: 'CPTimeout=60'
> args: '"SQL Server" "CPTimeout=60"'
>CONFIGDRIVER SQLConfigDriver succeeded
> Return HR: 0x0
>Executing Action: CONFIGDSN
> arg1: 'SQL Server'
> arg2: 'DSN=MQIS|Server=(Local)|Description=SQL Server|Database=MQIS||'
> args: '"SQL Server" "DSN=MQIS|Server=(Local)|Description=SQL
>Server|Database=MQIS||"'
>CONFIGDSN Unable to create a data source for the 'SQL Server' driver:
>Could not load the setup or translator library
> Return HR: 0x80004005
>Error Executing Action: CONFIGDSN
>Unable to create a data source for the 'SQL Server' driver:
>Could not load the setup or translator library with error code -2147467259
>Debug: Loaded string resource: 4. Characters = 23
>Debug: Loaded string resource: 6. Characters = 16
>Calling function: RestoreCatalog
>RestoreCatalog: Success.
>Entering function: ExecuteInstall()
>Parameters:
>nDirective = 5
>hWnd = 0x00090042
>pwcsInfFile = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\SQLODB C.INF
>pwcsCabFile = (null)
>pwcsSection = DefaultInstall
>pwcsExtractPath = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP
>dwSetupFlags = 64
>pContext = 0x0012B450
>************************************************* ******
>After that, the program starts to execute UNREGW2KMIGRATION.
>
|||HERE ARE THE VARIOUS CALLS TO ExecuteFunction():
Entering function: CJob::InitializeJobQueues()
Parameters:
hHive = 0x80000002
szRoot = Software\Microsoft\dasetup\jobs
Exiting function: CJob::InitializeJobQueues()
Return value: (HRESULT) 0x00000000
Debug: Loaded string resource: 3. Characters = 21
Debug: Loaded string resource: 5. Characters = 14
Calling function: BackupCatalog
BackupCatalog Result : Backup Catalog directory already exists for this
component.
Entering function: ExecuteInstall()
Parameters:
nDirective = 4
hWnd = 0x0004014C
pwcsInfFile = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\MDACXP AK.INF
pwcsCabFile = (null)
pwcsSection = DefaultInstall
pwcsExtractPath = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP
dwSetupFlags = 32
pContext = 0x0012B450
INSTALLW2KMIGRATIONPACK Getting OS Version Info
INSTALLW2KMIGRATIONPACK Testing
C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\MDACXP AK.INF for existance
INSTALLW2KMIGRATIONPACK Get the ComponentID
INSTALLW2KMIGRATIONPACK Setting SysSetup Function Pointers
INSTALLW2KMIGRATIONPACK HINSTANCE: 1727987712
INSTALLW2KMIGRATIONPACK SetupRegisterOsComponent ProcAddress: 1728218877
INSTALLW2KMIGRATIONPACK SetupUnRegisterOsComponent ProcAddress: 1728219747
INSTALLW2KMIGRATIONPACK SetupQueryRegisteredOsComponent ProcAddress:
1728220575
INSTALLW2KMIGRATIONPACK SetupQueryRegisteredOsComponent Failed with Error : 2
************
Executing Action: REGTYPELIB
arg1: 'simpdata.tlb'
arg2: '(null)'
args: '"simpdata.tlb"'
Return HR: 0x0
Debug: Loaded string resource: 3. Characters = 21
Debug: Loaded string resource: 5. Characters = 14
Calling function: BackupCatalog
BackupCatalog Result : Backup Catalog directory already exists for this
component.
Entering function: ExecuteInstall()
Parameters:
nDirective = 4
hWnd = 0x0004014C
pwcsInfFile = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\MSXMLX .inf
pwcsCabFile = (null)
pwcsSection = DefaultInstall
pwcsExtractPath = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP
dwSetupFlags = 32
pContext = 0x0012B450
INSTALLW2KMIGRATIONPACK Getting OS Version Info
INSTALLW2KMIGRATIONPACK Testing
C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\MSXMLX .inf for existance
INSTALLW2KMIGRATIONPACK Get the ComponentID
INSTALLW2KMIGRATIONPACK SetupQueryRegisteredOsComponent Failed with Error : 2
*************
Calling function: BackupCatalog
BackupCatalog Result : Backup Catalog directory already exists for this
component.
Entering function: ExecuteInstall()
Parameters:
nDirective = 4
hWnd = 0x0004014C
pwcsInfFile = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\SQLXML XP.inf
pwcsCabFile = (null)
pwcsSection = DefaultInstall
pwcsExtractPath = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP
dwSetupFlags = 32
pContext = 0x0012B450
INSTALLW2KMIGRATIONPACK Getting OS Version Info
INSTALLW2KMIGRATIONPACK Testing
C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\SQLXML XP.inf for existance
INSTALLW2KMIGRATIONPACK Get the ComponentID
INSTALLW2KMIGRATIONPACK SetupQueryRegisteredOsComponent Failed with Error : 2
*************
Calling function: BackupCatalog
BackupCatalog Result : Backup Catalog directory already exists for this
component.
Entering function: ExecuteInstall()
Parameters:
nDirective = 4
hWnd = 0x0004014C
pwcsInfFile = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\SQLNET .INF
pwcsCabFile = (null)
pwcsSection = DefaultInstall
pwcsExtractPath = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP
dwSetupFlags = 32
pContext = 0x0012B450
INSTALLW2KMIGRATIONPACK Getting OS Version Info
INSTALLW2KMIGRATIONPACK Testing
C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\SQLNET .INF for existance
INSTALLW2KMIGRATIONPACK Get the ComponentID
INSTALLW2KMIGRATIONPACK SetupQueryRegisteredOsComponent Failed with Error : 2
**************
Calling function: BackupCatalog
BackupCatalog Result : Backup Catalog directory already exists for this
component.
Entering function: ExecuteInstall()
Parameters:
nDirective = 4
hWnd = 0x0004014C
pwcsInfFile = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\SQLODB C.INF
pwcsCabFile = (null)
pwcsSection = DefaultInstall
pwcsExtractPath = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP
dwSetupFlags = 32
pContext = 0x0012B450
INSTALLW2KMIGRATIONPACK Getting OS Version Info
INSTALLW2KMIGRATIONPACK Testing
C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\SQLODB C.INF for existance
INSTALLW2KMIGRATIONPACK Get the ComponentID
INSTALLW2KMIGRATIONPACK SetupQueryRegisteredOsComponent Failed with Error : 2
***************
|||Don't know...looks like you have other issues related to the
OS.
-Sue
On Tue, 11 Oct 2005 11:52:03 -0700, "Alton Chinn"
<AltonChinn@.discussions.microsoft.com> wrote:

>HERE ARE THE VARIOUS CALLS TO ExecuteFunction():
>Entering function: CJob::InitializeJobQueues()
>Parameters:
>hHive = 0x80000002
>szRoot = Software\Microsoft\dasetup\jobs
>Exiting function: CJob::InitializeJobQueues()
>Return value: (HRESULT) 0x00000000
>Debug: Loaded string resource: 3. Characters = 21
>Debug: Loaded string resource: 5. Characters = 14
>Calling function: BackupCatalog
>BackupCatalog Result : Backup Catalog directory already exists for this
>component.
>Entering function: ExecuteInstall()
>Parameters:
>nDirective = 4
>hWnd = 0x0004014C
>pwcsInfFile = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\MDACXP AK.INF
>pwcsCabFile = (null)
>pwcsSection = DefaultInstall
>pwcsExtractPath = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP
>dwSetupFlags = 32
>pContext = 0x0012B450
>INSTALLW2KMIGRATIONPACK Getting OS Version Info
>INSTALLW2KMIGRATIONPACK Testing
>C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\MDACX PAK.INF for existance
>INSTALLW2KMIGRATIONPACK Get the ComponentID
>INSTALLW2KMIGRATIONPACK Setting SysSetup Function Pointers
>INSTALLW2KMIGRATIONPACK HINSTANCE: 1727987712
>INSTALLW2KMIGRATIONPACK SetupRegisterOsComponent ProcAddress: 1728218877
>INSTALLW2KMIGRATIONPACK SetupUnRegisterOsComponent ProcAddress: 1728219747
>INSTALLW2KMIGRATIONPACK SetupQueryRegisteredOsComponent ProcAddress:
>1728220575
>INSTALLW2KMIGRATIONPACK SetupQueryRegisteredOsComponent Failed with Error : 2
>************
>Executing Action: REGTYPELIB
> arg1: 'simpdata.tlb'
> arg2: '(null)'
> args: '"simpdata.tlb"'
> Return HR: 0x0
>Debug: Loaded string resource: 3. Characters = 21
>Debug: Loaded string resource: 5. Characters = 14
>Calling function: BackupCatalog
>BackupCatalog Result : Backup Catalog directory already exists for this
>component.
>Entering function: ExecuteInstall()
>Parameters:
>nDirective = 4
>hWnd = 0x0004014C
>pwcsInfFile = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\MSXMLX .inf
>pwcsCabFile = (null)
>pwcsSection = DefaultInstall
>pwcsExtractPath = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP
>dwSetupFlags = 32
>pContext = 0x0012B450
>INSTALLW2KMIGRATIONPACK Getting OS Version Info
>INSTALLW2KMIGRATIONPACK Testing
>C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\MSXML X.inf for existance
>INSTALLW2KMIGRATIONPACK Get the ComponentID
>INSTALLW2KMIGRATIONPACK SetupQueryRegisteredOsComponent Failed with Error : 2
>*************
>Calling function: BackupCatalog
>BackupCatalog Result : Backup Catalog directory already exists for this
>component.
>Entering function: ExecuteInstall()
>Parameters:
>nDirective = 4
>hWnd = 0x0004014C
>pwcsInfFile = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\SQLXML XP.inf
>pwcsCabFile = (null)
>pwcsSection = DefaultInstall
>pwcsExtractPath = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP
>dwSetupFlags = 32
>pContext = 0x0012B450
>INSTALLW2KMIGRATIONPACK Getting OS Version Info
>INSTALLW2KMIGRATIONPACK Testing
>C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\SQLXM LXP.inf for existance
>INSTALLW2KMIGRATIONPACK Get the ComponentID
>INSTALLW2KMIGRATIONPACK SetupQueryRegisteredOsComponent Failed with Error : 2
>*************
>Calling function: BackupCatalog
>BackupCatalog Result : Backup Catalog directory already exists for this
>component.
>Entering function: ExecuteInstall()
>Parameters:
>nDirective = 4
>hWnd = 0x0004014C
>pwcsInfFile = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\SQLNET .INF
>pwcsCabFile = (null)
>pwcsSection = DefaultInstall
>pwcsExtractPath = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP
>dwSetupFlags = 32
>pContext = 0x0012B450
>INSTALLW2KMIGRATIONPACK Getting OS Version Info
>INSTALLW2KMIGRATIONPACK Testing
>C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\SQLNE T.INF for existance
>INSTALLW2KMIGRATIONPACK Get the ComponentID
>INSTALLW2KMIGRATIONPACK SetupQueryRegisteredOsComponent Failed with Error : 2
>**************
>Calling function: BackupCatalog
>BackupCatalog Result : Backup Catalog directory already exists for this
>component.
>Entering function: ExecuteInstall()
>Parameters:
>nDirective = 4
>hWnd = 0x0004014C
>pwcsInfFile = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\SQLODB C.INF
>pwcsCabFile = (null)
>pwcsSection = DefaultInstall
>pwcsExtractPath = C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP
>dwSetupFlags = 32
>pContext = 0x0012B450
>INSTALLW2KMIGRATIONPACK Getting OS Version Info
>INSTALLW2KMIGRATIONPACK Testing
>C:\DOCUME~1\achinn\LOCALS~1\Temp\IXP000.TMP\SQLOD BC.INF for existance
>INSTALLW2KMIGRATIONPACK Get the ComponentID
>INSTALLW2KMIGRATIONPACK SetupQueryRegisteredOsComponent Failed with Error : 2
>***************
>
sqlsql

Sunday, March 11, 2012

Connection handshake failed: Unexpected or badly formatted message.

Hello,

I am unable to send a message to a target service on a different SQL Server instance. Using the SQL Profiler, I get the following error from the target machine:

Broker::Connection: Connection handshake failed: An OS call failed: (80090326) 0x80090326(The message received was unexpected or badly formatted.). State 106.

On the initiator side, the transmission_status shows the following error:

An error occurred while receiving data: '64(The specified network name is no longer available.)'.

Any ideas on why the target thinks the message is "unexpected or badly formatted"? Btw, I am specifying the default message type and contract for the services.

Thanks.

The problem is in the NTLM/Kerberos authentification sequence and I reckon I never saw it before. If you only want to get this to work, you can change the endpoint authentication from WINDOWS to CERTIFICATE. If you want to see why is this failing in the first place, I suggest you follow up using the MS Connect site at https://connect.microsoft.com/SQLServer/Feedback?wa=wsignin1.0. A netmon capture of the handhsake sequence would be needed to investigate this.

Wednesday, March 7, 2012

Connection fail in analysis service

I got an error when I try to connect my SQL server Analysis service. I have
installed SQL Server Analysis Service in my WinXP PC. When I try to open
Analysis Manager to connect my pc, I got the error "Unable to connect to
registry on the server (COMPUTERNAME), or you are not a member of OLAP
Administrators group on this server."
HOW COME...PLS HELP!!!
Check two things:
- is the user a member of Windows local OLAP Administrators group
- do you have SP3a for Analysis Services installed (latest hotfixes for XP
disable accessto the AS is it is not patched).
Dejan Sarka, SQL Server MVP
Associate Mentor
Solid Quality Learning
More than just Training
www.SolidQualityLearning.com
"Grey" <erickwyum@.i-cable.com> wrote in message
news:%23WSCGGoiEHA.3536@.TK2MSFTNGP12.phx.gbl...
> I got an error when I try to connect my SQL server Analysis service. I
have
> installed SQL Server Analysis Service in my WinXP PC. When I try to open
> Analysis Manager to connect my pc, I got the error "Unable to connect to
> registry on the server (COMPUTERNAME), or you are not a member of OLAP
> Administrators group on this server."
> HOW COME...PLS HELP!!!
>

Connection fail in analysis service

I got an error when I try to connect my SQL server Analysis service. I have
installed SQL Server Analysis Service in my WinXP PC. When I try to open
Analysis Manager to connect my pc, I got the error "Unable to connect to
registry on the server (COMPUTERNAME), or you are not a member of OLAP
Administrators group on this server."
HOW COME...PLS HELP!!!Check two things:
- is the user a member of Windows local OLAP Administrators group
- do you have SP3a for Analysis Services installed (latest hotfixes for XP
disable accessto the AS is it is not patched).
Dejan Sarka, SQL Server MVP
Associate Mentor
Solid Quality Learning
More than just Training
www.SolidQualityLearning.com
"Grey" <erickwyum@.i-cable.com> wrote in message
news:%23WSCGGoiEHA.3536@.TK2MSFTNGP12.phx.gbl...
> I got an error when I try to connect my SQL server Analysis service. I
have
> installed SQL Server Analysis Service in my WinXP PC. When I try to open
> Analysis Manager to connect my pc, I got the error "Unable to connect to
> registry on the server (COMPUTERNAME), or you are not a member of OLAP
> Administrators group on this server."
> HOW COME...PLS HELP!!!
>

Connection fail in analysis service

I got an error when I try to connect my SQL server Analysis service. I have
installed SQL Server Analysis Service in my WinXP PC. When I try to open
Analysis Manager to connect my pc, I got the error "Unable to connect to
registry on the server (COMPUTERNAME), or you are not a member of OLAP
Administrators group on this server."
HOW COME...PLS HELP!!!Check two things:
- is the user a member of Windows local OLAP Administrators group
- do you have SP3a for Analysis Services installed (latest hotfixes for XP
disable accessto the AS is it is not patched).
--
Dejan Sarka, SQL Server MVP
Associate Mentor
Solid Quality Learning
More than just Training
www.SolidQualityLearning.com
"Grey" <erickwyum@.i-cable.com> wrote in message
news:%23WSCGGoiEHA.3536@.TK2MSFTNGP12.phx.gbl...
> I got an error when I try to connect my SQL server Analysis service. I
have
> installed SQL Server Analysis Service in my WinXP PC. When I try to open
> Analysis Manager to connect my pc, I got the error "Unable to connect to
> registry on the server (COMPUTERNAME), or you are not a member of OLAP
> Administrators group on this server."
> HOW COME...PLS HELP!!!
>

Connection error to As 2000 cube data source

Here is my setup: I have Reporting Service and SQL Server 2000 in one box
(Box A), and IIS and Analysis Service in another box (Box B), which has
couple of cubes based on the database in Box A, using SQL Authentication and
Allow save password. Create AS2000 data source at Reporting Project, then
create a report, I can preview the report fine in VS.2003. But I got the
following error after deploying the report to the reportserver and browse the
report:
Cannot create a connection to data source 'Cube'. (rsErrorOpeningConnection)
Get Online Help
Database 'Cube' does not exist.
Do I miss anything?
Thanks
DonAre the cubes on the same domain with your report server?
If not, it won't connect.
"Don" <Don@.discussions.microsoft.com> wrote in message
news:26BEED36-14C5-48A1-87DA-E751CB391888@.microsoft.com...
> Here is my setup: I have Reporting Service and SQL Server 2000 in one box
> (Box A), and IIS and Analysis Service in another box (Box B), which has
> couple of cubes based on the database in Box A, using SQL Authentication
> and
> Allow save password. Create AS2000 data source at Reporting Project, then
> create a report, I can preview the report fine in VS.2003. But I got the
> following error after deploying the report to the reportserver and browse
> the
> report:
> Cannot create a connection to data source 'Cube'.
> (rsErrorOpeningConnection)
> Get Online Help
> Database 'Cube' does not exist.
> Do I miss anything?
> Thanks
> Don
>|||Chris,
Thanks for the quick response. Yes, my OLAP server and Report Server on the
same domain, and my domain user account on both boxes.
"Chris" wrote:
> Are the cubes on the same domain with your report server?
> If not, it won't connect.
> "Don" <Don@.discussions.microsoft.com> wrote in message
> news:26BEED36-14C5-48A1-87DA-E751CB391888@.microsoft.com...
> > Here is my setup: I have Reporting Service and SQL Server 2000 in one box
> > (Box A), and IIS and Analysis Service in another box (Box B), which has
> > couple of cubes based on the database in Box A, using SQL Authentication
> > and
> > Allow save password. Create AS2000 data source at Reporting Project, then
> > create a report, I can preview the report fine in VS.2003. But I got the
> > following error after deploying the report to the reportserver and browse
> > the
> > report:
> >
> > Cannot create a connection to data source 'Cube'.
> > (rsErrorOpeningConnection)
> > Get Online Help
> > Database 'Cube' does not exist.
> > Do I miss anything?
> >
> > Thanks
> >
> > Don
> >
>
>

Friday, February 17, 2012

Connecting without SQL Browser

I'm unable to connect to my named instance of SQL Server 2005 when the
Browser service isn't running on the server.
I do specify the port that the SQL Server instance is listening to in the
connection string, as in SERVER:PORT
Is it impossible to connect to an instance of SQL Server when the browser
isn't running? I have verified that the server will accept remote
connections, and I can connect as soon as I start the browser.Hello,
You may want to check the SQL 2005 process ID in task manager, and then run
the following command to see if the PID is listening on the proper port
netstat -aon
If it is OK, please try to telnet the port from client:
telnet <server name> <port number>
If not, it seems there is firewall blocking the port. Please check
Windows/third party firewall on the server to test
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
>Thread-Topic: Connecting without SQL Browser
>thread-index: AcZCiOBLNVbTQlN8TSihYXkvAvuyTQ==>X-WBNR-Posting-Host: 84.147.139.248
>From: =?Utf-8?B?UGF0?= <pat@.online.nospam>
>Subject: Connecting without SQL Browser
>Date: Wed, 8 Mar 2006 00:18:27 -0800
>Lines: 7
>Message-ID: <87FE193F-FB5E-4CF3-ACA0-6AAA087B9E47@.microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>Newsgroups: microsoft.public.sqlserver.server
>Path: TK2MSFTNGXA03.phx.gbl
>Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:423714
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>X-Tomcat-NG: microsoft.public.sqlserver.server
>I'm unable to connect to my named instance of SQL Server 2005 when the
>Browser service isn't running on the server.
>I do specify the port that the SQL Server instance is listening to in the
>connection string, as in SERVER:PORT
>Is it impossible to connect to an instance of SQL Server when the browser
>isn't running? I have verified that the server will accept remote
>connections, and I can connect as soon as I start the browser.
>|||From the SQL Server log:
Server process ID is 1552
Server is listening on [ 'any' <ipv4> 1743].
Server local connection provider is ready to accept connection on [
\\.\pipe\SQLLocal\S5 ].
Server local connection provider is ready to accept connection on [
\\.\pipe\MSSQL$S5\sql\query ].
Server is listening on [ 127.0.0.1 <ipv4> 1744].
Dedicated admin connection support was established for listening locally on
port 1744.
SQL Server is now ready for client connections. This is an informational
message; no user action is required.
From netstat -aon
TCP 0.0.0.0:1743 0.0.0.0:0 LISTENING 1552
TCP 127.0.0.1:1744 0.0.0.0:0 LISTENING 1552
Connecting with Telnet from the client gives "Connect failed", also when the
Browser is started.
"Peter Yang [MSFT]" wrote:
> Hello,
> You may want to check the SQL 2005 process ID in task manager, and then run
> the following command to see if the PID is listening on the proper port
> netstat -aon
> If it is OK, please try to telnet the port from client:
> telnet <server name> <port number>
> If not, it seems there is firewall blocking the port. Please check
> Windows/third party firewall on the server to test
> Best Regards,
> Peter Yang
> MCSE2000/2003, MCSA, MCDBA
> Microsoft Online Partner Support
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> =====================================================>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> --
> >Thread-Topic: Connecting without SQL Browser
> >thread-index: AcZCiOBLNVbTQlN8TSihYXkvAvuyTQ==> >X-WBNR-Posting-Host: 84.147.139.248
> >From: =?Utf-8?B?UGF0?= <pat@.online.nospam>
> >Subject: Connecting without SQL Browser
> >Date: Wed, 8 Mar 2006 00:18:27 -0800
> >Lines: 7
> >Message-ID: <87FE193F-FB5E-4CF3-ACA0-6AAA087B9E47@.microsoft.com>
> >MIME-Version: 1.0
> >Content-Type: text/plain;
> > charset="Utf-8"
> >Content-Transfer-Encoding: 7bit
> >X-Newsreader: Microsoft CDO for Windows 2000
> >Content-Class: urn:content-classes:message
> >Importance: normal
> >Priority: normal
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
> >Newsgroups: microsoft.public.sqlserver.server
> >Path: TK2MSFTNGXA03.phx.gbl
> >Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:423714
> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
> >X-Tomcat-NG: microsoft.public.sqlserver.server
> >
> >I'm unable to connect to my named instance of SQL Server 2005 when the
> >Browser service isn't running on the server.
> >I do specify the port that the SQL Server instance is listening to in the
> >connection string, as in SERVER:PORT
> >Is it impossible to connect to an instance of SQL Server when the browser
> >isn't running? I have verified that the server will accept remote
> >connections, and I can connect as soon as I start the browser.
> >
>|||Hello,
Apparently you have firewall on the server blocks port 1552. Please
temporarily disable firewalls to test the situation. If it works, you could
open port on firwall to solve the problem.
Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
>Thread-Topic: Connecting without SQL Browser
>thread-index: AcZCp+TVAS+gwqT9QQy7/KMJ33jN/g==>X-WBNR-Posting-Host: 84.147.139.248
>From: =?Utf-8?B?UGF0?= <pat@.online.nospam>
>References: <87FE193F-FB5E-4CF3-ACA0-6AAA087B9E47@.microsoft.com>
<ODsJWLqQGHA.5448@.TK2MSFTNGXA03.phx.gbl>
>Subject: RE: Connecting without SQL Browser
>Date: Wed, 8 Mar 2006 04:00:29 -0800
>Lines: 87
>Message-ID: <7F0CD604-75BE-4858-9745-BC6E621A7D15@.microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>Newsgroups: microsoft.public.sqlserver.server
>Path: TK2MSFTNGXA03.phx.gbl
>Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:423729
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>X-Tomcat-NG: microsoft.public.sqlserver.server
>From the SQL Server log:
>Server process ID is 1552
>Server is listening on [ 'any' <ipv4> 1743].
>Server local connection provider is ready to accept connection on [
>\\.\pipe\SQLLocal\S5 ].
>Server local connection provider is ready to accept connection on [
>\\.\pipe\MSSQL$S5\sql\query ].
>Server is listening on [ 127.0.0.1 <ipv4> 1744].
>Dedicated admin connection support was established for listening locally
on
>port 1744.
>SQL Server is now ready for client connections. This is an informational
>message; no user action is required.
>From netstat -aon
>TCP 0.0.0.0:1743 0.0.0.0:0 LISTENING 1552
>TCP 127.0.0.1:1744 0.0.0.0:0 LISTENING 1552
>Connecting with Telnet from the client gives "Connect failed", also when
the
>Browser is started.
>
>"Peter Yang [MSFT]" wrote:
>> Hello,
>> You may want to check the SQL 2005 process ID in task manager, and then
run
>> the following command to see if the PID is listening on the proper port
>> netstat -aon
>> If it is OK, please try to telnet the port from client:
>> telnet <server name> <port number>
>> If not, it seems there is firewall blocking the port. Please check
>> Windows/third party firewall on the server to test
>> Best Regards,
>> Peter Yang
>> MCSE2000/2003, MCSA, MCDBA
>> Microsoft Online Partner Support
>> When responding to posts, please "Reply to Group" via your newsreader so
>> that others may learn and benefit from your issue.
>> =====================================================>>
>> This posting is provided "AS IS" with no warranties, and confers no
rights.
>>
>> --
>> >Thread-Topic: Connecting without SQL Browser
>> >thread-index: AcZCiOBLNVbTQlN8TSihYXkvAvuyTQ==>> >X-WBNR-Posting-Host: 84.147.139.248
>> >From: =?Utf-8?B?UGF0?= <pat@.online.nospam>
>> >Subject: Connecting without SQL Browser
>> >Date: Wed, 8 Mar 2006 00:18:27 -0800
>> >Lines: 7
>> >Message-ID: <87FE193F-FB5E-4CF3-ACA0-6AAA087B9E47@.microsoft.com>
>> >MIME-Version: 1.0
>> >Content-Type: text/plain;
>> > charset="Utf-8"
>> >Content-Transfer-Encoding: 7bit
>> >X-Newsreader: Microsoft CDO for Windows 2000
>> >Content-Class: urn:content-classes:message
>> >Importance: normal
>> >Priority: normal
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>> >Newsgroups: microsoft.public.sqlserver.server
>> >Path: TK2MSFTNGXA03.phx.gbl
>> >Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:423714
>> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>> >X-Tomcat-NG: microsoft.public.sqlserver.server
>> >
>> >I'm unable to connect to my named instance of SQL Server 2005 when the
>> >Browser service isn't running on the server.
>> >I do specify the port that the SQL Server instance is listening to in
the
>> >connection string, as in SERVER:PORT
>> >Is it impossible to connect to an instance of SQL Server when the
browser
>> >isn't running? I have verified that the server will accept remote
>> >connections, and I can connect as soon as I start the browser.
>> >
>>
>|||1552 is the process id of sql server in the example.
"Peter Yang [MSFT]" wrote:
> Hello,
> Apparently you have firewall on the server blocks port 1552. Please
> temporarily disable firewalls to test the situation. If it works, you could
> open port on firwall to solve the problem.
> Regards,
> Peter Yang
> MCSE2000/2003, MCSA, MCDBA
> Microsoft Online Partner Support
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> =====================================================> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> --
> >Thread-Topic: Connecting without SQL Browser
> >thread-index: AcZCp+TVAS+gwqT9QQy7/KMJ33jN/g==> >X-WBNR-Posting-Host: 84.147.139.248
> >From: =?Utf-8?B?UGF0?= <pat@.online.nospam>
> >References: <87FE193F-FB5E-4CF3-ACA0-6AAA087B9E47@.microsoft.com>
> <ODsJWLqQGHA.5448@.TK2MSFTNGXA03.phx.gbl>
> >Subject: RE: Connecting without SQL Browser
> >Date: Wed, 8 Mar 2006 04:00:29 -0800
> >Lines: 87
> >Message-ID: <7F0CD604-75BE-4858-9745-BC6E621A7D15@.microsoft.com>
> >MIME-Version: 1.0
> >Content-Type: text/plain;
> > charset="Utf-8"
> >Content-Transfer-Encoding: 7bit
> >X-Newsreader: Microsoft CDO for Windows 2000
> >Content-Class: urn:content-classes:message
> >Importance: normal
> >Priority: normal
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
> >Newsgroups: microsoft.public.sqlserver.server
> >Path: TK2MSFTNGXA03.phx.gbl
> >Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:423729
> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
> >X-Tomcat-NG: microsoft.public.sqlserver.server
> >
> >From the SQL Server log:
> >Server process ID is 1552
> >Server is listening on [ 'any' <ipv4> 1743].
> >Server local connection provider is ready to accept connection on [
> >\\.\pipe\SQLLocal\S5 ].
> >Server local connection provider is ready to accept connection on [
> >\\.\pipe\MSSQL$S5\sql\query ].
> >Server is listening on [ 127.0.0.1 <ipv4> 1744].
> >Dedicated admin connection support was established for listening locally
> on
> >port 1744.
> >SQL Server is now ready for client connections. This is an informational
> >message; no user action is required.
> >
> >From netstat -aon
> >TCP 0.0.0.0:1743 0.0.0.0:0 LISTENING 1552
> >TCP 127.0.0.1:1744 0.0.0.0:0 LISTENING 1552
> >
> >Connecting with Telnet from the client gives "Connect failed", also when
> the
> >Browser is started.
> >
> >
> >
> >"Peter Yang [MSFT]" wrote:
> >
> >> Hello,
> >>
> >> You may want to check the SQL 2005 process ID in task manager, and then
> run
> >> the following command to see if the PID is listening on the proper port
> >>
> >> netstat -aon
> >>
> >> If it is OK, please try to telnet the port from client:
> >>
> >> telnet <server name> <port number>
> >>
> >> If not, it seems there is firewall blocking the port. Please check
> >> Windows/third party firewall on the server to test
> >>
> >> Best Regards,
> >>
> >> Peter Yang
> >> MCSE2000/2003, MCSA, MCDBA
> >> Microsoft Online Partner Support
> >>
> >> When responding to posts, please "Reply to Group" via your newsreader so
> >> that others may learn and benefit from your issue.
> >>
> >> =====================================================> >>
> >>
> >> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> >>
> >>
> >> --
> >> >Thread-Topic: Connecting without SQL Browser
> >> >thread-index: AcZCiOBLNVbTQlN8TSihYXkvAvuyTQ==> >> >X-WBNR-Posting-Host: 84.147.139.248
> >> >From: =?Utf-8?B?UGF0?= <pat@.online.nospam>
> >> >Subject: Connecting without SQL Browser
> >> >Date: Wed, 8 Mar 2006 00:18:27 -0800
> >> >Lines: 7
> >> >Message-ID: <87FE193F-FB5E-4CF3-ACA0-6AAA087B9E47@.microsoft.com>
> >> >MIME-Version: 1.0
> >> >Content-Type: text/plain;
> >> > charset="Utf-8"
> >> >Content-Transfer-Encoding: 7bit
> >> >X-Newsreader: Microsoft CDO for Windows 2000
> >> >Content-Class: urn:content-classes:message
> >> >Importance: normal
> >> >Priority: normal
> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
> >> >Newsgroups: microsoft.public.sqlserver.server
> >> >Path: TK2MSFTNGXA03.phx.gbl
> >> >Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:423714
> >> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
> >> >X-Tomcat-NG: microsoft.public.sqlserver.server
> >> >
> >> >I'm unable to connect to my named instance of SQL Server 2005 when the
> >> >Browser service isn't running on the server.
> >> >I do specify the port that the SQL Server instance is listening to in
> the
> >> >connection string, as in SERVER:PORT
> >> >Is it impossible to connect to an instance of SQL Server when the
> browser
> >> >isn't running? I have verified that the server will accept remote
> >> >connections, and I can connect as soon as I start the browser.
> >> >
> >>
> >>
> >
>|||Hello Pat,
Sorry. My typo. Server port 1743 shall be opened by firewall. Also, client
network shall be configured to 1743 as well.
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
>Thread-Topic: Connecting without SQL Browser
>thread-index: AcZMNgMtU2vKHeRwTEqMU7ZbMxx2xA==>X-WBNR-Posting-Host: 84.147.154.98
>From: =?Utf-8?B?UGF0?= <pat@.online.nospam>
>References: <87FE193F-FB5E-4CF3-ACA0-6AAA087B9E47@.microsoft.com>
<ODsJWLqQGHA.5448@.TK2MSFTNGXA03.phx.gbl>
<7F0CD604-75BE-4858-9745-BC6E621A7D15@.microsoft.com>
<PBj2TK1QGHA.6216@.TK2MSFTNGXA03.phx.gbl>
>Subject: RE: Connecting without SQL Browser
>Date: Mon, 20 Mar 2006 07:50:29 -0800
>Lines: 146
>Message-ID: <B93CC259-A26F-444C-93C7-1155FDC5310C@.microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>Newsgroups: microsoft.public.sqlserver.server
>Path: TK2MSFTNGXA03.phx.gbl
>Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:424932
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>X-Tomcat-NG: microsoft.public.sqlserver.server
>1552 is the process id of sql server in the example.
>"Peter Yang [MSFT]" wrote:
>> Hello,
>> Apparently you have firewall on the server blocks port 1552. Please
>> temporarily disable firewalls to test the situation. If it works, you
could
>> open port on firwall to solve the problem.
>> Regards,
>> Peter Yang
>> MCSE2000/2003, MCSA, MCDBA
>> Microsoft Online Partner Support
>> When responding to posts, please "Reply to Group" via your newsreader so
>> that others may learn and benefit from your issue.
>> =====================================================>> This posting is provided "AS IS" with no warranties, and confers no
rights.
>>
>> --
>> >Thread-Topic: Connecting without SQL Browser
>> >thread-index: AcZCp+TVAS+gwqT9QQy7/KMJ33jN/g==>> >X-WBNR-Posting-Host: 84.147.139.248
>> >From: =?Utf-8?B?UGF0?= <pat@.online.nospam>
>> >References: <87FE193F-FB5E-4CF3-ACA0-6AAA087B9E47@.microsoft.com>
>> <ODsJWLqQGHA.5448@.TK2MSFTNGXA03.phx.gbl>
>> >Subject: RE: Connecting without SQL Browser
>> >Date: Wed, 8 Mar 2006 04:00:29 -0800
>> >Lines: 87
>> >Message-ID: <7F0CD604-75BE-4858-9745-BC6E621A7D15@.microsoft.com>
>> >MIME-Version: 1.0
>> >Content-Type: text/plain;
>> > charset="Utf-8"
>> >Content-Transfer-Encoding: 7bit
>> >X-Newsreader: Microsoft CDO for Windows 2000
>> >Content-Class: urn:content-classes:message
>> >Importance: normal
>> >Priority: normal
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>> >Newsgroups: microsoft.public.sqlserver.server
>> >Path: TK2MSFTNGXA03.phx.gbl
>> >Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:423729
>> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>> >X-Tomcat-NG: microsoft.public.sqlserver.server
>> >
>> >From the SQL Server log:
>> >Server process ID is 1552
>> >Server is listening on [ 'any' <ipv4> 1743].
>> >Server local connection provider is ready to accept connection on [
>> >\\.\pipe\SQLLocal\S5 ].
>> >Server local connection provider is ready to accept connection on [
>> >\\.\pipe\MSSQL$S5\sql\query ].
>> >Server is listening on [ 127.0.0.1 <ipv4> 1744].
>> >Dedicated admin connection support was established for listening
locally
>> on
>> >port 1744.
>> >SQL Server is now ready for client connections. This is an
informational
>> >message; no user action is required.
>> >
>> >From netstat -aon
>> >TCP 0.0.0.0:1743 0.0.0.0:0 LISTENING 1552
>> >TCP 127.0.0.1:1744 0.0.0.0:0 LISTENING 1552
>> >
>> >Connecting with Telnet from the client gives "Connect failed", also
when
>> the
>> >Browser is started.
>> >
>> >
>> >
>> >"Peter Yang [MSFT]" wrote:
>> >
>> >> Hello,
>> >>
>> >> You may want to check the SQL 2005 process ID in task manager, and
then
>> run
>> >> the following command to see if the PID is listening on the proper
port
>> >>
>> >> netstat -aon
>> >>
>> >> If it is OK, please try to telnet the port from client:
>> >>
>> >> telnet <server name> <port number>
>> >>
>> >> If not, it seems there is firewall blocking the port. Please check
>> >> Windows/third party firewall on the server to test
>> >>
>> >> Best Regards,
>> >>
>> >> Peter Yang
>> >> MCSE2000/2003, MCSA, MCDBA
>> >> Microsoft Online Partner Support
>> >>
>> >> When responding to posts, please "Reply to Group" via your newsreader
so
>> >> that others may learn and benefit from your issue.
>> >>
>> >> =====================================================>> >>
>> >>
>> >> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> >>
>> >>
>> >> --
>> >> >Thread-Topic: Connecting without SQL Browser
>> >> >thread-index: AcZCiOBLNVbTQlN8TSihYXkvAvuyTQ==>> >> >X-WBNR-Posting-Host: 84.147.139.248
>> >> >From: =?Utf-8?B?UGF0?= <pat@.online.nospam>
>> >> >Subject: Connecting without SQL Browser
>> >> >Date: Wed, 8 Mar 2006 00:18:27 -0800
>> >> >Lines: 7
>> >> >Message-ID: <87FE193F-FB5E-4CF3-ACA0-6AAA087B9E47@.microsoft.com>
>> >> >MIME-Version: 1.0
>> >> >Content-Type: text/plain;
>> >> > charset="Utf-8"
>> >> >Content-Transfer-Encoding: 7bit
>> >> >X-Newsreader: Microsoft CDO for Windows 2000
>> >> >Content-Class: urn:content-classes:message
>> >> >Importance: normal
>> >> >Priority: normal
>> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>> >> >Newsgroups: microsoft.public.sqlserver.server
>> >> >Path: TK2MSFTNGXA03.phx.gbl
>> >> >Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:423714
>> >> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>> >> >X-Tomcat-NG: microsoft.public.sqlserver.server
>> >> >
>> >> >I'm unable to connect to my named instance of SQL Server 2005 when
the
>> >> >Browser service isn't running on the server.
>> >> >I do specify the port that the SQL Server instance is listening to
in
>> the
>> >> >connection string, as in SERVER:PORT
>> >> >Is it impossible to connect to an instance of SQL Server when the
>> browser
>> >> >isn't running? I have verified that the server will accept remote
>> >> >connections, and I can connect as soon as I start the browser.
>> >> >
>> >>
>> >>
>> >
>>
>

Connecting without SQL Browser

I'm unable to connect to my named instance of SQL Server 2005 when the
Browser service isn't running on the server.
I do specify the port that the SQL Server instance is listening to in the
connection string, as in SERVER:PORT
Is it impossible to connect to an instance of SQL Server when the browser
isn't running? I have verified that the server will accept remote
connections, and I can connect as soon as I start the browser.Hello,
You may want to check the SQL 2005 process ID in task manager, and then run
the following command to see if the PID is listening on the proper port
netstat -aon
If it is OK, please try to telnet the port from client:
telnet <server name> <port number>
If not, it seems there is firewall blocking the port. Please check
Windows/third party firewall on the server to test
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
========================================
=============
This posting is provided "AS IS" with no warranties, and confers no rights.
--
>Thread-Topic: Connecting without SQL Browser
>thread-index: AcZCiOBLNVbTQlN8TSihYXkvAvuyTQ==
>X-WBNR-Posting-Host: 84.147.139.248
>From: examnotes <pat@.online.nospam>
>Subject: Connecting without SQL Browser
>Date: Wed, 8 Mar 2006 00:18:27 -0800
>Lines: 7
>Message-ID: <87FE193F-FB5E-4CF3-ACA0-6AAA087B9E47@.microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>Newsgroups: microsoft.public.sqlserver.server
>Path: TK2MSFTNGXA03.phx.gbl
>Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:423714
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>X-Tomcat-NG: microsoft.public.sqlserver.server
>I'm unable to connect to my named instance of SQL Server 2005 when the
>Browser service isn't running on the server.
>I do specify the port that the SQL Server instance is listening to in the
>connection string, as in SERVER:PORT
>Is it impossible to connect to an instance of SQL Server when the browser
>isn't running? I have verified that the server will accept remote
>connections, and I can connect as soon as I start the browser.
>|||From the SQL Server log:
Server process ID is 1552
Server is listening on [ 'any' <ipv4> 1743].
Server local connection provider is ready to accept connection on [
\\.\pipe\SQLLocal\S5 ].
Server local connection provider is ready to accept connection on [
\\.\pipe\MSSQL$S5\sql\query ].
Server is listening on [ 127.0.0.1 <ipv4> 1744].
Dedicated admin connection support was established for listening locally on
port 1744.
SQL Server is now ready for client connections. This is an informational
message; no user action is required.
From netstat -aon
TCP 0.0.0.0:1743 0.0.0.0:0 LISTENING 1552
TCP 127.0.0.1:1744 0.0.0.0:0 LISTENING 1552
Connecting with Telnet from the client gives "Connect failed", also when the
Browser is started.
"Peter Yang [MSFT]" wrote:

> Hello,
> You may want to check the SQL 2005 process ID in task manager, and then ru
n
> the following command to see if the PID is listening on the proper port
> netstat -aon
> If it is OK, please try to telnet the port from client:
> telnet <server name> <port number>
> If not, it seems there is firewall blocking the port. Please check
> Windows/third party firewall on the server to test
> Best Regards,
> Peter Yang
> MCSE2000/2003, MCSA, MCDBA
> Microsoft Online Partner Support
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ========================================
=============
>
> This posting is provided "AS IS" with no warranties, and confers no rights
.
>
> --
>|||Hello,
Apparently you have firewall on the server blocks port 1552. Please
temporarily disable firewalls to test the situation. If it works, you could
open port on firwall to solve the problem.
Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
========================================
=============
This posting is provided "AS IS" with no warranties, and confers no rights.
--
>Thread-Topic: Connecting without SQL Browser
>thread-index: AcZCp+TVAS+gwqT9QQy7/KMJ33jN/g==
>X-WBNR-Posting-Host: 84.147.139.248
>From: examnotes <pat@.online.nospam>
>References: <87FE193F-FB5E-4CF3-ACA0-6AAA087B9E47@.microsoft.com>
<ODsJWLqQGHA.5448@.TK2MSFTNGXA03.phx.gbl>
>Subject: RE: Connecting without SQL Browser
>Date: Wed, 8 Mar 2006 04:00:29 -0800
>Lines: 87
>Message-ID: <7F0CD604-75BE-4858-9745-BC6E621A7D15@.microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>Newsgroups: microsoft.public.sqlserver.server
>Path: TK2MSFTNGXA03.phx.gbl
>Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:423729
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>X-Tomcat-NG: microsoft.public.sqlserver.server
>From the SQL Server log:
>Server process ID is 1552
>Server is listening on [ 'any' <ipv4> 1743].
>Server local connection provider is ready to accept connection on [
>\\.\pipe\SQLLocal\S5 ].
>Server local connection provider is ready to accept connection on [
>\\.\pipe\MSSQL$S5\sql\query ].
>Server is listening on [ 127.0.0.1 <ipv4> 1744].
>Dedicated admin connection support was established for listening locally
on
>port 1744.
>SQL Server is now ready for client connections. This is an informational
>message; no user action is required.
>From netstat -aon
>TCP 0.0.0.0:1743 0.0.0.0:0 LISTENING 1552
>TCP 127.0.0.1:1744 0.0.0.0:0 LISTENING 1552
>Connecting with Telnet from the client gives "Connect failed", also when
the
>Browser is started.
>
>"Peter Yang [MSFT]" wrote:
>
run[vbcol=seagreen]
rights.[vbcol=seagreen]
the[vbcol=seagreen]
browser[vbcol=seagreen]
>|||1552 is the process id of sql server in the example.
"Peter Yang [MSFT]" wrote:

> Hello,
> Apparently you have firewall on the server blocks port 1552. Please
> temporarily disable firewalls to test the situation. If it works, you coul
d
> open port on firwall to solve the problem.
> Regards,
> Peter Yang
> MCSE2000/2003, MCSA, MCDBA
> Microsoft Online Partner Support
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ========================================
=============
> This posting is provided "AS IS" with no warranties, and confers no rights
.
>
> --
> <ODsJWLqQGHA.5448@.TK2MSFTNGXA03.phx.gbl>
> on
> the
> run
> rights.
> the
> browser
>|||Hello Pat,
Sorry. My typo. Server port 1743 shall be opened by firewall. Also, client
network shall be configured to 1743 as well.
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
========================================
=============
This posting is provided "AS IS" with no warranties, and confers no rights.
--
>Thread-Topic: Connecting without SQL Browser
>thread-index: AcZMNgMtU2vKHeRwTEqMU7ZbMxx2xA==
>X-WBNR-Posting-Host: 84.147.154.98
>From: examnotes <pat@.online.nospam>
>References: <87FE193F-FB5E-4CF3-ACA0-6AAA087B9E47@.microsoft.com>
<ODsJWLqQGHA.5448@.TK2MSFTNGXA03.phx.gbl>
<7F0CD604-75BE-4858-9745-BC6E621A7D15@.microsoft.com>
<PBj2TK1QGHA.6216@.TK2MSFTNGXA03.phx.gbl>
>Subject: RE: Connecting without SQL Browser
>Date: Mon, 20 Mar 2006 07:50:29 -0800
>Lines: 146
>Message-ID: <B93CC259-A26F-444C-93C7-1155FDC5310C@.microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>Newsgroups: microsoft.public.sqlserver.server
>Path: TK2MSFTNGXA03.phx.gbl
>Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:424932
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>X-Tomcat-NG: microsoft.public.sqlserver.server
>1552 is the process id of sql server in the example.
>"Peter Yang [MSFT]" wrote:
>
could[vbcol=seagreen]
rights.[vbcol=seagreen]
locally[vbcol=seagreen]
informational[vbcol=seagreen]
when[vbcol=seagreen]
then[vbcol=seagreen]
port[vbcol=seagreen]
so[vbcol=seagreen]
the[vbcol=seagreen]
in[vbcol=seagreen]
>

Connecting without SQL Browser

I'm unable to connect to my named instance of SQL Server 2005 when the
Browser service isn't running on the server.
I do specify the port that the SQL Server instance is listening to in the
connection string, as in SERVER:PORT
Is it impossible to connect to an instance of SQL Server when the browser
isn't running? I have verified that the server will accept remote
connections, and I can connect as soon as I start the browser.
Hello,
You may want to check the SQL 2005 process ID in task manager, and then run
the following command to see if the PID is listening on the proper port
netstat -aon
If it is OK, please try to telnet the port from client:
telnet <server name> <port number>
If not, it seems there is firewall blocking the port. Please check
Windows/third party firewall on the server to test
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.
--
>Thread-Topic: Connecting without SQL Browser
>thread-index: AcZCiOBLNVbTQlN8TSihYXkvAvuyTQ==
>X-WBNR-Posting-Host: 84.147.139.248
>From: =?Utf-8?B?UGF0?= <pat@.online.nospam>
>Subject: Connecting without SQL Browser
>Date: Wed, 8 Mar 2006 00:18:27 -0800
>Lines: 7
>Message-ID: <87FE193F-FB5E-4CF3-ACA0-6AAA087B9E47@.microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
>charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>Newsgroups: microsoft.public.sqlserver.server
>Path: TK2MSFTNGXA03.phx.gbl
>Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:423714
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>X-Tomcat-NG: microsoft.public.sqlserver.server
>I'm unable to connect to my named instance of SQL Server 2005 when the
>Browser service isn't running on the server.
>I do specify the port that the SQL Server instance is listening to in the
>connection string, as in SERVER:PORT
>Is it impossible to connect to an instance of SQL Server when the browser
>isn't running? I have verified that the server will accept remote
>connections, and I can connect as soon as I start the browser.
>
|||From the SQL Server log:
Server process ID is 1552
Server is listening on [ 'any' <ipv4> 1743].
Server local connection provider is ready to accept connection on [
\\.\pipe\SQLLocal\S5 ].
Server local connection provider is ready to accept connection on [
\\.\pipe\MSSQL$S5\sql\query ].
Server is listening on [ 127.0.0.1 <ipv4> 1744].
Dedicated admin connection support was established for listening locally on
port 1744.
SQL Server is now ready for client connections. This is an informational
message; no user action is required.
From netstat -aon
TCP 0.0.0.0:1743 0.0.0.0:0 LISTENING 1552
TCP 127.0.0.1:1744 0.0.0.0:0 LISTENING 1552
Connecting with Telnet from the client gives "Connect failed", also when the
Browser is started.
"Peter Yang [MSFT]" wrote:

> Hello,
> You may want to check the SQL 2005 process ID in task manager, and then run
> the following command to see if the PID is listening on the proper port
> netstat -aon
> If it is OK, please try to telnet the port from client:
> telnet <server name> <port number>
> If not, it seems there is firewall blocking the port. Please check
> Windows/third party firewall on the server to test
> Best Regards,
> Peter Yang
> MCSE2000/2003, MCSA, MCDBA
> Microsoft Online Partner Support
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ================================================== ===
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> --
>
|||Hello,
Apparently you have firewall on the server blocks port 1552. Please
temporarily disable firewalls to test the situation. If it works, you could
open port on firwall to solve the problem.
Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.
--
>Thread-Topic: Connecting without SQL Browser
>thread-index: AcZCp+TVAS+gwqT9QQy7/KMJ33jN/g==
>X-WBNR-Posting-Host: 84.147.139.248
>From: =?Utf-8?B?UGF0?= <pat@.online.nospam>
>References: <87FE193F-FB5E-4CF3-ACA0-6AAA087B9E47@.microsoft.com>
<ODsJWLqQGHA.5448@.TK2MSFTNGXA03.phx.gbl>
>Subject: RE: Connecting without SQL Browser
>Date: Wed, 8 Mar 2006 04:00:29 -0800
>Lines: 87
>Message-ID: <7F0CD604-75BE-4858-9745-BC6E621A7D15@.microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
>charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>Newsgroups: microsoft.public.sqlserver.server
>Path: TK2MSFTNGXA03.phx.gbl
>Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:423729
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>X-Tomcat-NG: microsoft.public.sqlserver.server
>From the SQL Server log:
>Server process ID is 1552
>Server is listening on [ 'any' <ipv4> 1743].
>Server local connection provider is ready to accept connection on [
>\\.\pipe\SQLLocal\S5 ].
>Server local connection provider is ready to accept connection on [
>\\.\pipe\MSSQL$S5\sql\query ].
>Server is listening on [ 127.0.0.1 <ipv4> 1744].
>Dedicated admin connection support was established for listening locally
on
>port 1744.
>SQL Server is now ready for client connections. This is an informational
>message; no user action is required.
>From netstat -aon
>TCP 0.0.0.0:1743 0.0.0.0:0 LISTENING 1552
>TCP 127.0.0.1:1744 0.0.0.0:0 LISTENING 1552
>Connecting with Telnet from the client gives "Connect failed", also when
the[vbcol=seagreen]
>Browser is started.
>
>"Peter Yang [MSFT]" wrote:
run[vbcol=seagreen]
rights.[vbcol=seagreen]
the[vbcol=seagreen]
browser
>
|||1552 is the process id of sql server in the example.
"Peter Yang [MSFT]" wrote:

> Hello,
> Apparently you have firewall on the server blocks port 1552. Please
> temporarily disable firewalls to test the situation. If it works, you could
> open port on firwall to solve the problem.
> Regards,
> Peter Yang
> MCSE2000/2003, MCSA, MCDBA
> Microsoft Online Partner Support
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ================================================== ===
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> --
> <ODsJWLqQGHA.5448@.TK2MSFTNGXA03.phx.gbl>
> on
> the
> run
> rights.
> the
> browser
>
|||Hello Pat,
Sorry. My typo. Server port 1743 shall be opened by firewall. Also, client
network shall be configured to 1743 as well.
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.
--
>Thread-Topic: Connecting without SQL Browser
>thread-index: AcZMNgMtU2vKHeRwTEqMU7ZbMxx2xA==
>X-WBNR-Posting-Host: 84.147.154.98
>From: =?Utf-8?B?UGF0?= <pat@.online.nospam>
>References: <87FE193F-FB5E-4CF3-ACA0-6AAA087B9E47@.microsoft.com>
<ODsJWLqQGHA.5448@.TK2MSFTNGXA03.phx.gbl>
<7F0CD604-75BE-4858-9745-BC6E621A7D15@.microsoft.com>
<PBj2TK1QGHA.6216@.TK2MSFTNGXA03.phx.gbl>[vbcol=seagreen]
>Subject: RE: Connecting without SQL Browser
>Date: Mon, 20 Mar 2006 07:50:29 -0800
>Lines: 146
>Message-ID: <B93CC259-A26F-444C-93C7-1155FDC5310C@.microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
>charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>Newsgroups: microsoft.public.sqlserver.server
>Path: TK2MSFTNGXA03.phx.gbl
>Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.server:424932
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>X-Tomcat-NG: microsoft.public.sqlserver.server
>1552 is the process id of sql server in the example.
>"Peter Yang [MSFT]" wrote:
could[vbcol=seagreen]
rights.[vbcol=seagreen]
locally[vbcol=seagreen]
informational[vbcol=seagreen]
when[vbcol=seagreen]
then[vbcol=seagreen]
port[vbcol=seagreen]
so[vbcol=seagreen]
the[vbcol=seagreen]
in
>

Friday, February 10, 2012

Connecting to SQL Server from a Web Service: login failed.

I'm using SQL Server 2005 Developer Edition on Windows XP SP2 with this
setting:
<add name="SqlServerTrustedConn"
providerName="System.Data.SqlClient"
connectionString="Data Source=localhost;Initial
Catalog=GTSDB;Integrated Security=SSPI;" />
All worked great with my windows application.
Now I've copied the DAL of the windows application into a Web Service
project and when I open a connection I get the following exception:
Cannot open database "GTSDB" requested by the login. The login failed.
Login failed for user 'PCNAME\ASPNET'.
Since remote connections are disabled by default I've used the Surface Area
Configuration tool to enable them.
Then I've created a SQL login for the ASPNET account:
CREATE LOGIN [PCNAME\ASPNET] FROM WINDOWS
Since it didn't work I deleted the SQL login for the ASPNET account:
DROP LOGIN [PCNAME\ASPNET]
I've determined that PCNAME\WINDOWSUSER is the database owner:
select suser_sname(owner_sid) from sys.databases where name = 'GTSDB'
I've verified that 'sa' is the database owner according to the information
stored in the database itself:
select suser_sname(sid) from sysusers where uid = user_id('dbo')
I've found that the PCNAME\ASPNET login is not mapped to any user in the
database (the below query did not return a row):
(select * from sysusers where sid = suser_sid('PCNAME\ASPNET'))
I've done the mapping:
CREATE USER [PCNAME\ASPNET] (DROP USER [PCNAME\ASPNET] to reset to
initial state)
I've verified that the user had permission to connect to the database:
select * from sys.database_permissions where grantee_principal_id =
user_id('user_name')
I've tried changing localhost to 192.168.x.x receiving the following
exception even if I enable mixed mode:
Login failed for user ''. The user is not associated with a trusted SQL
Server connection.
What can I do?
Thanks,
Luigi.
Have you considered running the ASP.NET application under a user account
which has access to the database? Giving anything access to the ASP.NET
account is generally a bad idea. Create an account specifically for your
application and then configure the app to run under that account. Then give
that account the appropriate persmissions in the database.
- Nicholas Paldino [.NET/C# MVP]
- mvp@.spam.guard.caspershouse.com
"BLUE" <blue> wrote in message news:OrZOoI5qHHA.3248@.TK2MSFTNGP03.phx.gbl...
> I'm using SQL Server 2005 Developer Edition on Windows XP SP2 with this
> setting:
> <add name="SqlServerTrustedConn"
> providerName="System.Data.SqlClient"
> connectionString="Data Source=localhost;Initial
> Catalog=GTSDB;Integrated Security=SSPI;" />
>
> All worked great with my windows application.
> Now I've copied the DAL of the windows application into a Web Service
> project and when I open a connection I get the following exception:
> Cannot open database "GTSDB" requested by the login. The login failed.
> Login failed for user 'PCNAME\ASPNET'.
>
> Since remote connections are disabled by default I've used the Surface
> Area Configuration tool to enable them.
> Then I've created a SQL login for the ASPNET account:
> CREATE LOGIN [PCNAME\ASPNET] FROM WINDOWS
> Since it didn't work I deleted the SQL login for the ASPNET account:
> DROP LOGIN [PCNAME\ASPNET]
> I've determined that PCNAME\WINDOWSUSER is the database owner:
> select suser_sname(owner_sid) from sys.databases where name = 'GTSDB'
> I've verified that 'sa' is the database owner according to the information
> stored in the database itself:
> select suser_sname(sid) from sysusers where uid = user_id('dbo')
> I've found that the PCNAME\ASPNET login is not mapped to any user in the
> database (the below query did not return a row):
> (select * from sysusers where sid = suser_sid('PCNAME\ASPNET'))
> I've done the mapping:
> CREATE USER [PCNAME\ASPNET] (DROP USER [PCNAME\ASPNET] to reset to
> initial state)
> I've verified that the user had permission to connect to the database:
> select * from sys.database_permissions where grantee_principal_id =
> user_id('user_name')
>
> I've tried changing localhost to 192.168.x.x receiving the following
> exception even if I enable mixed mode:
> Login failed for user ''. The user is not associated with a trusted SQL
> Server connection.
>
> What can I do?
>
> Thanks,
> Luigi.
>
|||BLUE (blue) writes:
> I'm using SQL Server 2005 Developer Edition on Windows XP SP2 with this
> setting:
><add name="SqlServerTrustedConn"
> providerName="System.Data.SqlClient"
> connectionString="Data Source=localhost;Initial
> Catalog=GTSDB;Integrated Security=SSPI;" />
>
> All worked great with my windows application.
> Now I've copied the DAL of the windows application into a Web Service
> project and when I open a connection I get the following exception:
And does the web server run on the same machine as the SQL Server? Well,
apparently there is an SQL Server instance on the web server, since you
get an error message like:

> Cannot open database "GTSDB" requested by the login. The login failed.
> Login failed for user 'PCNAME\ASPNET'.
But is it the right instance? That is, the one with the GTSDB database?
I ask this, because you later say:

> I've tried changing localhost to 192.168.x.x receiving the following
> exception even if I enable mixed mode:
> Login failed for user ''. The user is not associated with a trusted SQL
> Server connection.
That indicates that you now specify a different server? Or is
192.168.x.x the address of your machine?
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
|||>
> What can I do?
> <add name="SqlServerTrustedConn"
> providerName="System.Data.SqlClient"
> connectionString="Data Source=localhost;Initial
> Catalog=GTSDB;Integrated Security=SSPI;" />
You need to take out the Integrated Security and use a generic user-id and
psw.
The user-id and psw needs to be created for the SQL Server database with the
appropriate access permissions to access the database.
|||Sorry, I've forgot saying that localhost, 127.0.0.1, 192.168.x.x all refers
to the same machine, that is my only one pc on wich I have XP SP2, IIS and
SQL Server 2005 Developer edition.
I'm not an expert administrator so I simply installed IIS and SQL Server
without creating multiple instances or somethin strange.
I only know that with my windows app and the same connection string all
works and I think this means the instance is only one and with the GTSDB
inside.

> Have you considered running the ASP.NET application under a user account
> which has access to the database?
> Create an account specifically for your application and then configure the
> app to run under that account.
> Then give that account the appropriate persmissions in the database.
Sorry for my "newbieness" but I do not now how to do the things you have
suggested me :-(
Thanks,
Luigi.
|||Mr. Arnold (MR. Arnold@.Arnold.com) writes:
> You need to take out the Integrated Security and use a generic user-id and
> psw.
> The user-id and psw needs to be created for the SQL Server database with
> the appropriate access permissions to access the database.
Since "BLUE" did not seem to know this, here are the steps:
First make sure SQL Server runs in mixed mode. (You seemed to know how to do
that).
Then:
CREATE LOGIN mygenericuser WITH PASSWORD='VeRy Str8Ng P@.wrd'
and in the target database:
CREATE USER mygenericuser
In the connection string, replace "Integrated Securuty=SSPI" with
"User ID=MyGenericUser;Password={VeRy Str8Ng P@.wrd}".
Now I have a question for the ASP .Net folks: why is the build in
ASPNET login to good to use?
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
|||You have saved me!
Thank you very much,
Luigi.
|||> Now I have a question for the ASP .Net folks: why is the build in
> ASPNET login to good to use?
I don't think it's "to good" to use, but generally the database server
is different from the webserver. The ASPNET account (or NETWORK SERVICES)
is a local account (local to the webserver that is), and is not know
on the db-server. So either you use a domain account or integrated security.
Hans Kesting
|||It was with integrated security that didn't work for me.
I'm curious to know a working integrated security connection string or way
to use integrated security from ASP.NET web service.
Bye,
Luigi.
|||Hans Kesting (news.2.hansdk@.spamgourmet.com) writes:
>
> I don't think it's "to good" to use, but generally the database server
> is different from the webserver. The ASPNET account (or NETWORK
> SERVICES) is a local account (local to the webserver that is), and is
> not know on the db-server. So either you use a domain account or
> integrated security.
Sorry, I meant to say "...login not good to use".
Thanks for the information about ASPNET being a local account, and thus
will not work when the database server is on a different box. That does
not seem to be the case for BLUE - but that might only be as long as he
is developing. The day he deploys it, they may be on different boxes,
and then integrated security is not going to work then.
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

Connecting to SQL Server from a Web Service: login failed.

I'm using SQL Server 2005 Developer Edition on Windows XP SP2 with this
setting:
<add name="SqlServerTrustedConn"
providerName="System.Data.SqlClient"
connectionString="Data Source=localhost;Initial
Catalog=GTSDB;Integrated Security=SSPI;" />
All worked great with my windows application.
Now I've copied the DAL of the windows application into a Web Service
project and when I open a connection I get the following exception:
Cannot open database "GTSDB" requested by the login. The login failed.
Login failed for user 'PCNAME\ASPNET'.
Since remote connections are disabled by default I've used the Surface Area
Configuration tool to enable them.
Then I've created a SQL login for the ASPNET account:
CREATE LOGIN [PCNAME\ASPNET] FROM WINDOWS
Since it didn't work I deleted the SQL login for the ASPNET account:
DROP LOGIN [PCNAME\ASPNET]
I've determined that PCNAME\WINDOWSUSER is the database owner:
select suser_sname(owner_sid) from sys.databases where name = 'GTSDB'
I've verified that 'sa' is the database owner according to the information
stored in the database itself:
select suser_sname(sid) from sysusers where uid = user_id('dbo')
I've found that the PCNAME\ASPNET login is not mapped to any user in the
database (the below query did not return a row):
(select * from sysusers where sid = suser_sid('PCNAME\ASPNET'))
I've done the mapping:
CREATE USER [PCNAME\ASPNET] (DROP USER [PCNAME\ASPNET] to reset
to
initial state)
I've verified that the user had permission to connect to the database:
select * from sys.database_permissions where grantee_principal_id =
user_id('user_name')
I've tried changing localhost to 192.168.x.x receiving the following
exception even if I enable mixed mode:
Login failed for user ''. The user is not associated with a trusted SQL
Server connection.
What can I do?
Thanks,
Luigi.Have you considered running the ASP.NET application under a user account
which has access to the database? Giving anything access to the ASP.NET
account is generally a bad idea. Create an account specifically for your
application and then configure the app to run under that account. Then give
that account the appropriate persmissions in the database.
- Nicholas Paldino [.NET/C# MVP]
- mvp@.spam.guard.caspershouse.com
"BLUE" <blue> wrote in message news:OrZOoI5qHHA.3248@.TK2MSFTNGP03.phx.gbl...
> I'm using SQL Server 2005 Developer Edition on Windows XP SP2 with this
> setting:
> <add name="SqlServerTrustedConn"
> providerName="System.Data.SqlClient"
> connectionString="Data Source=localhost;Initial
> Catalog=GTSDB;Integrated Security=SSPI;" />
>
> All worked great with my windows application.
> Now I've copied the DAL of the windows application into a Web Service
> project and when I open a connection I get the following exception:
> Cannot open database "GTSDB" requested by the login. The login failed.
> Login failed for user 'PCNAME\ASPNET'.
>
> Since remote connections are disabled by default I've used the Surface
> Area Configuration tool to enable them.
> Then I've created a SQL login for the ASPNET account:
> CREATE LOGIN [PCNAME\ASPNET] FROM WINDOWS
> Since it didn't work I deleted the SQL login for the ASPNET account:
> DROP LOGIN [PCNAME\ASPNET]
> I've determined that PCNAME\WINDOWSUSER is the database owner:
> select suser_sname(owner_sid) from sys.databases where name = 'GTSDB'
> I've verified that 'sa' is the database owner according to the information
> stored in the database itself:
> select suser_sname(sid) from sysusers where uid = user_id('dbo')
> I've found that the PCNAME\ASPNET login is not mapped to any user in the
> database (the below query did not return a row):
> (select * from sysusers where sid = suser_sid('PCNAME\ASPNET'))
> I've done the mapping:
> CREATE USER [PCNAME\ASPNET] (DROP USER [PCNAME\ASPNET] to rese
t to
> initial state)
> I've verified that the user had permission to connect to the database:
> select * from sys.database_permissions where grantee_principal_id =
> user_id('user_name')
>
> I've tried changing localhost to 192.168.x.x receiving the following
> exception even if I enable mixed mode:
> Login failed for user ''. The user is not associated with a trusted SQL
> Server connection.
>
> What can I do?
>
> Thanks,
> Luigi.
>|||BLUE (blue) writes:
> I'm using SQL Server 2005 Developer Edition on Windows XP SP2 with this
> setting:
><add name="SqlServerTrustedConn"
> providerName="System.Data.SqlClient"
> connectionString="Data Source=localhost;Initial
> Catalog=GTSDB;Integrated Security=SSPI;" />
>
> All worked great with my windows application.
> Now I've copied the DAL of the windows application into a Web Service
> project and when I open a connection I get the following exception:
And does the web server run on the same machine as the SQL Server? Well,
apparently there is an SQL Server instance on the web server, since you
get an error message like:

> Cannot open database "GTSDB" requested by the login. The login failed.
> Login failed for user 'PCNAME\ASPNET'.
But is it the right instance? That is, the one with the GTSDB database?
I ask this, because you later say:

> I've tried changing localhost to 192.168.x.x receiving the following
> exception even if I enable mixed mode:
> Login failed for user ''. The user is not associated with a trusted SQL
> Server connection.
That indicates that you now specify a different server? Or is
192.168.x.x the address of your machine?
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx|||>
> What can I do?
> <add name="SqlServerTrustedConn"
> providerName="System.Data.SqlClient"
> connectionString="Data Source=localhost;Initial
> Catalog=GTSDB;Integrated Security=SSPI;" />
You need to take out the Integrated Security and use a generic user-id and
psw.
The user-id and psw needs to be created for the SQL Server database with the
appropriate access permissions to access the database.|||Sorry, I've forgot saying that localhost, 127.0.0.1, 192.168.x.x all refers
to the same machine, that is my only one pc on wich I have XP SP2, IIS and
SQL Server 2005 Developer edition.
I'm not an expert administrator so I simply installed IIS and SQL Server
without creating multiple instances or somethin strange.
I only know that with my windows app and the same connection string all
works and I think this means the instance is only one and with the GTSDB
inside.

> Have you considered running the ASP.NET application under a user account
> which has access to the database?
> Create an account specifically for your application and then configure the
> app to run under that account.
> Then give that account the appropriate persmissions in the database.
Sorry for my "newbieness" but I do not now how to do the things you have
suggested me :-(
Thanks,
Luigi.|||Mr. Arnold (MR. Arnold@.Arnold.com) writes:
> You need to take out the Integrated Security and use a generic user-id and
> psw.
> The user-id and psw needs to be created for the SQL Server database with
> the appropriate access permissions to access the database.
Since "BLUE" did not seem to know this, here are the steps:
First make sure SQL Server runs in mixed mode. (You seemed to know how to do
that).
Then:
CREATE LOGIN mygenericuser WITH PASSWORD='VeRy Str8Ng P@.wrd'
and in the target database:
CREATE USER mygenericuser
In the connection string, replace "Integrated Securuty=SSPI" with
"User ID=MyGenericUser;Password={VeRy Str8Ng P@.wrd}".
Now I have a question for the ASP .Net folks: why is the build in
ASPNET login to good to use?
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx|||
> Now I have a question for the ASP .Net folks: why is the build in
> ASPNET login to good to use?
That's a good question. I'll be interested in seeing an answer.|||You have saved me!
Thank you very much,
Luigi.|||> Now I have a question for the ASP .Net folks: why is the build in
> ASPNET login to good to use?
I don't think it's "to good" to use, but generally the database server
is different from the webserver. The ASPNET account (or NETWORK SERVICES)
is a local account (local to the webserver that is), and is not know
on the db-server. So either you use a domain account or integrated security.
Hans Kesting|||It was with integrated security that didn't work for me.
I'm curious to know a working integrated security connection string or way
to use integrated security from ASP.NET web service.
Bye,
Luigi.