Sql Server Express 2005 Newbie: Bcp Utility

Mar 8, 2008

I'm trying to learn how to use the bcp utility... but I keep getting an error message that says:

SQLState = 08001, NativeError = 2
Error = [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [2].
SQLState = HYT00, NativeError = 0
Error = [Microsoft][SQL Native Client]Login timeout expired
SQLState = 08001, NativeError = 2
Error = [Microsoft][SQL Native Client]An error has occurred while establishing a connection to the s
erver. When connecting to SQL Server 2005, this failure may be caused by the fact that under the def
ault settings SQL Server does not allow remote connections.

 The command i'm running is:

bcp territore.dbo.import in territorydata.csv -T -c

territore is my database name... and dbo i think is the owner name.

and the table is called Import

I don't know how to check the default settings to see if remote connections are enabled.  Any help would be appreciated.

View 6 Replies


ADVERTISEMENT

SQL Server Express Utility: How Can I Install SSEUtil.exe In My PC? How Can I Use It To Interact With SQL Server Express?

Nov 12, 2007

Hi all,

I downloaded the SSEUtilSetup.EXE and extracted the SSEUtil.exe to a folder of C:drive of my PC that is Windows XP Pro. I plan to learn the CLR programming via user-instance of SQL Server Express. I need to have SQL Server Express Utility installed. Please help and tell me how I can install SSEUtil.exe in my PC and how I use it to interact with SQL Server Express.

Thanks,
Scott Chang

View 2 Replies View Related

Exporting A Table To Excel Using Bcl Utility (Newbie)

Oct 25, 2006

I am trying to learn SQL 2005 Express and I am having a problem exporting (if that is the correct word) a table to Excel.

I have created a view in the Northwind database called MyCustomerView and want to practice working with the table.

From the command prompt:

bcp Northwind.dbo.MyCustomerView out MCV.xls -S -T

I then get the error message:

c:> bcp Northwind.dbo.MyCustomerView out MCV.xls -S -T

SQLState = 08001, NativeError = 10061

Error = [Microsoft][SQL Native Client]TCP Provider: No connection could be made because the target machine actively refused it.

SQLState = HYT00, NativeError = 0

Error = [Microsoft][SQL Native Client]Login timeout expired

SQLState = 08001, NativeError = 10061

Error = [Microsoft][SQL Native Client]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.

This is on a single machine running Widows XP Home.

Help Please

View 2 Replies View Related

SSEUtil.exe SQL Server Express Utility

Jan 22, 2006

All,

When I try to start the SQL Server Express Utility (SSEUtil.exe), I get the following crash output message below ...

I have checked all of my instances. The all work with windows authentication and sql server authentication.

I have used the surface area configration manager to allow 'everything' and rebooted my machine.

I have tested each through osql. I have turned my firewall on an off. The problem stilll persists.

Could this have something to do with my SQL Services running under the local account?

Y:All_DatabaseMSsSQLServerSQLServerExpressUtilityJan2006Extracted>SSEUtil.exe -consolewnd -server HOME -user sa -password mypass -timeout 60

Unhandled Exception: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Versi
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Console.SetOut(TextWriter newOut)
at SSEUtil.ConsoleHandler.EnsureRedirectOutputStream()
at SSEUtil.Program.Main(String[] args)
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.SecurityPermission
The first permission that failed was:
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="UnmanagedCode"/>

The demand was for:
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="UnmanagedCode"/>

The granted set of the failing assembly was:
<PermissionSet class="System.Security.PermissionSet"
version="1">
<IPermission class="System.Security.Permissions.FileDialogPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Access="Open"/>
<IPermission class="System.Security.Permissions.IsolatedStorageFilePermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Allowed="ApplicationIsolationByUser"
UserQuota="512000"/>
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="Execution"/>
<IPermission class="System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Window="SafeTopLevelWindows"
Clipboard="OwnClipboard"/>
<IPermission class="System.Security.Permissions.UrlIdentityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Url="file:///Y:/All_DatabaseMSs/SQLServer/SQLServerExpressUtilityJan2006Extracted/SSEUtil.exe"/>
<IPermission class="System.Security.Permissions.ZoneIdentityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Zone="Internet"/>
<IPermission class="System.Drawing.Printing.PrintingPermission, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
version="1"
Level="SafePrinting"/>
</PermissionSet>

The assembly or AppDomain that failed was:
SSEUtil, Version=1.0.2130.35318, Culture=neutral, PublicKeyToken=null
The method that caused the failure was:
Void EnsureRedirectOutputStream()
The Zone of the assembly that failed was:
Internet
The Url of the assembly that failed was:
file:///Y:/All_DatabaseMSs/SQLServer/SQLServerExpressUtilityJan2006Extracted/SSEUtil.exe

Y:All_DatabaseMSsSQLServerSQLServerExpressUtilityJan2006Extract



Any Ideas ?

Thanks,

AIMDBA

View 9 Replies View Related

Newbie To Remote SQL 2005 Express - Need Roles/security Advice

Aug 30, 2006

Hi,I'm
building an asp.net website using web developer express and I have a
SQL 2005 express install on the same machine.  Using windows security,
everything works fine for development.Now I need to get it working at the client site, where the web server and SQL 2005 Express are on different machines.I'd
tried using windows authentication but that didn't work, probably
wasn't doing it correctly.  I'd like to try SQL Authentication, at least temporarily, since I
can replicate that on my laptop at home easily I think.I created a new SQL login but was really baffled by the screens showing roles and schemas, etc.   There's so many roles to choose from and wasn't sure if this new login needed to own any schemas. I
did turn on remote connections and mixed-mode authentication, the
probably now is my asp.net membership provider login page isn't
authenticating correctly, maybe my permissions are wrong on the
aspnet_.....  tables for users, roles, profiles, etc. Any advice?thanks,Bruce

View 3 Replies View Related

Newbie - SQL Server Express And Other Stuff

Feb 16, 2008

Hi

View 1 Replies View Related

How To Apply SQL Server 2005 Express SP1 To The Version Of SQL Server 2005 Express Which Installs With Visual Studio 2005?

Aug 8, 2006

When I installed VS 2005, it installed the default version of SQL Server 2005 Express that ships with Visual Studio 2005 installer media.

How can apply SQL Server 2005 Express SP1 to update this existing instance?

Currently, if I run this query:

SELECT @@version

I get the following:

Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) Oct 14 2005 00:33:37 Copyright (c) 1988-2005 Microsoft Corporation Express Edition on Windows NT 5.1 (Build 2600: Service Pack 2)

After applying SP1, I should get 9.00.2047.00.


Should I just go to this link and download & install the SQL Server 2005 Express Edition SP1:

http://msdn.microsoft.com/vstudio/express/sql/download/


Thank you,

Bashman

View 11 Replies View Related

SQL Express Uninstall Utility

Mar 31, 2008

I just installed SQL over an expired version of Express and can't get the SQL server service to start. Does anyone know of a utility that will clean the registry of everything SQL (after I uninstall 2005)

View 3 Replies View Related

Newbie In SQL Server 2005

May 20, 2007

Good day. Is there any version of SQL server 2005(not include Express Edition) same as SQL server 2000 Personal edition ? I am planning to install new SQL server 2005 in my pc now. I am using Windows XP SP2 now. I tried to install to Entreprise Trial version, unfortunately it just works as client. Thank you in advance.


Regards,
Anson

View 3 Replies View Related

SQL Server 2005 Newbie

Aug 7, 2006

I am relatively new to SQL Server and I have 2005. I am developing a database with an Access ADP frontend. The development is taking place on my laptop running a separate instance of SQL Server. I am trying to put the database on the production server and I am not sure how to proceed.

My laptop is not part of the network so I need to create a file and then import it on the SQL Server instance running on the production server. I thought I could do a backup and restore, but apparently that is not working.

Any help would be greatly appreciated.

View 4 Replies View Related

Newbie Question About SQL Server 2005

May 12, 2007

Hi, I have a very newbie question.I have been only developing websites locally on my computer (during my learning curve) and never actually put anything up in a server on internet, but I just bought a server from discountasp.net and an extra SQL 2005 Database.Now I need to put my database on that server (copy the local one) I know I have a connection string and username and password. But I really do not have any ideas how to do this.I would appreciate if you tell me where to start and what I should do at this stage.Thank you and have a good day. 

View 4 Replies View Related

MS SQL Server 2005 Newbie Tutorials Available?

Aug 29, 2006

