E-mail Delivery Report By Trigger Or User Solicitation.

Dec 15, 2006

It's possivel delivery a report after trigger execution ou user solicitation?

Thanks in advance, Rui Figueiredo

View 1 Replies


ADVERTISEMENT

SSRS 2005 E-mail Delivery

Mar 14, 2007

I have a report server set with an smtp account with Alias set to False but will not allow me to send e-mail outside the network. E-mail report delivery works fine to any e-mail with @mycompany.com but to an e-mail like @hotmail.com it gets rejected saying e-mail not recognized. I tried all config possibilities know to this man but nothing works. If long into the smtp server itself I can send e-mails outside of company. I'm thinking it may require a password from SSRS config but there is no place to put one. Any one know how to config SSRS to deliver e-mails to any and all e-mails accounts?

View 1 Replies View Related

E-Mail Subscription Non Delivery Problem

Mar 19, 2007

I am having a strange intermittent problem sending reports via e-mail subscription. The report will be delivered only 20-25% of the time. I have checked the SQL logs, SQL Agent logs, System, App and Secuirty logs and see nothing obvious.

I put a network monitor on the reporting box and looked at all SMTP traffic. What happens is the reporting server connects to the SMTP box, sends the From Address and gets an OK, sends the To Address and gets an Ok. Next the reporting server sends a RSET command to the SMTP and it closes the connection.

No e-mail sent, but reporting services/SQL agent indicate success. Here is a log of the

409 25.765625 10.1.70.23 10.1.70.133 SMTP SMTP: Rsp 220 Wake County Email - Authorized Use Only, 45 bytes
410 25.765625 10.1.70.133 10.1.70.23 SMTP SMTP: Cmd sqlrptr, 14 bytes
411 25.781250 10.1.70.23 10.1.70.133 SMTP SMTP: Rsp 250-xxxxxxxxx.xxxxxxxxxx Hello sqlrptr ([10.1.70.133]), pleased to meet you, 106 bytes
412 25.781250 10.1.70.133 10.1.70.23 SMTP SMTP: Cmd FROM: xxxxxxxxx@xxxxxxxxx.xxx, 40 bytes
413 25.781250 10.1.70.23 10.1.70.133 SMTP SMTP: Rsp 250 xxxxxxxxx@xxxxxxxxx.xxx... Sender OK, 44 bytes
414 25.781250 10.1.70.133 10.1.70.23 SMTP SMTP: Cmd TO: <xxxxxxxxx@xxxxxxxxx.xxx>, 40 bytes
415 25.781250 10.1.70.23 10.1.70.133 SMTP SMTP: Rsp 250 xxxxxxxxx@xxxxxxxxx.xxx... Recipient OK, 49 bytes
416 25.781250 10.1.70.133 10.1.70.23 SMTP SMTP: Cmd RSET, Resets mail connection, 6 bytes
417 25.781250 10.1.70.23 10.1.70.133 SMTP SMTP: Rsp 250 Reset state, 17 bytes

Any suggestions?






View 1 Replies View Related

Reporting Services E-mail Delivery Extension Error

Jan 24, 2007

Hi guys!

I am having a problem with the e-mail delivery extension in MS SQL Reporting Services 2005. I have some reports that use an Oracle data source. When running the reports through Report Manager the data source works fine and the reports display properly. But when running an automatic e-mail delivery of the reports through a subscription I get the following error message (in the ReportServerService log file):

System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.

Doesn't this seem strange when the reports run in Report Manager but not when I send the reports through e-mail? I have Oracle Instant client v. 10.2.0.3 installed on the machine. I am wondering if the e-mail delivery extension has an account that needs privilegies to the oracle client home directory or something like that. Any ideas?

Thanks!

/Stefan

View 4 Replies View Related

Trigger A Delivery Directly

Aug 24, 2007

I have a delivery extension that prints to network printers.
Now I add a subscription like a few minutes in the future via web service for each report to print.

Is there a way I can trigger the delivery directly?

Thanks for ideas, guys.

Michael

View 3 Replies View Related

Report Delivery

Mar 27, 2007

