Using Custom Components Without Installing .dlls

Sep 7, 2007

Is there a way to use a custom component programmatically (I'm using C# to create and run my packages) without installing a compiled .dll of the class into the SQL folders and the GAC? For instance, can I instantiate my custom component and somehow pass it to be used in a task in my code.

View 1 Replies


ADVERTISEMENT

Custom Data Flow Components, DllImport, And Third Party Dlls

Mar 29, 2007

I've been having an issue with the integration of a third-party DLL into a custom data flow component.



The company sent me a C# project that generates a simple console application. The project includes a class that calls their DLL with DllImport. The console application runs fine.



I created a stand-alone class using the C# class they sent to expose the methods of their DLL. In my custom component, I'm referencing this class to pass data to and from their DLL.



The first method from that stand-alone class that my component encounters simply gets their installation path from the registry and does not use DllImport. That path retrieval works fine. The next method calls a function that is declared with DllImport. Each time the call fails with "System.DllNotFoundException = {"Unable to load DLL AMZip.dll': Exception from HRESULT: 0xE06D7363"}".



I've copied this DLL to countless locations (e.g., the PipelineComponents directory, the project/solution bin directory) and included these paths in all manner of path variables.



What am I missing here? Their DLL is not strong named (does this matter since I'm using DllImport?), my stand-alone class is, and of course, the custom component itself is. I appreciate the help.

View 9 Replies View Related

Developing Custom Components By Extending The SSIS Stock Data Flow Components

Sep 7, 2006

Everything I've read says that custom data flow components are built by inheriting from the Microsoft.SqlServer.Dts.Pipeline.PipelineComponent class.

But the stock components such as the Derived Column data flow transformation must each be implemented by their own class. So how do I base my custom components on those classes? The documentation for the PipelineComponent class doesn't list any such subclasses.

View 1 Replies View Related

Custom Components On 64-bit

Jan 22, 2008

Hi again, All!!

I'm having a problem with problems with some custom components I built. I have a custom Connection Manager and Data Flow Source that I have built.

My local PC is 64-bit, but I followed the MS instructions on building and deploying custom components. They run fine inside of VS2005, as long as I have 'Run64BitRuntime" set to 'False'. When I try to run packages using the custom components in 64-bit mode, I get:


Error: 0xC0014005 at : The connection type "<MyConnectionManagerType>" specified for connection manager "PRI" is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. Check the spelling in the connection type name.

I suspect I need to either change the way I build or deploy the custom components. Can someone shed some light on this?

Thanks,
Frank

View 1 Replies View Related

Custom SSRS Components

Jun 15, 2007

Is it possible to create a custom SSRS .NET component that can view the report parameters and values contained within?



Thanks!

View 3 Replies View Related

Some Ideas For Custom Tasks/components

Mar 13, 2006

Hello,

I had an idea that it would be nice to be able to extend the functionality of an existing SSIS component or task by inheriting from it. Perhaps in a similar way to how it is possible to extend user controls in .Net.

e.g. The rowcount is a useful component but it would be good to create a new component that inherits from it and then override the PostExecute() method to fire an Information event containing the number of rows. That's a very simple example but I think you get the gist.

Does anyone think that would be useful? Or even made possible?



I was also wondering whether it would be possible for the SSI team to make all the icons used within SSIS available as .ico files so that we could modify them for tasks/components that might do similar things.

Thanks

-Jamie





[Microsoft follow-up]

View 1 Replies View Related

How To Market Custom SSIS Components?

Oct 10, 2007



Hi,
As a hobby, I am creating custom SQL Server Integration Services components, which are installed as an add-on to out of the box components. They are mainly used to reduce the development time and minimize the maintance overhead. I would like to know, how I should market them? What are the mediums to use? Since this is the first time, I am creating a software for mass markets, I would really appreciate your help while marketing this baby.

Just FYI, the first commercially available package that I develop is for creating text based files. My package connects to any OLE DB datasource. Executes the query and stores the output in a text file. It is very useful while developing database driven custom feeds. Instead of working with multiple dataflow tasks, data flow sources, you just need to configure one single component and the rest is taken care for you. Since, the package implements the standard Microsoft Task Editor, it is very easy to learn.

Thanks for your help.
Cem

View 3 Replies View Related

Using VB.Net For Applications And The VBA Editor From Custom Components?

Jun 30, 2006

Hi,

Is it possible to make use of VB.Net for Applications and the VBA editor from your own Custom Transform Components (like the script component does)?

I would like to create a component that generates boiler-plate VBA code and that then allows developers to add their own specialised code in certain methods using the editor (just like the script component)

If so, is there any documentation anywhere on how to go about this?

Thanks in advance,

Lawrie

View 4 Replies View Related

Is It Possible To Version Custom SSIS Components?

Jul 17, 2006

Is it possible to use versioning at all with SSIS components?

My experience so far is that I have not figured out how version them at all, because if I change the version number, then apparently the <property name="UserComponentTypeName" ...> has to be changed in every single reference to the component, in every dataflow, in every single dtsx file that uses the component at all -- this will be a tremendous headache as some of this stuff is in source control. It seemsl clearly infeasible to check out and substitute and change all these references, and check them all back in, except very infrequently -- surely not feasible to do it for each small change.

I am in the habit of versioning dlls and assemblies, and actually changing at least a minor build number for each actual change, so I am a bit unhappy to find that apparently I cannot feasibly do this for a custom SSIS component :(

(I just find a dislike at apparently being forced to leave the version number invariant when I make code changes.)

What I would be very happy with, is if there were a way to adjust all the references in all the dtsx files, to refer to only the major and minor build numbers say, specifying that I am not picky about the revision numbers below those, so that it will find the latest component in the GAC matching the major and minor numbers.

That way I could still update the component version with each code change, which would make me happy, and not have to edit a zillion dtsx occurrences (not having to do that would also make me happy).

Anyone know if that is possible?

I'm hoping it is, and that it is only my ignorance at component references preventing me from doing so.

View 4 Replies View Related

Custom HTML &&amp; Javascript OR Components

Dec 4, 2007

I've been trying to find a solution to adding javascript and/or HTML to a report (not reportviewer). After a search I found that you can add javascript to a textbox under action properties and it works fine. Is there a way to add custom code anywhere on the page.

The problem is the charts that come with SRS is limited so I'd like to add my own. I'd also like to add some ajax functionality as well. I know it's possible because a company called Dundas is doing it but not exactly sure how they implemented it. We considered Dundas but they are just too expensive for the solution we need.

Any help would be much appreciated.

View 8 Replies View Related

Need VB.NET Custom Components Source Code Example

May 21, 2006

I need VB.NET source code showing how to create a Custom Component. in SSIS (All the ones I've seen are written in C#.)



TIA,



barkingdog

View 1 Replies View Related

Installing Server Components

Dec 28, 2007



Question
I have Reporting Services up running in production.
I want to create a place for internal employee's to go run report only related to daily business.
Meaning I want two Sever Components to deploy reports to one for production (Customers) and one for internal(Intranet).
Can this be done?

Can someone direct me to step by step intructions?


Michael Webb

View 1 Replies View Related

Problems After Installing SP2 - Cannot Add Further Components

Feb 19, 2008

Hallo, i've installed SQL2005 - Standard-Edition, but i forgott to install the Server Management Studio. Next I installed SP2. After that i tried to install the Server Management Studio, but the Installation failed. ("The Installed Version is newer than the version you try to install" or something like that) The system told me to use the skuupgrade-option, but it doesnt work. Is there any possibility to install the Management-Studio in the SP2-Version?

Thanks
Johannes

View 2 Replies View Related

Custom Components - How To Evaluate A Property As An Expression?

Apr 11, 2008



Hi all,

I'm wondering if anyone's accomplished this before - I've been unable to find a whiff of info on how to do this so far.

I'm creating a custom component that I'd like to give a "Derived Column" type of ability to. By that, I mean I'd like to populate a property of my component with an expression (including references to input columns, package variables and functions) and be able to evaluate it at runtime - per row processed by the component.

I would also appreciate any information as to how to provide the interface to allow the user to build such an expression as well - is there a UI function in SSIS I can call to pop up the "expression builder"?


Thanks!

View 6 Replies View Related

SSIS Performance Question For Custom Components

Nov 15, 2007



I have a SQL Server 2005 Package (32 bit, 4 processors/16 GB of RAM, 3 GB switch for SSIS) with 1 DataFlow and 5 Custom Components:

> An OLEDB Source that reads a stoed proc from Sybase
> 3 Transform Components that perform: 6-required fields check, 4-lookups (3 cached, 1 non-cached), and a calculation that is performed(called) from a .NET Library.
> A SQL Destination that uses the .NET BulkCopy Class to insert the data.

It takes about 3 hours to load 1 million records that contain 46 columns (the largest being a varchar(100)). I have tried a good number of tuning options as well as indexing/SQL techniques to improve perfromance.

Some pieces of info:
1) We dynamically create the buffer during runtime based on an SSIS variable.
2) The actions of the components are determined at runtime through config files.
We do these two things so we can have multiple data flows run through the same package for better scalability and flexibility. Since we are dynamically creating the buffer I can NOT use any of the out of the box components because of lineage and metadata inconsistency issues.

3) I noticed on PerfMon that I am spooling buffers to disk after 100K rows.
I realize this is bad, but what are my alternatives?
Should I go to 64 bit? Is there anything else I can do?

Thanks in advance,
Anthony



View 10 Replies View Related

Creating Error Output For Custom Components

Feb 14, 2006

Hi,

I have a 2 custom components - source and destination.

I want to create an error output for each, to allow the users of my component to handle errors the way they choose.

I only found a property in IDTSOuptut90 named isErrorOut - a boolean property indicating whether this output is an error output or not.

Does anyone have additional documentation / articles / code samples regarding how to really populate the rows in the error output?

Thanks

View 1 Replies View Related

Installing Right Components For Sql Server Express

Jun 14, 2006

Hi

I recently purchased a copy of Visual Studio 2005 & to my surprise there was a sql Server Express.

My Question is

Do i need to download any more components for this ?

Are Enterprise manager or Query Analyzer part of Sql Server Express?



Ani

View 3 Replies View Related

Custom Tasks/Components - Changing Version W/o Breaking Packages

May 28, 2008

Whenever I make a breaking change to a custom SSIS component/tasks and update the Assembly Version, it seems to break my packages beyond repair, telling me it can't load the task:

Error loading Package1.dtsx: Error loading a task. The contact information for the task is "". This happens when loading a task fails.

All of the properties of said task now show:

Could not get value for property 'c-155-designer-name'. Specified cast is not valid.

Typically, a "breaking" change when it comes to code just means that you need to update your components to adhere to the new contract of the updated signatures. But with SSIS, it seems the only solution to this is to completely remove the component, and re-add the new version, and re-enter all of the property values/expressions. If I have a package containing 10 instances of a task that only had one property removed, for example, this results in a very time-consuming process of fixing my package.

So my questions:

1) Am I doing something wrong in my versioning/deployment that is causing my packages to unnecessarily break?

