Crystal report on VB 6 prompting for Login even when logged on to SQL Server.

Hi,
I am migrating crystal report 8.5 to 11 in VB 6. I have used the following code.
Components Used: Crystal ActiveX Report Viewer Library 11.0
References Used: Crystal ActiveX Report Viewer Library 11.0 & Crystal Reports ActiveX Designer Design and Runtime Library 11.5
Dim app As New CRAXDDRT.Application
Dim rpt As New CRAXDDRT.Report
Set rpt = app.OpenReport("C:\creditrisk.rpt")
rpt.ParameterFields(1).AddCurrentValue (Now)
rpt.ParameterFields(2).AddCurrentValue (Now)
CrystalActiveXReportViewer1.ReportSource = rpt
rpt.Database.LogOnServer "p2sodbc.dll", "AURORA_DB", "DATABASEMAIN", "userId", "xxxxxxxx"
CrystalActiveXReportViewer1.EnableInteractiveParameterPrompting = False
Me.Left = 0
Me.Top = 0
Me.Height = Screen.Height
Me.Width = Screen.Width
Me.WindowState = vbMaximized
CrystalActiveXReportViewer1.ViewReport
I am using the existing reports that has been designed to use ODBC connection DSN Name AURORA_DB. Even though i supply the logon credentials crystal reports still prompts the logon dialog box.
Any help will be highly appreciated.

Issue is you are using the old DB driver p2sodbc.dll, change this to crdb_odbc.dll and it should work for you.
Also check the samples for new Database connection info and methods.

