Click here to Skip to main content
15,895,815 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
It's a asp.net 4 application. Now it works this way: there is a button and a dropdown of statementDate on a webpage. After you click the button, server side gonna pass the statementDate you choose as parameter to some function which convert ssrs to pdf (the reports also has some subreports), and attach it email to clients. The clients email address got from a table. Now the function works well. Problem is we need let system do this at second day of every month. I try to add a new proj of wcf service to call the function. But the mappath of LocalReport.ReportPath always points to wcf folder. Any suggestion?
Posted

1 solution

Problem is we need let system do this at second day of every month. I try to add a new proj of wcf service to call the function.
What you talk of is not the work of Web Service, instead it's of Windows Service.

Sample:
Simple Windows Service which sends auto Email alerts[^]

MSDN: Details about Windows Service:
Introduction to Windows Service Applications[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900