2) If this is just "by design" and the way it's meant to behave, what is the best practice for making breaking changes to custom tasks/components used by many packages? Should I just never change the assembly version, even when it is a breaking change (this seems to be less disastrous)?

3) As a last resort, if I'm stuck with having to fix the broken tasks, is there a better way to fix them rather than having to completely remove them, re-add them, and re-set all of their properties/expressions?

Thanks in advance.
Jerad

View 3 Replies View Related

Error Installing Workstation Components SQL 2005 Enterprise

Mar 20, 2006

Hello. I am trying to install only the Workstation Components portion of SQL Server 2005 and I get about halfway through and the installation errors out. The error is:

EventType: sql90setup
P1: installtoolsaction
P2: 0xc0000006
P3: 0x78158a35
P4: 0xc0000006
P5: setup_sqlactionenginelistener.cpp@198
P6: setup.exe@2005.90.1399.0
P7: none

This happens after the second disk of the installation is about halfway through installing and then it throws an error stating that "The wrong volume is in the drive. Please insert volume SQLSRVRS into drive D. Cancel, Try Again, Continue" I replace the disc with the first disc and if I pick "Continue" it will display the error above. If I pick "Try again" the installation finishes, but there are components missing from Visual Studio.

---------------------------------------------------------------------------------

Here is the log file:

=== Verbose logging started: 3/16/2006 14:03:49 Build type: SHIP UNICODE 3.01.4000.2435 Calling process: C:Program FilesMicrosoft SQL Server90Setup Bootstrapsetup.exe ===
MSI (c) (58:00) [14:03:49:483]: Resetting cached policy values
MSI (c) (58:00) [14:03:49:483]: Machine policy value 'Debug' is 0
MSI (c) (58:00) [14:03:49:483]: ******* RunEngine:
******* Product: C:Program FilesMicrosoft SQL Server90Setup BootstrapSetupSqlRun_Tools.msi
******* Action:
******* CommandLine: **********
MSI (c) (58:00) [14:03:49:483]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (58:00) [14:03:49:483]: Grabbed execution mutex.
MSI (c) (58:00) [14:03:49:483]: Cloaking enabled.
MSI (c) (58:00) [14:03:49:483]: Attempting to enable all disabled priveleges before calling Install on Server
MSI (c) (58:00) [14:03:49:483]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (D4:80) [14:03:49:499]: Grabbed execution mutex.
MSI (s) (D4:BC) [14:03:49:499]: Resetting cached policy values
MSI (s) (D4:BC) [14:03:49:499]: Machine policy value 'Debug' is 0
MSI (s) (D4:BC) [14:03:49:499]: ******* RunEngine:
******* Product: C:Program FilesMicrosoft SQL Server90Setup BootstrapSetupSqlRun_Tools.msi
******* Action:
******* CommandLine: **********
MSI (s) (D4:BC) [14:03:49:499]: Note: 1: 2203 2: C:Program FilesMicrosoft SQL Server90Setup BootstrapSetupSqlRun_Tools.msi 3: -2147287037
MSI (s) (D4:BC) [14:03:49:499]: MainEngineThread is returning 3
MSI (c) (58:00) [14:03:49:499]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (58:00) [14:03:49:499]: MainEngineThread is returning 3
=== Verbose logging stopped: 3/16/2006 14:03:49 ===

Thank you very much,

BJ

View 7 Replies View Related

Errors After Installing Server 2000 DTS Designer Components

Jan 30, 2007

Hello,

After Having installed the SQL Server 2000 DTS Designer Components necessary
to edit legacy DTS packages on 2005 server, I keep getting the following message when trying to open SQL Server 200 Enterprise Manager:

"The procedure entry point
?ProcessExecute@@YAXPAUHWND_@@PBG1@Z could not be located in teh dynamic link library SEMSFC.dll."


Is there a way to fix so that I can open Enterprise manager?

Thanks!



View 9 Replies View Related

Class And Sequence Diagrams Describing SSIS Framework (for Custom Components)?

Jun 30, 2006

Hi,



Can anyone tell me where I might find the Class and Sequence Diagrams for the SSIS framework (for Custom Components)?



I've just started trying to create some Custom Transform Components and
I'm really struggling to get my head around the component lifecycle
(i.e what methods are called when, with what arguments, and why) with
just the BOL documentation to guide me.



Thanks in advance,



Lawrie

View 1 Replies View Related

SQL2005 SP2 IA64 Fails Installing Database And Backward Compatibility Components.

Aug 30, 2007



Hi, pls can anyone help me out with this? I'm installing SQL2005 SP2 over an Itanium machine with W2003 SP2 but it keeps on failing on those features. Client components got installed with no problems. I've installed SQL2005-SP2 over x86 and x64 (not Itanium) machines many times before successfuly. I've been investigating this issue for several days with no luck so I'm a bit clueless at the moment. As I'm using Administrator account I think it is not file permission related.
Summary says "Unable to install Windows Installer MSP file".