I am trying to learn MS Sql Server and MS VB, ASP, .Net, etc., have installed SQL Server 2005 and Visual Studio 2005 on an XP Pro machine. I find fairly good MSDN help with VB & ASP stuff, but not with SQL Server. Can anyone recommend a good place to start, like online tutorials, or training, or even a good basic book that can show me how to create db’s, tables, load data, basic stuff like that?

View 3 Replies View Related

Install Help For SQL Server 2005 Newbie

Feb 28, 2006

I want to install SQL Server so at least the tables are stored on a D: drive rather than the default C: drive. If I can get the whole thing there, it would be best.

While installing S.S. the first time, I only came across one place to change a directory. After changing it, tables were still placed on the C: drive.

I am working with SQL Server 2005 Standard edition and using default settings, except for the directory of course.

Thanks for your help.

Steve

View 1 Replies View Related

Upgrading From Sql Server 2005 Express Edition To Sql Server 2005 Express With Advanced Services

Oct 4, 2006

If i have been using sql server 2005 express for developing my application and i decide to upgrade to sql server 2005 express with advanced services while still working on the same application, what will happen to my  application's database. Can i be able to continue with my work with out any major regrets.

View 1 Replies View Related

Edited Data Won't Propagate Back To The Database (VB 2005 Express &&amp; SQL Server 2005 Express)

Dec 11, 2006



Hi,

I'm trying to learn some VB programming with the VB 2005 Express Absolute Beginner Series video tutorials (which I think is great) and have come across a problem that I can't solve.

When I follow the instructions in Lesson 9 (Databinding Data to User Interface Controls) my application will display the data from the database correctly and I can edit it (and as long as the debugger is running the data remains changed). However, the changes won't propagate back to the database. I don't get any error messages but after I edit the data, save (with the save button on the BindingNavigator toolbar), and end debugging the data in my database remains unchanged. When I use a MessageBox to show how many rows where edited/updated in the

Me.myTableTableAdapter.Update(Me.myDatabaseDataSet.myTable)

I get the correct number back. I'm sure the problem is not due to coding errors since I've also tried running the accompanying Lesson 9 project file that can be downloaded from MSDN and the problem persists.

I'm using Windows XP SP2, SQL Server 2005 Express Edition and VB 2005 Express Edition. I've tried installing SQL Server 2005 Express with a number of different settings, including default settings, but it doesn't make any difference.

Would greatly appreciate any feedback on this as I'm keen to resolve this problem so I can get on with the next tutorial lesson.

Thanks,
Ieyasu

View 6 Replies View Related

Newbie Sql Server 2005 Question About Dimension

Jan 8, 2008



Hi ,
Can i make a dimension from only one table in data source views?
And is possible add dimension without Wizard?
Thanks a lot
Fabrizio

View 1 Replies View Related

How Can I Onnect Visual Basic Express 2005 To A Remote SQL Server Express 2005?

Sep 13, 2006

HiIm trying to connect Visual Basic Express 2005 to a remote SQL Server Express 2005. I cant find how i can do that in VB.net Express.In Web developer there are no problem to connect to a remote SQL server but i cant find it in VB.net Express. The XP with the SQL server that i want to connect to is on the local network. Greatful for help!

View 1 Replies View Related

Visual Basic 2005 Express And SQL Server 2005 Express - Display Image

Jun 13, 2007

Hi Guys,
I created a Product database table using Visual Basic 2005 Express and SQL Server 2005 Express. I have just added a new column [Picture] to the database table, which of course, should store an image or picture of a product. I am writing to kindly ask you guys for help .


i) How do I include image files into this column [Picture]?
ii) How do I get this image to display on Visual Basic 2005 Express form, so that when a product is selected the product image is displayed accordingly?


Your help much appreciated. Thanks.

Paul

View 8 Replies View Related

Can't Connect From WMI, But Witout Problems Wiht The Management Express Utility

Dec 21, 2006

