Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

Import from external database fails. Expand / Collapse
Author
Message
Posted Wednesday, January 16, 2013 2:37 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, January 17, 2013 8:58 AM
Points: 10, Visits: 7
I am using SQL 2008 server and an external vendor changed the particular warehouse name for the IMPORT file that I was receiving through my SQL server from them. I get an error under the SQL Server Agent stating the IMPORTFROMXXX has failed. When I open the Job that is running notice that the warehouse name under the import file script is incorrect when I change it to the new name it still fails. How do I go about correcting this? Is there same place I should be typing credentials somewhere within my SQL server so the warehouse date outside my network know who I am?

I have attached some screen shots of my issue.

Thank you,






  Post Attachments 
SQL 2.JPG (4 views, 18.31 KB)
SQL 3.JPG (6 views, 42.32 KB)
Post #1408083
Posted Wednesday, January 16, 2013 2:42 PM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Today @ 3:32 PM
Points: 8,980, Visits: 8,540
miles411 (1/16/2013)
I am using SQL 2008 server and an external vendor changed the particular warehouse name for the IMPORT file that I was receiving through my SQL server from them. I get an error under the SQL Server Agent stating the IMPORTFROMXXX has failed. When I open the Job that is running notice that the warehouse name under the import file script is incorrect when I change it to the new name it still fails. How do I go about correcting this? Is there same place I should be typing credentials somewhere within my SQL server so the warehouse date outside my network know who I am?

I have attached some screen shots of my issue.

Thank you,






Need a bit more information here to offer any help. Let's start with the error message. What does it say?


_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1408084
Posted Wednesday, January 16, 2013 2:50 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, January 17, 2013 8:58 AM
Points: 10, Visits: 7
It states:

Job failed.

I attached 2 screen shots to my last e-mail that I got form my SQL server.

I have attached them again here.


  Post Attachments 
SQL 2.JPG (7 views, 18.31 KB)
SQL 3.JPG (3 views, 42.32 KB)
Post #1408086
Posted Wednesday, January 16, 2013 3:07 PM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Today @ 3:32 PM
Points: 8,980, Visits: 8,540
You are going to have to provide some details. We can't see your screen and we have no idea what this is doing. You said something about the file name has changed. How do you have the job setup? Is the filename hardcoded? Is it in the DB somewhere?

_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1408089
Posted Wednesday, January 16, 2013 3:09 PM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Today @ 3:32 PM
Points: 8,980, Visits: 8,540
If you open the Job History for this job it will show you the step details. Go to the step that failed and look at the error message.

_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1408090
Posted Wednesday, January 16, 2013 3:11 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, January 17, 2013 8:58 AM
Points: 10, Visits: 7
Our outside vendor changed the name the of what the database warehouse was called recently and since then my users with Access that is link to our internal SQL database cannot pull the required information. I believe the name is embedded under the step dialogue box. It is a Transact-SQL script (T-SQL) type step. Under the command box is state drop table select*into XXX_XX_XXXXXX from XXX_XXXX_XXview.dbo.wh_employees.
Post #1408091
Posted Wednesday, January 16, 2013 3:13 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, January 17, 2013 8:58 AM
Points: 10, Visits: 7
It stated: "Quit the job reporting failure"
Post #1408092
Posted Wednesday, January 16, 2013 3:14 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, January 17, 2013 8:58 AM
Points: 10, Visits: 7
It quits the import phase of the process. It fails at that step.
Post #1408094
Posted Wednesday, January 16, 2013 3:18 PM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Today @ 3:32 PM
Points: 8,980, Visits: 8,540
miles411 (1/16/2013)
Our outside vendor changed the name the of what the database warehouse was called recently and since then my users with Access that is link to our internal SQL database cannot pull the required information. I believe the name is embedded under the step dialogue box. It is a Transact-SQL script (T-SQL) type step. Under the command box is state drop table select*into XXX_XX_XXXXXX from XXX_XXXX_XXview.dbo.wh_employees.


Can you change it to the correct name?


_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1408096
Posted Wednesday, January 16, 2013 3:20 PM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Today @ 3:32 PM
Points: 8,980, Visits: 8,540
miles411 (1/16/2013)
It stated: "Quit the job reporting failure"


It actually will also say "See the Job History for details". As I said previously you need open the job history so you can see what the error message says. Without that information there is way anybody knows where to begin.


_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1408097
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse