.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

Requirement to schedule a recurring job

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :ASP.Net
 

Hi All,

 

We have a requirement to schedule a recurring job of creating a report in our .NET application on daily basis.

The approach we are aware of for this implementation is as below:

 

1)     


View Complete Post


More Related Resource Links

Showing filtered Records in Crystal Report as per User Requirement

  

ReportDocument reportDocument = new ReportDocument();
    ParameterField paramField = new ParameterField();
    ParameterFields paramFields = new ParameterFields();
    ParameterDiscreteValue paramDiscreteValue = new ParameterDiscreteValue();
    
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            paramField.Name = "@Ext";
            //*Remember to reconstruct the paramDiscreteValue and paramField objects
            paramDiscreteValue.Value = 44854
            paramField.CurrentValues.Add(paramDiscreteValue);
            paramFields.Add(paramField);
            CrystalReportViewer1.ParameterFieldInfo = paramFields;
            reportDocument.Load(Server.MapPath("CMS_Report.rpt"));
&

sql server agent - job schedule 22022 error

  

Hi ! I have scheduled a job in sql server 2008 to send birthday e-mails. I run the script and it looks wroking but in agent schedule it doesn't. I am getting the below error; what is the problem?


TITLE: Microsoft.SqlServer.Smo
------------------------------
Start failed for Job 'Sending_transferdb_birthdate_e-mails'. 
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1447.4+((KJ_RTM).100213-0103+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Start+Job&Link

How to work around Share point accessibility requirement ?

  

Hi,

I am somewhat new to things related to accessibility in SharePoint. I am trying to work on section 508 accessibility requirements for SharePoint site. I have tried to see few articles from the internet and still looking for more information on the subject matter including what to consider fro preparing requirement.  

I am looking to know what is possible and what is not with SharePoint?

How to achieve all the possible accessibilities in SharePoint?

Is it possible to make accessible all site types (Publishing, team sites,.)?

Please help me in understanding everything around SharePoint accessibility and first in preparing the requirement document. I have tried to see AKS site but there were some issues that are not clear for me at this level.

Thank you in advance,

<

VS workflow or SPD workflow for this requirement

  

Hi All, 

Following is my requirement.Need some help in finalising the approach.I want to know if this requirement can be achieved using SPD workflow or do i need to go for Visual studio workflow.And any help on steps to do this will be highly appreciated.

 Links to create new form or to show document library,    Document library will show status of open or closed for each document.
 When listing all documents, user can view any form.  The open forms can be edited. 
  Able to attach multiple files at said fields.  (Possible file formats:   word, excel, PDF, jpg, text, ZIP)
 IT Staff can approve and email notification sent to QA staff saying QA process can start
 QA staff can approve and after approval, the form becomes read only.  Email notification sent to IT staff stating QA is complete.
 When QA staff starts QA and find failures, QA Staff has link to fail the form and send it back to IT Staff for corrections with email notification of failure.
 IT staff will need to approve again and email notification sent to QA again to start QA process again.
 Each form should have failure history with what items has failed.
 For each form, I would like to have the ability to add notes like announcements so previous notes cannot be alt

SharePoint 2007 - my site is schedule for deletion

  

My manager is getting the following email "The My Site of XXXXXXXX is scheduled for deletion. As their manager you are now the temporary owner of their site. This temporary ownership gives you access to the site to copy any business-related information you might need. "  Can anyone tell me the number of days before the my site gets deleted and can the deletion be stopped?


Data Mining requirement specifications

  
  Hello All, Kindly I'm working now in a data mining project and we decided to use SQL server 2008 analysis services data mining algorithms. Now as we are at the start of the project we need to prepare all the required documentations like the requirement specification documents. can anyone help me in getting a template or guidance for the requirement document template or contents.   Regards, HebaHeba El-Desouky

SSAS REQUIREMENT

  
I want to develop one report for that I connected cube from the Excel, my requirement is I want to show data BSM wise, ASM wise, FO wise, Distributor wise, Sales man wise nothing but it is salesman hierarchy. monthly retailing Quantity and retailing value. April 10, may10,june 10 and July10 for the following products No1 90 g all variants,Nupur,Expert,Haircolour,Cinthol How to achieve this plz give suggestion it is an urgent requirement    

SQL Reporting Service 2005 - share schedule report performace T-SQL query?

  
Hi, I have SQL 2005 reporting services Shared Schedules and each schedule has its own subscribed report. I would like to have T-SQL 2005 to find out performance loading on each schedule. i.e. MySchedule_1 has 10 reports in it and AVEGARE report eaxecutiontime is like 3mins 5sec      MySchedule_2 has 7 reports in it and AVEGARE report eaxecutiontime is like 4mins 9sec Pls can I have T-SQL 2005 on ReportServer database to find out load on each schedules (and more drill-down to each report level for execution time)?

How to schedule activity loaded from external source inside NativeActivity

  
I have a NativeActivity that takes an InArgument<int> that is the primary key of some table that contains a piece of xaml. When the activity runs, it loads the xaml from the database and uses ActivityXamlServices to turn the xaml into an activity. Then I try to schedule the activity using NativeActivityContext.ScheduleActivity. This fails with the message: The provided activity was not part of this workflow definition when its metadata was being processed.  The problematic activity named 'Sequence' was provided by the activity named 'RunWorkflowFromStore'. This makes sense because I never added the activity I'm trying to run to the metadata. However, when can I do that? It is only at runtime that I know the value of the primary for the xaml I'm trying to load. Or am I doing this the wrong way? Here is my code: public sealed class RunWorkflowFromStore : NativeActivity<ApprovalState> { private Activity _activity; public InArgument<int> WorkflowId { get; set; } protected override void CacheMetadata(NativeActivityMetadata metadata) { var workflowIdArgument = new RuntimeArgument("WorkflowId", typeof(int), ArgumentDirection.In); metadata.Bind(WorkflowId, workflowIdArgument); metadata.AddArgument(workflowIdArgument); } protected override void Execute(NativeActivityContext context) { // Load activity

Schedule reports with integrated authentication SSRS 2008

  
Hi All,  Having an issue with SSRS 2008 at the moment, trying to setup subscriptions. Our system is configured so that any one of 10 users can login to the SSRS website using their windows domain account, and then launch report builder to design and save reports.  This all works very well, however, they have a problem when trying to setup subscriptions - the famous "Subscriptions cannot be created because the credentials used to run the report are not stored....." What the message says is true - the credentials are not stored as they are supplied by the user when they login to report builder. Is the /any/ workaround at all that doesn't involve storing the credentials?  It seems totally crazy that they cannot be prompted for them when setting up the subscription.  For this application its 100% essential to make the user provide their credentials when running reports, because they each see a filtered subset of the data in the report model (this is controlled DB side depeding on the login account), so their domain account needs to be passed to SQL server to enable this filtering to work.  If we saved their credentials then they would see all the data..and thats nasty. The only workaround I can come up with would be to create  a separate datasource for each user and upload a separate model, but thats really nasty to be hones

SharePoint Recurring Events

  
I must be a dummy, but can't figure this out.  I am setting up a recurring event such as shown below in SharePoint WSS 3.0: Delivery Date - 11/10/2010; Start Time - 2 PM; End Time - 3 PM; Recurrence - Make this a repeating event; Pattern - Monthly and "The second Wednesday of every 1 month"; Date Range - Start Date of 11/10/2010; and End after 10 Occurrences. In the calendar, the event shows up on 11/10/2010, and in the data sheet view it has an end 8/10/2011.  There are no entries being shown in the calendar for any month other than Aug 2010. I wanted it to show up every month in the calendar between Nov 2010 and Aug 2011 at 2 PM on the second Wednesday.  What am I doing wrong?  

Export Sharepoint Calendar (with Recurring) to Excel

  
Hi Everyone, I have a user who manages several Sharepoint calendars who likes to export lists and calendars to excel.  Currently when there is a recursive item, it only gets sent out once.  I have set up a list view that shows recurring events, but when exported to excel, it goes back to only showing each instance once. I know that the concern is that it will generate infinite entries, but is there a way to export this to excel showing all of the recurring items?  I have tried many times and looked on the internet with no success.  So far I'm only using the included parts of sharepoint, so I haven't looked into 3rd party software or writing my own code. Any help is appreciated, Thanks! -Casey

How to Schedule SSRS Report from SharePoint

  
I don't want to use SSRS web service to schedule SSRS report rather than wants to use sharepoint jobs to schedule SSRS report. Let me know possibilty. Technology - SQL Server 2008 R2 - SharePoint 2010     

Creating service application w/ Requirement for MySite security profile to be maintained

  
Good Day; In Sharepoint 2010 Microsoft has given the developer the ability to create a service application that can have its own database and scale independantly from the rest of the Sharepoint farm.   I wish to create a Service Application that will store data much like a list, but I need to have the ability to use the same security trimming that the profiles offer via MySites.  We need to have the granularity at a user level that we can get in MySites but I do not wish to store this data in the Mysite collections.  Can the security granularity found in Mysites and Profiles be extended into a Service Application?  Any examples of others doing this or case studies around security that I can be pointed to would be most helpful. Cheers C

Creating service application w/ Requirement for MySite security profile to be maintained

  
Good Day; In Sharepoint 2010 Microsoft has given the developer the ability to create a service application that can have its own database and scale independantly from the rest of the Sharepoint farm.   I wish to create a Service Application that will store data much like a list, but I need to have the ability to use the same security trimming that the profiles offer via MySites.  We need to have the granularity at a user level that we can get in MySites but I do not wish to store this data in the Mysite collections.  Can the security granularity found in Mysites and Profiles be extended into a Service Application?  Any examples of others doing this or case studies around security that I can be pointed to would be most helpful. Cheers C

Challenging requirement in Workflow

  
Hi, As per our requirement, we need WCF enables workflows to be exposed as services(WF 4.0). Also, we need to provide a feature to modify the workflow service using rehosted designer from the client application. How can we load the hosted workflow service(xamlx) files into WF rehosted designer? Is there any facility to create the workflow services dynamically?

How can I create a Table to represent a Job schedule sheet?

  
I have the following database, consisting of 3 tables: Job, JobPhase, Assigned (as seen in the following image) I'm trying to create a page that will hold a table. The table will represent, for a particular employee (ID = D_ID), his/her corresponding Job Schedule sheet. This table will consists of the following columns: Job ID Description (from table 'Job') Comments (from table 'Assigned') 7 columns representing days of the week, with the first column representing Today's date, the next column representing the next day...-> The 7 columns for the dates will not come from the database itself (as opposed to the other columns). However, for each row, we have to check wether the start date(s) of the job's phase(s) are equal to the date column (the image will make this more clear) An example of a such table would as follows (for the employee whose D_ID is = '555'): Any ideas how I can create such a table?? Should it be done in recursive html? Or gridview maybe?? Thanks for any info
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend