Showing posts with label tool. Show all posts
Showing posts with label tool. Show all posts

Thursday, March 29, 2012

ETL Delta Pulling Huge data.. Right approach ?

Hi all,

In an approach of building an ETL tool, we are into a situation wherein, a table has to be loaded on an incremental basis. The first run all the records apporx 100 lacs has to be loaded. From the next run, only the records that got updated since the last run of the package or newly added are to be pulled from the source Database. One idea we had was to have two OLE DB Source components, in one get those records that got updated or was added newly, since we have upddate cols in the DB getting them is fairly simple, in the next OLEDB source load all the records form the Destination, pass it onto a Merge Join then have a Conditional Split down the piple line, and handle the updates cum insert.

Now the question is, how slow the show is gonna be ? Will there be a case that the Source DB returns records pretty fast and Merge Join fails in anticipation of all the records from the destination ?

What might be the ideal way to go about my scenario.. Please advice...

Thanks in advance.

Or may be just use a lookup component to check if there are any updates and redirect the errored rows as New records to the destination. Sounds good ?

|||

MShetty wrote:

Or may be just use a lookup component to check if there are any updates and redirect the errored rows as New records to the destination. Sounds good ?

The lookup component might be the way to go; or at least it has been the most popular approach for most scenarios. However, there has been several interesting discussion around this issue.

If you decide to use lookup transforms; be sure to understand how that component uses memory resources. Also, be aware that lookup transform is case sensitive when 'matching' the columns in the pipeline against the lookup table.

Jamie has interesting article on his blog; also Greg has written about an alternative approach using script component:

http://blogs.conchango.com/jamiethomson/archive/2006/09/12/SSIS_3A00_-Checking-if-a-row-exists-and-if-it-does_2C00_-has-it-changed.aspx

Using 2 OLE DB source components and merge join, i think would be slower; but you can test it and gain a better understanding of that.

|||

Rafael Salas wrote:

The lookup component might be the way to go; or at least it has been the most popular approach for most scenarios. However, there has been several interesting discussion around this issue.

If you decide to use lookup transforms; be sure to understand how that component uses memory resources. Also, be aware that lookup transform is case sensitive when 'matching' the columns in the pipeline against the lookup table.

looks the memory usage is going to be an issue in lookup, especially when the record count is pretty huge.

|||

May be is not an issue at all; my advise on that: test it!

make sure you provide a query in the lookup transform with only the columns to be used for the lookup operation, so the resultset is as smallest as possible columns wise.

|||

Rafael Salas wrote:

May be is not an issue at all; my advise on that: test it!

make sure you provide a query in the lookup transform with only the columns to be used for the lookup operation, so the resultset is as smallest as possible columns wise.

I strongly agree. Lookup transform performs very well if you can use it right.

|||I did a testing with about 100 000+ rows in my forum post Merge Join vs. Lookup vs. Custom Script.

This should give you an overview - but please do your own testing before going live as the performance may vary accross configurations|||Thx for all the valuable inputs.. I think Lookup is not a fear, but its the components down the pipeline, OLEDB Command I am worried about,if its going to update lot of rows its going to hit the perfomance big time Sad|||

TheViewMaster wrote:

I did a testing with about 100 000+ rows in my forum post Merge Join vs. Lookup vs. Custom Script.

This should give you an overview - but please do your own testing before going live as the performance may vary accross configurations

Amen to that. its no good asking on here - the only person that can provide a definitive answer is yourself.

-Jamie

|||

MShetty wrote:

Thx for all the valuable inputs.. I think Lookup is not a fear, but its the components down the pipeline, OLEDB Command I am worried about,if its going to update lot of rows its going to hit the perfomance big time

Yup - updating large amount of rows can take forever.
I also came to conclusion that with large number records - OLE DB Command object won't perform well. The solution I use is to load the data which needs to be updated to staging table - and then Execute SQL to update
e.g.
UPDATE Prod_Table
SET Field = a2.Field
FROM Prod_Table a1
JOIN Staging_Table a2 ON a1.PrimaryKey = a2.PrimaryKey|||

TheViewMaster wrote:

MShetty wrote:

Thx for all the valuable inputs.. I think Lookup is not a fear, but its the components down the pipeline, OLEDB Command I am worried about,if its going to update lot of rows its going to hit the perfomance big time

Yup - updating large amount of rows can take forever.
I also came to conclusion that with large number records - OLE DB Command object won't perform well. The solution I use is to load the data which needs to be updated to staging table - and then Execute SQL to update
e.g.
UPDATE Prod_Table
SET Field = a2.Field
FROM Prod_Table a1
JOIN Staging_Table a2 ON a1.PrimaryKey = a2.PrimaryKey

The approach ViewMaster is describing is exactly what I do on such cases. OLE DB commands are simply slow by nature, command gets executed once per every row, so its implementation is just not adecuate for large number of rows. You can use a lookup to separete your inserts from updates and then the insert pipe can go directly to the destination table and the other one to a stage table to be used back in the control flow in a Execute sql task (1 time update).

|||Thx for the inputs... Will defintely post on what was the test results once I test out the packages Smile

Estimating the Size and Growth of a Database / Table

I have been looking for a copy of a tool called the 'data sizer' that could
be found in the Microsoft BackOffice 4.5 Resource Kit. I have had no luck
tracking it down.
What I would like is a tool / script / stored proc that would allow me to
estimate how large a database would be and what the growth potential may be.
If anyone has anything they could share I would appreciate it.
Thanks,
SniperX
> What I would like is a tool / script / stored proc that would allow me to
> estimate how large a database would be and what the growth potential may
be.
> If anyone has anything they could share I would appreciate it.
If you have Books Online installed, see these topics:
Estimating the Size of a Table with a Clustered Index
Estimating the Size of a Table Without a Clustered Index
sql

Estimating the Size and Growth of a Database / Table

I have been looking for a copy of a tool called the 'data sizer' that could
be found in the Microsoft BackOffice 4.5 Resource Kit. I have had no luck
tracking it down.
What I would like is a tool / script / stored proc that would allow me to
estimate how large a database would be and what the growth potential may be.
If anyone has anything they could share I would appreciate it.
Thanks,
SniperX> What I would like is a tool / script / stored proc that would allow me to
> estimate how large a database would be and what the growth potential may
be.
> If anyone has anything they could share I would appreciate it.
If you have Books Online installed, see these topics:
Estimating the Size of a Table with a Clustered Index
Estimating the Size of a Table Without a Clustered Index

Estimating the Size and Growth of a Database / Table

I have been looking for a copy of a tool called the 'data sizer' that could
be found in the Microsoft BackOffice 4.5 Resource Kit. I have had no luck
tracking it down.
What I would like is a tool / script / stored proc that would allow me to
estimate how large a database would be and what the growth potential may be.
If anyone has anything they could share I would appreciate it.
Thanks,
SniperX> What I would like is a tool / script / stored proc that would allow me to
> estimate how large a database would be and what the growth potential may
be.
> If anyone has anything they could share I would appreciate it.
If you have Books Online installed, see these topics:
Estimating the Size of a Table with a Clustered Index
Estimating the Size of a Table Without a Clustered Index

Tuesday, March 27, 2012

Estimating Disk Space

Thanks for your replies Tibor / John.
Is there any script/tool available to estimate the size of
the target database. I have the table structures and
estimated rows.
Thanks,
HariI believe that the book "Inside SQL Server 2000" from MS Press comes with such a tool. The book is a
"must" IMO for any intermediate/advanced SQL Server person anyhow, IMO... :-)
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Hari Shankar" <anonymous@.discussions.microsoft.com> wrote in message
news:2429f01c45f3c$1f2b89c0$a401280a@.phx.gbl...
> Thanks for your replies Tibor / John.
> Is there any script/tool available to estimate the size of
> the target database. I have the table structures and
> estimated rows.
> Thanks,
> Harisql

Wednesday, March 21, 2012

Errors while running SQLH2 Tool

I am recieving following errors while running SQLH2
can you advice how can i resolve them
Errors:
1.InvalidOperationException Cannot read log entry number 4243737.
2.NullReferenceException Object reference not set to an instance of an
object.
3.Event Log There is no gap in history, but the
previous last event
is out of bounds
What version of SQLH2 are you running? I hope it's updated version
(2.0.024).
1. Quote from SQLH2 V2 Deployment Guide
Cannot read log entry number ###.
This error usually indicates that the event log on the target machine is
corrupted. It's easy to verify using Event Viewer - try to open the
suspected event log and check if you can read events from it (sometimes
Event Viewer is able to show the list of events, but an actual attempt to
read some events fails).
I would need more inofmation regarding the other two.
Please send a mail to SQLH2@.microsoft.com
(with your H2log.txt attached).
Thanks
Grigory
This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to the newsgroups only, thanks.
"Aneel Ismaily" <Aneel Ismaily@.discussions.microsoft.com> wrote in message
news:A219CD0B-C253-43E2-90E2-487CE248BAF3@.microsoft.com...
> I am recieving following errors while running SQLH2
> can you advice how can i resolve them
> Errors:
> 1.InvalidOperationException Cannot read log entry number 4243737.
> 2.NullReferenceException Object reference not set to an instance of
an
> object.
> 3.Event Log There is no gap in history, but the
> previous last event
> is out of bounds
>

Errors using the uninstall tool - 'vs_uninst_betas'

Hi Folks

getting the following error message when using the tool and can get past it. i can email the error dialog to you if required, i just cant post it.

the setup has encountered an unexpected error in data store. The action is RestoreSetupParams. The error is: Failed to read property installl ds

What are you trying to uninstall?

This tool was written by VS, it might be valueable to post this question into one of the VS forums.

Mike

|||

Hi Mike,

i am trying to install SQL server express edition 2005 however i am being told that there are incompatable components from beta versions of visual studio, .net framework or sql 2005. I have removed all of these and rebooted and run the tool however it makes no difference.

Previously both the express edition and the full edition of sql2005 have been on this computer at seperate times, however both have been removed. I have tried to install the full version however the same error occurs.

I have removed everything remotely connected with sql 2005, .net and visual studio and the problem remains.

I can email you screen shots of all error messages if required

thanks for the help

Nick

|||

Hi Nick,

The setup log should list the specific components that are causing the problem on your computer. If you can not find those components listed in Add/Remove Programs, you can remove them manually using the following in the Run dialog:

msiexec /x <product id>

Product ID will be a long number listed in the setup log for each of the offending product. Run this for each of the products listed in the log.

Regards,

Mike Wachal
SQL Express team

-
Mark the best posts as Answers!

|||

Hi Mike,

again thanks for replying to me!

Unfortunately your reply was of limited help. I am not sure what/where the setup log is that you refer to. When the original error messages appear after running the tool, there are no product id’s and no indication of what they are.

if you let me know where to get the setup log i will run

msiexec /x <product id>

for the offending products

thanks in advance

nick

|||

Hi Nick,

You can find the setup logs at C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG. The summary.txt has general information, will usually tell you which specific component of SQL failed to install and point you to a more detailed log in the Files folder. The detailed log should contain the product IDs.

Mike

|||

hi,

the information stored in the summary.txt is as follows -

