Enable non-signed references in SSIS Task Script - reference

As far as i Know SSIS references has to be strong name (signed). The question is: Can I change SSIS preferences to allow using references to unsigned assembly ?
Regards, Tom

Related

Linking excel data source with obiee analysis

I am using OBIEE 12c and recently I created a data source from excel file using Visual Analyzer. I used this data source for creating analysis and it worked correctly.
However, when I wanted to create an action link from this data source column to the other analysis in obiee created using another subject area, I got wrong results. So my question is, does OBIEE support action links between data sources created in VA and subject areas created in Admin Tool? If yes, how to do that?
If your table/column names do not match then the vanilla interaction will never work.
You will have to go for the GoURL approach: https://docs.oracle.com/middleware/12213/biee/BIEIT/apiwebintegrate.htm#BIEIT355

Protect VBA code for Excel

Besides adding a password under Project Properties > Protection (Which I think is actually quite easy to hack), how can I prevent users from viewing / copying my code?
May be this is the good possibility: http://msdn.microsoft.com/en-us/library/office/aa189867(v=office.10).aspx
To provide the highest level of security for your VBA code, use
Microsoft Visual Basic version 6.0 to create a Component Object Model
(COM) add-in. Because the VBA code in a COM add-in is compiled as a
dynamic-link library (DLL), it can't be modified without access to the
source code used to originally create it. Application-specific add-ins
are not compiled; you must use the same protections as templates and
documents.

Create docx with older msword8.h using Office 2010

When using Office Automation with MFC we have an old application written in Visual C++ that uses the headers from msword8.h of Word97, were are changing our systems to use Office 2010 i would like to know if without updating the msword8 files could i change the fileformat parameter while saving to save in .docx or do i need to update to new headers?
Sorry if i am not expressing myself right but i don't know a lot C++ and much less Windows programming. If any aclaration is needed be sure to ask.
Bonus question:
The way the SaveAs method is used is like: doc.SaveAs(filename, VT_BSTR)
I cant find where VT_BSTR was declared or how can i modify it, if some one could point me to the right direction it will be greatly appreciated.
If you are using office 97 you can't change file format. To save in word97 type you can use the following code.
COleVariant vOpt((long)DISP_E_PARAMNOTFOUND,VT_ERROR),vTrue((short)TRUE), vFalse((short)FALSE);
cstring filename;//send file path.
oDoc.SaveAs(filename,vOpt,vOpt,vOpt,vOpt,vOpt,vOpt,vOpt,vOpt,vOpt,vOpt,vOpt,vOpt,vOpt,vOpt,vOpt);
It's not possible to change VT_BSTR, is a pre defined enum which means: VT_BSTR [V][T][P][S]
OLE Automation string it's declared in wtypes.h.

ssis excel source cannot acquire connection manager at DESIGN time

I have an SSIS (super)package that consists of several (about) 40 packages, each of which has several data flow tasks, most of them loading some excel data to a sqlserver database. So I have several excel source connection managers, one per excel file.
This has always worked fine until recently : I have to change an excel source in one of my packages (a column was added in the excel which has to be loaded in the destination sqlserver table) but I cannot edit the excel source in SSIS : when I click on "columns" I get an error box "DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER". So this is a design time issue, not a run time problem. I've seen a question like this one on stackoverflow but no answer. Anyone has an idea ?
I' ve already removed office 2007 and reinstalled office 2003 on my machine, but this didn't help
it has nothing to do with 64bit mode, which I've read about here
Is there some limit on the number of connection managers in ssis ?
Most of my connection managers were created with copy/paste and hence they have the same Id, although they point to different excel files. Could this be a problem ?
I should also mention that the package runs without any problems, so it's only "editing/changing" the package that doesn't work. For the moment I circumvent this problem by disabling the data flow that should change and by replacing it with a sql statement that hardcoded inserts the data from the excel into the destination table.
Maybe another intersting thing to mention : I can create a new package and add and change excel sources without problems, but then again, when I try to copy this excel source in my package, I cannot edit it.
Did you try to check the advanced options on the Source Connection?
Right click on the component and select "Show Advanced Editor..."
Select the column mappings tab and press the Refresh button.
This should point out that the XLS connection has some additional columns or that the file that you are pointing at, cannot be pre-validated at runtime.
M.
I'm not sure if this will work but try the Work Offline option in the SSIS menu in BIDS/VS. What this should do is not validate the connection before you edit the component. It might be able to get you into the component.

Excel Expert: need a good solution to fill some data into a complex excel sheet

I am stuck with a problem
The Requirement is that, there a complex Excel file(XLS) that is used as template; it has Macros and all the worksheets are either locked or hidden. When the user clicks to download it, the follows operation occurs
Unlock a particular worksheet, fill some data # certain cells and then lock it back.
Unhide a worksheet, fill some data # certain cells and then hide it back.
I think there are two options to resolve it (if there are more then please let me know)
Interop libraries / Excel Object Library
OLEDb Driver
I cannot got with the option 1 as excel is not installed on the webserver and I heard that it's not a good option to install MSOffice # webserver.
My question is that can we use OLDb to perform the operations mentioned above OR is there any other option ???
BTW Sharepoint service is also not available :(
Please help!!!!
You could maybe try ExcelPackge.
See this article:
Server-Side Creation of Excel 2007 Files Using .NET 3.0 and Office Open XML
see also:
Office Space - Building Office Open XML Files
Check out this question I asked some time ago for an overview of options. I ended up going with the Aspose library, which I link to in my original post. It's not cheap, but it does the job very simply and elegantly. It even has templating functionality built in (called SmartMarkers, IIRC).
SpreadsheetGear for .NET will handle this and has an API which is very similar to Excel. You can see what our customers say and download the free, fully functional evalution here.

Resources