Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Overview Part 1


SQL Overview Part 1

Author
Message
SQLdba-473999
SQLdba-473999
SSC-Enthusiastic
SSC-Enthusiastic (177 reputation)SSC-Enthusiastic (177 reputation)SSC-Enthusiastic (177 reputation)SSC-Enthusiastic (177 reputation)SSC-Enthusiastic (177 reputation)SSC-Enthusiastic (177 reputation)SSC-Enthusiastic (177 reputation)SSC-Enthusiastic (177 reputation)

Group: General Forum Members
Points: 177 Visits: 767
David,
I just had a thought. The servers that are working are running under the default port #, the others that I'm having issues with are not. I tried to connect to a problem server with the port included in Management Studio to make sure I get the string correct before adding to the ServerList table. The string that worked was ServerName.domain.com,Port#\Instance. I added this to the table, but it still errors out! Am I doing something wrong? I feel like this is the smoking gun!
k.przewozniak
k.przewozniak
Valued Member
Valued Member (53 reputation)Valued Member (53 reputation)Valued Member (53 reputation)Valued Member (53 reputation)Valued Member (53 reputation)Valued Member (53 reputation)Valued Member (53 reputation)Valued Member (53 reputation)

Group: General Forum Members
Points: 53 Visits: 290
Hi,

I have such a problem: In the dbo_SSIS_ServerList I have 236 servers.
Most of the server will through the errors - I know that and I want that, the expected problem is with connection.
When package finishes, in the dbo.SSIS_Errors I have 200 servers and in dbo.Database_Status 15, so 21 servers are missing.
I have already changed the Maximum error count to 99999. but it does not help.

Can you suggest me the solution?

Kasia
David Bird
David Bird
SSC Veteran
SSC Veteran (273 reputation)SSC Veteran (273 reputation)SSC Veteran (273 reputation)SSC Veteran (273 reputation)SSC Veteran (273 reputation)SSC Veteran (273 reputation)SSC Veteran (273 reputation)SSC Veteran (273 reputation)

Group: General Forum Members
Points: 273 Visits: 1186
MaximumErrorCount is set for each container. For example Populate ADO Variable is set to 1 because if it can't set the variable there is no reason to attempt the other containers. Most of the remaining containers are set to 999.

If your MaximumErrorCount is set correctly for all containers, you can try running the script for just the just the servers you are missing and maybe find out why they are missing.

You can also run two two copies of these packages, with each one processing a separate list of servers

David Bird

My PC Quick Reference Guide
optradba
optradba
Mr or Mrs. 500
Mr or Mrs. 500 (590 reputation)Mr or Mrs. 500 (590 reputation)Mr or Mrs. 500 (590 reputation)Mr or Mrs. 500 (590 reputation)Mr or Mrs. 500 (590 reputation)Mr or Mrs. 500 (590 reputation)Mr or Mrs. 500 (590 reputation)Mr or Mrs. 500 (590 reputation)

Group: General Forum Members
Points: 590 Visits: 1045
I tried to set this application up in a 64-bit environment, but I ran into this error below, which I did not get when I previously set this up in a 32-bit environment. Any tweaks that you guys have made to make this run in 64-bit?

[OLE DB Destination [1015]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "The statement has been terminated.". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Violation of PRIMARY KEY constraint 'PK_SQL_Servers'. Cannot insert duplicate key in object 'dbo.SQL_Servers'.".


Thanks in advance.
GAF
GAF
SSC Rookie
SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)

Group: General Forum Members
Points: 36 Visits: 337
Thank you David Bird -- it's a job well done!!

Works like a charm running against 103 active servers/1046 databases....

Looking forward to Parts 2 and 3.
netra26
netra26
Forum Newbie
Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: General Forum Members
Points: 6 Visits: 434
Hi,

I'm trying to create this SSIS package I can definately get the server info for all the server which are on windows authentication however I can't figure out how to get the server info for the servers which are on different domain and are using SQL authentication. Any suggestions please?

Regards,
Netra
srikantht.dev
srikantht.dev
SSC Rookie
SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)

Group: General Forum Members
Points: 45 Visits: 194
I get error at step 7. When I try to preview my data I get following error.


Error at SQL_Overview_Package [Connection manager "MultiServer"]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "Login timeout expired".
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.".

This is my connection string for Dynamic connection
Data Source=(local);Initial Catalog=DBA;Provider=SQLNCLI10.1;Integrated Security=SSPI;Auto Translate=False;Application Name=SSIS-SQL_Overview_Package-{818761D7-5168-450D-A372-4F3169897015}MultiServer;
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search