Designer Overwrites Custom RDL

Jan 1, 2008

Hi

According to the RDL spec (nov 2005), RDL Designers are supposed to preserved custom elements. In my initial test Visual Studio 2005 overwrites/removes any custom elements. I tried to find some support/samples of this but was unsuccessful.


Here is what I added


<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:myNameSpace="http://myNameSpace.com/myNameSpace">

<CustomProperties name="Custom">


<myNameSpace:test>test</myNameSpace:test>
</CustomProperties>
..

Anybody have some advice about this.

Thanks Tobias


View 4 Replies


ADVERTISEMENT

Removing A Custom Component From SSIS Designer

Mar 12, 2007

How do I remove a custom component from SSIS Designer pernamently? I can easily remove it from the tool box, but I want to get rid of it completely.

I tried searching in MSDN for an answer to this question but I could not find it.

Thanks

View 6 Replies View Related

Testing A Custom DPE In Visual Studio Report Designer

Aug 17, 2007

Hi,

I'm building a custom Data Processing Extension (DPE), and I was hoping test it inside Visual Studio report designer, instead of doing it on the server side in Reporting Services.

Note that I have gotten the RS configuration working.

Does anyone know how to set this up for VS?


Thanks!

View 1 Replies View Related

Custom Assembly Behaves Differently In The Report Designer And Report Manager

Mar 18, 2008

Hello everyone,

I created a custom assembly using C# to transform some binary data into text, and in this assembly I used one win32 dll developed by our customer to help me to do the tranformation.
The code I used to call the win32 dll is like below:
[DllImport("tdasuie.dll", EntryPoint = "AlrtLogConditionToText",
ExactSpelling = false, CharSet = CharSet.Auto, SetLastError = true)]
private static extern UInt32 AlrtLogConditionToText(Byte[] pbCondition, StringBuilder pszText, UInt32 dwSize);

I defined a C# method to call the above win32 method and return a string. Then in the report, I called this C# method to get the correct string.

In the report designer, the C# method in the custom assembly can return the correct string in the preview window. But after I deployed the report into the report server, the textbox will only display "#error" in the report manager web page.

Can anybody help me on it? Thanks a lot.

Danny

View 4 Replies View Related

'Copy Website' Function In VS 2005 Updates Or Overwrites Database?

Sep 8, 2006

I have a sql 2005 express database uploaded to my website with important information in it.

Now, I had to make some table change and need to update the online database.

I am not sure if the 'Copy Website' function in Visual Studio 2005 will update the database structure and data or will simply overwrite it.

Does anybody know the answer? If it overwrites it, would you please point me to information on how can I update the database structure and data without ruining it?

Thanks.

View 3 Replies View Related

Displaying Custom Properties For Custom Transformation In Custom UI

Mar 8, 2007

Hi,

I am creating a custom transformation component, and a custom user interface for that component.

In
my custom UI, I want to show the custom properties, and allow users to
edit these properties similar to how the advanced editor shows the
properties.

I know in my UI I need to create a "Property Grid".
In
the properties of this grid, I can select the object I want to display
data for, however, the only objects that appear are the objects that I
have already created within this UI, and not the actual component
object with the custom properties.

How do I go about getting the properties for my transformation component listed in this property grid?

I am writing in C#.

View 5 Replies View Related

Expression Defined In SELECT Clause Overwrites Column Defined In FROM Clause

May 14, 2008

2 examples:

1) Rows ordered using textual id rather than numeric id


Code Snippet
select
cast(v.id as nvarchar(2)) id
from
(
select 1 id
union select 2 id
union select 11 id
) v
order by
v.id






Result set is ordered as: 1, 11, 2
I expect: 1,2,11


if renamed or removed alias for "cast(v.id as nvarchar(2))" expression then all works fine.

2) SQL server reject query below with next message

Server: Msg 169, Level 15, State 3, Line 16
A column has been specified more than once in the order by list. Columns in the order by list must be unique.




Code Snippet
select
cast(v.id as nvarchar(2)) id
from
(
select 1 id
union select 2 id
union select 11 id
) v
cross join (
select 1 id
union select 2 id
union select 11 id
) u
order by
v.id
,u.id




Again, if renamed or removed alias for "cast(v.id as nvarchar(2))" expression then all works fine.

It reproducible on

Microsoft SQL Server 2000 - 8.00.2039 (Intel X86) May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft Corporation Developer Edition on Windows NT 5.1 (Build 2600: Service Pack 2)