hi all,
I have created a report using sql server 2005 RS.Ive deployed it in the server(localhost)also.In the subsription section of the report manager ive mentioned a emailid to whom ive to send the report.Ive selected the report server email delivery method from the dropdown list.After entering the emailid and scheduling the report and when i click ok i find that the report was not delivered.Im getting this error.

Failure sending mail: The report server has encountered a configuration error. See the report server log files for more information.

I culdnt find enything in the log files.

Can any1 help me as how to accomplish this?

Balaji

View 2 Replies View Related

Report Delivery -- HELP

Mar 16, 2007

Is SSRS limited to delivering reports to recipients inside your domain (active directory)? I'm using an SMTP server for report delivery an have set the SendMailToUserAlias to False and still can only send reports to e-mails with my domain (user@mycompany.com). I need to send reports to recipients outside my company -- is SSRS capable? If so, how do I configure it to do so?

View 1 Replies View Related

Scheduling Report Delivery For The First WORKING Day In The Month?

Sep 16, 2007

Has anyone figured out a good way of doing this?

The only suggestions I have seen along these lines involve scheduling the job every day and then manually editing the SQL Agent job that is created.

However the problem with this is that it completely removes the ability for non programmers to set the schedule themselves using the web interface.

Any ideas?

View 1 Replies View Related

Disabling Scheduled Report Delivery Conditionally?

Sep 16, 2007

Hi,

I am currently planning on using Reporting Services for delivery of reports, some of which in turn are reliant on an import from FTP via SSIS.

In the event that the FTP fails I would like the delivery of just the dependant reports to be cancelled for just that day.

Any advice on the best way of achieving this?

Cheers,

Martin

View 3 Replies View Related

How Do Set Printer Delivery Extension In RS2005 For Report Subscription

Mar 14, 2007

Can anyone help on this topic...

i need to set Printer Delivery Extension, and create a subscription for report which will be sent to the printer automatically

View 1 Replies View Related

Reporting Services :: Split Report Into Multiple PDFs During Windows Fileshare Delivery

Jun 3, 2015

I have a report that groups a particular dataset by customer, with a page break between each customer. If print this report, it looks great - one page per customer.

What I would like to do is have the report deployed on schedule to a windows file share, one .pdf file per customer. How to parse the output into individual .pdfs (one per customer) instead of a single .pdf containing all customers? I get it if this is not possible.

My current (painful) workaround would be to replicate the report for each potential customer, and set a schedule for each report to deploy sequentially. (Customer 1 at 9:00, Customer 2 at 9:01, etc).

Currently on SQL Server/Visual Studio 2008.

View 2 Replies View Related

Trigger A Job Via Mail

Jul 15, 1999

How can I send a mail to sqlserver to trigger a sql job ?

Pre-Thanks for your answer !

View 2 Replies View Related

Help In Trigger Mail

May 28, 2008

Hi All,

I have created one Trigger to notify the user against any insertion in table inventory.

CREATE TRIGGER expensiveInventoryMailer ON dbo.inventory AFTER INSERT AS

DECLARE @price money
DECLARE @item varchar(50)

SET @price = (SELECT price FROM inserted)
SET @item = (SELECT item FROM inserted)

IF @price >= 0
BEGIN
DECLARE @msg varchar(500)
SET @msg = 'Expensive item "' + @item + '" entered into inventory at $' + CAST(@price as varchar(10)) + '.'
--// CHANGE THE VALUE FOR @recipients
EXEC msdb.dbo.sp_send_dbmail @recipients=N'phirani@vcmpartners.com', @body= @msg, @subject = 'SQL Server Trigger Mail', @profile_name = 'Prashant Hirani'
END
GO


insert into inventory (item,price) values ('KeyBoard',999)

Mail Output format is
---------------------------------------------------------------------
Expensive item "KeyBoard" entered into inventory at $999.00.


Now i need output something like this
---------------------------------------------------------------------
Hi,

Expensive item "KeyBoard" entered into inventory at $999.00.

Thanks,
VCM Partners LLC


Can any one Help me out?

Thanks
Prashant