let me know if further info is nedeed.

Many thanks.



View 3 Replies View Related

Attn Microsoft : Incorrect Screenshot - SQL Server Integration Services (SSIS) Hands On Training - Creating Custom Components

Jun 25, 2006

Hi All,

I am not sure if this is a correct forum to discuss on the document posted @ http://www.microsoft.com/downloads/details.aspx?familyid=1c2a7dd2-3ec3-4641-9407-a5a337bea7d3&displaylang=en on SQL Server Integration Services (SSIS) Hands on Training - Creating Custom Components.

I am assuming Microsoft Developers are constantly monitoring this forum.

In the document - SSIS Creating a Custom Transformation Component .doc on Page 2 -
Exercise 1 - Writing the no-op data flow transformation component -
Task 1 - Create a new C# Class Library Project

The textual description talks about creating a new Visual C# Class Library project in VS 2005 but the screenshot accompanying it shows the creation of new "Integration Service Project" in VS 2005.

Please change the screenshot appropriately to avoid confusions.

Thanks,
Loonysan

View 1 Replies View Related

SSIS Logs Vs Custom Logs Components

Feb 12, 2007

Hi,

In my case I have to log the errors raised by any task in a package to either windows event log, text file or SQL server. Also I need to send an email notifications to a group of people telling them about the error.

Now can I use SSIS package logging for logging the errors into the required destinations. I mean right clicking on the package and selecting Logging, then adding the required log providers and enabling the events for logging into those. I think I have to upfront select the log providers to log the error, I will not have the liberty to log the error to the destination, the name of which is passed as a variable to the package. This is okay with me though.

Now what will a custom log provider help me to do in this case. Also can I somehow configure my package to call the send mail task everytime an error is raised.

Also, one more option can be developing a package that only does the error handling. It will take in the paramters or the error codes and descriptions, the destination to write to and a flag to send mail or not for that particular type of error.

What do you think? Kindly advise.

Thanks in advance for your help and time.

Regards,

$wapnil

View 3 Replies View Related

Installing The Asp.net Application Services In A Custom SQL Express Database.

Nov 16, 2005

I know that by default asp.net 2.0
creates the aspnetdb sql express database for storing membership, role
management, profiling etc. And I saw we have the aspnet_regsql tool to
have this installed in a standard sql server. But what should I do to
have these stored procedures, tables etc installed in an existing sql
express database? Aspnet_regsql doesn't seem suited for that.

I've noticed some sql scripts in the framework folder like
InstallCommon.sql, InstallMembership.sql, etc. They seem to be used to
create the regular aspnetdb.mdf database, should I just modify those
and run them against my own sql express database or is there a tool or
an easier way?

Cheers,
Frank.

View 1 Replies View Related

Using Composition To Create New Specialised Components From Multiple Sub-components?

Jun 30, 2006

Hi,

In another thread Jamie Thomson very informatively said "The components in SSIS
are deliberately atomic (i.e. they do something very specific) so that
its easy to put them together to build something greater than the sum
of the parts". Which does make a lot of sense. However, I've been finding that I end up having to create exactly the same "pattern" of combined transform components again and again in order to solve the same problem but in different dataflows (or even within the same dataflow). Cut-and-paste-tastic! In order to obtain real re-use, it seems to me like SSIS is crying out for an easy way to create new components by using composition - i.e. the ability to take commonly-used combinations of existing components and create new "super" components (without having to write Custom Transform Components in C#/VB.Net and handle everything in code).

Does anyone know if this sort of functionality is likely to make it into SSIS in the forseeable future?