and


Microsoft SQL Server 2005 - 9.00.3042.00 (Intel X86) Feb 9 2007 22:47:07 Copyright (c) 1988-2005 Microsoft Corporation Developer Edition on Windows NT 5.1 (Build 2600: Service Pack 2)

In both cases database collation is SQL_Latin1_General_CP1251_CS_AS

If I check quieries above on database with SQL_Latin1_General_CP1_CI_AS collation then it works fine again.

Could someone clarify - is it bug or expected behaviour?

View 12 Replies View Related

Expression Editor On Custom Properties On Custom Data Flow Component

Aug 14, 2007

Hi,

I've created a Custom Data Flow Component and added some Custom Properties.

I want the user to set the contents using an expression. I did some research and come up with the folowing:





Code Snippet
IDTSCustomProperty90 SourceTableProperty = ComponentMetaData.CustomPropertyCollection.New();
SourceTableProperty.ExpressionType = DTSCustomPropertyExpressionType.CPET_NOTIFY;
SourceTableProperty.Name = "SourceTable";






But it doesn't work, if I enter @[System:ackageName] in the field. It comes out "@[System:ackageName]" instead of the actual package name.

I'm also unable to find how I can tell the designer to show the Expression editor. I would like to see the elipses (...) next to my field.

Any help would be greatly appreciated!

Thank you

View 6 Replies View Related

Expression Issue With Custom Data Flow Component And Custom Property

Apr 2, 2007

Hi,



I'm trying to enable Expression for a custom property in my custom data flow component.

Here is the code I wrote to declare the custom property:



public override void ProvideComponentProperties()

{


ComponentMetaData.RuntimeConnectionCollection.RemoveAll();

RemoveAllInputsOutputsAndCustomProperties();



IDTSCustomProperty90 prop = ComponentMetaData.CustomPropertyCollection.New();

prop.Name = "MyProperty";

prop.Description = "My property description";

prop.Value = string.Empty;

prop.ExpressionType = DTSCustomPropertyExpressionType.CPET_NOTIFY;



...

}



In design mode, I can assign an expression to my custom property, but it get evaluated in design mode and not in runtime

Here is my expression (a file name based on a date contained in a user variable):



"DB" + (DT_WSTR, 4)YEAR( @[User::varCurrentDate] ) + RIGHT( "0" + (DT_WSTR, 2)MONTH( @[User::varCurrentDate] ), 2 ) + "\" + (DT_WSTR, 4)YEAR( @[User::varCurrentDate] ) + RIGHT( "0" + (DT_WSTR, 2)MONTH( @[User::varCurrentDate] ), 2 ) + ".VER"



@[User::varCurrentDate] is a DateTime variable and is assign to 0 at design time

So the expression is evaluated as: "DB189912189912.VER".



My package contains 2 data flow.

At runtime,

The first one is responsible to set a valid date in @[User::varCurrentDate] variable. (the date is 2007-01-15)

The second one contains my custom data flow component with my custom property that was set to an expression at design time



When my component get executed, my custom property value is still "DB189912189912.VER" and I expected "DB200701200701.VER"



Any idea ?



View 5 Replies View Related

Adding Custom Property To Custom Component

Aug 17, 2005

What I want to accomplish is that at design time the designer can enter a value for some custom property on my custom task and that this value is accessed at executing time.

View 10 Replies View Related

Custom Task - Custom Property Expression

Aug 16, 2006

I am writing a custom task that has some custom properties. I would like to parameterize these properties i.e. read from a varaible, so I can change these variables from a config file during runtime.

I read the documentation and it says if we set the ExpressionType to CPET_NOTIFY, it should work, but it does not seem to work. Not sure if I am missing anything. Can someone please help me?

This is what I did in the custom task

customProperty.ExpressionType = DTSCustomPropertyExpressionType.CPET_NOTIFY;

In the Editor of my custom task, under custom properties section, I expected a button with 3 dots, to click & pop-up so we can specify the expression or at least so it evaluates the variables if we give @[User::VaraibleName]

Any help on this will be very much appreciated.

Thanks

View 3 Replies View Related

DTS Designer Error

May 31, 2001

Hello everybody!
I've already posted this question before but this error never been resolved.
My DTS designer is totally screwed.
When trying to create new local package getting error message "Could not create Component Categories Manager".
I can't even use DTS to copy data in using DTS wizard.
Somebody recommended to reinstall SQL Server which I did but it didn't solve my problem.

