How to add rdlc reports to winform project with out throwing any error

Hi,
I have been trying to resolve this problem in all ways.I am working on win forms in VS 2010 using C#.I have designed 4 rdlc reports in a copy of same projects, and now I have been trying to add those rdlc reports to main project(same name of 2 projects).
They are adding but throwing an error as "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible.Verify that the instance name is correct and that
SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) "
at 
private void report10th_Load(object sender, EventArgs e)
// TODO: This line of code loads data into the 'dataset10th.attendance' table. You can move, or remove it, as needed.
this.attendanceTableAdapter.Fill(this.dataset10th.attendance);//throws an error here
// TODO: This line of code loads data into the 'dataset10th.regestration' table. You can move, or remove it, as needed.
this.regestrationTableAdapter.Fill(this.dataset10th.regestration);
// TODO: This line of code loads data into the 'dataset10th.tenthclass_marks' table. You can move, or remove it, as needed.
this.tenthclass_marksTableAdapter.Fill(this.dataset10th.tenthclass_marks);
//this.reportViewer1.RefreshReport();
please Help me out how to add these RDLC reports to win forms 

Thank you for replaying me sir,
Finally i got to know the answer through your instructions.
I have a look into app.config file and replaced the server name as 
<add name="f2.Properties.Settings.smssmsConnectionString" connectionString="Data Source=User-pc\sqlexpress;Initial Catalog=smssms;Integrated Security=True"
providerName="System.Data.SqlClient" />
//to
<add name="f2.Properties.Settings.smssmsConnectionString" connectionString="Data Source=.;Initial Catalog=smssms;Integrated Security=True"
providerName="System.Data.SqlClient" />

