Programmatically Disabling/enabling Drilldowns

Nov 2, 2007



I have a report where a particular row may or may not need to drill down, depending on whether or not there is more than one row grouped within it. I was wondering if there is some sort of property I can access that will enable or disable a drill down. I know where to go to do it in the IDE, but this is something that needs to happen at runtime.

Thanks!

View 2 Replies


ADVERTISEMENT

Enabling Or Disabling Parameters (URGENT)

Nov 13, 2007



I have a report that can accept two parameters name or address. So if the user selects the name the dropdown for address should be disabled. if the user select an address the name dropdown should be disables?

is it possible to do something like this in SQL Report

Thanks

View 3 Replies View Related

Re : Enabling / Disabling Data Flow Tasks

Apr 17, 2006

Hello,



I have created around 10 seperate packages for our application data load. Now I am planning to create a master package (or a wrapper package) which will execute all the 10 packages (thru execute package task). Then I have a job which executes the master package at a given date and time.

Question : How can I enable / disable execution of each package within the master package depending upon a flag variable. The reason why I need this mechanism is if the flag = 0 then I don't want all 10 packages within master package to execute and if flag = 1 then master package execution should begin and subsequently execute all packages within that master package.





Thank you

Jatin Shah

View 3 Replies View Related

Enabling And Disabling Tasks At Run Time Using Expressions Does Not Work Properly

Jul 28, 2007

Hi Friends
"I wonder why the boolean values Set to "Disable Property" using expressions does not work as expected (though Precedence constraints work fine). I find no way to disable individual task. "

I have a boolen variable V, (False) enabled by default at design time for a task T, I disable T based on a condition (if A ! = 'a') during runtime.

Now first time when I run the Package, Task gets disabled (works fine on the condition given). However T gets permanently disabled even after we stop debug mode, which is not the expected behavior. Further on when you run, it wont work at all.

Is it true that a task disabled at design time cannot be enabled during runtime via expressions ?

If things are working fine in your case, pls let me know what settings are required.

Thanks
Subhash Subramanyam

View 5 Replies View Related

Programmatically Enabling Sa Login In SS2K5?

Jun 29, 2006

Hello.