Any other suggestions?

Thanks for your help

Lena

View 1 Replies View Related

Query Designer

Oct 5, 2001

Does any one know of a way that a group of my developers can use this without giving them access to the rest of Enterprise manager?

Want to give them access to write queries and they are all Access developers so that I have to do as little training as possible then letting them have Query designer would keep them in their nice little world without hassing me to much.

Cheers for any help.

View 1 Replies View Related

DTS Designer Error

Dec 1, 2000

When using Enterprise Mgr on a workstation connected to a MSSQL Server, if I attempt to start a new DTS Package, I get the following msg:
Title: DTS Designer Error
Text : Could not create Component Categories Manager

I get the same msg when trying to edit an existing package. I tried to re-register Dtspkg.dll,Dtsui.dll, and dtsffile.dll. All were successful but Dtspkg.dll, which failed. Does anyone know what causes this, and what else I can try?

View 2 Replies View Related

Query Designer

Feb 27, 2001

When i'm trying to open the table say return all rows in Enterprize manger it gives me an error saying
Query Designer encountered a query error
Unspecified Error.
I could not figure out what's goin on...

I appriciate if any one can help me out solving with this problem.

or what need to be done ?

Thanks a lot in advance!!!

Hari.

View 7 Replies View Related

DTS Designer Error

Mar 4, 2004

When I open my DTS package at my PC ( Client ) .There is an error message show like below .

DTR Designer Error.
There was a problem retriving the list of OLE DB providers.

No. Provider is selected .TO continue,you must select a valid provider.


Please help

View 7 Replies View Related

DTS Designer In 64 Bit Version

Oct 17, 2007

Have anyone tried installing the DTS Designer 2000 Components in 64 Bit Environment

Vic

View 6 Replies View Related

Where Is The Query Designer?

Dec 6, 2007

In SQL 2000 the query designer could be opened and the query type changed to create an INSERT.

Is this feature still available in SQL 2005?
If so, how do I open the query designer and change query types?

Thanks

View 5 Replies View Related

KPI Designer In Proclarity

May 20, 2008

I'm fairly new to Proclarity and I'm using 6.3. I just have desktop professional and we still don't have proclarity analytical server installed yet. I would like to work around with KPI Designer, how am I able to install it. Does it come with extra components and needs to be installed from the installation CD?


...Also folks any good resources in learning proclariy?


thanks in advance!!

Rok

View 1 Replies View Related

Download DTS Designer?

Jun 17, 2005

Does anyone know if Microsoft provides a download of DTS Designer that I can use with SQL Server 2005 Express? 

View 4 Replies View Related

Designer Grid

Aug 15, 2007

Can you turn on a grid in the designer to assist you with aligning tasks, etc. I've trie all kinds of things, but can't get a grid. Or even maybe rules? I'm probably missing something real simple, but can't find.

View 7 Replies View Related

Query Designer

Nov 5, 2007

I use the Report Wizard to generate reports. Within the "Design the Query" screen, I try the query statement as :
exec mydb.dbo.rptSales @fortheyear
It shows me an error: Implicit conversion from data type sql_variant to smallint is not allowed. Use the CONVERT function to run this query.

The stored procedure of rptSales is
CREATE PROCEDURE dbo.rptSales
@pyear smallint=null
AS
.......

The rptSales has been tested OK on SQL Server Management Studio.

Actually, I have other similiar stored procedures using smallint as a parameter, and I can use the Report Wizard to generate reports, except the above one.

How can I fix this?

Thanks a lot,
Joe.


View 4 Replies View Related

SqlDataSource Control Does Not Appear In Designer

Feb 1, 2006

I have dragged 3 SqlDataSource Controls to the WebDesigner and none are appearing graphically in the Designer View, but they are in the Source View.  How can I get the control to appear in the designer.
 
Thanks,
Mark

View 5 Replies View Related

DTS Designer Error-URGENT!

Jul 18, 2001

Hello!
Yesterday my DTS designer was fine and today suddenly when I open the package in designer there is nothing there.
I tried to create new package and it gave me an error when I was trying to save it "It is insufficient disk space to complete operation".

What does this mean?

Thanks

Lena

View 1 Replies View Related

DTS Designer Error In SQL 2000

Oct 19, 2001

I am testing SQL Server 2000 and after having installed it on a machine with SQL 7 already on it everything went OK.