Microsoft SQL Server 2005 Setup beginning at Mon Jul 17 12:27:30 2006
Process ID : 1268
c:\b4bd99cb30de03073795be5c67\setup.exe Version: 2005.90.2047.0
Running: LoadResourcesAction at: 2006/6/17 12:27:30
Complete: LoadResourcesAction at: 2006/6/17 12:27:30, returned true
Running: ParseBootstrapOptionsAction at: 2006/6/17 12:27:30
Loaded DLL:c:\b4bd99cb30de03073795be5c67\xmlrw.dll Version:2.0.3609.0
Complete: ParseBootstrapOptionsAction at: 2006/6/17 12:27:30, returned true
Running: ValidateWinNTAction at: 2006/6/17 12:27:30
Complete: ValidateWinNTAction at: 2006/6/17 12:27:30, returned true
Running: ValidateMinOSAction at: 2006/6/17 12:27:30
Complete: ValidateMinOSAction at: 2006/6/17 12:27:30, returned true
Running: PerformSCCAction at: 2006/6/17 12:27:30
Complete: PerformSCCAction at: 2006/6/17 12:27:30, returned true
Running: ActivateLoggingAction at: 2006/6/17 12:27:30
Complete: ActivateLoggingAction at: 2006/6/17 12:27:30, returned true
Delay load of action "DetectPatchedBootstrapAction" returned nothing. No action will occur as a result.
Action "LaunchPatchedBootstrapAction" will be skipped due to the following restrictions:
Condition "EventCondition: __STP_LaunchPatchedBootstrap__1268" returned false.
Running: PerformSCCAction2 at: 2006/6/17 12:27:30
Loaded DLL:C:\WINDOWS\system32\msi.dll Version:3.1.4000.2435
Product "{2AFFFDD7-ED85-4A90-8C52-5DA9EBDC9B8F}" versioned 9.00.1187.07 is not compatible with current builds of SQL Server.Expected at least version: 9.00.1399.00
The Product Name is "Microsoft SQL Server 2005 Express Edition CTP"
Product "{2750B389-A2D2-4953-99CA-27C1F2A8E6FD}" versioned 9.00.1187.07 is not compatible with current builds of SQL Server.Expected at least version: 9.00.1399.00
The Product Name is "Microsoft SQL Server 2005 Tools Express Edition CTP"
Loaded DLL:C:\WINDOWS\system32\msi.dll Version:3.1.4000.2435
Error: Action "PerformSCCAction2" threw an exception during execution.
Return Code: 70032
Message displayed to user
SQL Server 2005 Setup has detected incompatible components from beta versions of Visual Studio, .NET Framework, or SQL Server 2005. Use Add or Remove Programs to remove these components, and then run SQL Server 2005 Setup again. For detailed instructions on uninstalling SQL Server 2005, see the SQL Server 2005 Readme.

Class not registered.

i am unable to manually delete the last two using the run command that you supplied as it says the installation package could not be opened when i place the product id in the run command. is it possible to manually remove these last two items in some other way?

as always mike - thanks for your help

nick

|||

sorry for the delay Nick, this one fell off the radar.

If the manual uninstall trick doesn't work, it could be that the product is actually already uninstalled and only the Add/Remove Programs entry still exists, which is messing things up. As a last resort, you can try the Windows Installer Cleanup Utility, which removes entries from the ARP list. If that doesn't resolve the issue, I'm not sure what is wrong with your computer. You may need to phone into support to get more directed help.

Mike

|||

Hi Mike

I think a reformat may be in order! Thanks for all the help.

By the way, would you know of a good article/thread on how to preform sql 2005 express back ups by any chance?

thanks again for all the help

nick

|||

just what i needed.. great application

many thanks

:)

|||

I don't think the definitive article exists on backup for Express, we pretty much default to "just use Windows Task Scheduler" like that really helps. That said, I've found a few interesting bits to suffice untill I finally write the definitive article.

One of our MVPs wrote a couple articles, a SProc and a tool that helps with maintenance of your database. Check it out at http://www.sqldbatips.com/showarticle.asp?ID=27.sql

Errors using the uninstall tool - 'vs_uninst_betas'

Hi Folks

getting the following error message when using the tool and can get past it. i can email the error dialog to you if required, i just cant post it.

the setup has encountered an unexpected error in data store. The action is RestoreSetupParams. The error is: Failed to read property installl ds

What are you trying to uninstall?

This tool was written by VS, it might be valueable to post this question into one of the VS forums.

Mike

|||

Hi Mike,

i am trying to install SQL server express edition 2005 however i am being told that there are incompatable components from beta versions of visual studio, .net framework or sql 2005. I have removed all of these and rebooted and run the tool however it makes no difference.

Previously both the express edition and the full edition of sql2005 have been on this computer at seperate times, however both have been removed. I have tried to install the full version however the same error occurs.

I have removed everything remotely connected with sql 2005, .net and visual studio and the problem remains.

I can email you screen shots of all error messages if required

thanks for the help

Nick

|||

Hi Nick,

The setup log should list the specific components that are causing the problem on your computer. If you can not find those components listed in Add/Remove Programs, you can remove them manually using the following in the Run dialog:

msiexec /x <product id>

Product ID will be a long number listed in the setup log for each of the offending product. Run this for each of the products listed in the log.

Regards,

Mike Wachal
SQL Express team

-
Mark the best posts as Answers!

|||

Hi Mike,

again thanks for replying to me!

Unfortunately your reply was of limited help. I am not sure what/where the setup log is that you refer to. When the original error messages appear after running the tool, there are no product id’s and no indication of what they are.

if you let me know where to get the setup log i will run

msiexec /x <product id>

for the offending products

thanks in advance

nick

|||

Hi Nick,

You can find the setup logs at C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG. The summary.txt has general information, will usually tell you which specific component of SQL failed to install and point you to a more detailed log in the Files folder. The detailed log should contain the product IDs.

Mike

|||

hi,

the information stored in the summary.txt is as follows -

Microsoft SQL Server 2005 Setup beginning at Mon Jul 17 12:27:30 2006
Process ID : 1268
c:\b4bd99cb30de03073795be5c67\setup.exe Version: 2005.90.2047.0
Running: LoadResourcesAction at: 2006/6/17 12:27:30
Complete: LoadResourcesAction at: 2006/6/17 12:27:30, returned true
Running: ParseBootstrapOptionsAction at: 2006/6/17 12:27:30
Loaded DLL:c:\b4bd99cb30de03073795be5c67\xmlrw.dll Version:2.0.3609.0
Complete: ParseBootstrapOptionsAction at: 2006/6/17 12:27:30, returned true
Running: ValidateWinNTAction at: 2006/6/17 12:27:30
Complete: ValidateWinNTAction at: 2006/6/17 12:27:30, returned true
Running: ValidateMinOSAction at: 2006/6/17 12:27:30
Complete: ValidateMinOSAction at: 2006/6/17 12:27:30, returned true
Running: PerformSCCAction at: 2006/6/17 12:27:30
Complete: PerformSCCAction at: 2006/6/17 12:27:30, returned true
Running: ActivateLoggingAction at: 2006/6/17 12:27:30
Complete: ActivateLoggingAction at: 2006/6/17 12:27:30, returned true
Delay load of action "DetectPatchedBootstrapAction" returned nothing. No action will occur as a result.
Action "LaunchPatchedBootstrapAction" will be skipped due to the following restrictions:
Condition "EventCondition: __STP_LaunchPatchedBootstrap__1268" returned false.
Running: PerformSCCAction2 at: 2006/6/17 12:27:30
Loaded DLL:C:\WINDOWS\system32\msi.dll Version:3.1.4000.2435
Product "{2AFFFDD7-ED85-4A90-8C52-5DA9EBDC9B8F}" versioned 9.00.1187.07 is not compatible with current builds of SQL Server.Expected at least version: 9.00.1399.00
The Product Name is "Microsoft SQL Server 2005 Express Edition CTP"
Product "{2750B389-A2D2-4953-99CA-27C1F2A8E6FD}" versioned 9.00.1187.07 is not compatible with current builds of SQL Server.Expected at least version: 9.00.1399.00
The Product Name is "Microsoft SQL Server 2005 Tools Express Edition CTP"
Loaded DLL:C:\WINDOWS\system32\msi.dll Version:3.1.4000.2435
Error: Action "PerformSCCAction2" threw an exception during execution.
Return Code: 70032
Message displayed to user
SQL Server 2005 Setup has detected incompatible components from beta versions of Visual Studio, .NET Framework, or SQL Server 2005. Use Add or Remove Programs to remove these components, and then run SQL Server 2005 Setup again. For detailed instructions on uninstalling SQL Server 2005, see the SQL Server 2005 Readme.

Class not registered.

i am unable to manually delete the last two using the run command that you supplied as it says the installation package could not be opened when i place the product id in the run command. is it possible to manually remove these last two items in some other way?

as always mike - thanks for your help

nick

|||

sorry for the delay Nick, this one fell off the radar.

If the manual uninstall trick doesn't work, it could be that the product is actually already uninstalled and only the Add/Remove Programs entry still exists, which is messing things up. As a last resort, you can try the Windows Installer Cleanup Utility, which removes entries from the ARP list. If that doesn't resolve the issue, I'm not sure what is wrong with your computer. You may need to phone into support to get more directed help.

Mike

|||

Hi Mike

I think a reformat may be in order! Thanks for all the help.

By the way, would you know of a good article/thread on how to preform sql 2005 express back ups by any chance?

thanks again for all the help

nick

|||

just what i needed.. great application

many thanks

:)

|||

