Named vs Windows users

Hi,
I have a .net 2005 windows app that uses ODP to connect to an Oracle 8i db and pull some simple data, then throw it on a grid.
If I use a connection string with a named user in Oracle ("Data Source=sss;Persist Security Info=True;User ID=moi;Password=pwdpwd;"), ODP persists the connection for the lifetime of my session and allows me to pick it up the next time I come through the door. All good to here.
If, however, I pass my windows credentials to the database ("Data Source=sss;Persist Security Info=True;User ID=/;"), ODP will not persist the connection; the connection closes automatically such that I have to create a new connection each time through the door.
The code being executed is the same;only the connection string changes.
Private oc As OracleConnection
Public Function GetClients(ByVal conn As String) As DataTable
oc = New OracleConnection
oc.ConnectionString = conn
Dim comm As New OracleCommand
With comm
.CommandType = CommandType.Text
.CommandText = "select * from myCLIENTS"
.Connection = oc
End With
Dim ad As New OracleDataAdapter(comm)
Dim dt As New DataTable("CLIENTS")
ad.Fill(dt)
Return dt
End Function
So the question is: Is this an ODP thing or an Oracle thing? Why would a named user's connection persist, but not a windows authenticated user? And secondly, have you any idea how I can configure things such that a connection made by a Windows user is the same as that made by a named user?

Hi,
It's not in the docs, but it's in the readme.txt under "TIPS, LIMITATIONS AND KNOWN ISSUES"
7. OS Authenticated connections are not pooled by ODP.NET, even if pooling
is enabled.
Hope that helps,
Greg