View 3 Replies View Related

How To Send Mail Throuth Trigger ?...

Jul 28, 2007

Hi,
I am using Trigger to send me a mail, when ever any DML operation occur on my DepartmentMaster table. my trigger is as follow. CREATE TRIGGER reminder
ON DepartmentMaster
FOR INSERT, UPDATE, DELETE
AS
EXEC master..xp_sendmail 'MaryM',
'Don''t forget to print a report for the distributors.'delete from DepartmentMaster where deptcode = '02'
 my out express is configured with default account. but when ever i delete any row from DepartmentMaster table mail is not sent and i get following error..
Server: Msg 18030, Level 16, State 1, Line 0xp_sendmail: Either there is no default mail client or the current mail client cannot fulfill the messaging request. Please run Microsoft Outlook and set it as the default mail client.

View 3 Replies View Related

SQL Mail Trigger - Add Field Data

Apr 14, 2004

I have a trigger that uses SQL Mail to generate an email everytime a new record is added. I would like the following fields included in the email with the last record that was entered:

ticketID
loggedby
ActualHours
LoggedDate
RequestDate
TicketDetails
FinalOutcome

This is the trigger:

CREATE TRIGGER [NewRowsAdded] ON [dbo].[tablename]
FOR INSERT
AS


exec master.dbo.xp_sendmail
@recipients = 'joe.bloggs@bloggs.co.uk',
@subject = 'New Rows Added',
@message = 'Hey theres some new rows? Take a peek!'

Any assistance is greatly appreciated!

JT

View 8 Replies View Related

Trigger On XML Column - Generate Mail If Particular Value Get Inserted In A Tag

Feb 26, 2014

We are having xml data in a column. Is it possible to write a trigger to generate a mail if particular value get inserted in a tag.

For ex:

<File AF="910" PTO="ATN_P76035_PSQO" NNO="54545465" KTNNN="AX2" KL="" AD="99" PrqnT="AX2" Stab="21545" KE="45454" TE="65465" Rsaa="BBBB" AK="54544.AX2.POEAX2.546546546.NONTP.NONTP" AK2="">

In the above xml data if we have the value 21545 in Stab the trigger needs to be executed and mail needs to be sent to a distribution list.

The Trigger should not be initiated if value other than 21545 is updated...

View 4 Replies View Related

Trigger To Generate Mail If Particular Kind Of Data Get Inserted In A Tag

Feb 25, 2014

We are having xml data in a column. Is it possible to write a trigger to generate a mail if particular kind of data get inserted in a tag.

For ex:

<File AF="910" PTO="ATN_P76035_PSQO" NNO="54545465" KTNNN="AX2" KL="" AD="99" PrqnT="AX2" Stab="21545" KE="45454" TE="65465" Rsaa="BBBB" AK="54544.AX2.POEAX2.546546546.NONTP.NONTP" AK2="">

In the above xml data if we have the value 21545 in Stab tag the trigger needs to be executed and mail needs to be sent to a distribution list.

View 1 Replies View Related

Reporting Services :: Way To Subscribe SSRS Report Using Dynamic Parameters For Email And Trigger Report

Feb 8, 2015

Is there a way to subscribe SSRS report using dynamic parameters for email and trigger the report from autosys job so that report should generate the exact time the job is triggered.Let me describe, my SSRS report should be triggered on success of one autosys job. i need to send email parameter and time of report schedule from this autosys job.

View 3 Replies View Related

E-Mail User When StoredProc Fails

Jun 8, 2004

Hi,

I want to e-mail a user when a Stored Proc fails, what is the best way to do this? I was going to create a DTS package or is this too complicated?

Also, the Stored Proc inserts data from one table to another, I would like to use Transactions so that if this fails it rolls back to where it was, I'm not sure of the best way to go about this. Could anyone possibly point me in the right direction? Here's a copy of some of the stored procedure to give an idea of what I am doing:

-- insert data into proper tables with extract date added
INSERT INTO tbl_Surgery
SELECT
SurgeryKey,
GETDATE(),
ClinicianCode,
StartTime,
SessionGroup,
[Description],
SurgeryName,
Deleted,
PremisesKey,
@practiceCode--SUBSTRING(SurgeryKey,PATINDEX('%.%',SurgeryKey)+1, 5)
FROM tbl_SurgeryIn

INSERT INTO tbl_SurgerySlot
SELECT
SurgerySlotKey,
GETDATE(),
SurgeryKey,
Length,
Deleted,
StartTime,
RestrictionDays,
Label,
IsRestricted,
@practiceCode
FROM tbl_SurgerySlotIn

INSERT INTO tbl_Appointment
SELECT
AppointmentKey,
GETDATE(),
SurgerySlotKey,
PatientKey,
Cancelled,
Continuation,
Deleted,
Reason,
DateMade
FROM tbl_AppointmentIn

-- empty input tables
DELETE FROM tbl_SurgeryIn
DELETE FROM tbl_SurgerySlotIn
DELETE FROM tbl_AppointmentIn

Any help would me very much appreciated,

Thanks

View 3 Replies View Related

Mail The DBA When A Specific User Connects

Feb 20, 2007

Hi,
I want to receive a mail when a specific user connects.
How can this be done best? Raise an alert? How?
Btw, the 'Login auditing' is set to 'Failed logins only'.
Suggestions are very welcome!
Cheers,
E

View 1 Replies View Related

Receive Mail When Specific User Connects

Feb 22, 2007

Hi,
I want to receive a mail when a specific user connects.
How can this be done best? Raise an alert? How?
Btw, the 'Login auditing' is set to 'Failed logins only'.
Suggestions are very welcome!
Cheers,
E

View 1 Replies View Related

[JavaScript Error] Cannot Delete User Or User's Authority In Specific Report After Install SQL SP2

Jan 23, 2007

 Hi,

I have several reports for users to view on our Intranet. After installation of SQL 2005 SP2 patch, I cannot delete user or user's authority from Report in Properties Tab. An error message was shown on the status bar. It indicated that JavaScript Error: 'Return' statement outside of function. Seems something wrong with the 'Delete' funciton in SQL 2005 after update. The other functions worked fine. Could you point me out how to fix it or need to install any updates / hotfix. Thanks a lot!

Regards,

Kenneth Lai
Programmer


Error Pic


Message Box

 

View 1 Replies View Related

Show User Groups Associated With User ID Report From Active Directory

Jan 11, 2008



Hello. I am trying to write a report that pulls information in from Active Directory. I have a view created that gets a listing of users and a view that creates a listing of user groups, but I can't seem to figure out how to get all user groups that are associated with the users. This is what I have.



SELECT TOP 100 PERCENT *
FROM OPENQUERY(ADSI, 'SELECT cn, groupMembershipSAM FROM ''LDAP://wmdomain.local'' WHERE objectcategory=''group''') Rowset_1