Been I have stopped a lot of days to begin to use the SQL Server 2005 Express edition, that's installs Visual Studio prof 2005.
I tried to inspect SQL Express installation via the windowsXP WMI tool "Microsoft Management Console" and their "Servers Microsoft SQL Server" branch, on is visible the SQL express instance recently installed named "<serverName>SQLEXPRESS". But when I try to open connect, I obtain an error about "Can't establish connection ...  reason:[SQL-DMO] ... verify your registry properties on SQL Server..." (more or less it's traslation to english)
I thought that is a login problem ... I make test over this think without results... Them I install the "SQL Server management studio express" utility, and YES I can connect and use the SQL server without problems ...
GRRRRR !!!! a lot of dais stoped ... but I don't understand why can't open the server instance on the "windows management console" because I really have permisions correctly, like see on the "SQL Server management studio express" utility.
I'm ussing windows integrated security.

View 1 Replies View Related

Visual Basic .NET 2005 Express && Sql Server 2005 Express Remote Server

Mar 12, 2007

Hi,
 I want to make a component library in Visual Basic.NET and connect to a remote Sql Server. When I create a new DataSet with the wizard, I can only connect to a .mdf file, but not to a Sql Server. With Visual Web Developer I can connect to a Sql server. What is the difference between these enviroments ? How can I do the same with Visual Basic.NET ?
 Thanks in advance.

View 1 Replies View Related

Upgrading From 'SQL Server Express 2005' To 'SQL Server Express 2005 With Advance Services'

Apr 20, 2006

Currently I have following things installed on my Computer





1. SQL Server Express 2005

2. SQL Server Management Studio Express 2005 CTP



I need to install following things

A. Microsoft SQL Server 2005 Express Edition with Advanced Services

B. Microsoft SQL Server 2005 Express Edition Toolkit



Do I need to uninstall any any of 1 or 2?

What should be my path to upgrade these software.









View 8 Replies View Related

SQL Server 2005 Managment Studio Newbie: Can't See Stored Procedure

Oct 3, 2006

I just created a stored procedure in SQL Server 2005 management studio.  I went to my db and expanded the programmability folder then right clicked the stored procedures folder and created a stored procedure.  I saved the procedure as sp_getDistance in the default folder SQL managment studio picked.  Now when I went back to that stored procedure folder I did not see my stored procedure sp_getDistance, all that was there was the system stored procedure folder.  Did I save the stored procedure in the wrong place, or what did I do wrong.  I can't find the procedure anywhere, its just sitting in my My DocumentsSQL Server Management StudioProjectssp_getDistance.sql folder. Thanks,Kyle Spitzer 

View 1 Replies View Related

Newbie Question, Moving Data Between Sql Server 2000 And 2005

Jun 7, 2006

Hi,

I'm a newbie on SSIS and am trying to grasp my way through this.



I am trying to copy data from a Sql Server 2000 database to a simplified table in Sql Server 2005 database.



What I want is to move the data to a staging table, then drop the main
table and rename the staging table to the main table, to minimize the
down-time of the data. I can't get the workflow to work, because the
staging table has to exist when I run the package. I thought I could
use an "Execute SQL" task to generate the table before I would run the
task, but that doesn't work. Am I going about this the wrong way? Is
there an optimal solution to this problem so my data can be accessible
as much as possible.



Regards,

Atli

View 5 Replies View Related

Newbie Question: How To Move A Package From BIDS To SQL Server 2005

Feb 8, 2006

HI,

I have problems with executing packages in the SQL Server 2005 and before I go into the details I would like to check, if my workflow is correct.

Can someone explain me the best way to move a package from BIDS to a SQL Server? I would like to store the packages in the SQL Server.

In addition if I login to Integration Services with SQL Server Management Studio I can see in the folder "stored packages" my package but I cannot view the folder "MSDB". Ususally I receive an error message from the named pipe provider, that I could not connect to the server (I am using Windows Authentication and my login is an administrator on the SLQ Server box)



Thanks in advvance

Nobs

View 3 Replies View Related

Newbie Question- SQL Server 2005 Management Studio(how To Install SISS)

Nov 1, 2007



Hi all,

Im currently using SQL server 2005 Management Studio. I need to export files from SQL database to Access database.
But I dun think SISS is installed. Can anyone advise where to look for the file to install? Thks in advance.

Wee

View 5 Replies View Related

SQL Express Newbie

Oct 14, 2006

I am using SQL Express as my local database on my laptop. I have connected to a remote sql server 2003 within SQL Server Management Studio Express. I am trying to import a database from the remote sql server 2003 so i can work with the database with in the SQL Server Management Studio Express. I am having problems trying to find any information that i can use to perform this action. Can anyone help me with the problem?

View 1 Replies View Related

SQL Express Newbie

Sep 29, 2006

I have only used MS SQL 2000 and mySql before. I've never used MSDE or SQLExpress. I understand you can develop web apps locally, but can the app be deployed to your hosting site without SQL Express 2005 being installed there? Or do you have to build a database on the host using MSSQL2000 and transfer your data from the Express database? I'm a little confused about this and don't want to develop something with VWD and SQLExpress that I can't publish on my host site...

Thanks for any help

Terry

View 1 Replies View Related

Does SQL Server 2005 Express Support Web/Internet Replication To Other SQL Server Express Clients?

Jan 22, 2007

HI

Q1: Does Sql Server 2005 Express support Web/Internet to other SQL Server 2005 Express Clients or does it have to Synch across the internet to a fully installed setup SQL Server 2005 with IIS?

Q2: Does SQL Server 2005 Express support Direct Replication between other SQL Server 2005 Express clients?

Regards

View 5 Replies View Related

SQL Server 2005 Express Edition With SQL Server Management Studio Express (SSMSE)

Jun 7, 2007

Hi all,

I have installed SQL server 2005 express edition with SQL server Management studio express (SSMSE).

I have installed also SQLce and I would know how I can manage sql compact edition databases (.ldf) with sql SSMSE, if it is possible!

I would be grateful if you could explain it trought a detailed guide (I am a beginner user of sql server tools) or trought a link to useful sites.

I'm Looking forward for your reply and still trying...

Alessandro

View 1 Replies View Related

Newbie Sql Express Question.

Apr 2, 2008

hi guys,

what is the difference between sql express 2005 and normal version?

do they still use the same management tool sql enterprise mananger?

trying to decide which version to run on my win 2003 server.



i am familiar with sql 2k...

thanks...

View 1 Replies View Related

Newbie To SQL - Which Express Do I Download?

Jul 20, 2006

I am familiar with Access and I write a lot of asp queries connected to an Access db.

I am now working with a full blown SQL Server db.
I have accessed the tables using Express Management Tools, but now I want to know if I can create a report or export data form a SQL table into Excel like I can from Access.

I am currently using SQL Server Management Studio Express. I see there are other options to install, will any of these give me the tools I need to export?

Thanks
Dave

View 4 Replies View Related

Inserting Image To SQLExpress 2005 With BCP Utility

Nov 21, 2007

Hi,

I have a problem with bcp utility. Out-bound queries work but in-bound ones do not. Here's an example of in bound query which should insert image into table called 'Image'. There's a id column and image column in Image-table.


C:TempSQL>bcp GAMEDB.dbo.Image in mb.jpg -U xxx -P xxx -T
And here's what bcp prompts me with:

SQLState = 08001, NativeError = 2Error = [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [2].SQLState = HYT00, NativeError = 0Error = [Microsoft][SQL Native Client]Login timeout expiredSQLState = 08001, NativeError = 2Error = [Microsoft][SQL Native Client]An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure maybe caused by the fact that under the default settings SQL Server does not allowremote connections.

Any ideas?

View 2 Replies View Related

How To Enable CLR Integration In SQL Server Express And Create SQLCLR Project In VB 2005 Express?

Aug 31, 2007

Hi all,

In my SQL Server Express (that is installed in my Windows XP Pro PC), SQL Server 2005 Network Configuration has Protocols for SQLEXPRESS. I tried to do "Enabling CLR Integration" in my SQL Server Express: (1) If I clicked on "Surface Area Configuration for Services and Connections", I got an error "An exception occurred in SMO while trying to manage a service, (Microsoft.SqlServer.Smo) Additional information: Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum) The operation could not be completed. (WinMgmt). (2) If I clicked on "Surface Area Configuration for Features, I got a different error "Computer localhost does not exist on the network, or the computer cannot be configured remotely. Verify that the remote computer has the required computer has the required Windows Management Instrumentation components and then try again. (SQLSAC) Additional Information: An exception occurred in SMO while trying to manage a service. (Microsoft.SqlServer.Smo). Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum) The operation could not be completed. (WinMgmt). Please help and tell me how I should do to get "Enabling CLR Integration" in my SQL Server Express done and how I can create SQLCLR Project in VB 2005 Express.

Thanks in advance,
Scott Chang

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved