Package Configuration via SQL Server For a Reporting Queue
The scenario is a reporting queue for a web application. Currently when a user queues a report it stores the parameters in a table by queue ID. When that report is set to run the database creates a dtexec command with all the parameters. We use this
method for transferring the values the user selected to the SSIS packages.
I have used SQL Server package configurations before but they are usually a single table with a distinct ConfigurationFilter column. Is it possible to take the standard table layout for the SQL Server package configuration and add another column, say
QueueID. We send the QueueID to each package at run time and use this value to filter the table to the configuration specific to that report?
Here is a better break down of the current process:
1. A user goes to the web application and selects a report/parameters.
2. This will add data to [QUEUE] and [QUEUE_PARAMETERS] tables associated by the QUEUE_ID
3. The server has a windows service which looks for reports in the [QUEUE] table in pending status and gets the next one available and calls a stored procedure with that QUEUE_ID.
4. The stored procedure puts together a dtexec command through xp_cmdshell which contains all the user parameters from the [QUEUE_PARAMETERS] table.
The purposed process is to replace the self made [QUEUE_PARAMETERS] table with the package configuration table. This means we would only have to send the QUEUE_ID via the dtexec command and not all the other parameters. The problem is that if
I add QUEUE_ID to the package configuration table I am not sure how I would reference a specific QUEUE_ID from the SSIS package configuration dynamically. There does not appear to be an expression that can be applied to the package configuration in SSIS
which means the relationship must make the ConfigurationFilter field unique, even though it is not a primary key.
Similar Messages
-
How configure reporting services configuration with sql server business development studio
I have installed sql server 2008 r2 mixed mode(sql server authentication) with native mode
I want to run report using reporting services config manager.
I made report in ssrs and I have configured reporting services configuration and web url from RSCM( reporting services config manager), i put on ssrs report.
report is build and deployed but when i take deployed url on Internet explorer, it shows the window below:
when I put the password nothing happened . if I put url in google chrome then it shows authentication required window like the same in IE
if I passed username=(levent/sa) and password then goes on window but does not see on page, if I passed only administrator name (levent) not passed sql server login name (sa) then does not close 'Authentication window'
'Computer connect net with modem'
before i tried on earlier PC, it worked fine.
setting is below link like this.
only set service Account is Use_built=NetworkSrvice
link
http://www.azurecurve.co.uk/2012/02/how-to-configure-sql-server-reporting-services-in-order-to-deploy-reporting-services-reports-in-gp/
what is the problem
Plz give suggestion quicklyHi tusharshinde,
Per my understanding that when you log in the report Manager you got the pop-up window ask for credential, you try to enter the SA account and the window account as the username and password but both not work, right?
Your issue related to the authentication. As you mentioned you have choose the ”Network Service” as the Service account, generally using this account in RSCM and RSWindowsNegotiate is added to the RSReportServer.config file as the default setting. With this
setting, the report server can accept requests from client applications requesting Kerberos or NTLM authentication. If Kerberos is requested and the authentication fails, the report server switches to NTLM authentication and prompts the user for credentials
unless the network is configured to manage authentication transparently.
The issue can be caused by many factors and please check one by one.
Did you enter the username and password for three times and got blank page or got some error? If you got some error, please provide the error information.
you can delete the specific Authorization Types inside rsreportserver.config file, open path:” \Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config”.
Search the file for the “AuthenticationTypes” section. Remove RSWindowsNegotiate and RSWindoeBasic to ensure only “RSWindowsNTLM” is specified in the file rsreportserver.config file.
Before do any modification, back up the files and remember to restart the ReportServer instance in the RSCM after the modification.
If step1 doesn’t work ,please also do the trusted Site Setting in the Browser, article with details steps for your reference:
http://technet.microsoft.com/en-us/library/bb630430.aspx
Please check the Report Manager's authentication mode.Have a look in the Report Manager's web.config file to check if you can find below information under the <system.web> (Path is “C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting
Services\ReportManager\Web.config ” ).
authentication mode="Windows"
identity impersonate="True"
Similar threads for your reference:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/23c5daa0-3232-4e8c-89c9-4526960c9d14/ssrs-2008-credentials-login-prompt?forum=sqlreportingservices
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0778e2ca-0fb1-4b5c-996c-6e327b5e1473/user-logon-credentials-for-ssrs-web-server-setup?forum=sqlreportingservices
Please tried to provide us more details information, if the problem still exists:
Did you login in the report manager locally or remotely via Browser and which URL you are using to login the Report manager?
Did you modified some configuration file before and what did you modified?
Did your windows account have the right permission to access the report manager?
Any problem, please feel free to ask.
Regards
Vicky Liu -
Situation:
SSIS Package designed in SQL Server 2012 - SQL Server Data Tools
Windows 7 - 64 bit.
The package (32 bit) extracts data from a SQL Server db to an Excel Output file, via an OLE DB connection.
It uses 3 package variables:
*) SQLCommand (String) to specify the SQL Statement to be executed by the package
Property path: \Package.Variables[User::ExcelOutputFile].Properties[Value]
Value: f:\Output Data.xls
*) EXCELOutputFIle (String) to specify path and filename of the Excel output file
Property path: \Package.Variables[User::SQLCommand].Properties[Value]
Value: select * from CartOrder
*) VarObjectDataSet (Object) to hold the data returned by SQL Server)
Property path: \Package.Variables[User::VarObjectDataSet].Properties[Value]
Value: System.Object
It consists out of 2 components:
*) Execute SQL Task: executes the SQL Statement passed on via a package variable. The resultng rows are stored in the package variable VarObjectDataSet
*) Script Task: creates the physical output file and iterates VarObjectDataSet to populate the Excel file.
Outcome and issue:The package runs perfectly fine both in SQL Server Data Tools itself and in DTEXECUI.
However, whenever I run it via SQL Server Agent (with 32 bit runtime option set), it returns the errror message below.
This package contains 3 package variables but the error stating that a package variable can not be set, pops up for the VarObjectDataSet only. This makes me wonder if it is uberhaupt possible to set the value of a package variable
of type Object.
Can anybody help me on this please ?
Message
Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for 32-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 6:40:20 PM DTExec: Could
not set \Package.Variables[User::VarObjectDataSet].Properties[Value] value to System.Object. Started: 6:40:20 PM Finished: 6:40:21 PM Elapsed: 0.281 seconds. The package execution failed. The step failed.
Thank you very much in advance
JurgenHi Visakh,
thank you for your reply.
So, judging by your reply, not all package variables used inside a package need to be set a value for when run in DTEXEC ?
I already tried that but my package ended up in error (something to do with "... invocation ...." and that error is anything but clearly documented. Judging by the error message itself, it looks like it could be just about anything. that is why I asked my
first question about the object type package variable.
Now, I will remove it from the 'set values' list and try another go cracking the unclear error-message " ... invocation ...". Does an error message about " ... invocation ..." ring any bells, now that we are talking about it here ?
Thx in advance
Jurgen
Yes exactly
You need to set values only forthem which needs to be controlled from outside the package
Any variable which gets its value through expression set inside package or through a query inside execute sql task/script task can be ignored from DTExec
Ok I've seen the invocation error mostly inside script task. This may be because some error inside script written in script task. If it appeared after you removed the variable then it may because some reference of variable existing within script task.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Hello,
When I try to verify the prerequisites to upgrade my SCOM 2012 UR2 Platform to SP1 Beta, I have these errors :
The installed version of SQL Server is not supported for the operational database.
The installed version of SQL Server is not supported for the data warehouse.
But when I execute this query Select @@version on my MSSQL Instance, the result is :
Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (c) Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7600: ) (Hypervisor)
But
here, we can see that :
Microsoft SQL Server: SQL Server SQL 2008 R2 SP1, SQL Server 2008 R2 SP2, SQL Server 2012, SQL Server 2012 SP1, are supported.
Do I need to pach my MSSQL Server with a specific cumulative update package ?
Thanks.These are the requirements for your SQL:
SQL Server 2008 and SQL Server 2012 are available in both Standard and Enterprise editions. Operations Manager will function with both editions.
Operations Manager does not support hosting its databases or SQL Server Reporting Services on a 32-bit edition of SQL Server.
Using a different version of SQL Server for different Operations Manager features is not supported. The same version should be used for all features.
SQL Server collation settings for all databases must be one of the following: SQL_Latin1_General_CP1_CI_AS, French_CI_AS, Cyrillic_General_CI_AS, Chinese_PRC_CI_AS, Japanese_CI_AS, Traditional_Spanish_CI_AS, or Latin1_General_CI_AS. No other collation
settings are supported.
The SQL Server Agent service must be started, and the startup type must be set to automatic.
Side-by-side installation of System Center Operations Manager 2007 R2 reporting and System Center 2012 Service Pack 1 (SP1), Operations Manager reporting on the same server is not supported.
The db_owner role for the operational database must be a domain account. If you set the SQL Server Authentication to Mixed mode, and then try to add a local SQL Server login on the operational database, the Data Access service will not be able to start.
For information about how to resolve the issue, see
System Center Data Access Service Start Up Failure Due to SQL Configuration Change
If you plan to use the Network Monitoring features of System Center 2012 – Operations Manager, you should move the tempdb database to a separate disk that has multiple spindles. For more information, see
tempdb Database.
http://technet.microsoft.com/en-us/library/jj656654.aspx#BKMK_RBF_OperationsDatabase
Check the SQL server agent service and see whether it is set to automatic AND started. This got me confused at my first SP1 install as well. This is not done by default...
It's doing common things uncommonly well that brings succes. -
I have a SSIS package that fails when running via sql server agent. I can successfully run it from BIDS. I have created a proxy account that is in the local server administrators group and is sysadmin. SQL Server Agent and SQL
Server Integration Services are running under the same account,
following the the error message:
Error: 2014-02-07 10:29:12.59
Code: 0xC0029151
Source: Execute De-linking Execute Process Task
Description: In Executing "d:\cie\files\working\9426\PowerpointConsole.exe" " 60.ppt" at "d:\cie\files\working\9426", The process exit code was "-532459699" while the expected was "0".
End Error
This package ran successfully on a different server running windows 2003 and sql server 2008 r2. The new environment is windows 7 with sql server 2008 r2.Hi Gaileg,
As Abhinav said, to check whether it is a 32-bit/64-bit issue, please check whether the package runs in 32-bit runtime mode or 64-bit runtime mode in BIDS by checking the Run64bitRuntime property of the project. Then, make sure the package runs in the same
runtime mode in the SQL Server Agent job by checking or unchecking the “Use 32 bit runtime” option for the Execution options of the job step.
If it is not the issue, please create another job that uses a CmdExec type job step to call the executable “D:\cie\files\working\9426\PowerpointConsole.exe”. If this job also fails, the issue is actually occurs because of the issue between executable and
SQL Server Agent rather than the SSIS package itself.
Regards,
Mike Yin
TechNet Community Support -
Hello Team,
I am trying to execute a SSIS package from web page. When i try to do that i am getting following error.
"To run a SSIS package outside of SQL Server data tools you must install <task name used in package> of Integration service or highter."
In my machine Integration Services are installed and its service is also in running state.
Please help me on this.
Thanks,
Ramesh
Thanks, Ramesh ArigeThe SSIS package developed using SSIS 2008 Server R2 and Integrations Services 10.0 is exists in my machine. Is this wrong configuration, please help me on this.
I am using the below code copied from CodeProject
Thank you so much for responding.
Ramesh
Thanks, Ramesh Arige
Which way are you using from the provided blog? Using 1) C# Code or 2) C# and Stored Procedure?
Cheers,
Vaibhav Chaudhari
MCP, MCTS, MCSA (SQL Server 2012) -
Please help: problem configuring a SQL server datasource in Websphere.
I am using Rational Developer 6 and its integrated testing server (websphere v6). When configuring a data source for SQL server, I did the following steps in admin console of the test server:
1. Created a JDBC provider, using WebSphere embedded ConnectJDBC driver for MS SQL Server;
2. Created a datasource under the previously created JDBC provider, filled in the server name, DB name and port number (1433 for SQL server);
3. Created a J2C authentication alias that has the login info of SQL server;
4. Assigned the created J2C alias to both component and container managed authentication alias;
However, when I click "Test Connection", it always gets back to me with an error "java.lang.Exception: java.sql.SQLException: [IBM][SQLServer JDBC Driver]Error establishing socket. Connection refused: connectDSRA0010E: SQL State = 08001, Error Code = 0.".
My ultimate goal is to configure a SQL server datasource so that I can configure Kodo to use this datasource.
Can some one please help? Thanks in advance.Try this:
http://www-1.ibm.com/support/docview.wss?uid=swg21210871
I am yet to test this. I am going to download latest SP for SQL Server 2000 and install it. I hope it will do the magic. -
Suddenly the mSSQL-server has stopped working, and the application doesn't have any connection to it.
Also, I cant connect locally via SQL Server Management Studio.
Any ideas on where to start?
Have SQL Server 2008 R2Try DAC first:
http://technet.microsoft.com/en-us/library/ms178068(v=sql.105).aspx
If that fails, go to Configuration Manager and restart the server.
Kalman Toth Database & OLAP Architect
SQL Server 2014 Database Design
New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014 -
Is it possible to have access a table of DB SQL Server for the DB Oracle?
Is it possible to have access a table of DB SQL Server for the DB Oracle? How?
Thank you, Paulo.You can configure Heterogeneous Distributed Database Systems
-
SQL Server 2000 + Oracle9i Reports ?
I use MS SQL Server 2000 as Database .
I develop my client applications with JBuilder 7
Can i use Oracle 9i Reports?
Thank you, in advance.
Hatziyannis ApostolisHi Apostolis
Reports 9i has a very powerful feature in that you can now fetch data from any* datasource. It can be Sybase DB, XML file, flat file etc.
You may use JDBC datasource to query data from MS SQL Server into your report.
For more information browse the following page:
http://otn.oracle.com/products/reports/htdocs/getstart/whitepapers/index.html
Regards
Sripathy
*Any database that support JDBC. -
Setting up SQL Server for LiveCycle ES2
I have few queries regarding the installation please help.
I am trying to install livecycle ES2 in Windows 7 system,Weblogic 11g,Sql server 2005 Dev Sp3
1. In the installation guide under the section setting up sql server for Livecycle ES2 the below point mentioned .
Select the Memory page and enter a size in the Minimum Server Memory (in MB) box that is equal to
the size of the free memory on the server.
How to find the free memory on the server ??
http://help.adobe.com/en_US/livecycle/9.0/prepareinstallsingle.pdf
2. Is It required to create LiveCycle ES2 database user, schema, and login in Sqlserver 2005 ? this step is not mentioned as optional why its required to create this stuffs ?
3. While installing the Live Cycle Server when the installer prompts for a database configuration popup which db i should point to is it the db created for Livecycle or it should be the db from which i want fetch the data?
4. In case if i am connecting to my application db (the place where my app data presents) where do i link the Livecycle db created with the Livecycle Server configuration?Hi,
Do you have solution for this yet?
I have same issue.
Thanks
YogLC -
Individual SSIS Package deployment in SQL server 2012
Hi,
I am developing the SSIS packages in sql server 2012.
I want to know how we can deploy individual SSIS packages as I will be editing the required packages if need be then I have to deploy that package only instead of entire project deployment.
Please help me on this.
Regards,
Ramu
Ramu GadeHi Ramu,
According to your description, you want to deploy a single package instead of entire project in SQL Server 2012.
In SQL Server 2012, the unit of deployment to the SSIS catalog is a SSIS Project. Each SSIS project contains one or more SSIS packages. We couldn’t directly deploy a single package in Project Deployment Model.
To work around this issue, we can refer to the following suggestions:
SSMS-->Integration Service Catalogs-->SSISDB-->Your project-->projects. Right click on the projects, and choose "Import Packages...". Then make use of the Project Conversion Wizard to select the packages that you want to deploy, deploy
the generated .ispac file to SSIS Catalog.
The command line tool DTUTIL.EXE which can be used to deploy SSIS packages.
References:
SQL Server 2012 - Project Deployment Model - Deploy a single package
Command line deployment tool for SSIS packages
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Can't figure out how to install sql server for PHP
I am trying to install SQL Server for PHP on a server with Server 2008 32 bit. The exe from http://www.microsoft.com/en-us/download/details.aspx?id=20098 keeps tell me that it is an invalid win32 application. I've tried running as administrator
as well. Somewhere I read you need to open the exe with 7zip. I was able to do that and see all the files in there, but where do I go from there?
Thanks
Mike
edit: forgot to mention I'm using Apache for my serverThat solution is obsolete. The current solution is here:
http://msdn.microsoft.com/en-us/sqlserver/ff657782.aspx
bill ross -
How to install and configure the SQL Server
Hi All,
We have to install SQL server in the new server because the old server is crash and need to upgrade. Please advice How to install and configure the SQL Server to run SAP Business One 8.8 successfully and what part we do have to give attention.
Kind Rgds,
SteveHi,
Try this solution:
The step-by-step installation guide can be found in the documentation included in the installation media. (\Documentation\SystemSetup\AdministratorGuide_SQL.pdf).
Below are some important parts that you should pay attention to during the Installation process.
Resolution
Collation setting: It must be set as SQL_Latin1_General_CP1_CI_AS,even the company DB is non-english location. The company DB will be created as corresponding collation settings automatically.
Instance and TCP Port : It is recommended to run SBO on default instance and TCP port 1433. Otherwise,some optional components such as B1i may not work properly.
Native Client: SQL Server Native Client should be installed on every client machine to enable the ODBC connection to DB server.
Rgds, -
We have SSIS installed on a machine that is not part of a cluster but it is accessible by the cluster.
Our job we have running on the cluster is failing with the following error:
Error: 2014-01-31 09:14:37.52 Code: 0xC000F427 Source: SCR - DP1 Connections
Description: To run a SSIS package outside of SQL Server Data Tools you must install SCR - DP1 Connections of Integration Services or higher. End Error
Any advice or information on how to resolve this would be great.
Many Thanks.Hi NessaBella,
Integration Services service is not a cluster-aware service, and does not support failover from one cluster node to another. Therefore, in a clustered environment, Integration Services should be installed and started as a stand-alone service on each node
in the cluster.
Based on the error message, it seems that SSIS is not installed on the cluster node on which the job was running. Although SSIS is installed on a machine that is not part of the cluster and can be accessed by each cluster node, the SSIS service installed
on a remote server cannot be used a cluster node. So, please install the shared feature SQL Server Integration Services on each cluster node. Besides, if certain packages need to run in 32-bit mode in certain jobs and the SQL Server installed is 64-bit version,
you also need to install BIDS/SSDT on the cluster node to get the 32-bit runtime of SSIS.
References:
Integration Services (SSIS) in a Cluster
Loading and Running a Remote Package Programmatically
Regards,
Mike Yin
TechNet Community Support
Maybe you are looking for
-
I want to set up family sharing but it won't let me because all the emails are already associated with the one iTunes account we have. I am afraid to delete because my children use that email address for text messaging. How do I set up family shari
-
Migration from Macbook (Core Duo) to New iMac
Yesterday I bought a new iMac for everyday use while wanting to keep my 2 year old MB for traveling. I used the migration assistant but it also gave me all the settings of the MB including it's name. How do I change this?
-
Hi to all I was just wondering if it is necessary to close TCP/IP connection after an error(e.g connection lost) had occured. Is it ok if I just reopen another connection to the same IP and port without closing the existing connection(that connection
-
Does anyone know or can steer me in the right direction on how to convert an InDesign file to an XML file. I currently do not have an DTD and have a small number of styles (10) within the document. My XML background is almost none and any help is gre
-
Why can't I see the Lightroom Presets in the Develp Module without having an image open?
Why can't I see the Lightroom Presets in the Develp Module without having an image open?