Similar Messages

  • How to add push button in alv display with out class or method

    Hai,
    How to add push buttons in out put screen of ALV (tool bar) with out using classes or methods .I want to know using normal ALV .
    Thanks in advance .
    kiran

    You should post your question in the ABAP forum.
    ABAP Development

  • How to add the report

    how to add the report for jasper ,i am using jdeveloper tool  to create project but how to add the report for the that project please help me

    Make the broadcasting setting using BEx Broadcaster and schedule program RSRD_BROADCAST_STARTER in process chain for the required settings.
    Regards,
    Sree

  • How to add a class in a project?

    Hello!
    i'm a beginner in developing and i don't know how to add a class in a project in Sun Java Wireless toolkit 2.5.2...
    The name of my project is essai2 and i already put a class, LogoMIDlet and now i want to put my new class ComBasique, how can i do that?
    and do you know if there is a program for bluetooth in order to connect my Nokia 6680 to another device that have a bluetooth?
    thanks a lot for your answer!
    Sophie

    how to change the class name after the project is created.In NetBeans, right click the class name either in the declaration or constructor, select Refactor --> Rename... and follow the dialog.
    You can refactor --> rename anything that is not in a guarded block. For those, there are options via the properties window.
    db

  • How to add a report into the SAP-SCRIPT .using PERFORM ......ENDPERFORM

    My question is that How to add a report into the SAP-SCRIPT .
    by using PERFORM ......ENDPERFORM
    I don't know how to used it .

    Hi Sandeep,
    Please check this link
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
    http://www.allinterview.com/showanswers/37425.html
    Calling ABAP Subroutines: PERFORM
    You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
    PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
    Syntax in a form window:
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
    FORM <form> TABLES IN_TAB STRUCTURE ITCSY
    OUT_TAB STRUCTURE ITCSY.
    ENDFORM.
    The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
    The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
    From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (u2018First pageu2019, u2018Next pageu2019, u2018Last pageu2019) is printed as local variable symbol.
    Definition in the SAPscript form:
    /: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
    /: USING &PAGE&
    /: USING &NEXTPAGE&
    /: CHANGING &BARCODE&
    /: ENDPERFORM
    / &BARCODE&
    Coding of the calling ABAP program:
    REPORT QCJPERFO.
    FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA: PAGNUM LIKE SY-TABIX, "page number
    NEXTPAGE LIKE SY-TABIX. "number of next page
    READ TABLE IN_PAR WITH KEY u2018PAGEu2019.
    CHECK SY-SUBRC = 0.
    PAGNUM = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018NEXTPAGEu2019.
    CHECK SY-SUBRC = 0.
    NEXTPAGE = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018BARCODEu2019.
    CHECK SY-SUBRC = 0.
    IF PAGNUM = 1.
    OUT_PAR-VALUE = u2018|u2019. "First page
    ELSE.
    OUT_PAR-VALUE = u2018||u2019. "Next page
    ENDIF.
    IF NEXTPAGE = 0.
    OUT_PAR-VALUE+2 = u2018Lu2019. "Flag: last page
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    Best regards,
    raam

  • How to add a report to HR Report tree

    Hello Friends,
                         I need to add a report to HR Report tree.
    Guide me how to do it.
    Cheers
    Senthil

    Use transaction SE43 and SE43N.
    Check this threads
    How to add a report into the tree??
    Adding report/program to Report Tree
    Manoj.

  • How to use crystal report in J2EE Project.

    how to use crystal report in J2EE Project.. any one know please inform me...
    thank you..

    http://www.inetsoftware.de/products/crystalclear/Crystal-Reports.htm?adwords=googleCrystal&gclid=CKDD1YDem5UCFRpknAodZA4EhA
    I think this might help u...

  • How to add new Attachment category in Projects master creation form

    Hi Dudes,
    I would like to know that how to add new Attachment category in Projects master creation form.
    It defaults as Miscellaneous.
    I created new category by navigated Application developer - attachment - category
    but i dont know how to assign the above created category for Project master creation form
    Can you pls throw some lights into this little dark room?

    See http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T458262.htm
    Scrool down to the "Category Assignments Window".
    This is where you assign an attachment category to your form/function.
    See http://erpschools.com/articles/oracle-attachment-functionality-adding-an-attachment-to-a-form for step-by-step screenshots.
    Sandeep Gandhi

  • I need to know how to add closed captioning to a project Captivate 6

    I need to know how to add closed captioning in a project in Adobe Captivate 6.  It is a software demo single recording.  I don't see where to go to create closed captions or change accessilbity preferences.

    Hi there,
    First thing that you need to do is go to Project > Skin editor > and check the box for Closed Captioning button in playbar.
    A slide must have a slide audio or Slide Video to add CC notes in it.
    Go to Windows > Slide notes, to view the slide notes panel, and click on + sign to add Closed captioning notes.
    Please check this article to add CC in project: http://helpx.adobe.com/captivate/using/slide-notes.html
    Check this article for accessibility in Captivate : http://help.adobe.com/en_US/captivate/cp/using/WSc1b83f70210cd101-157ec7f211c7ef6052c-7fff .html
    Thanks.

  • How to add a new field in MM01, with say contaminent  as a field?

    How to add a new field in MM01, with say contaminent  as a field? I process that i know is i has to go the user exit and check out the three user exits that are available for MM01 after that what i have to do please can any one help me out with the procedure to proceed?

    Hai      venkateshwar reddy ,
    try with these user exits
    MGA00001 Material Master (Industry): Checks and Enhancements
    MGA00002 Material Master (Industry): Number Assignment
    MGA00003 Material Master (Industry and Retail): Number Display
    Refer these steps also
    http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/screen-exit-on-mm01-mm02-mm03-322717#

  • How to add a scrolling text in portrait with iMovie

    how to add a scrolling text in portrait with iMovie

    This is how i was able to do it. Edit html source.
    <div align="center"><marquee id='scroll_news4' bgcolor=#ff9966 "><font color="#000000" size="+1" ><strong>Outlook is down! IT is working on it! </strong></font></marquee></div>
    <input type='Button' value='Stop' id ='b1' onClick='button_click()';>
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    function button_click()
    if(document.getElementById('b1').value=="Start"){
    document.getElementById('b1').value="Stop";
    document.getElementById('scroll_news4').start();
    }else{
    document.getElementById('b1').value="Start";
    document.getElementById('scroll_news4').stop();
    // End -->
    </script>

  • Regarding : How to add a user to portal group with the help of webdynpro .

    Hii ,
    I am working on an application in which with the help of an action( Button)  we r adding a user in Ztable in R/3 , as well as  group in portal.
    The user r successfully creating in Ztable but from portal side No user is assigned to Portal group.
    I need coding solution for " How to add a user to portal group with help of webdynpro"
    Any usefull link will also do.
    Pls anyone have any solution ??
    Thnks in advance.
    Rewards r waiting for u .

    Hi,
    Use UME api to add user to portal group.
    Using UME API:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40d562b7-1405-2a10-dfa3-b03148a9bd19
    Regards,
    Naga

  • How to add a SSD to 2010 iMac with 1tb drive

    How to add a SSD to 2010 iMac with 1tb drive? I have a mid-2010 iMac with 1tb HD and would like to either replace the HD with SSD -or- add 256 or 400gb SSD to maybe the Optical Drive and use it as the boot drive. Is this possible with Model 11,2? i thought i\I'd read it was, but recently am reading my system is too old - OWC have SSD drives for newer models not Model 11,1 -or- 11,2

    Any SATA SSD will work, whatever you are reading is incorrect.
    You have 2 choices with this model-install the SSD in place of the HDD or the Superdrive.
    If you are installing in place of Superdrive you will need some form of SSD Caddy-these can be found on the cheap at places like eBay, also OWC sell one called the DataDoubler.
    Guide:https://www.ifixit.com/Guide/Installing+iMac+Intel+21.5-Inch+EMC+2389+Dual+Hard+ Drive/8643
    If installing in place of old HDD you will notice that the propietary Temperature Sensor will not fit on the new drive, you will need to replace this with a sensor such as this or this
    You will also need a 3.5inch to 2.5inch drive adaptor such as this
    Guide: https://www.ifixit.com/Guide/iMac+Intel+21.5-Inch+EMC+2389+Hard+Drive+Replacemen t/6284
    If you still have doubts contact OWC as mentioned above, I would start deciding whether your Superdive is needed or if you want to swap out the HDD.
    Hope this points you in the right direction

  • How can I uninstall yosemite and reinstall Loin with out losing all my in formation and programs

    How can I uninstall Yosemite and reinstall Loin with out losing all my in formation and programsThis had been the worst os system apple has come out, too many errors
    too many to list.
    a few
    Losing all mail. and watching them disappear in front of my eyes and could nothing about it
    also when accessing cloud the screen just rolls in when accessing mail, like loading and loading and loading for 1 to 2 minuets.
    I did not up grade my Mac Book Pro, and is working fine,
    Just my iMac, its act kile avid card and it only happens access iCloud mail.
    so I want to and need to go back to Loin

    You can't unless you have a current backup of your old Lion system because the first thing you must do is erase the drive. It 's possible to use Target Disk Mode between your iMac and the MBP in order to clone the MBP to the iMac. However, that will still erase everything on the iMac's drive.
    Or you could see about getting Yosemite to work correctly. If you have IMAP mail, then your mail should be intact.
    Try these in order testing your system after each to see if it's back to normal:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    4. Reinstall Yosemite: Reboot from the Recovery HD. Select Reinstall OS X from the Utilities menu, and click on the Continue button.
    Download and install the 10.10.1 update.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.
    5. Reinstall Yosemite from Scratch:
    Download and install the 10.10.1 update.
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    How to Clean Install OS X Yosemite
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.

  • I have lost my itunes and had to download a new one. how do i sync my iphone with out losing any thing

    I have lost my itunes and had to download a new one. how do i sync my iphone with out losing any thing, pics music contacts things like that

    I have lost my itunes and had to download a new one. how do i sync my iphone with out losing any thing, pics music contacts things like that

Maybe you are looking for