Our software applications require the sa login to be enabled. We have a .NET (C#) installation application that installs our software applications.

So, is there any way that we can programmatically enable the sa login for SQL Server 2005? Ideally, we'd like to code this into our installation application.

Thanks.

View 1 Replies View Related

About Programmatically Disabling The Tasks, Manually Terminating Further Flow In A Package

Apr 19, 2007

Hi folks,

I have come across a situation where there 10 tasks. The second task on the flow is a script task which disables all further tasks based on a condition. I thought that the logic would be better if we force terminate the package successfully at this stage itself. How can this be done.



Thanks

Subhash Subramanyam

View 4 Replies View Related

Enabling MSSQLServerADHelper

Oct 3, 2006

I was installing application software that was trying to install SQL Server 2005 and received the following error message.

"Setup failed because Service MSSQLServerADHelper is disabled for the current hardware profile. Services must be set with the current Hardware Profile logon property profile enabled."

Simple fix for most but I do not know how to do what it asks.

Thanks, Bruce

View 1 Replies View Related

Enabling CLR Integration

Jul 27, 2006

Hi All,

I'm new to SQL Server Express. But I need to find out how easy it is to create custom types with SQL Server Express because we have to represent house numbers as a custom type in the database. After enabling the CLR integration with the SQL Server Surface Area Configuration tool, I created an SQL Server Project with VS 2005 Pro., created a custom type called HouseNo, deployed it to a database and finally created a table with a column of that custom type. But when I tried to use the option 'Show Table Data' for that table, the following errors always appeared

SQL Execution Error

Executed SQL statement SELECT NP.ToString() AS NP From Table1
Error Source : .NET SqlClient Data Provider
Error Message : Execution of user code in the .NET Framework is disabled. Enable "CLR Enabled" configuration Option. -- I think I've already enabled it.

Does anyone know how to solve the problem? Just one more question, for a custom type implementing the IComparable interface, would SQL Server Express uses the CompareTo method to perform sorting?

Thanks!

Regards,
Nathan
----------------------------------------------------------------------------------------------
The SQL Server Epxress is newest and the following is code for the custom type.

---------------------------------------------------------------------------------------------
using System;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using Microsoft.SqlServer.Server;

[Serializable]
[Microsoft.SqlServer.Server.SqlUserDefinedType(Format.UserDefined, IsByteOrdered = true, MaxByteSize = 8000)]
public class HouseNo : INullable, IComparable, IBinarySerialize
{
// Private member

private String number;
private String letter;
private bool m_Null;

public HouseNo()
{
Number = "0";
Letter = "0";
}

public HouseNo(String number, String letter)
{
Number = number;
Letter = letter;
}

public string Number
{
get { return number; }
set { number = value; }
}

public string Letter
{
get { return letter; }
set { letter = value; }
}

public int CompareTo(Object obj)
{
if (obj is HouseNo)
{
HouseNo hno = (HouseNo) obj;
int numCompare = Number.CompareTo(hno.Number);

return (numCompare == 0 ? Letter.CompareTo(hno.Letter) : numCompare);
}
else throw new Exception("Obj is not a HouseNo");

}

public override string ToString()
{
// Replace the following code with your code
return Number+Letter;
}

public bool IsNull
{
get
{
// Put your code here
return m_Null;
}
}

public static HouseNo Null
{
get
{
HouseNo h = new HouseNo();
h.m_Null = true;
return h;
}
}

public static HouseNo Parse(SqlString s)
{
if (s.IsNull)
return Null;
HouseNo u = new HouseNo();
// Put your code here
return u;
}


#region IBinarySerialize Members

public void Read(System.IO.BinaryReader r)
{
Number = r.ReadString();
Letter = r.ReadString();
}

public void Write(System.IO.BinaryWriter w)
{
w.Write(Number);
w.Write(Letter);
}

#endregion

}

View 4 Replies View Related

Enabling TCP/IP Protocol In SQL Server 6.5

Apr 7, 2004

I am using SQL Server 6.5. By default TCP/IP protocol is not enabled (1433 port is not opened by the server). How can I enable this so that I can use a JDBC driver to connect to it.

In SQL Server 2000, the "SQL Server Network Utility" helps us to enable the TCP/IP protocol. But not able to figure our how/where this can be done in 6.5.

Thanks for any help

View 1 Replies View Related

Enabling The Service Broker

May 30, 2006

I'm trying to enable the Service Broker for Sql Server 2005 because I want to be able to use a SqlDependency object.

I ran the following query to see if my local sql server service broker was enabled:
SELECT is_broker_enabled FROM sys.databases WHERE name = 'dbname';

It came back with a value of 0 (which means it is not enabled).

I tried executing the following sql command to enable it:
ALTER DATABASE dbname SET ENABLE_BROKER;

The query has been running for over 5 mins and just keeps spinning (should it take this long to enable the Service brfoker), so I cancel it.

I even try to issue the command to see if the service broker is enabled after I cancel the query and it is not enabled.

How can I properly enable the Service Broker?

View 7 Replies View Related

Help Enabling FTS In Multiple Database

Oct 26, 2007



Hi all,
We have a remote server which runs SQL server 2000 DEV edition. We have 4 databases running in it. Our application needs the feature of Full Text Search in all the four databases. We have installed the necessary services. The problem is that we are able to create FTS on one database but when we try to run FTS on other databases the MSSearch service stops. on restarting it mssql stops. we are not able to do FTS on more than one database.
We had tried the same in our local server but it is working fine. The only difference between the two is that the local machine are member server. Has this to do anything with the FTS? Meanwhile the eventviewer doent help much, it just tells that the mssearch engine has stopped unexpectedly and it has done this 'n' time.

Please help

Thanks
Smitha

View 5 Replies View Related

Enabling Ssl Encryption For SQL 2005

Apr 12, 2008



I have SQL 2005 (v9.0.3042) on Windows Server 2003. The sql server is running under LocalSystem account.

I am trying to enable SSL encryption as described in the article http://support.microsoft.com/kb/316898.
I have logged onto the machine as an administrator when creating a new certificate request in MMC. I have set "Force Encryption" to true on server and restarted the server.

However all my clients (.net code, SQL Server Management Studio) successfully connect to the server without "Encrypt=Yes". I expected to see a ssl error or some kind of error denying connection because the cliend did not request ssl ecnryption.

what am I missing? any help would be greatly appreciated.

thanks

View 8 Replies View Related

SQL 2012 :: Enabling TDE On Databases Which Are Used For Log-shipping

Sep 15, 2015

I have log shipping enabled on databases(primary and secondary) and works fine. I need to implement TDE on the database. I have experience on implementing TDE on databases which are not used for log-shipping.

What are the steps needed to setup TDE which are involved with log-shipping.

View 0 Replies View Related

Problem With Enabling The Fulltext Search

Mar 9, 2007

Hello,
I try to get the full-text search on SQL Server Express with advanced Services SP2
running, but I got some problems.
First I tell you what I did.
I created a new database called TestDB.

Then I created a TestTable inside the db with a Primary Key:

CREATE TABLE [dbo].[TestTable](
[id] [int] IDENTITY(1,1) NOT NULL,
[text] [ntext] COLLATE Latin1_General_CI_AS NULL,
CONSTRAINT [PK_TestTable] PRIMARY KEY CLUSTERED
(
[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

Then I executed these commands:

sp_fulltext_database enable
create fulltext catalog testcatalog as default
create fulltext index on TestTable(text) key index PK_TestTable

Now the problem:
When I insert some rows in the Table the catalog get not populated.
(change Tracking Setting is set to auto)
Instead these error messages are written into the crawl log:

Error '0x80004005' occurred during full-text index population for table or indexed view
'[TestDB].[dbo].[TestTable]' (table or indexed view ID '2073058421', database ID '5'),
full-text key value 0x00000002. Attempt will be made to reindex it.

The component 'sqlfth90.dll' reported error while indexing.
Component path 'c:ProgrammeMicrosoft SQL Server90COMsqlfth90.dll'.

Can somebody give me a hint?

Greetings,
Phillip

View 2 Replies View Related

Problem Enabling Full-text

Mar 7, 2008

I'm connected to my instance locally using Enterprise Management Studio. I click the node 'Management', right-click "Full-Text Search", and click Start. I get this error message. Any ideas?

===================================

Unable to start service MSFTESQL on server PAUL-PC.

===================================

Access Denied (ObjectExplorer)

------------------------------
Program Location:

at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.Service.CheckServiceActionReturnValueSuccess(UInt32 returnValue)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.Service.Start()

View 3 Replies View Related

Enabling Views, Functions Toggle

Oct 23, 2007

Hello:

Is it possible to standardize sql views or functions to filter data for the user, before they view the report? For example if I have a SQL view that filters for "green, cotton-made socks", can this somehow be an option among others before a user presses "view report?"

A response is greatly appreciated. If this is possible, how ?


Many thanks.

View 1 Replies View Related

Sql Express - Enabling Remote Connections

Sep 1, 2006

I have an application that will deployed on LANS running 1- 10 systems on average.

The front end is C#.net 2.0 and the backend will be sql express.

I need to enable remote connections by default because 99.5% of our customers have 2 or more computers.



I have two questions:

1) How do I enabled remote access during installation? Can I run the sqlExpress install silently and turn this on so that my users (who are very non-technical) do not have to go into surface configuration and turn on network access?

2) If I already have sql express installed (like on my development machine now) how do I enable remote access via a command line utility without having to run the surface configuration tool? I want to be able to execute a command to turn on network access so my users don't have to go to a GUI tool(Surface area configuration) and turn it on themselves. Can I use sqlcmd to turn on network access or some other command line utility that I can execute easily. Perhaps there is some type of .NET assembly that I can reference from within my C#.net application that will allow me to enable remote access? Basically How do i take care of this without making my users have to do it?

thanks in advance

View 3 Replies View Related

Recovery :: Enabling TDE On Databases Which Are Used For Log-shipping

Sep 16, 2015

I have log shipping enabled on databases(primary and secondary) and works fine. I need to implement TDE on the database. I have experience on implementing TDE on databases which are not used for log-shipping.steps needed to setup TDE which are involved with log-shipping.

View 2 Replies View Related

Enabling Data-Driven Subscriptions

Oct 1, 2007

I am trying to go through the MS tutorials on creating Data-Driven Subscriptions.



http://technet.microsoft.com/en-us/library/ms169673.aspx



I have followed the steps multiple times but when I go to add the Data-Driven Subscription, the option is disabled. The report's datasource is setup to use stored credentials and the server Mail is setup. Is there another prerequisite that I'm missing?

View 1 Replies View Related

Enabling Service Broker In Sql Server 2005

Oct 23, 2006

helloi use Visual Web Developer and SQL server 2005 express , how can i enable service borker of my sql server ?thaks for any helpderin

View 1 Replies View Related

Enabling ASPNET User To Access SQLEXPRESS

May 28, 2005

Im getting ASP.Net 2.0 Beta 2 setup on my home machine to kick around
with.  Im assuming this error means i have SqlServer Express
mis-configured for integrated security.  if so, how do i go about
making sure that the ASPNET user has at least read access to the
Database?
 Error Message wrote:
Server Error in '/Kinetic' Application.

Cannot open database "aspnetdb" requested by the login. The login failed.Login failed for user 'GAMESASPNET'.



Description: An
unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the
error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Cannot open database "aspnetdb" requested by the login. The login failed.Login failed for user 'GAMESASPNET'.

Source Error:




Line 13: protected void Page_Load(object sender, EventArgs e)Line 14: {Line 15: Membership.CreateUser("jeff", [password], [email]);Line 16: }Line 17: }







Source File: c:InetpubKineticDefault.aspx.cs    Line: 15

View 3 Replies View Related

SQL 2012 :: Error On Enabling File Stream

Mar 26, 2014

I am trying to enable the FileStream in SQL Server 2012 Enterprise Edition. I can successfully enable "Enable Filestream for Transact-SQL Access" but I am unable to enable "Enable Filestream for the file I/O access". Due to this I am unable to open the folder location of the filetable.

View 3 Replies View Related

SQL Server 2008 :: Enabling TDE On Databases Which Are Used For Log Shipping

Sep 15, 2015

I have log shipping enabled on databases(primary and secondary) and works fine. I need to implement TDE on the database. I have experience on implementing TDE on databases which are not used for log-shipping.

What are the steps needed to setup TDE which are involved with log-shipping.

View 0 Replies View Related

What Is The Memory Footprint Of Enabling Clr In Sql Server 2005?

Aug 14, 2007

we wonder about the tradeoffs of t-sql vs clr in sql server 2005 especially from a memory perspective. Is there documentation available on this subject?

View 8 Replies View Related

Enabling Views, Functions Through Report Builder?

Oct 23, 2007

I was wondering if it was possible to incorporate sql views or functions that filter data on the top bar for users when they run a report.

a response is greatly appreciated! If so, how?

View 1 Replies View Related

DB Engine :: Risk Of Enabling Change Tracking

Oct 6, 2015

We are developing an application that requires change tracking.We tested it in development and test environments and we are preparing our production deployment.The very first thing that needs to be done is an

ALTER
DATABASE [db_name] SET
CHANGE_TRACKING =
ON (CHANGE_RETENTION
= 2 DAYS,
AUTO_CLEANUP =
ON)

We are holding on this first step because this statement alone executed for a good 4min on the development server. The production environment is many times larger and busier, and we can’t afford service disruption, so we are at the point where we need to understand what’s involved in running this ALTER DATABASE statement.Is there any documentation on what is happening behind the scene when this statement executes such that we can assess the risks of running it in production?

View 5 Replies View Related

CERTIFICATE PROBLEM WHILE ENABLING SSL ON SQL SERVER 2005

Jun 13, 2007

Hi ,

How do we install a certificate for enabling security on MS -SQL Server 2005?
I tried to install through MMC but it says no " certificate authority found " . Any
help will be highly appreciated , Thanks to you all in advance :-)

