Cannot connect to SQLEXPRESS via MS Enterprise Library??




Windows XP
MS SQLExpress
VS 2003
..NET 1.x SP1 {for Application}
..NET 2.0 {for SQLExpress}
MS Enterprise Library June 2005

This works from a command prompt

osql -E -S localhost\SQLEXPRESS
use <MyDatabase>
select * from <MyTable>
go

However on the same machine, attempting to use this
dataconfiguration.xml entry throws "SQL Server does not exist or access
is denied":

<connectionString name="SqlServerLocalHost">
<parameters>
<parameter name="database" value="<MyDatabase>"
isSensitive="false" />
<parameter name="Integrated Security" value="True"
isSensitive="false" />
<parameter name="server" value="localhost\SQLEXPRESS"
isSensitive="false" />
</parameters>
</connectionString>

Any ideas? Thanx in advance for your help...

.



Relevant Pages

  • Re: Unable to delete
    ... the Command Prompt to help with the typing. ... figured that out from a previous Windows Properties question I ... Since this is a system rebuild, I still need to get a full backup ... does not exist on the main drives. ...
    (microsoft.public.windowsxp.basics)
  • Win2k - Bypassing cmd.exe restrictions
    ... Windows 2000 allows an administrator to lock down access to ... The 'disable the command prompt' option has an extra setting ... If the 'command prompt script processing' is NOT disabled and cmd.exe ... access to edit this registry key, so to bypass the check we ...
    (Pen-Test)
  • Re: Need help with netstat and connections running in background
    ... Right click on the cmd Title bar, point to Edit and click on Select All. ... Alt + Spacebar opens context menu ... You can type in a command prompt: ... How to start Windows in Safe Mode Windows XP ...
    (microsoft.public.windowsxp.general)
  • Re: File association problem
    ... When dealing with Command Prompt commands, ... Adds the association of .Lst with Notepad.Exe. ... I don't know where the executable is located for the Windows Picte ... "Registry Editor: ...
    (microsoft.public.windowsxp.general)
  • Re: cant open command prompt (cmd.exe)
    ... There are Group Policies that could be in force. ... Prevent access to the command prompt ... the Processes tab opens with ntvdm.exe highlighted. ... The default OEM code page in Windows NT is the DOS 437 code page. ...
    (microsoft.public.windowsxp.help_and_support)