CR for VS, MSSQL, ConnectionInfo and "Application Name" in connection string

I'm using Crystal Reports for Visual Studio 2013, latest version. I'm using the web CrystalReportViewer component. I'm setting the connection information, something like this:
var tables = rpt.Database.Tables;
foreach (Table table in tables)
    var tableLogonInfo = table.LogOnInfo;
    tableLogonInfo.ConnectionInfo = connectionInfo;
    table.ApplyLogOnInfo(tableLogonInfo);
When the connection to the database is opened, the "Application Name" (which you can see with sp_who2 in MS SQL Server) is "Internet Information Services". I'd like it to be something else, like the name of my website or something similar. If I could specify the exact connection string, I could do this by including "Application Name=MyWebSite" in the connection string, but of course that isn't possible (right?).
Does anyone know of a way to set the CrystalReportViewer's connection's Application Name?
Thanks.
Dan

The name of the physical executable that created the connection is (generally) automatically used to populate the PROGRAM column of the V$SESSION table.
If you want a more human-readable application name or if you have multiple applications in the same application server, you can use the DBMS_APPLICATION_INFO package to set the CLIENT_INFO, MODULE, and ACTION columns of V$SESSION for this particular session once you've created your connection.
Justin

Similar Messages

  • SSIS - pass variables to Data Manager for Appset and Application name

    Hi folks,
    I'm building an SSIS package, and I can't work out how to set the Appset and Application names in the Convert Task item - I have created the item, and the variables, but I can't work out how to reference the two.
    Any tips or help greatly appreciated - this is one of the worst-documented pieces of software I've ever seen!
    Thanks,
    Jason

    Hi,
    Please refer to the other SSIS packages already created. We need not set these parameters while creating the SSIS package. When we link the SSIS to DM package, we can dynamically send the appset name and the application names.
    Hope this helps.

  • Change "Services and applications" names in failover cluster manager

    Hi. Id like to change "Services and applications" names in failover cluster manager for Windows Server 2008 R2.
    I right click on one and press rename, but when i change the name and press enter i get the message "To rename this service or application please rename the Client Access Point via its property page"
    It's important that we don't change the network name for the service

    Hi,
    Checkout this blog post
    PowerShell for Failover Clustering: Let’s Rename a Few Things
    But keep in mind if you rename the resources and you are using them in a script or backup you need to check this also with the new name.
    Greetings, Robert Smit Follow me @clustermvp http://robertsmit.wordpress.com/ “Please click "Vote As Helpful" if it is helpful for you and Proposed As Answer” Please remember to click “Mark as Answer” on the post that helps you

  • This.name and application.name different?

    Hello,
    how come that, within the application.cfc file, this.name and application.name are different?
    Shouldn't this.name be inherited by the application? Isn't that confusing?
    Thanks for clarification

    If I recall correctly, you use this.name to set your application name in Application.cfc, and Application.applicationName to read it in other files. Application.name is just a variable you've created in the Application scope.
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/

  • In 10.8, the file info window's "Kind:" read "Application"/etc. for 64-bit items and "Application (32-bit)"/etc. for 32-bit items. The "(32-bit)" part seems to have been lost in Mavericks. How do I determine if an item is 32 or 64-bit in Mavericks?

    In 10.8, the file info window’s “Kind:” read “Application”/etc. for 64-bit items and “Application (32-bit)”/etc. for 32-bit items.
    The “(32-bit)” part seems to have been lost in Mavericks. How do I determine if an item is 32 or 64-bit in Mavericks?

    1. Launch System Information into its 'report' mode. (A quick way to do this is by holding down the option key while clicking on the Apple menu item, which causes "About this Mac" to change to that.)
    2. From the list on the left, under "Software" click on "Applications." (If you don't see the Applications item, click on "Show more information" from the "File" menu.)
    3. Wait a minute or so for the report to finish.
    4. The last column in the report is "64-bit (Intel)." (You may need to scroll the window to the right to see it.) Click on that heading to sort the list alphabetically. Anything with a "no" is 32 bit.

  • "Prodcut allocation check not allowed for ATPcat.'BR' and application".

    SAP Experts,
    Whenever, I delete a delivery, I am seeing a pop-up message with the information message as "Prodcut allocation check not allowed for ATPcat.'BR' and application". Is this a standard functionality. We dont have ATP Check/Allocation check during delivery delete. How come we get this message ?
    This is something curious. Can someone help me on this please ??
    Thanks,
    Babu Kilari

    Delete the ATP category BR from check control for A (Sales document). It seems when you are deleting a delivery the transfer of requirements settings pop this
    Let me know if you are successful
    Regards,
    Loknath

  • HT4623 When I was update ios6 for iPhone 4 , mail and application are hung , why ?

    When I was update iOS 6 for iPhone 4, mail and application are hung , why ? How I should do for that ?

    They don't let you downgrade.  You have to eat what Apple tells you to and think what they tell you to.  If you liked the older software better than tough ****.  You know what you should do??  You should throw away that garbage that Apple has sold you that they call a phone and get something by anyone else because no one else regulates what you get to do and say about your phone in such an extreme manner.  Not being mean to you friend.  Just know that as long as Apple is answering your questions that you will never get a definate answer and at best you will get something that you don't like but have to get used too.

  • I have lost the instructions for my apachie keyboard and cannot manage to connect it to my iPad. It is fully charged and the Bluetooth is switched on on iPad. Can anyone help me..

    I have lost the instructions for my apachie keyboard and cannot manage to connect it to my iPad. It is fully charged and the Bluetooth is switched on on iPad. Can anyone help me..

    This video shows a person pairing that keyboard with the iPad.
    http://www.youtube.com/watch?v=zrhrKGQWAdM

  • Setting Users for my managed services and application pools

    I setup my SharePoint 2013 test environment and I developed an intranet site. Now inside my test environment I set all the application pool & managed services to use Farm user account for simplicity. Now I want to setup my UAT environment and I want
    to follow the best practice for managing users and service accounts.
    I have read the “Core Solutions Of MS SharePoint 2013” book, and it have listed the following table:-
    First question. What is the difference when saying that the user “Must be a member of the Farm Administrators group” Or must be “Domain user account”?
    Second question , when I first install SharePoint 2013 a lot of applications pools and managed services such as excel services , access services, Performance Point Service Application, business
    data connectivity and Machine Translation Service  will be automatically created , so which account they will be using and should I define separate accounts for each managed service ?
    Third question. What is the recommendation for SharePoint 2013 regarding service accounts?, to use separate account for each manage service, for example one user for excel services , second user
    for access services ,etc?
    Fourth question. For example the documentation mentioned that the Required roles for the excel services is “Domain user account.”, but what permissions this domain user need to have ?
    thanks for any help, and sorry so adding multiple questions inside the same post.

    Q #1: This means the user must be part of the Farm Admins group. Every user is a Domain User.
    Q #2: Generally those should be using a single Domain User account in a single Application Pool to minimize memory usage and reduce unnecessary complexity.
    Q #3: The less Application Pools the better. E.g. One account/App Pool for all Web Applications, one account/App Pool for all Service Applications, and then Central Administration is obviously separate.
    Q #4: You don't need to specifically give this type of user any sort of rights
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Wifi has suddenly stopped working. There is an exclamation mark which takes me to network diagnostics. This asks me for network name and password. This is different from the startup wizard which only asked for a WEP key and modem name. What to do?

    My wifi has suddenly stopped working on my iMac, after working fine for almost a year. There is an exclamation mark on the wifi bars and when I click it, it takes me to a network diagnostics page. This page asks me for my username and password for the wifi, which I don't have. It is different from the WEP key and modem name, which I originally used to set up my connection. I have not experienced any problems on all my other wifi-enabled devices. Ipod touch, iPad, MacBook all work fine. What should I do?

    The name is the name of the network you created on the router. The password is the WEP password. You shouldn't be using WEP at all, as it's insecure and also seems to cause connection failures. Use WPA 2 Personal. If your router doesn't support it, get a new one.

  • My ipod touch is disabled for 22 million   minutes and it won't connect to itunes what can i do?

    My ipod touch is disabled for 22 million minutes+ and i have seen videos where it says to connect it to my laptop and restore it but it says "itunes cannot connect to the ipod because you need to enter the password" obviosly i cannot do this because it is disabled for 22 million minutes+ . please can someone help me.

    light-blue text is a link click on it
    Recovery mode

  • Role, Page and Application names

    Hi,
    I have a role name SMS_Sales, pgSales and WD Application SMS_Main. XXX_Sales contains pgSales and pgSales contains SMS_Main. On assigning the role to the user he sees,
    1. SMS_Sales
    2. pgSales
    3. pgSales (again)
    4. SMS_Main
    I would like the user instead to see the following:
    1. Sales
    2. nothing (but the tab should be visible)
    3. Should vanish
    4. Main
    In short no prefixes (SMS_)....only when displaying any idea how that can be achieved. Prefix are actually needed for the project mainitainece. Hereby the screenshot:[Layout|http://img392.imageshack.us/img392/3379/titlewa5.jpg]
    Many thanks,
    Dharmi
    Edited by: Dharmi Tanna on Apr 2, 2008 11:09 AM

    Hello,
    Can somebody please respond?
    Regards,
    Dharmi

  • Best Practices for NCS/PI Server and Application Monitoring question

    Hello,
    I am deploying a virtual instance of Cisco Prime Infrastructure 1.2 (1.2.1.012) on an ESX infrastructure. This is being deployed in an enterprise enviroment. I have questions around the best practices for moniotring this appliance. I am looking to monitor application failures (services down, db issues) and "hardware" (I understand this is a virtual machine, but statistics on the filesystem and CPU/Memory is good).
    Firstly, I have enabled via the CLI the snmp-server and set the SNMP trap host destination. I have created a notification receiver for the SNMP traps inside the NCS GUI and enabled the "System" type alarm. This type includes alarms like NCS_DOWN and PI database is down. I am trying to understand what the difference between enabling SNMP-SERVER HOST via the CLI and setting the Notification destination inthe GUI is? Also how can I generate a NCS_DOWN alarm in my lab. Doing NCS stop does not generate any alarms. I have not been able to find much information on how to generate this as a test.
    Secondly, how and which processes should I be monitoring from the Management Station? I cannot easily identify the main NCS procsses from the output of ps -ef when logged in the shell as root.
    Thanks guys!

    Amihan_Zerrudo wrote:
    1.) What is the cost of having the scope in a <jsp:useBean> tag set to 'session'? I am aware that there are a list of scopes like page, application, etc. and that if i use 'session' my variable will live for as long as that session is alive. (did i get this right?). You should rather look to the functional requirements instead of costs. If the bean need to be session scoped (e.g. maintain the logged in user), then do it so. If it just need to be request scoped (e.g. single page form data), then keep it request scoped.
    2.)If the JSP Page where i use that <useBean> is to be accessed hundred of times a day, will it compensate my server resources? Right now i am using the Sun Glassfish Server.It will certainly eat resources. Just supply enough CPU speed and memory to a server. You cannot expect that a webserver running at a Pentium 500MHz with 256MB of memory can flawlessly serve 100 simultaneous users at the same second. But you may expect that it can serve 100 users per 24 hour.
    3.) Can you suggest best practice in memory management given the architecture i described above?Just write code so that it doesn't unnecessarily eat memory. Only allocate memory if your application need to do so. You should rather let the hardware depend on the application requirements, not to let the application depend on the hardware specs.
    4.)Also, I have implemented connection pooling in my architecture, but my application is to be used by thousands of clients everyday.. Can the Sun Glassfish Server take care of that or will I have to purchase a powerful sever?Glassfish is just an application server software, it is not server hardware. Your concerns are rather hardware related.

  • How to unlock a determinate key. is asking me for a e-mail and a name.

    are u there

    This isn't a live chat forum, if you were thinking that it was. You post your question, providing as much detail as you can, and then wait for one of us, who are mostly your fellow users, to see and read your question and offer suggestions. Such a reply may not arrive for a couple of hours or more depending on your question, so you'll need to be patient.
    As to your issue, I don't know what you mean by a "determinate key". What is asking for this and in what context?
    Regards.

  • Hi, I have the 3gs and had it unlocked for my virgin sim card, I have been using it for a while now and thought I would connect it to my i tunes, it said that i had to restore my phone so I did and now it says that no sim is inserted! can any1 help plz?

    I tried to not restore it but the phone wouldn't even turn off so thought I had no choice : ( XX

    Hi Peter, Outcome is I look like a real big idiot!!!! When my husband got home I was in the process of writing down all the details to inform apple of the dodgy o2 store, only for him to inform me that he never got it unlocked at the o2 store because they couldn't do it the same day and as I have zero patience he took it a few doors down to a phone shop that advertised unlocking of phones! So now holding my head in shame I have to appologise to o2 and to everyone for wasting their time! Sorry! I assumed that when he gave me the phone and I asked that it was fully unlocked (as we had read up on the jailbreak and red something?) and he said yes! that the o2 store had done it, but he had asked the shop  that unlocked it if it would be fully unlocked and took their word for it! so my phone has been hacked and I will now be (with my tail between my legs, so to speak) taking it to the o2 store for help : (  Hope someone else will read this and learn for my (well my husbands) lesson and go through the correct channels, Thanks again to yourself and KiltedTim and Sorry! XX

Maybe you are looking for

  • HP Laserjet 4500 desktop drivers not finding scanner after install.

    First I have installed the  HP Officejet 4500 Desktop All-in-One Printer - G510a HP Officejet Full Feature Software and Driver for a HP Laserjet 4500 Desktop however after the installation has been completed and the section to where you can connect a

  • Moving iTunes from external drive to new computer

    I have my itunes stored on an external drive lettered "E". How can I move them to my new computer. The external drive letter "E" is not available on the new computer but the hard drive is plenty large enough to hold my whole collection and I would li

  • How to run a command prompt " command " through java code

    hi all, There is a command "java -jar selenium-server.jar -interactive" which i am running through command prompt after going to D:\MyFolder\Examples . i want to execute this command using java code .please help

  • How Do I Display Custom Document Properties On the Info - Properties Page

    Hi, I want to create a template using Microsoft Word 2010 that has fields similar to the Standard Document Property "Title" that can be used as a fillable form that repeats data throughout the document.  I need a custom document property field that y

  • What do you do when a DVD is the only footage you got?

    Ok so here's the story, I posted something like this about a week ago on a earlier forum discussion, but now some of the apsects have changed. A family member took some of our 8mm reel film into a transfering place to have the footage put on DVD. Wel