I don't think the definitive article exists on backup for Express, we pretty much default to "just use Windows Task Scheduler" like that really helps. That said, I've found a few interesting bits to suffice untill I finally write the definitive article.

One of our MVPs wrote a couple articles, a SProc and a tool that helps with maintenance of your database. Check it out at http://www.sqldbatips.com/showarticle.asp?ID=27.

Monday, March 19, 2012

errors installing SQL Server Express 2005

I've been having horrific problems installing and working with SQL Server Express 2005. I installed SSE with the Visual Web Developer tool so I assumed that the instance would synch up; but it didn't (see log contents at end) so I opened up permissions wide open to all users, and even that didn't help. I don't know for sure but I suspect that the problem probably relates to my deleting SQL Server entries from the registry and all directories and files related to it on disk. After going through the process of uninstalling and reinstalling Express 2005 numerous times, I became frustrated and decided to pull out all stops.

After reading and following all MSDN instructions and every blog and forum I could possibly locate on the subject, I could never resolve the problem of not reaching my database. I enabled all pipes and TCP/IP, etc. in the Configuration Manager, in both instances I had created; had run all command-line procedures recommended; and used cleanup programs that I could find, before reinstalling. I couldn't even get success in doing a test connection. I did get to a point where my ASP returned the message that it had connected but that the user didn't have permissions.

I think I'm destined to working with Access, which is a shame since I have encouraged students in a Web development class I teach to work with the more powerful SQL Server products. They've had success with SQL Server, so I'm setting a bad example.

Thanks in advance for help any of you can suggest.

Microsoft SQL Server 2005 Setup beginning at Sun Feb 05 23:48:08 2006
Process ID : 2036
c:\6645bd818fccc8ef0bad80e6a12f5b\setup.exe Version: 2005.90.1399.0
Running: LoadResourcesAction at: 2006/1/5 23:48:6
Complete: LoadResourcesAction at: 2006/1/5 23:48:6, returned true
Running: ParseBootstrapOptionsAction at: 2006/1/5 23:48:6
Loaded DLL:c:\6645bd818fccc8ef0bad80e6a12f5b\xmlrw.dll Version:2.0.3604.0
Complete: ParseBootstrapOptionsAction at: 2006/1/5 23:48:8, returned true
Running: ValidateWinNTAction at: 2006/1/5 23:48:8
Complete: ValidateWinNTAction at: 2006/1/5 23:48:8, returned true
Running: ValidateMinOSAction at: 2006/1/5 23:48:8
Complete: ValidateMinOSAction at: 2006/1/5 23:48:8, returned true
Running: PerformSCCAction at: 2006/1/5 23:48:8
Complete: PerformSCCAction at: 2006/1/5 23:48:8, returned true
Running: ActivateLoggingAction at: 2006/1/5 23:48:8
Complete: ActivateLoggingAction at: 2006/1/5 23:48:8, returned true
Running: DetectPatchedBootstrapAction at: 2006/1/5 23:48:8
Complete: DetectPatchedBootstrapAction at: 2006/1/5 23:48:8, returned true
Action "LaunchPatchedBootstrapAction" will be skipped due to the following restrictions:
Condition "EventCondition: __STP_LaunchPatchedBootstrap__2036" returned false.
Running: PerformSCCAction2 at: 2006/1/5 23:48:8
Loaded DLL:C:\WINDOWS\system32\msi.dll Version:3.1.4000.2435
Loaded DLL:C:\WINDOWS\system32\msi.dll Version:3.1.4000.2435
Complete: PerformSCCAction2 at: 2006/1/5 23:48:9, returned true
Running: PerformDotNetCheck at: 2006/1/5 23:48:9
Complete: PerformDotNetCheck at: 2006/1/5 23:48:9, returned true
Running: ComponentUpdateAction at: 2006/1/5 23:48:9
Complete: ComponentUpdateAction at: 2006/1/5 23:48:30, returned true
Running: DetectLocalBootstrapAction at: 2006/1/5 23:48:30
Complete: DetectLocalBootstrapAction at: 2006/1/5 23:48:30, returned true
Running: LaunchLocalBootstrapAction at: 2006/1/5 23:48:30

To my comment "I suspect that the problem probably relates to my deleting SQL Server entries from the registry and all directories and files related to it on disk," I should append the following: "...after I uninstalled everything."