Best Regards,

Sudhansu Tiwari

View 3 Replies View Related

Trigger - Disabling

May 18, 2001

I need to disable a trigger for a week w/o droping it. Is there a way in sql ?

Thanks and nice week-end.

Ivan

View 2 Replies View Related

Job Is Disabling Every Night

Apr 12, 2002

Please help if you can! I have setup a job that runs every day on an hourly basis. Every morning I find that it's been disabled. The funny thing is is that the schedule is disabled, but the job is not (you see 'Enabled' in the jobs list in EM, but when you view the schedules tab, it's disabled.) Also, it runs a several times before becoming disabled.

TIA,

Colleen

View 2 Replies View Related

Disabling Replication

Jan 9, 2003

I have a server that was being used for logshipping and had
replication set up at some point as well. One of the databases got out
of sync in the logshipping process so I removed logshipping and was
going to reinitialize the database and set up the logshipping again.
The database is in read only mode and when I try to take it out of
read only I get the following message:

Error 5063: Database 'XXXXXXXX' is in warm standby. A warm stanby
database is read-only. ALTER DATABASE statment failed. sp_dboption
command failed.

I have tried to disable replication on the server but get the
following error message:

SQL Server Enterprise Manager could not disable 'SRVXXXX' as a
publisher.
Error 3906: Could not run BEGIN TRANSACTION in database 'XXXXXXX'
because the database is read only.

So my problem is that I can't take the database out of read-only mode
because of replication and I can't disable replication because the
database is in read-only mode.

Has anyone come across this before and how should I resolve it? I
tried dropping the database as well and that didn't work either.

Any ideas or help would be greatly appreciated.

Thanks in advance,

Brad

View 1 Replies View Related

Disabling The Trigger

Mar 25, 2003

Hi,

I have a update trigger on a table. Can I disable this trigger for duration of a job which updates this table.

Thanks in advance ...j

View 1 Replies View Related

Disabling Triggers

Feb 15, 2001

Is there a way to disable a trigger when performing a transaction besides dropping and recreating the trigger? I am trying to perform an insert on a table, and this keeps firing a trigger that I want to disable.

Any help is appreciated.

View 3 Replies View Related

Disabling Distribution DB

May 28, 2008

I have accidentally registered an existing database as a distribution database, which made it a system database.
the data itself is safe and sound, but I want to undo the whole thing.

How can I do this?

View 1 Replies View Related







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