Database login windows when using DataSet ( CR2008 )

After executing this code, I get a database login window when using a DataSet, wondering why I am asked for user/pwd when using DataSets.

Thanks Jonathan for the tip. I tried it before and after the setDatabaseLogin call yesterday, but got the same results. I'm still going to follow your suggestion because that makes more sense.
Turns out it was the configuration of my ODBC/System DSN that was causing the problem. I reconfigured the System DSN by clearing the check box to provide username/password and now I don't get the Database Login anymore.
I found a different blog post that answered the OLE DB issue I was seeing where the DatabaseName was coming up blank:
Login Error Database at Runtime
Haven't tried it yet and probably won't because I got the Viewer to work with ODBC the way I like it.
Thanks for the help!

Similar Messages

  • Avoid Database Login prompt when using CrystalReportViewer

    Is there a way to keep the Database Login prompt from coming up when using Crystal Reports runtime 2008 SP2? I'm using that plus Visual Studio 2008 to develop a Windows Form application to view reports on a client machine that accesses data on a seperate SQL Server 2005 machine. My customer would like to avoid having users manually enter anything everytime a report is opened with the Crystal Reports viewer.
    I've used the following code with ODBC and OLE DB report connections. When I use ODBC, the prompt comes up with Integrated Security checked which must be cleared. When I use OLE DB, the prompt comes up with Database Name blank and greyed out so I cannot manually enter it.
    Am I missing something here?
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Windows.Forms
    Public Class Form1
        Private Sub setDatabaseLogon(ByVal myConnectionInfo As ConnectionInfo)
            Dim logOnInfos As TableLogOnInfos = CrystalReportViewer1.LogOnInfo
            For Each logOnInfo As TableLogOnInfo In logOnInfos
                logOnInfo.ConnectionInfo = myConnectionInfo
            Nex
        End Sub
        Private Sub ConfigureCrystalReports()
            Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
            setDatabaseLogon(myConnectionInfo)
            myConnectionInfo.DatabaseName = "ClearView"
            myConnectionInfo.UserID = "reports"
            myConnectionInfo.Password = "dstreports"
            myConnectionInfo.IntegratedSecurity = False
        End Sub
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            ConfigureCrystalReports()
        End Sub
    End Class

    Thanks Jonathan for the tip. I tried it before and after the setDatabaseLogin call yesterday, but got the same results. I'm still going to follow your suggestion because that makes more sense.
    Turns out it was the configuration of my ODBC/System DSN that was causing the problem. I reconfigured the System DSN by clearing the check box to provide username/password and now I don't get the Database Login anymore.
    I found a different blog post that answered the OLE DB issue I was seeing where the DatabaseName was coming up blank:
    Login Error Database at Runtime
    Haven't tried it yet and probably won't because I got the Viewer to work with ODBC the way I like it.
    Thanks for the help!

  • Crystal reports "Database login failed" when using push method

    I have a web application (ASP.NET, .NET v3.5), that pushes data to a CR 2008 report. On two servers one of the three reports returns a "Database login failed" error. I am stumped since there is no login, it's push not pull; in addition the problem is hard to debug since it works fine from my developers workstation. I have "updated" the xsd in that report, reinstalled the app, etc., non of which helped. If anyone has a solution or even ideas I'd appreciate the help.

    What about following the troubleshooting steps as described in the blog;
    Create an XML file off of your dataset. Make sure this is done just before you set the dataset to the report:
                rpt.Load(rptPath)
    myDataset.WriteXml(xmlPath, XmlWriteMode.WriteSchema)
    rpt.SetDataSource(myDataset)
    Copy the above created XML to your development system
    Open the problem report in the Crystal Reports designer
    In the Desigger, go to the Database menu and select u201CSet Datasource Locationu201D
    In the u201CReplace with:u201D pane, expand the u201CCreate New Connectionu201D folder.
    Double click the u201CADO .NET (XML)u201D icon
    Browse to the location of the XML file you created in step (1)
    Click on the path to the XML. The <Update> button should enable
    Click on the <Update> button
    Typically, either of the following will happen:
    You will get a u201CMap Fieldsu201D dialog. This indicates that the XML written off of your dataset does not match what the report is expecting. This may be due to incorrect fields name, incorrect field type, etc. You will now need eliminate the difference.
    Incorrect data or no data. There is an issue with your dataset and you need to determine why the data is not present in your dataset. Looking at the XML may be a good place to start.
    Ludek

  • 10.4.8 Client takes long time to get to login window when bound to OD.

    I am working on a system in a school. We have a dual processor g5 xserve with 4 gb of ram, the raid card, and 3 500 gb drives.
    Fresh install of 10.4.8 with all the updates.
    Raid 5 split in 2 volumes, one for server and one for data.
    AFP service running.
    Local dns running.
    Promoted to open directory master.
    This is the following test scenario i have.
    there is a user called studenttest and he belongs to a group called cccarstarmembers and is in a workgroup called student.
    the studenttest users home folder exists in a sharepoint called students that is set up on the data partition.
    there is a sharepoint called cccarstar that holds data for some educational software we use. The owner is administrator with rw access, the group is cccarstarmembers with rw access and others have no access.
    The student workgroup only has a few changes like dock location just for testing purposes to verify that the work group is working properly.
    When i bind a newly built 10.4.8 client with all the updates to the od server it intermittantly takes a long time for the client to get to the login window when it is powered up. Sometimes it will get to the login window in 45 seconds and other times it will take 5 minutes. This is not consistant. if you unbind the client then the computer will behave properly consistantly.
    I have tried binding the client to the od master using the fully qualified domain name and the ip address with the same results.
    the search path on the server is "dc=osx1,dc=erm,dc=sd,dc=bc,dc=ca" and on the client it auto populates at cn=config,dc=osx1,dc=erm,dc=sd,dc=bc,dc=ca".
    I have changed the search path on the client to match the search path on the server with no success as this is what used to work for us on panther setups.
    But this school has a panther client i am working on at the same time with the same applications installed and system preference settings and when i bind it to the same od master with the same search path that is displayed on the server it works fine. all users work, all groups and work groups work.
    Dns appears to be working. lookup provides the correct forward and reverse lookup info on the server, if i use either the panther or tiger client and use lookup with the servers fully qualified domain name and ip address i get the correct answers back.
    I had this problem before where tiger gave me slow to login screen problems but panther wouldnt when bound, and apple told me that it was because i had afp guest access disabled on the server. Enabling it resolved the issue about 6 months ago at another site but this time when building the server i made sure it was on from the start even thoug it is off by default.
    Any suggestions, i am pulling my hair out and about 8 working hours from a deadline.

    I've seen this a lot.
    This Knowledge Base article refers to Active Directory but we've seen this fix login delays with OD-only environments too:
    http://docs.info.apple.com/article.html?artnum=303841
    Another one of the causes is when you have multiple network mounts and your AFP service has guest access disabled. The loginwindow is trying to authenticate to each share with the username given and it is failing when that user account is not authorised for that share.
    Another can be the LDAP timeout value(s). Try adjusting these in the LDAPv3 plug-in.
    Also make sure your network ports have portfast/faststart set on the Mac ports. Sometimes because of STP the port isn't initialised fast enough for the OS when it's ready to start LDAP'ing.
    Let me know if any of this helps.

  • Force iView to open in a new window when using NavigationTarget

    Scenario - Portal Version 6.0 - NW2004  SP16 - WAS 6.40
    A Custom iView is used to gain access to an application running outside of the portal.  The user's credentails to the target application are recorded in the portal's UME via user mapping.  
    I want a user to be able to click a hyperlink to this iView that has been embedded in an email, and have the user gain access to the target application by 'going via the portal'.  The url that I use is of the form:
    http //<my_portal_server>/irj/portal?NavigationTarget=navurl://49a8add355f836061e6279f389cdc72e&open=/page&id=100&proc=10067&flag=1
    This is working, the user is first taken to the portal's login page, and upon successful login to the SAP portal, user is then directed to the target iView, and is logged in automatically to the target application, and able to use the target application.
    >BUT EVEN though the iveiw is configured to open in a new window it does not. It always opens in the main content area, and it always opens in this area in a height of about 40 pixels.  The iView properties are set to FULLPAGE.
    >If I invoke this iView using the portal's standard built in navigation, it does open in a new window
    >It just won't open in a new window when using direct URL to the iView WHY?
    How can I get the target iView to open in a new window under all circumstances?
    Do I need to pass more information in the URL?
    Are there a standard list of URL parameters somewhere that influence the behaviour of the NavigationTarget?  I have seen reference to 'context', 'mode' etc but can't find a list of valid parameters?

    Hello justaquestion1112,
    Thank you for your post.
    You should know that these forums are specific to the
    Acrobat.com website and its set of hosted services, and do
    not cover the Acrobat family of desktop products.
    Please visit the following Acrobat forums for any questions
    related to the Acrobat family of desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/
    Cheers,
    Pete

  • [svn:fx-trunk] 8961: Fix View Source Window when using a Spark Window.

    Revision: 8961
    Author:   [email protected]
    Date:     2009-07-31 11:08:29 -0700 (Fri, 31 Jul 2009)
    Log Message:
    Fix View Source Window when using a Spark Window.
    Turn off the status bar for a Spark Window that is created for View Source.
    QE notes: None.
    Doc notes: None.
    Bugs: SDK-21770
    Reviewer: Ryan
    Tests run: checkintests
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21770
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication. as

    I had downloaded it for test, and requested for evaluation license...
    But I haven't got license, and also I am not able to find Flash Builder Plugins from HFCD site....
    I think those plugins are removed from site....
    Please help me, if anyone have those plugins...

  • Freeze login window when connected disk for Time-Machine

    MacBook, 13-inch, Early 2008, Lion 10.7.3 (same problem on 10.7, 10.7.2)
    - Freeze login window when connected disk for Time-Machine.
    In logs I can see they Time-Machine finished work successfully.
    I have do hardware reset every time to login my laptop.

    wongkh wrote:
    If connecting the time machine after windows is up,both windows and the time machine works properly.
    i can access the time machine hdd in windows.
    Don't, Time Machine knows nothing about Windows, and vice versa.

  • Internet explorer opens a new window when using firefox

    When using Firefox, Internet explorer sometimes opens the same website or opens up a pop up advertisement.
    == This happened ==
    A few times a week
    == Noticed it for the last week or so

    Do a malware check with a few malware scan programs.
    You need to use all programs because each detects different malware.
    Make sure that you update each program to get the latest version of the database.
    http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    http://www.superantispyware.com/ - SuperAntispyware
    http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Why prompt 2 times login window by using BASIC Authen?

    Dear all,
    We have configured our "demo web application" (just some simple HTML) as protected resource with OAM via BASIC authen method. And these webapp deployed in WLS.
    However, when we test it from browser, it always prompt login window 2 times, i.e. the first window is authen by OAM and the second one seems to be authen by WLS. Due to there is no the same user in WLS, we cannot pass the second authen window. But if we create the same user in WLS console manually, the second window will not be appeared for this user.
    These webapp just some html and no authorization set in WLS for them. So as I understand, OAM should prompt login windows only once. Why we need to create the same user in WLS also? BTW our WLS use default provider.
    Do you have ever encounter this problem before? Any suggestion is welcome. Thanks a lot in advance.

    How to config WLS and OAM correctly? is it necessary to instal SSPI?

  • Clafirication on Login Detials  when using JNDI in Toplink

    Hi,
    I am using Toplink in my application for connecting to Database using JNDI ,which is specified in session.xml ,given below
    <toplink-configuration>
    <session>
    <name>default</name>
    <project-xml>META-INF/toplinkMapping.xml</project-xml>
    <session-type>
    <server-session/>
    </session-type>
    <login>
    <datasource>jdbc/PROD</datasource>
    </login>
    </session>
    </toplink-configuration>
    but in the toplinkMapping.xml mapping file i also have an entry for Login Credentials .
    The partial xml mapping file for Login details is given below.
    <toplink:login xsi:type="toplink:database-login">
    <toplink:platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</toplink:platform-class>
    <toplink:user-name>stage</toplink:user-name>
    <toplink:password>0186BD6F6439FA38D570EB1C6286D1EB41782C546151871A</toplink:password>
    <toplink:driver-class>oracle.jdbc.OracleDriver</toplink:driver-class>
    <toplink:connection-url>jdbc:oracle:thin:@localhost:1522:DEV</toplink:connection-url>
    </toplink:login>
    Can anyone please explain why the login details are required here in the mapping file ,while iam connecting DataBase through JNDI using DataSources in the Session.xml
    Thanks in advance

    Hi Jeremy,
    I've tried adding:
    php_value upload_max_filesize 30M
    to the .htaccess file but I get a 500 Internal Server Error
    Seems like using .htaccess files has been deactivated by your host.
    Please try with adding...
    ...on line 1 of the script which needs that, and see if that works -- if even this doesn´t work, I fear I can´t provide any other suggestion than transferring your site to a hosting provider which handles stuff the standard way and doesn´t force you to use such odd workarounds, which I have never heard of.
    Sorry, needed to get that off my chest, but some hosting companies out there are really strange :-)
    The problem is that I use the php.ini files to override the server setting
    I suspect (can be wrong though) that the php.ini file placed in whatever directory will start "from scratch" everytime a document in that folder is "triggered", and that´s why the session of page A are getting destroyed on page B
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Extra Window when using SubPanel

    First I have followed the example in: Dynamic LabVIEW Subpanel in a TestStand User Interface
    I am using LabVIEW 2012, and TestStand 2012, a modified Full UI (LabVIEW)
    I have followed the example from above to create a subpanel in my user interface.
    I pre load all the available "tests" sequence files when the Full UI is launched.
    Then the user picks from the ListBox and runs via "Test UUTs" or "Single Pass".
    The appropriate Front Panels Populate in the SubPanel, but are not active.  At the same time a new window opens with the same VI.  This window is the active version of the Front Panel in question.
    I have reviewed the Caveats described in the example:
    1. The VI is not open in LabVIEW before executing.
    2. I don't believe I'm running a seperate thread.
    I've tried multiple settings for the individual steps in the sequence file with no difference.
    Why does the second window open with the active VI?
    Thanks in advance, Newb-D

    Chaka,
    I appreciate you sticking with me on this, thank you.
    I am not using the Asynchronous step.  I have "Show Front Panel" selected.
    Some things I found in my continued experimentation is:
    1. When using the Simple UI, and putting the activeX components inside the Event Callbacks subVI I get the same response as I see in the Full UI.
    2. I tried moving the ActiveX components to different locations in the Full UI and had no success.
    3. This makes me think there may be a setting in the Full UI somewhere that is stopping us.
    I've attached a few pictures of what I did in the Simple UI.

  • How do i add a login window when i turn on my computer?

    when i log out of my account ofcourse it goes to the login window but when i turn the computer on again another time it just logs into my account without even asking for a password so please reply

    Go to the 'accounts' menu on 'System Preferences' and disable de automatic login for your user.
    Next time you'll need to insert your password.
    In the 'Security' menu I think there's the 'Disble automatic login' too.

  • Suggestion: to add the feature to expand the to/cc/bcc windows when using google mail.

    when using google mail, at the compose window can you add
    the capability to expand the size of the to/cc/bcc/ windows?
    Safari allows the expansion of the to/cc/bcc windows so one
    may see all the entries at a glance. TIA. wm king

    That capability will be added in Firefox 4.
    I see you have OS X 10.4 and a PPC Mac, unfortunately you will not be able to install Firefox 4 as it requires an Intel Mac and at least OS X 10.5. There is a third party build of Firefox 4 for the PPC and 10.4 available from http://www.floodgap.com/software/tenfourfox/

  • No network user log in at login window when over WiFi??

    I can only log in as a network user (home directory on server instead of local) from computers that are connected via wired Ethernet, but not on computers connected via WiFi. From any computer a local logged in user can access server resources -- they just can't from the login window. It is as though WiFi is only enabled once logged in (however it still doesn't work even if I use Fast User Switching to get a login window.)
    Anyone experiencing this problem and found a solution?
    As a secondary issue, I haven't been able to figure out how to automount shares via any technique nor have I found an explanation of how to do it in the manuals. Enable Automount in Server Admin doesn't seem to do it for "Shared Library Folder" however at least something appears in /Network/Servers for "User Home Folders and Group Folders, although it isn't mounted. I've also tried Workgroup Manager, Perferences, Login Items, adding shares there, also to no avail. All the shares will mount via client system command so the sharing does seem to be working.

    I don't have my wireless entwork set up yet (no one really needs it), so can't help with that issue. Although, I seem to recall Fast User Switching has issues with network accounts anyway, so that issue may be unrelated to your original WiFi issue.
    As for automounting, you should have it set up in Server Admin first (as you seem to already). Then you need to also set it up in WGM much like it seems you tried, but make sure you're doing it from a client machine and not from the server so it populates with the proper path info (or you could correct it in the Details section if you know what you need, but that's unnecessarily cumbersome). Also, make sure the "Authenticate selected share point with..." is checked for the share as well. Of course, if you're already doing this from the client, then I've no clue as it seems everything should be fine. That's how mine are set up with no issues, although I also have them set up on the dock, but that should be irrelevant just for mounting purposes.
    Message was edited by: Rikakiah

  • Display Login failure when using External Custom Login Form

    I am new to OAM area and really apreciate if some one can guide me in the right direction. I have configured External Custom Login Form (thanks to fusionsecurity blog) with Oracle Access Manager 11g + webgate 10g. If I enter correct user id and password in the below form, then all is good and able to access the protected resoruce.
    If I enter incorrect values for loginname/password fields, then the from simply refreshes itself and does not give me any error message. How can display error message when a user enters in correct values for those fields?
    <form action="http://hostname:7777/oam/server/auth_cred_submit" method="post">
    <fieldset>
    <legend>Login Screen</legend>
    <label for="username" accesskey="u">User Name:</label>
    <input type="text" id="username" name="username" size="15" tabindex="1">
    <label for="password" accesskey="p">Password:</label>
    <input type="password" id="password" name="password" size="15" tabindex="2">
    <input type="hidden" name="login-form-type" value="pwd">
    <input class="submit" type="submit" value="Login" tabindex="3">
    </fieldset>
    </form>
    Thanks

    Hi!
    I have installed Oracle Access Manager 11g + Webgate 11g and not 10g, but I think
    it has to work beause login is being processed by OAM (/oam/server/auth_cred_submit);
    and it if does not work, it may give you a clue on how to do it.
    Having stated that fact, it is very simple to do it: whenever I try to access a protected
    resource and I am not authenticated I am redirected to my login page and some
    special parameters are passed to it such as: request_id, OAM_REQ, authn_try_count and
    some others.
    authn_try_count is the magic one as it show the number of login tries, so here is
    a code snippet of my login page which uses JSTL for conditional processing.
    <form...>
    <c:if test="*${param['authn_try_count'] > 0}*">
    &lt;span class="error-msg"&gt;
    <fmt:message key="login.val.wrong.login"/>
    &lt;/span&gt;
    </c:if>
    </form>
    Best regards,
    Jesús García from
    Mexico city

Maybe you are looking for

  • Thousands of empty playlists

    I recently moved from a PC to a Mac and I had thousands of empty playlists in my iTunes library, which I know is a problem from iTunes Match. I thought I could fix the problem on a Mac using the Automator or a script, but now every time I try to do t

  • Customer Field in purchase order (ECC 6.0)

    Hi, I need a help on custumer field in ECC 6.0. I would like to know if there is a standard way to see customer fields in purchase or sales order. Thanks very much. Diego

  • 10.2.0.5 OMS Upgrade

    Hi...I'm about to upgrade our OMS to 10.2.0.5 from 10.2.0.4 and would like to learn from anyone's experience of having done the same or similar on AIX or even on another platform. Specifically, we have already upgraded the iAS component in our 10.2.0

  • UoM DTP Error

    Hi,            I have to loaded master data (0Mat_unit) using 0Mat_unit_Conversion data Source at that time i got "Messages for 4 data records saved; request is red acc. to configuration" This Error Msg. How to solve this problem?Can you explain any

  • I have Adobe Acrobat installed and recently updated and just downloaded Adobe Reader, which is running, and still cannot open a PDF.

    Nothing happens. I get the same screen that tells me to download the computer.