Regards,

Lawrie

View 6 Replies View Related

Reuse Existing Data Flow Components In A Custom Data Flow Component

Aug 29, 2007

Hello,

Is it possible to use existing data flow components (Merge Join, aggregation,...) in a custom data flow component?

Thanks,

Yoann

View 15 Replies View Related

Registeration Of Extended Dlls

May 14, 2007

I require Api call or any ways to find the installed path of SQL SERVER 2005.

This is required becauses you application register set of extended procedures. As part of SQL SERVER 2005 we found that the dll has to be registered with full path in general
<b> "c:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLBinn" </b>
since customers may install the server in any drive , i require to find the installed path.

A help on this will help me a lot..

Thanks
Ilanthendral.R

View 1 Replies View Related

SQLXML - Problem With Dlls

Jun 4, 2007

Hi Group !!



I`m developing a web site with many grids, these grids obtains the data from a SQL Server 2005 DB which data is stored in XML Format... many times when the page load is done, this message appears :

File or assembly name Microsoft.Data.SqlXml, or one of its dependencies, was not found.

But when I access a second time to the same page, the data is displayed normally..

Why this could be happening???

Thanks

DiegoG

View 2 Replies View Related

Accessing .NET Dlls From Stored Procedures

Oct 28, 2004

Can anyone tell me is it possible to register and access .NET dlls from Stored procedures
and how to call those methods in those dlls from Stored procedures

View 1 Replies View Related

NT 4.0 Trial Install Fails To Register DLLs

Jul 5, 2000

In attempting to perform a "typical desktop" install to an NT 4.0 workstation,
install fails to register about 10 DLLs.

i.e. dtspkg.dll, dtspump.dll, msrpjt40.dll, dbscan.dll

As best as I know, the msrpjt40.dll already existed and had a version date of
11-11-98 9:51 P.M.

While the SQLSTP.LOG shows me they failed to register, I don't know why
they failed to register.

Any ideas, comments, etc. would be appreciated.

Thanks!!

View 5 Replies View Related

Question About Stored Procedures, Dlls And Forms...

Feb 24, 2003

I'm just wondering what the effect of including a form in a dll would have on a system? I created a dll that actually has a hidden form in it and is called from a stored procedure using SQL Server 2000. I needed some of the functionality of the richTextBox control, only I didn't want to actually display the form with the box on it. This seems to work when called from a stored procedure (the method called returns correct values and the form never shows up on the server), but are there any inherent problems with this I'm not aware of? I wouldn't think it would be a memory leak and we're not too worried about security. I'm using this as a shortcut around having to write something that converts rich text into plain text and allows us to search the document for keywords. I know this might be a ghetto way around it, but it seems to work.

View 2 Replies View Related

SSIS Script Task And Other Assemblies/DLLs

Feb 28, 2006


I am developing a Script Task for my SSIS package to transfer a file via FTP over SSH (SFTP). I have a nice set of Assemblies/DLLs (purchased from IP*Works) that gives me the added functionality of SSH.

To even get Visual Studio for Applications to see it in the reference list, I copied the DLL (nsoftware.IPWorksSSH.Sftp.dll) to the C:WINDOWSMicrosoft.NETFrameworkv2.0.50727 directory, added it in the references for the script, and added the Imports nsoftware.IPWorksSSH.Sftp line in the script.

As described in: http://sqljunkies.com/WebLog/knight_reign/archive/2005/07/07/16018.aspx

Yet, when I try to run the SSIS package I get a DTS Script Task Runtime Error:

Could not load file or assembly 'nsoftware.IPWorksSSH.Sftp, Version=7.1.2203.0, Culture=neutral, PublicKeyToken=cdc168f89cffe9cf' or one of its dependencies. The system cannot find the file specified.

I tried to move the DLL to the bin directory in the SSIS Package, but that did not help.

Any Ideas?



Thank you for your time,

-Tim

View 10 Replies View Related







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