Similar Messages

  • Report server running in integrated mode , but cannot deploy reports again and again prompts for login

    Report server running in integrated mode , but cannot deploy reports again and again prompts for login
    Nur Mondal

    Hello,
    How are you deploying the reports? Via Visual Studio, Report builder or manually uploading RDL files?
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • Crystal Report prompts for username / pwd when deployed to Bus Obj Server

    Hi All,
    I'm relatively new to Crystal Reports development.  My day job is test analyst.  I'm reasonably technically proficient.
    PROBLEM
    I have created a number of Crytsal Reports which have now been deployed to an Enterprise Business Objects Report Server.  The Server is Business Objects Server XI release 2.
    When I run the report in Crystal Reports Desiger 2008 it does not prompt me to enter the database credentials except if I have modified the SQL command or some other report detail.  Most times I run the report, no database username / pwd is required because I already set this up in the datasource config.
    I' connecting to an Oracle database using ODBC (RDO) connection type.  I cannot get the ODBC (RDO) connection type working from my PC using Crystal Reports Designer 2008, because I don't have ODBC configured for my datasource.  Instead, Im using the native Oracle Server driver to connect to my datasource.
    An existing user in the client organisation configured my report to use the ODBC (RDO) conneciton type for me because the Business Objects Server in the client organisation does not (currently) support the native Oracle driver.  Other reports this user has created and deployed using the ODBC conenction type run successfully without prompting user to enter the database connection credentials.
    NOTE:
    This report users an SQL Command (new to Crystal 2008 I beleive?).  The command is reqiured for this report due to the complexity of the underlying SQL query.
    Does anybody know why the report keeps prompting me to enter the database credentials at runtime?  Obviously for security reasons I don't want report users to have to enter the database schema name and password in order to run the report.

    Hi,
    You need to uncheck "Propmt the user for database logon when viewing". You will find this when you deploy the report on the BOE XI R2.
    The deployment step main heading is
    Specify Databse Crendentials.
    Hope this helps,
    Thanks
    -Azhar

  • Crystal reports viewer will not prompt for parameters

    Help,
    I can not get crystal report viewer to prompt for parameters when called from IIS 8 on Server 2012 r2
    I can get crystal report viewer to prompt for parameters when run from vs 2010 built in web service.

    Thanks,
    The solution for me was to uninstall the latest crystal reports runtime 13.10.x and install 13.6.x instead.
    Thanks anyway.

  • Why am I prompted for login, only when booting up?

    Hi,
    I've set a login for my MBP, but have noticed that I'm not prompted to login when restarting.  Only when returning from sleep or booting up fresh.
    I've reviewed the Security settings but everything "seems" correct.  I'm supposed to be prompted when returning from sleep and after the screen saver is activated.
    Not sure what else to check to insure this after a restart.
    Thanks for any help.

    This is actually an Account setting... not a security setting.  Open System Preferences and then Accounts.  On the bottom left, select Login Options.  Automatic Login is probably checked (it usually is by default).  Just unselect it.  If it is grayed out, you'll need to click the little lock on the bottom of the window to unlock the preference.

  • Why being prompted for login/password when using OVDC, smart card,token/vdi

    Hello,
    I'm using VDI 3.2.1, OVDC, smart card and i assigned a smart card token to a desktop pool.
    Inserting the smart card triggers a new VDI desktop selector which prompts for the login and password.
    Is there any reason why VDI is prompting for the login/password in the VDI selector when using a smart card especially that the smart card token has been assigned to a desktop pool ?
    Thanks
    Thierry.

    You still have to authenticate to get a desktop. If you assigned a token to a pool, the ability to be assigned a desktop is based on the token not the user ID. That means that any user will be assigned a desktop if they use that card.

  • Windows Azure Platform Support: "Prompted for "Windows Activation" when logging onto a Windows Azure Role Instance using RDP"

    Symptom
    When a user interactively logs (using RDP client) on to a Windows Azure Role Instance running Windows Azure Guest OS 1.11, they see a “Windows Activation” dialog box.
    Action
    The user can ignore this dialog box by simply clicking either “Cancel” or “Activate Later” button on the “Windows Activation” dialog box. This pop-up window is just an UI issue in Guest OS 1.11 and no OS functionality
    issue. All Role instances running any version of Windows Azure Guest OS has valid volume licensing key and are already activated. There is no need to provide any activation key to validate the OS. 
    Please don’t try to activate Windows Azure Guest OS using your Windows Server OS Key, this will cause unexpected downtime and will require a reboot. Activating Windows Azure Guest OS is not a supported scenario.
    Workaround
    Use the next available OS or any previous version of OS (e.g., 1.10) to work around this issue.
    Other forum references:
    RDP on Webrole with newest guestOS: why is it asking for windows activation
    Windows Azure Platform Support - If you found this post useful, let us know by clicking "Vote as Helpful". - #wapsupport

    this is still an issue and the work around did not work

  • Trying to subscribe to a secure podcast, but I am never prompted for login information, instead I just get the gray "i". Is there something in iTunes 10.4 i can change to fix this?

    Trying to subscribe to a secure podcast, but I am never prompted for login information, instead I just get the gray "i". Is there something in iTunes 10.4 i can change to fix this?
    Notes: The RSS feed of the podcast works just fine. When I enter the podcast URL into the firefox bar, I am prompted and am able to access the page. The problem is with iTunes not giving me the prompt.

    Mountain Lion Supported Machines
    Supported
    Models
    iMac (Mid 2007 or newer)
    MacBook (Late 2008 Aluminum, or Early 2009 or newer)
    MacBook Pro (Mid/Late 2007 or newer)
    Xserve (Early 2009)
    MacBook Air (Late 2008 or newer)
    Mac mini (Early 2009 or newer)
    Mac Pro (Early 2008 or newer)
    Requirements
    General Requirements
    OS X v10.6.8 or later
    2GB of memory
    8GB of available space
    Some features require an Apple ID; terms apply.
    Some features require a compatible Internet service provider; fees may apply.

  • Crystal Reports and SAP BW Connectivity for OLAP

    Hello,
    Anybody created Crystal reports off SAP BW Infocubes? For some reason I am not able to create or configure BW sever connection. I installed Crystal reports and SAP enhance cd for OLAP.
    Thanks
    Tom

    Hello,
    I was able to connect and create Crystal report based on Bex query..no connection problem there. But, reporting directly off infocubes, the server type "SAP Business Information Warehouse"(add server option in OLAP connection Browser) not showing up in list of values.
    1. I released Info query for PLE DB for OLAP as per 
       user's guide.
    2. The manual says you have to configure SAP BW server  
       log on? For Bex query(Crystal) all available servers
       automatically available
    Thanks

  • Is it possible to assign an AD User to SQL Server Login with a defined set of SQL Server Roles?

    A customer asked me if its possible to define in the Active Directory, the SQL Server Roles that should be automatically assigned to a sql server Login that is mapped to a Windows Account.
    In short, his idea is:
    - he creates in the Active Directory a User Group that "knows" about the SQL Server "SecutityAdmin" role
    - some Windows Windows Accounts are Member of this AD Group
    - if one of this Windows Domain Account is mapped to a SQL Server Login "CREATE LOGIN [<domainName>\<login_name>] FROM WINDOWS;" the created SQL Server Login will automatically be a Member of the SQL Server SecurityAdmin.
    Do you know if its possible to configure the AD / SQL Server in this manner?
    I invested some time searching through SQL Server Onlinehelp and AD Documentation. Found nothing. Dont even know if its fiction or a realistic wish.
    Any help, hint, adivce is really appreciated.
    Best Regards
    Paolo

    Yes, you can create an AD Group named "SQLSecurityAdmins", assign a login in SQL Server to this group and grant SecurityAdmin role to it (exec sp_addsrvrolemember).
    Bodo Michael Danitz - MCT, MCITP - free consultant - performance specialist - www.sql-server.de
    Hi Bodo
    Thank you very much for your reply. Dont know if i got it right.
    I create the AD Group "SQLSecurityAdmin", assign it to SQL Server Login and manually add the SQL Server Login as a Member of the SQL Server "SecurityAdmin" Role.
    Now i have a new AD User "NewUser", make him a member of the AD Group "SQLSecurityAdmin". Then i execute "CREATE LOGIN [DomainName\NewUser] FROM WINDOWS;". Is now the new SQL Login Mapped to the Windows Account "DomainName\NewUser" automatically member of
    the SQL Server SecurityAdmin Group?
    Best Regards
    Paolo

  • My ipod keeps searching for network, even when the network info is all set properly. It has suddenly started doing this. Also, buffering forever...

    My ipod keeps searching for network, even when the network info is all set properly. It has suddenly started doing this. Also, buffering forever... I have tried to reset the network few times, but not working.

    Hello Nazer_502,
    I would be concerned too if my iPhone was acting this way.  It sounds like it is overheating and not holding a charge. I recommend following the steps listed below when experiencing an issue like this:
    Battery life seems short
    Click ( www.apple.com/batteries/iphone.html) for tips on how to prolong iPhone's battery life.
    Try turning iPhone off and then on again.
    Connect iPhone to iTunes and restore iPhone.
    If the screen shows a low-battery image, the battery is low on power and needs to charge for up to ten minutes before you can use it.
    When charging iPhone, make sure to leave it charging until it is fully charged. You'll know the battery is fully charged when the battery icon in the upper-right corner of the screen looks like this .
    Note: When charging using a computer, don't connect iPhone to a keyboard. Also, the computer must be turned on and not in sleep or standby mode. If iPhone is connected to a computer that's not turned on or is in sleep or standby mode, the iPhone battery may drain.
    You can find the full article here:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • SAP Best Practices for Data Migration :repositories only on MS SQL Server ?

    Hi,
    I'm implementing the "SAP Best Practices for Data Migration" (see https://websmp109.sap-ag.de/bp-datamigration).
    As part of the installation you have to install MS SQL Server Express Edition. The installation guide contains detailed steps to do this. All repositories for Data Services should be running on SQL Server, according to the installation guide.
    The customer I'm working for now does not want to use SQL Server, but DB2, as company standard.
    So I use DB2 for the local and profiler repositories.
    I notice however that the web application http://localhost:8080/MigrationServices does not support DB2.The only database type you can select in the configuration area is MS SQL Server.
    Is this a limitation, a by design ?

    Hans,
    The current release of SAP Best Practices for Data Migration, v1.32, supports only MS SQL Server.  The intent when developing the DM content was to quickly set up a temporary, standardized data migration environment, using tools that are available to everyone.  SQL Server Express was chosen to host the repositories, because it is easy to set up and can be downloaded for free.  Sone users have successfully deployed the content on Oracle XE, but as you have found, the MigrationServices web application works only with SQL Server.
    The next release, including the web app, will support SQL Server and Oracle, but not DB2.
    Paul

  • Crystal report prompting for login to Dataset [Problem]

    Hello,
    I'm developing a C# windows application with an Access db
    I'm getting the data from the database and load it to a dataset then pass the dataset to the report
    every thing is working fine on my local machine but..
    When I run it on any other machine it prompts me to enter the login information while there are no login informations to enter because I'm connecting to a data set
    here is my simple code to load the report
    VisitReasibReoirt VisitReasonRPT = new VisitReasibReoirt();
                            VisitReasonRPT.DataSourceConnections[0].IntegratedSecurity = true;
                            VisitReasonRPT.SetDataSource(ds);
                            crystalReportViewer1.ReportSource = VisitReasonRPT;
                            crystalReportViewer1.RefreshReport();
    Also there is an other problem in the design
    I cannot change the language of the datetime fields like what I did with text fields.. How can I solve this ?
    please tell me what to do...this is very important I searched a lot but I found nothing usefull
    Edited by: Mando! on Aug 26, 2010 2:04 AM

    Hello,
    Information needed..
    Version of Crystal Reports?
    Version of Visual Studio?
    Type of data connectivity used? (i.e. OLEDB, ODBC)
    Did you diploy the application? How? (MSM's or MSI's)
    If the new machine is also a developement environment, does the report work from designer?
    Version of windows on prev and new machine?
    Make sure that..
    If the application is deployed, the proper runtimes are installed.
    The database provider is installed.
    The target database is located where it should be.
    The target database is unchanged.
    One question per thread please.
    see [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/Rules%20of%20Engagement].
    Thanks,
    Bhushan.

  • Crystal reports 2008 preview doesnot prompt parameters

    Hi All,
           I have created a crystal report in 2008 using OLE DB(ADO) connection. I have created a command to select few fields in one of our tables and the result should display based on parameter sent. When I created the command i as well created parameter using parameter list window. The parameter is setup and all is fine when I click preview the report it prompts for all record or first hundred records when i said ok it should prompt me for the Parameter which it doesnot. Every time i need to go to verify database for doing this ? Can some help me out on this ?
    Thanks,
    Prathima

    Hi Prathima,
    Are you using the "Preview Sample" option to refresh the report? That's the only option that prompts you to bring back all the records or the 1st 100 records.
    Use the"Refresh" icon instead or hit hit F5 button on your keyboard to refresh the report and you should be prompted to enter parameter values.
    -Abhilash

  • Report Manager 2008 r2 - prompts for username/password & does not accept

    Hi all,
    I am dealing with an extremely frustrating problem with Reporting Services 2008 r2, Report Manager, and would greatly appreciate any help.
    I have installed Reporting Services, with Report Manager, onto a Windows Server 2008 r2 install. 
    When loading Report Manager (http://server/reports), I get prompted for a username/password.
    No matter what I type in, I get prompted a 2nd time, then a 3rd time, then a blank screen loads up.
    @#$@#??!?!!
    How can I get past this username/password challenge - remember this is SQL 2008 r2 so IIS-based solutions are not relevant.
    Thanks again,
    Jason

    Hi Jason,
    Did you follow the solution i mentioned at another your thread
    http://social.technet.microsoft.com/Forums/en-US/sqlreportingservices/thread/4f3651cb-c608-4460-a45a-9337df2ab88a ? This is very common issue in SSRS 2008 and the solutons have been summarized at this blog
    http://blogs.msdn.com/b/lukaszp/archive/2008/03/26/solving-the-reporting-services-login-issue-in-the-february-ctp-of-sql-server-2008.aspx , and also applies to SSRS 2008 R2.
    Note:by using the default installation, the rsreportserver.config file is stored at C:\Program Files\Microsoft SQL Server\MSRS10_50.instance\Reporting Services\ReportServer
    please let us know the result.
    thanks,
    Jerry

Maybe you are looking for

  • Ipad 1 no longer connects to itunes

    Updated both my iTunes to the most current and my iPad 1 to 5.1.1. Now it no longer connects to iTunes and gets an error message.

  • Acrobat icons all generic with no preview?

    After reinstalling Acrobat 9 pro on a new machine all adobe pdf icons are the generic Adobe icon with no first page preview on them.  Have tried everying from the forum so far but no success. any help would be greatly appreciated!

  • PSE 9 and MP4 files

    Just thought that I should mention that PSE9 stops running when Elements is importing picture files and comes across an accidental MP4 extension. In Windows 7 it needed the Task Manager to restart. This user is stupid enough not to have checked that

  • Help! Broadcasting error "page can not be displayed"

    Dear all, I have a problem with our broadcasting in BW7. I've checked all the pameters in ICM, that is correct. I used RSBB_URL_PREFIX_GET to check HTTP server host and port settings, and also check for message server. The port of message server is 8

  • Forward authenticatie with ACS 3.3

    Is it posible to forward a authentication request received from a client to an upstream RADIUS server ? The client sends credentials to ACS, and ACS must send it to another RADIUS server. How can I do this ?