However, if I try to create a DTS package (or open and existing one) on either of my SQL Server instances I get a "DTS Designer Error". After which, the DTS package window opens but I can't see any of the tasks in the tool bar. I can't select any tasks from the Task option in the menu bar either.

Has anyone experienced anything similar? Any suggestions would be appreciated.

Thanks.
Barb

View 2 Replies View Related

DTS Designer Error In SQL 2000

Oct 9, 2000

I am testing SQL Server 2000 and after having installed it on a machine with SQL 7 already on it everything went OK.

However, if I try to create a DTS package (or open and existing one) on either of my SQL Server instances I get a "DTS Designer Error". After which, the DTS package window opens but I can't see any of the tasks in the tool bar. I can't select any tasks from the Task option in the menu bar either.

Has anyone experienced anything similar? Any suggestions would be appreciated.

Regards,

Karl

View 1 Replies View Related

Query Designer Error?

Nov 24, 1999

Hello all

I've got SQL Server 7.0 SP1 installed (in a NT4 SP6 environment).

Recently, it came up with error whenever I try to open a table or a view (return all rows) inside the Enterprise Manager. The descriptive (NOT!) error message is like this:

"The query cannot be executed because some files are either missing or not registered", and on pressing "help",
the help files report
"Query Designer cannot locate your query files and cannot run your query"

I have tried re-booting the machine and upgrading mmc.exe to version 1.2 (from 1.1), but both in vain.

Can anyone shed some lights please?

Simon

View 2 Replies View Related

Query Designer Error

Feb 9, 2001

Checked out BOL on this issue, but not enough info received to troubleshoot. Hoping someone out there has some input.

This issue is only happening on the server side not the client. Also, it suddenly appeared on three different machines.

Query Designer:
"An unexpected error happened during this operation" [Query} - Query Designer encountered a Query error: Unspecified error.

The how: In a database, go to tables and select a table known to have data right click on mouse and select Open Table, return all rows. This is when the error appears.

BOL states the the file may be corrupt or from a non-supported version of SQL Server EM. Nothing was installed on these servers and we're still on SP2. This error just all of a sudden appeared and spread to 3 different machines...

Another issue is the Return to Top function is disabled. This function provides the maximum number of rows to fetch.

Any assistance would be appreciated! Thanks.

View 1 Replies View Related

Query Designer Error

Feb 26, 2001

When I try to Return All Records in a table, I receive the error "Query Designer encountered a query error: unspecified error." I can successfully view the design of the table just not the records themselves. This is happening in all of my tables in all dbases.

Thanks for any suggestions.

View 1 Replies View Related

DTS Designer Gives Error When It Starts

Jul 10, 2002

Thanks in advance for any help you may offer.

I have never seen this error before... When I click on DTS to either open an existing package or create a new one I get the following errors: Error in the DLL, DTS Design Error. When I try to create a new DTS it gives me the errors but still opens but I'm missing all of the connection objects except for MS data link and other connection. I had no problems designing and executing the packages from a development box. I'm not even refering to the typical scheduling problems that exist when SQL Agent is configured incorrectly!

View 2 Replies View Related

Can't Edit Table Designer

Dec 5, 2005

Hi. I am not sure why, but i can't change any of the values in my Table Designer. I want to change my primary key's "IsIdentity" value to "yes" and the Identity Increment to "1" but everything is greyed out and nothing is editable. Please help! I am not in debug/run mode when i am editing these values. I have a feeling that I am going to feel stupid when somebody points out what i am (not) doing. So, any takers?

View 7 Replies View Related

Connection Objects Are Not Available In DTS Designer

Oct 3, 2005

Problem Description: The following error is popping up and not allowing opening or running any of the DTS packages. Connection objects are not available in DTS Designer.

"Error in the DLL"
"Need to run the object to perform this operation"

We have reinstalled the MS SQL Server 2000 Standard Edition with Service pack 3 and MSO3031 hot fix. Still the issue continues.
Operating System:Windows 2000

View 2 Replies View Related

DTS Designer Lookups Error

Apr 16, 2008





Whenever we open a task and choose the lookups tab ellypsis button we get this error

Microsoft SQL Server Management Studio has encountered a problem and needs to close. We are sorry for the inconvenience.

If you were in the middle of something, the information you were working on might be lost.

Any idea what might be causing this? Am I missing something?

View 3 Replies View Related







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