Hi iam new to implement custome code in sssrs when iam created connection in ssrs its throwing error please find the screen shot

when iam previwing report this error is occured
System.Data.SqlClient.SqlException: Login failed for user 'FPS\hariprasad.a'.
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
   at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
   at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
   at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnec

hi pasted error .iam impleting custom code in ssrs like below
Public Shared Function DeleteData(Byval empno AS Integer) As String
                Dim strResult As String
                Dim conn As New System.Data.SqlClient.SqlConnection
                conn.ConnectionString = "Integrated Security=SSPI;Data Source=172.16.1.111\DATA_SERVICES;Initial Catalog=Recounsiled"
                Dim sql As String
                sql = "sp_empno"
                Dim com As New System.Data.SqlClient.SqlCommand
                com.CommandText = sql
                com.CommandType = System.Data.CommandType.StoredProcedure
                com.Parameters.Add("@empno", System.Data.SqlDbType.Int).Value =empno
                com.Connection = conn
                Try
                                com.Connection.Open()
                                com.ExecuteNonQuery()
        com.Connection.Close()
                                strResult = "Successful"
                Catch ex As Exception
                                com.Connection.Close()
                                strResult = ex.ToString()
                End Try
                return strResult
End Function

Similar Messages

  • Since I have upgraded from 7.1 then the power consumption increased slightly unbelievable. I have new batteries in my iphone 5 and when I had at ios 7 so was consumption that allows the battery envelope in two days and with ios 7.1 so is it only 12 hours

    Since I have upgraded from 7.1 then the power consumption increased slightly unbelievable. I have new batteries in my iphone 5 and when I had at ios 7 so was consumption that allows the battery envelope in two days and with ios 7.1 so is it only 12 hours before I need to recharge the battery.

    Wrote a little wrong the first time!
    Then I upgraded to 7.1 so have power consumption increased slightly unbelievable. I have new batteries in my iphone 5 and when I had at ios 7 so was consumption that allows the battery envelope in two days and with ios 7.1 so is it only 12 hours before I need to recharge the battery.

  • HT1695 Hi. I just bought new Ipad Mini. I don't have network to connect to. Its my first owning one i don't know how to set it up. Help...

    Hi. I just bought new Ipad Mini. I don't have network to connect to. Its my first owning one i don't know how to set it up. Help...

    FYI
    Complete guide to using iOS 6
    http://howto.cnet.com/ios-6-complete-guide/
    Guide to Built-In Apps on iOS
    https://sites.google.com/site/appleclubfhs/support/advice-and-articles/guide-to- built-in-apps-ios
    You can download a complete iOS 5 iPad User Guide and iOS 6 iPad User Guide here: http://support.apple.com/manuals/ipad/
    Also, Good Instructions http://www.tcgeeks.com/how-to-use-ipad-2/
    Apple - iPad - Guided Tours
    http://www.apple.com/ipad/videos/
    Apple iPad Guided Tours - Watch the videos see all the amazing iPad apps in action. Learn how to use FaceTime, Mail, Safari, Videos, Maps, iBooks, App Store, and more.
    http://www.youtube.com/watch?v=YT2bD0-OqBM
    http://www.youtube.com/watch?v=ROY4tLyNlsg&feature=relmfu
    http://www.youtube.com/watch?v=QSPXXhmwYf4&feature=relmfu
    How to - Articles & User Guides & Tutorials
    http://www.iphone-mac.com/index.php/Index/howto/id/4/type/select
    iPad How-Tos  http://ipod.about.com/lr/ipad_how-tos/903396/1/
    You can download this guide to your iPad.
    iPad User Guide for iOS 5
    http://itunes.apple.com/us/book/ipad-user-guide-for-ios-5/id470308101?mt=11
     Cheers, Tom

  • When i try to open itunes its showing error 7 code 193

    when i try to open itunes its showing error 7 code 193. it wont let me open it at all. i dont want to lose my music. i did the repair option already and it did not work.

    That article has been withdrawn.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If the advice above doesn't resolve things you could try this alternate version:
    iTunes 12.1.0.71 for Windows (64-bit - for older video cards) - itunes64setup.exe (2015-01-28)
    which is a 64-bit installer for the 32-bit version of the core application, similar to previous 64-bit releases.
    Or roll back to the previous build:
    iTunes 12.0.1.26 for Windows (32-bit) - iTunesSetup.exe (2014-10-16)
    iTunes 12.0.1.26 for Windows (64-bit) - iTunes64Setup.exe (2014-10-16)
    tt2

  • Sorry I'm new to Final Cut Express. How do you make an image (jpeg file for example) move across the screen slowly as I've seen in many films.

    Sorry I'm new to Final Cut Express. How do you make an image (jpeg file for example) move across the screen slowly as I've seen in many films.

    Neil from bristol wrote:
    … How do you make an image … move across the screen …
    by setting KEYFRAMES
    (read, what FC/e's built-in Help-feature tells about it)
    resize and set pic to start position
    set keyframe
    move playhead in timeline to desired length
    set pic to end position
    set keyframe …

  • I bought an new ipad 3rd gen 16 gb wifi cellular in may 2012. I hv a unique problem wherein the screen of ipad is not as smooth as what is general experience. Its not buggy but lacks smoothness and finger doesnot glide as smoothly . Can anybody help.

    i bought an new ipad 3rd gen 16 gb wifi cellular in may 2012. I hv a unique problem wherein the screen of ipad is not as smooth as what is general experience. Its not buggy but lacks smoothness and finger doesnot glide as smoothly .Can anybody help.

    Do you clean your iPad screen?  Do not use standard window cleaners, with ammonia or alcohol, like Windex, but a damp towel, followed by a micro-fibre cloth is recommended.  There are also cleaners you can buy which are specifically designed for iPad/iPhone devices, such as iClean from Monster.

  • Cannot activate my viber after i update to 6.1.3 iphone 3gs..can u please help me...the the code is ok but if i activate...its being error.

    cannot activate my viber after i update to 6.1.3 iphone 3gs..can u please help me...the the code is ok but if i activate...its being error.

    @theViberTeam .
    I'm having trouble with Viber.
    A few days ago, I accidentally uninstalled it on my IPhone 4, and reinstalled it later on..
    When I tried sending the activation code using the same cell phone number I had on Viber before It got uninstalled, I receive the code but when I try to put it in it keeps saying that I entered the wrong activation code, I click on the no code feature on the top right corner of Viber, it gives me a code, but when I put that code in it says the same thing ,that I have the wrong access code please try again, and so I researched on the internet and came up to this post, It said to uninstall viber and wait 24 hours to install it again, I waited 24hours and tried it again, but it STILL does the same thing. and... I even tried entering my other phone number, yet it does the same thing and shows me the same message that I entered the wrong access code....It is getting frustrating! May you please Help ME?! What can I do??

  • Miro not posted, error "Please Enter the Section Code  Business Place"

    Hi all,
       When I tried to post a document in MIRO, I am getting the following error "Please Enter the Section Code  Business Place" only for the one particular document.
                    However Business place or Segments are not configured. Even purchase documents are getting posted in MIRO, except the above one. If any one have any suggestions let me know...
    Thanks & Regards,
      Balaji
      9080444242

    Hello,
    Business Place & Section code are required to be mentioned in MIRO document for TDS purpose. It could be either determined automatically through substitution rule or the field could be made mandatory through validation.
    Business Place is created for TAN registration that your company has, Section Code is created in line with the bUsiness Place.
    Section Code derives the Business Place.
    Hence its compulsory to mention Sec. Code & Business Place while posting the transactions for TDS.
    Regards,
    jaymin r. bhatt

  • I don't understand why recently with the new "pages" my computer stops responding. When I go to fix some grammar all of a sudden the little colored circle begins to appear and won't go away I restart my computer.

    I don't understand why recently with the new "pages" my computer stops responding. When I go to fix some grammar all of a sudden the little colored circle begins to appear and won't go away I restart my computer.

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was booted. Now clear the search box and scroll back in the log to the last boot time after  you had the problem. Select the messages logged before the boot, while the system was unresponsive or was failing to shut down. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V). Please include the BOOT_TIME message at the end of the log extract.
    If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    Still in Console, look under System Diagnostic Reports for crash or panic logs, and post the entire contents of the most recent one, if any. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if present (it may not be.) Please don’t post any other kind of report — it will be very long and not helpful.

  • I have the new ipad when I connect to my pc I do not find the videos and photos

    I have the new ipad when I connect to my pc I do not find the videos and photos

    What OS do you have on your PC ? I assume that the video was taken with the iPad - if it was originally synced to the Photos app from a computer then you will need to use a third-party app such as Simple Transfer to copy it off, you can't copy off synced photos/videos via the camera wizard.
    If it was taken with the iPad and you have XP on your PC then large videos may not be recognised by the windows camera wizard . If the camera wizard isn't recognising the video then you could try copying it from the iPad manually :
    Note: Windows XP cannot import video files larger than 500 MB using Camera and Scanner Wizard. You can transfer these files directly from your device by selecting them in My Computer and dragging or copying the movie files to your computer's hard drive.
    If you find that not all your photos were imported from your device's Camera Roll after performing the above steps, you can either copy the photos to your computer using Windows Explorer, or you can use additional software such as Windows Live Photo Gallery or Adobe Photoshop Elements 3.0 or later to import all pictures.
    To copy the photos to your computer using Windows Explorer:
    Connect the iOS device to the computer.
    Choose Start > My Computer.
    Double-click the logo for the device to browse its camera folders.
    Navigate to [iOS device]\Internal Storage\DCIM\100APPLE.
    Manually copy the content in this folder to your computer, wherever you would like to store it.
    Disconnect your device. Open the Camera Roll and manually delete all the pictures from the iPhone Camera Roll that you just imported.

  • Custom code dll as a data source for an SSRS report

    I'm trying to create a report which relies on using some custom code written in VB.net. I am using the custom code to access the Server Management Objects SMO API in MSSQL 2012. I am able to supply an MSSQL object name (a database table
    for example)and then return a list of dependant objects using the dependency walker class (stored procedures, triggers, UDF's, other tables etc.) which rely on the parent object if you will. I am able load the results into a dataset in the custom code. My
    question is how can I get that dataset to be consumed as a data source and appear in my report. I've read many articles on how to use scripts to supply values for various report property settings. I just haven't seen an example of using a dll
    to supply a dataset. I am assuming it is possible. Any thoughts or advice would be appreciated. Cheers     

    Hi mdmck,
    According to your description, you want to create an SSRS report with custom code as data source, right?
     To use custom code in Reporting Services, we need to add a reference to your custom assembly, create a new CodeGroup for your custom assembly, and then grant full trust permissions. For detail information, please refer to the following steps:
    Open the report that will reference the custom assembly.
    On the Report menu, click Report Properties.
    In the Report Properties dialog box, click the References tab.
    Under References, click the ellipsis (...) button that is next to the Assembly name column header.
    In the Add References dialog box, click Browse.
    Locate and then click the custom assembly. Click Open.
    In the Add References dialog box, click OK.
    In the Report Properties dialog box, click OK.
    If the custom assembly requires more permissions than the default Execution level permissions, we need to create a new CodeGroup for your custom assembly, and then grant full trust permissions.
    Here are relevant threads you can reference:
    https://social.technet.microsoft.com/Forums/en-US/c297bddc-c33c-4386-b284-41c1d87f37c6/custom-dlls-in-ssrs-reports?forum=sqlreportingservices
    https://social.technet.microsoft.com/Forums/en-US/27de3f46-5174-480d-b4d1-5e32772dae35/ssrs-2005-custom-code-shared-data-source-connection-string?forum=sqlreportingservices
    For more information about How to use custom assemblies or embedded code in Reporting Services, please refer to the following document:
    https://support.microsoft.com/kb/920769?
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • Receiving Error : Please set the Receivables system options for this operating unit and ensure that the MO: Operating Unit profile option is correctly set with an operating unit that is set up in Receivables. while trying to create a new Customer.

    Hi All,
    We have set up a new Operating Unit in Oracle Apps. Now when I am trying to create a new Customer in that Operating Unit, I am receiving following error:
    ERROR MESSAGE:-Please set the Receivables system options for this operating unit and ensure that the MO: Operating Unit profile option is correctly set with an operating unit that is set up in Receivables.
    We do have MO: Operating Unit and MO: Default Operating Unit set properly at Responsibility level for the Responsibility through which I am accessing this form.
    Your help is appreciated!
    Thanks in advance,
    SKA

    You can refer this thread and check your MO operating unit is set or not https://community.oracle.com/message/3937028 thanks

  • The glass on my new ipad air was broken one day. I have had it for about a month. 1 day I took it out of its case as usual and the screen was splintered at the top and cracked downwards.  It had not received any bangs, or been dropped or anything.  Help!

    Hi, I have had my ipad air for about a month.  The other day I took it out of its cover and it was splintered from the top with downward cracks.  It is new and under warranty so I rang the support team.  They told me that it would cost about €120 but could be repaired on the spot and they made me an appointment at the local genius bar.  I got there and they told me that I had dropped it or banged it or something.  I said I had not, they insisted that I must have done.  I repeated several times that I had not - it was obvious they did not believe me, they said I must have done.  They then told me they never repaired or replaced broken glass in any ipads, that the man on the 'Support' had been wrong.  They always replaced the whole ipad at a cost of €300.  I was devastated at not being believed and at the amount of money they were asking for.  I left and rang the support again.  I was told their system was down but to call on monday to get a quote for the reparation, I could send it to my home insurance company and they would undoubtedly cover the repair.  I asked how long this was all going to take because, I was in the middle of a big project and this was taking up my time, and also I needed the ipad for my work.  They told me it would be done in a minute.  I rang on the Monday and I was told it would take up to 5 days to send but probably it would arrive sooner (it is now thursday, I have received nothing).  I then rang my household insurance, a big company - and they told me they had never heard of such a cover.  I asked if this was because I had a very basic policy, they said, no it wasn't that - I didn't have a basic policy I had quite thorough policy, but they didn't know of a policy in any comany that would cover this sort of damage.  I was stunned - yet again I had been given false information and false hope by apple.  Yet again I was let down.  I then decided to do a further investigation on the internet and discovered a long trail of comments on Apple Forum of people who have also had splintering and cracking of the ipad air glass for no reason whatsoever.  Some have commented that the glass could be thinner in order to reduce the weight, some have said that the splintering could be caused by a weakness in the casing at the top where it is plastic (the ones that take sims) that might make it more flexible and therefore liable to crack.
    All of the posts and complaints on the apple forum and elsewhere seem to point to a design fault.  However throughout all this I have been mislead by apple support staff constantly who all say different things, I have virtually been accused of lying by denying that my ipad received any kind of impact by apple staff and I have been left feeling incredibly frustrated and upset by the total lack of any kind of real help by Apple.  All this despite being acomplet apple user in my business for the last 25 years, where I have never come across this attitude towards me as a customer before.
    When the screen on my iphone broke, it was because I fell in the street while I was talking on the telephone, it flew out of my hand and smashed on the pavement.  I was rolling around in agony, while my son was holding up the smashed telephone wailing 'Mama, you've smashed your iphone!!!'  This of course, I blamed on noone but myself - it broke because it fell, I paid an arm and a leg without protest to get it repaired.
    This is not the case with my new ipad air.  It has splintered for no good reason at all - and noone at Apple seems to want to help me or to care!
    I would really appreciate it if someone could tell me if there is anything else I can do to ge this matter resolved?

    If it was a refurb replacing one that was under warranty, the warrany is good until the original warranty expires or 90 days from replacement, whichever is longer. In either event, it should still be covered if you've only had it for a month. (assuming you're in the US here). You can try to restore it as a NEW device rather than restoring from your backup, but this sounds like a hardware failure... I think. I'm not sure what you mean by "the top half of the screen slides". If you mean only the top half is touch sensitive, how can you determine that? You wouldn't be able to slide to unlock if that were the case...
    Sorry, I'm a little confused by that description.

  • ITunes says a newer version of software (4.3.3) is available.  However, when I download it it gives me an error message after the download is complete.  Any solutions?

    When I sync my iPhone 4 with iTunes it says that a newer version of software (4.3.3) is available.  However, after it appears to download the software I get an error message that the server timed out.  What's happening?

    This is asked and answered here many times each day.  You can do a forum search ( right side of this page).
    Disable your firewall/security software and try again.

  • Right, MacBook Pro 17" early 2011(Built March) and my new OCZ sata III 6G not working, when is Apple going to admit there is a problem with the Intel's 6 Series Chipset. In System Information it says "Link Speed: 6 Gigabit" which is sata III.

    My MacBook Pro 17" early 2011(built March) and my new OCZ sata III 6G are not working together, when is Apple going to admit there is a problem with the Intel's 6 Series Chipset. In System Information it says "Link Speed: 6 Gigabit" which is sata III and in my MacBook Pro it does not work. 
    Now MacBook Pro 17" early 2011 built May onward do not have this problem it was fixed in the Intel's 6 Series Chipset. (So there is a problem). Cam I have my MacBook Pro fixed please.

    After biting the bullet and ordering more RAM, my computer now is working a ton better. So that must have been the main issue. With 8 GB RAM, I can now even run Parallels fluidly (better than my work PC!) where before simple things like logging in to my MBP after reboot could take forever.
    The place I went to had several other people getting RAM upgrades at the same time as me, so between this and other comments I've seen in discussions here and elsewhere on the Internets, I take it to mean that either Apple should bump up the base RAM on its new machines, and/or stop charging so much for additional RAM.
    I refused to believe a Pro machine bought with Lion installed would come with too little RAM for light to medium usage, but it was apparently the case. I'll mark this as a correct answer and hope some other poor soul will come across this thread and be helped by it.

Maybe you are looking for

  • Iphone for ipod touch?

    is it possible to trade in an 8gb ipod touch 4 gen for an iphone 4s?

  • Anyone able to use Google Docs with Safari?

    In Safari 6, I always get this error when I open any docs: https://docs.google.com A server error occurred.  Please press 'Reload' in your browser. (screenshot: http://d.pr/i/qalj) Of course, reloading doesn't work.  Any one else have that problem or

  • Error in Package DBMS_METADATA_UTIL unable to run expdp

    Dear All, My Database is 11gR2 on Linux. While running expdp I got this error: UDE-00018: Data Pump client is incompatible with database version 11.2.0.1.0 While looking in the details I found that package DBMS_METADATA_UTIL has errors. Error(362,16)

  • Variant for Archiving Program

    Hello Experts, We are doing Upgrade from 4.7 to ECC 6.0 .  We need to generate the Archive Objects for the Tables  S022,S026,S027,S033,S502 etc. My question is after this Archive /Delete  Programs Generation, Will the Variants be available or not . T

  • Shift+Delete = Forward Delete is Driving Me Mad

    Is there any way to make Shift+Delete do normal backward-delete instead of forward-delete? Edit a keyboard layout maybe?