Friday, March 9, 2012

Errors Configuring Reporting Services

Hi
I am trying to re-install reporting services on a server. In the report
services configuration tool,
The Server staus is Green
The Report Server Virtual Directory is Green
THe Report Manager Virtual Directory is RED
when I click on NEW... to create one I get the following error
ReportServicesConfigUI.WMIProvider.WMIProviderException: The virtual
directory specified already exists. Specify a different name.
at
ReportServicesConfigUI.WMIProvider.RSReportManagerAdmin.CreateVirtualDirectory(String
virtualDirectory, String path)
but IIS Manager does not list any directory called Reports
Any ideas how I should proceed from hereThis is 2005, not Katmai? Both Config Tool and server are at same SP level?
"Bob Miller" <someone@.microsoft.com> wrote in message
news:uZGcMR83HHA.3940@.TK2MSFTNGP05.phx.gbl...
> Hi
> I am trying to re-install reporting services on a server. In the report
> services configuration tool,
> The Server staus is Green
> The Report Server Virtual Directory is Green
> THe Report Manager Virtual Directory is RED
> when I click on NEW... to create one I get the following error
> ReportServicesConfigUI.WMIProvider.WMIProviderException: The virtual
> directory specified already exists. Specify a different name.
> at
> ReportServicesConfigUI.WMIProvider.RSReportManagerAdmin.CreateVirtualDirectory(String
> virtualDirectory, String path)
> but IIS Manager does not list any directory called Reports
> Any ideas how I should proceed from here
>|||Yes,
SQL 2005 and Service Pack 2 has been applied prior to attempting the
configuration
Cheers
"Brian Welcker [MSFT]" <bwelcker@.online.microsoft.com> wrote in message
news:eEOoJgD4HHA.1208@.TK2MSFTNGP05.phx.gbl...
> This is 2005, not Katmai? Both Config Tool and server are at same SP
> level?
> "Bob Miller" <someone@.microsoft.com> wrote in message
> news:uZGcMR83HHA.3940@.TK2MSFTNGP05.phx.gbl...
>> Hi
>> I am trying to re-install reporting services on a server. In the report
>> services configuration tool,
>> The Server staus is Green
>> The Report Server Virtual Directory is Green
>> THe Report Manager Virtual Directory is RED
>> when I click on NEW... to create one I get the following error
>> ReportServicesConfigUI.WMIProvider.WMIProviderException: The virtual
>> directory specified already exists. Specify a different name.
>> at
>> ReportServicesConfigUI.WMIProvider.RSReportManagerAdmin.CreateVirtualDirectory(String
>> virtualDirectory, String path)
>> but IIS Manager does not list any directory called Reports
>> Any ideas how I should proceed from here

Wednesday, March 7, 2012

ErrorCode and ErrorColumn in Excel Destination

I am exporting records with errors to Excel using the Excel Destination tool. The ErrorColumn is a numeric. How do I find out which column it is?

If you want to do this manually (i.e. not programmatically), you can open the Advanced UI for the Excel Dest, and go to the "Input and Output Properties" tab. There, under "Excel Destination Input", you can look through the colums. As you click on each one, look for the "ID" property on the right that has the value you found in the ErrorColumn field of the error row.

Let me know if this helps or not.

Thanks,
Mark|||Hi

How would you do this programmatically? Ideally, I'd like to include the actual column name as another output column in my error destination table. Also, is it possible to obtain the error description as well as the ErrorCode (similar to what you might see in the Execution Results pane when debugging)?

Thanks

Rob|||Hi Rob

I want to do something similar but write out the column name to a table along with the data when rejected. Did you ever figure out how to do this?

Thanks

Marcus|||While it's fairly easy to add an ErrorDescription column on top of the ErrorCode, it's NOT so easy to add an ErrorColumnName on top of the ErrorColumn numeric ID value, because of all the ifs ands and buts that determine whether the column name is readily available or not. (For example, did the preceding component have synchronous or asynchronous outputs, and so forth.)

You can run your error output through a Script Component and try looping through the columns in its InputColumnCollection and VirtualInputColumnCollection looking for the ID value that you've got in the ErrorColumn column to see that this information is usually unavailable.

-Doug