Similar Messages

  • Sending Mail attachments to windows users

    When sending Mail attachments (Jpegs) to windows PCs they arrive embedded in the message body, not as an attachment that can be saved.  Can I, or the recipient, do anything to rectify this?

    From Mail Help:
    If Windows users have trouble with your attachments
    Windows users might not be able to read attachments you send, the messages they’re attached to, or both; or they might see two files when you’ve sent only one.
    Try these solutions:
    Choose Edit > Attachments > Always Send Windows Friendly Attachments.
    Choose Edit > Attachments > “Always Insert Attachments at End of Message” to automatically have attachments inserted at the end of a message. Otherwise, some Windows recipients might not easily see all of your message because parts of it are put into attachments, which they have to open to read.
    Use filename extensions, such as .doc for a Microsoft Word document, in the names of files you send to Windows recipients. This way, the files can be read by a Windows application.
    If you send a file (for example, “MyFile”) to someone who uses a Windows computer, the recipient might see two files: “MyFile” and “._MyFile.” The recipient can ignore the file named “._MyFile.”
    If you have a New Message window open, the Edit > Attachments commands don’t contain “Always” and they apply only to the message you’re currently composing.
    If you haven’t set the default, click Attach in the toolbar of the New Message window and select the Send Windows Friendly Attachments checkbox.

  • Help with PDF formsmaking them work for Windows users

    I'm using a new user of Acrobat 8.0.0 and having a helluva time figuring out how to make PDF forms that work for Windows users.
    I can make the forms okay and Mac users can fill them out (using either Preview or Reader), and I get them emailed to me just fine. But all of the PC users that I send them to tell me that they "can't save them."
    Here's a test PDF I've created (with just a few plain fields in it):
    http://www.braintoniq.com/dropbox/test.pdf
    Can someone who's got XP tell me what I'm doing wrong? Or what I can tell my XP users how to save it and be able to email it back with their text.
    thank you!

    tuqqer;
    Worked on my Firefox browser PDF plug-in running XP on my MBP. Opened the completed form in Adobe Reader 9 Windows and all looked fine. Just a note on your fields; date field not properly formatted and once filled, it has the same name as the NAME field. Just make sure our fields are named separately.
    Best.
    P.

  • Windows users can't access shared folder - only see Library folder.

    I created users folders with the same name as the user's login name. (Note: this is NOT a home folder. I have Home Folders shut off). When the Windows user logs in to access their folder, they don't see their files but instead a folder that says "Library".
    When I log in with that user's account on my Mac, I can see the correct contents of their folder, but there is also a folder named "99". I found this "99" folder at the root of the server hard drive but every time I delete it, OS X recreates it again.
    I don't understand what's going on.

    Hi,
    Whether you can able to ping the server when the server share is unresponsive? 
    Check for the events on the server for a clue. Try disabling the AV program for some time and check whether the problem is repeating. 
    Regards,
    Rafic
    If you found this post helpful, please give it a "Helpful" vote.
    If it answered your question, remember to mark it as an "Answer".
    This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion in a test environment before implementing!

  • Windows user groups with # character ok?

    I wanted to know if a windows user group is used in SQL server 2008R2 which contains a naming convemtion that includes the # character would operate ok within BizTalk databases.
      eg.  domain\#mg-dd-something
    Any help and advice would be greatly appreciated.

    But in this context, its the backslash that is the special character. A legal identifier in SQL Server consists of alphanumeric characters + plus the characters _, #, @ and $. Of these $ can never been used initially. @ can only be used initially for variables.
    # can be used initially without restrictions except for objects in sys.objecs, where it only can be used for stored procedures and tables and for these have a special meaning. For non-object objects, # can be used freely. Underscore should never been an issue,
    as it is commonly used an identifier in many languages.
    So this is legal:
    create login #nisse@manpower with password ='hult'
    Whether you should use it? There is certainly a bigger risk that you run into issues. Not necessarily in SQL Server itself. It could also be with other MS products or third-party software. And not forget people in your organisation who will be confused by
    it.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Windows user group for BizTalk contains # characters

    I wanted to know if a windows user group is used in BizTalk Server 2013 which contains a naming convention that includes the # character would operate ok in BizTalk and SQL.  PLease see the example below:
      eg.  domain\#mg-dd-BizTalk-SSO-Affiliate-Admins
    Any help and advice would be greatly appreciated.

    Hi Chris,
    There are some naming conventions followed while creating the Windows user groups. not a concrete ones..one of them is here.
    http://technet.microsoft.com/en-us/library/cc775802(v=ws.10).aspx
    When it comes to BizTalk, if I can recollect, one of our clients had Windows user group with a symbol like yours which did work without any issues. But we suggested them to change the user group's name as this could affect some of our automated scripts like
    Powershell/C# programs. For which they agreed and changed their Windows user group to ones without any symbols.
    Yes, this would work but might fail for any of your automated maintenance scripts. Note: This experience with my client is with BizTalk 2006 and I have tested the case for latest versions.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Read out Windows-User

    Hello
    i have a Webdynpro application and must read out the windows user.
    There a function-module named GUI_GET_DESKTOP_INFO.
    With this function-module i get the windows-user.
    Problem is that the function-module is obsolete and you should user the class CL_GUI_FRONTEND_SERVICES.
    Here you have the method get_user_name.
    But it doesn't work.
    How can i read out the windows user?
    It can be in the webdynpro application or coded in a function-module
    Thanks for your help

    H Denis,
    We should use cl_gui_frontend_services=>get_user_name in combination with cl_gui_cfw=>update_view method.
    Try this out, you must get the user value in variable l_user.
    CALL METHOD cl_gui_frontend_services=>get_user_name
      CHANGING
        user_name            = l_user
       EXCEPTIONS
         cntl_error           = 1
         error_no_gui         = 2
         not_supported_by_gui = 3
         others               = 4
    IF sy-subrc <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ELSE.
        CALL METHOD cl_gui_cfw=>update_view
          EXCEPTIONS
            cntl_system_error = 1
            cntl_error        = 2
            OTHERS            = 3.
    ENDIF.
    Hope this helps,
    Sravan Varagani

  • ITunes setup on a NAS with multiple windows users - how?

    iTunes setup on a NAS with multiple windows users?
    I am very confused on what is the best way to handle this setup for my friends family.  Any help would be appreciated.  Sorry in advance as I know this is a long winded post - I have a feeling this will help others faced with the same issues or questions.
    CURRENT SETUP
    I have three new Windows 7 machines networked (two desktops and one laptop) that have four users on each - as busy family with children who need the computers for homework, projects, games, etc...  The goal of this setup is that any user can log onto any computer and have there documents available to them no matter computer was free to use.  I set this up using the library function in Windows 7 and seems to work pretty well.
    I have put a Buffalo Linkstation NAS on the system as well.  This was going to serve two purposes 1)  run some backup software to protect the computers and 2) consolidate the iTunes content in one place for all users.  There is also an iPad in the home that I should would be better served by accessing the content on the NAS without requiring any of the computers being on.  Dave is thinking about getting some other playback devices like Apple TV so thought a NAS would be a good way to go.
    CURRENT ITUNES SETUP - I have created a new iTunes library on the NAS by holding the SHIFT button down while starting iTunes and pointed to that folder on a Share on the NAS.  There was no music on the system at the time as we are planning to copy this over from an OLD machine that is now not being used.  I have also authorized all the computers and turned on the home sharing feature (although I am not sure what good that does).
    This “shift” button trick seesm to also point the default directory there without point to it in the advanced setup tab of iTunes.
    I then synced one of the iPods with purchased content on it and synced that to the library after asking me to do so before an update.  All the content showed up in the library and was playable - awesome.
    I then logged into each user on each machine (yikes) and installed iTunes  and used the “shift” trick to connect each users iTunes to the database on the NAS.  Everything seems to work - but I have not tested it thoroughly.
    SUMMARY
    3 new Windwos 7 networked machines
    4 identical users on each machine
    1 TB Buffalo linkstation
    iTunes setup with the folder on a SHARE
    all user’s itunes connected to the iTunes folder on the NAS
    all computers authorized with home sharing turned on.
    one iTunes user account signed in on each machine
    multiple iPods and one iPad in the system
    QUESTIONS/CONCERNS
    Is there a better way to do this on a NAS?
    Would home sharing be better in some way?
    I understand the NAS should show up under the shared section in iTunes - I assume that would mean that would mean each user has an iTunes library on their documents?
    I have read that there may be corruption issues if users on the different machines try to access iTunes at the same time.
    Will there be any issues syncing that various iPods with?
    Ugh - sorry for the long post and all the questions.  I am just trying to find the best way to do this.  I wish Apple would put out a best practices document for setups like this.  Thanks in advance.

    This is a user to user support forum. Your fellow users can offer solutions or workarounds based on their experience with the application. If you think it should work differently drop a line to iTunes Feedback.
    For reasons unknown Apple haven't chosen to allow iTunes to be suspended in one profile and active in another. My recollection is that this applies even if each profile has a different library, although it is some time since I've committed a personal test.
    I'm not sure why my suggestion make less sense that your current approach?. As I understand it currently everybody is either signed into their own account when they can do something other than work with iTunes, or they sign into the special iTunes account where they can't access any of their other stuff. You don't have to disable fast user switching. Follow exactly the same steps, but make sure everyone closes iTunes before turning the computer over to another user. Disabling fast user switching helps to enforce that action.
    tt2

  • HT1203 iTunes: How to share music between different accounts on a single computer - I tried to use the instructions to configure 2 different windows users sharing the same iTunes library.  I could not get this to work per the instructions.

    I tried to configure 2 windows users accounts using a single library per the instructions in HT1203.  My iTunes library is on an external drive.  I cannot get this to work.  Any suggestions?

    To give other users read-only access to your iTunes library, use the Sharing features of iTunes. Sharing works over the local network as well as on the same computer. See the built-in help for details.
    If you want to give full read/write access to more than one user, see the support article linked below.
    iTunes: How to share music between different accounts on a single computer
    There is a way to share the library without moving it to a secondary volume. If you really need to do that, ask for instructions.

  • How do I animate graphics for ipad, a windows user who might jump ship

    Please read this recent post that I put up on the Adobe Flash forums site; only got one reply which wasn't much use to me, maybe you guys can help.
    No I'm not on here to moan about Mac not supporting Flash (and yes I know that in theory Apple have done a U turn and are prepared to support it, albeit through gritted teeth).  I have a problem though, I have been using Adobe since, well forever really, and am Windows based, plus I've always managed to keep both Mac and Windows users happy as I am largely video and After Effects based.  I've dabbled with Flash and Director and some HTML coding so I am not completely naive when it comes to interactive presentations.  This time I am a bit stumped though, I have an international client and they have decided as a company to invest in ipads for all their staff, so I am now being asked about interactive presentations including graphics and video content.  Well if any other client had asked this of me I would have brushed up on my Flash and probably developed a straight forward presentation (nothing too fancy is required, no back end data base stuff etc, just a few animated buttons, splash screens and video).  It is probably not agood idea coming onto an Adobe forum and asking what other program I can use for similar projects on the Mac, but that is my starting point.  I know about Keynote, which I perceive a bit like Powerpoint (Micky Mouse comes to mind, I'm asking for trouble saying that I guess), so what exactly is the programe that is used on Macs to do similar tasks as Flash, does it exist?  Before I decide to persist with Flash (and I guess that I am going to be nudged in that direction as I am on an Adobe forum) I'd like to know what is its rival on Mac.  I have done a bit of research and am looking at Xcode4, Cocoa and it all seems a bit confusing and I certainly don't want to learn, C, C++ or one of it's derivatives, plus ipads use IOS a rather pared down version of the full Mac OS.  If I were a Mac graphic designer and I wanted to design an interactive presentation for the ipad (or Mac for that matter) what professional program would I be using?  There you go a very simple question from a very long winded explanation of my problem.
    Here is the reply I got form one of the other forum users:-
    As far as I know, Jobs was putting all his eggs into HTML5, so you probably want to see how he and the rest of the team are coming along with that spec (estimates are between 3 to 10 years for a final spec release).  I believe you'll need to learn a number of other things (css, javascript, jQuery, ajax, etc) to make it all work together to mimic what it can of a Flash version.
    As far as video goes... http://www.informationweek.com/news/hardware/desktop/225701855?subSect ion=News
    (Yeah, you're less likely to get positive/useful feedback in a Flash forum... try a Mac forum, better yet, an iPad forum)
    Any help much appreciated

    Hi Mitchell,
    I'll try to help you answering few questions. I'll be short now because dinner is almost ready.
    My background and experience is web/print designer, but I have been researching and studying iPad since the original is out (I got iPad and iPad 2). I work in Windows environment, I actually embrace the iPad situation.
    Ok, basically you want to have "interactive presentations including graphics and video content" for client?
    The best answer for that at the moment is: HTML5, jQuery/JavaScript, and CSS. I am sure with those 3 can get something like this:
    http://www.youtube.com/watch?v=Wc3fghSJvBM
    That's actually an app. Obviously native App has some advantages over WebApp. Take a look at how Google tackle the iPad with its webapp. Lots of great example. Google uses a lot of jQuery in a smart way.
    Maybe soon Adobe products will adapt and utilize more HTML5 for iPad. Maybe Flash would eventually go to iPad, who knows.
    I actually manage to live "without Flash" and be more efficient with presentation. Less bling and splashy interaction, but still manage to give a "new" experience. I would probably ask the client to wait a bit. Study the available interactive magazines (Wired, GQ, Victoria Secret etc) and websites that utilize only HTML5, jQuery, and CSS to get that "Flash" feel.
    There are really awesome Flash websites over the last few years, before iPad came along. We have gone almost "too much" with what Flash can do in term of giving interactive and layers and layers of interactive eye candies UI. Maybe it's time to be more efficient. Save the pixels for what really more important.
    Anyhow, try a simple hack: use and experiment Splashtop app or similar app that allow mirroring of PC/Mac into the iPad. This way, you could have Flash on your iPad, as long there is a connected PC/Mac via Wi-Fi.
    Try also presentation viewer for iPad, from Prezi.
    Remember one thing: It does not have to be the iPad. We know iPad is cool, but if other tables (Android tablets) can actually view Flash and the experience is fine, then go for it. My opinion: Flash is not yet for multi-touch experience.
    Tablet revolution is still really young, so, it's time to experiment.

  • Connect to a cube with Integrated WIndows Sercurity for Windows user with computer outside the domain

    Hello,I am trying to connect to an MSSAS cube with a windows user ( and i need this user to be the end user that connect to the cube) from outside the domain.It will be .Net application.I use msmdpump.dll before but the thing is it impersonate the connection
    so the user that connect to the Cube is not the real client user with is a problem for me because i like to manage the security throw roles.
    SSRS is able to do what i am trying to achieve ( it ask you your domain user and password) then connect to the cube with these credential which is great,but i do that ?
    With ADOMD.Net how do you provide windows user/password in the connection string ?
    I tryed to only active windows security access with IIS and MSSAS but it's not working with a computer outside the domain even if in excel i provide a windows user/password.
    Vincent

    With ADOMD.Net how do you provide windows user/password in the connection string ?
    Hello Vincent,
    See MSDN Connection String Properties (Analysis Services) for all available properties; addtitional: AdomdConnection.ConnectionString
    Property  =>
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Sharing ITunes files across multiple windows user accounts

    How can my husband and I share our music files across two windows user accounts on the same computer.  As of now, when one of us buys new music, the other cant get it in their music library.  How do we get it to show up for both of us?

    follow this link to support article. http://support.apple.com/kb/HT1203

  • Sharing iTunes library across 2 Windows user IDs

    My Windows XP computer is set up with 2 user accounts. iTunes is installed and all of my music is stored in my Shared Music folder (this folder is in Shared Documents, which is accessible from each user ID).
    I want to be able to use iTunes from either Windows user ID. The problem is that iTunes creates and maintains 2 separate iTunes Music Library.xml files. When I'm logged on (user #1), iTunes uses the xml file in my My Documents folder. When my spouse is logged on (user #2), iTunes uses the xml file in her My Documents folder.
    This is problematic. If I add a new song to iTunes from my Windows ID (and the song file is placed in the Shared Music folder), it is added to my library and xml file. If my spouse logs on and launches iTunes, the song is NOT in her iTunes library. She has to manually add the file from the iTunes Add File to Library command.
    I'd like iTunes to use a single library that both Windows user IDs can use and maintain. I don't want to have to manually try to keep these in sync.
    I can't find any setting in iTunes for this, and the user guide doesn't even mention this topic. Any help is appreciated!!!

    TheMint,
    I think it works like this:
    The setting you describe is where iTunes will store the music files themselves (.aac or .mp3, etc.) However, iTunes creates an index of all of your music, and it uses that index to display all of your music in iTunes. The index file is called iTunes Library.xml
    The index is stored in the My Documents\My Music folder of the user ID you log in as. Apparently, you cannot tell iTunes to store this in a different location.
    So if you create an iTunes library under one Windows user ID, the index is created in that user ID's My Documents\My Music folder. If you then log in as another Windows user ID, iTunes does not see the index that was created by the first Windows user. Thus you do not see any of the music listed in iTunes.

  • Sharing one "Email account" between two Windows "user account" in a "Global Inbox"

    Context: Two "windows user accounts" on a Windows XP PC, having the same email address. The "Local folder" is placed on a "All users" directory and acounts settings specify a POP server with a retention period of 30 days.
    Problem: When User B ask for reception of messages, he received all messages already read by user B. (this probably due to separate popstate.dat).
    On a previous PC two years ago, we do not had this dupplicate reading.
    If you have a solution, could you also cover the Windows 7 case.
    Regards
    Dto75

    I strongly suggest you get the whole profile in the same folder hierarchy before you even consider moving to windows 7.
    Windows XP has Program File
    Windows 7 has Program Files and Program Files (X86) your executable goes in the x86 one.
    XP has applications data
    Windows 7 has appdata
    In windows XP Thunderbird's profile is in application data in windows 7 it is in appdata/roaming
    If you open explorer the old locations appear to be there, but they will not work to locate Thunderbird's disparate parts of it's profile
    And so the list goes on. Hence none of the locations you know will probably exist under windows 7 so if parts of the profile are pointing to locations that have changed, only grief awaits you.

  • One library for 2 windows user accounts

    I am having and issue and I don't understand why apple made the software this way. I have itunes installed on my pc and I built a library but when I logged into my wifes account and ran itunes it was as if i was running itunes for the first time on my pc. so now there was 2 library's so made a single folder on directly on the hard drive so it comes up as c:/itunes music library and would not be directly linked to either user account and thus I would be able to turn on Auto update and it we would be able to just plug in the ipod no matter who was logged in and it would update but it does't work. anytime I select auto update feature and I just want to auto update playlists only it says it's linked to a differnt library and stuff, but it's not
    why can't this work seemlessly

    It was designed that way so people with vastly different tastes in music wouldn't have to sort through a bunch of music they don't like.
    You can keep the actual music files in one place on the hard drive, but have different library itl files for only the music you like in each Windows user profile.
    These articles might explain things a bit better
    What are the iTunes library files?
    How To Share Music Between Different Accounts On A Single Computer

Maybe you are looking for

  • Sending an edited copy via email without saving the original

    I have acrobat 5 and when HR gets a application they scan it in as a pdf then they block out the SSN and they said they use to be able to click the email button and email that changed document with out saving it so that the original file still has th

  • Grid in Oracle Forms

    wil it be possiblt to create a form where we can drag the change the width of the columns in the form. How can this be accomplished?

  • Sony internet connection and aorport express

    I have an airport express and am buying a Sony 40Z5100 which gets internet by connecting it to a wireless router. My airport express is obviously hooked up to my cable now. Will I be able to have an ethernet connection to my T.V, or is there only eth

  • Re: Microphone Function with respect to Satellite A665- 6050 – Laptop Innovation - 25th Anniversary

    Dear Sir or Madam:     I purchased the above identified product because of an unsatisfactory experience I had with my former laptop when I needed to SKYPE my children while they were abroad.  Because of your product literature underlining your superi

  • QT- Photo Jpeg compression looks jerky

    Hello guys, I have converted my HDV 1080 i 60 clip to QT Uncompressed 10 bit with these settings: video encoder tab - Compression Type: Photo Jpeg, frame rate: 29.97, compressor quality: Best, Frame Controls tab - controls ON, resize filter: Better,