SELECT *
FROM OPENQUERY(ADSI,
'SELECT title, displayName, sAMAccountName, givenName, telephoneNumber, facsimileTelephoneNumber, sn
FROM ''LDAP://wmdomain.local''
WHERE objectCategory = ''Person'' AND objectClass = ''user''')
Rowset_1



Let me know if you have any suggestions!



BJ

View 1 Replies View Related

Unable To Send Database Mail To External User

Jul 13, 2015

I have two domains. forest domain abc which has the exchange infrastructure. forest domain xyz which does not have exchange. There is a two way trust set up.

I have set up database mail which sends internally but not externally on the xyz domain its uses mailrelay address to comunicate with exchange. The receive connector is set up correctly on exchange on domain abc as I have managed to send email from a sql server to external contact in the abc domain.

The IP addresses are correct on the receive connector.

The problem is I am unable to send to an external contact from the sql server in the xyz domain. Not sure if this an exchange issue or database mail.

View 2 Replies View Related

Request Report As Mail Using URL

Jan 14, 2008

Hi

I can se that reports can be send by mail using subscriptions, but is it possible to use a URL request?

And if it is possible, what parameters must i add to my url or where do I find the information about it?

I use MS SS RS 2005.

:-)

View 6 Replies View Related

Reporting Services :: Domain User - Unable To Run Report In SSRS Report Manager?

Oct 9, 2015

I have done the following and a domain user would not access report created a login to the SQL server to the user (this SQL Server is where data source DB is)went to site setting in Report Manager and made this use a system userright clicked on report folder and made this user in the browser roleeven checked that in the report in question, the user is already in the browser role Still the user would not access the report! "User .......... does not have required permission" is the error message I am getting. 

View 6 Replies View Related

User Unable To Save/Open Report In Report Builder

Feb 21, 2007

Hi,

I have environment that use SSRS 2005 ad hoc reporting.

One of the users (out of 200) is unable to open or save reports in the report builder.

the user succeed to open the report builder, when he try to save report that he build from shema he get error. as well when he try to open an existing report that build in the report builder he also get an error,

On open the error is:

The numeric portion of 2pt cannot be parsed as a unit of the type point.

The Initilizer for 'Microsoft.ReportingServices.Design.Constants' threw an exception

On Save the error is:

System.IO.StreamReader: Deserialization failed: The type initializer for 'Microsoft.ReportingServices.Design.Constants' threw an exception. Line 2, position 2

Please note that I succeed with second user to create ad hoc report on the first user

computer. I also failed to with the first user to create ad hoc on another computer.

It seems like permissions issue

Thanks,

Assaf

View 3 Replies View Related

Maintenance Plan - Mail Report Error

Nov 13, 2007

Error:
Could not generate mail report.An exception occurred while executing a Transact-SQL statement or batch.Supply either @id or @name.

I am trying to send a email when a maintenance plan completes. I selected the logging option and checked "Send report to an email recipient". I selected the recipient I created in database mail. Sending test emails out from database mail works.

Any ideas what the problem could be?


Thanks!

David

View 6 Replies View Related

SQL Server 2008 :: Log Shipping Status Report Through Mail?

Feb 29, 2012

i'm writing below this code..

exec msdb..sp_send_dbmail
@profile_name = 'local',@recipients='chintu@www.com'
, @subject ='Log Shipping Job succeeded'
, @QUERY = 'exec sp_executesql @stmt=N'exec sp_help_log_shipping_monitor',@params=N'

I want Log shipping Status Through Mail. Last back up transaction in the day and last restoration trn file in the day...

View 9 Replies View Related

SQL Report Server Subscription E-mail Format As MS Word

Jan 22, 2007

I am wanting to set-up a subscription to e-mail my reports in MS Word format (either .doc or .rtf) and I do not have the option on my company's report server version.

I have read that it is possible, though I don't have the option. Is this a change to report server, or maybe is our version not updated?

I can e-mail the report out in the following formats:

XML File with report data

CSV (comma delimited)

TIFF File

Acrobat (PDF) file

Web Archive (default)

Excel



Let me know if I am just expecting too much, or if there is something that needs to be updated on our report server.

Thank you,

T.J. Bernard

View 4 Replies View Related

Name Of Modifying User In Trigger ?

Jan 3, 2000

I have a trigger that emails me each time an order is modified by a manager. I can't recall how to find out which user is performing the modification. Is there a global variable such as @@username?

Thanks,

-Darin.

View 2 Replies View Related

Get Windows User Name In Trigger?

Apr 16, 2014

User is login to the application using SQL Server Authentication method. I want to get his windows OS username to log in one of my security trigger.

All of the following:

SUSER_NAME(), SYSTEM_USER AS OSUser, SUSER_SNAME() AS SuserSName, ORIGINAL_LOGIN() As OriginalLogin, USER_NAME() as UserName

Are returning database user name, while i need OS username.

View 1 Replies View Related

Recovery :: Configure Extended Event To Trigger A Mail Whenever Any Event Occurs

Jun 2, 2015

Recently we migrated our environment to 2012.

We are planning to implement Xevents in all the servers in place of Trace files and everything is working fine.

Is it possible to configure Extended event to trigger a mail whenever any event (example dead lock) occurs.

I have gone through so many websites but i never find.

View 13 Replies View Related







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