Database/Login on own PC

Hi
I'm making a site, but do not have an online host yet. I want
to make a login system, so I need a database. but when i want to
set the site definition thing i don't know how to insert a proper
path, or even what to insert. please give me step by step plan how
to make the login system on my own PC. (the thing i get stuck at is
the point where i first aproache the Server Behaviors tab)

check DW help for step by step tutorial for the server
technology you're
going to use: ASP, PHP, ...
did you already choose the database: Access, MS-SQL, MySQL?
Danuss wrote:
> Hi
>
> I'm making a site, but do not have an online host yet. I
want to make a login
> system, so I need a database. but when i want to set the
site definition thing
> i don't know how to insert a proper path, or even what
to insert. please give
> me step by step plan how to make the login system on my
own PC. (the thing i
> get stuck at is the point where i first aproache the
Server Behaviors tab)
>

Similar Messages

  • Missing DataBase Login information for deployed VS2008 w/Crystal Report

    I'm creating a Windows Form application using VS2008 Pro and the basic Crystal Reports (included).</br></br>
    I've successfully added a crystalreportviewer control and a crystal report (.rpt) to my form. I've written the following code in the code behind to programmatically load/bind the report to the viewer. Everything works fine on my development machine (or any machine that has Visual Studio installed). Where I'm encountering problems is when I deploy the application to a machine that does not have VS installed (I have downloaded and installed the "Crystal Reports Basic for Visual Studio 2008 Redistributable Package" for the appropriate processor type on this non development machine) that I'm getting an error . It prompts for "DataBase Login". The ServerName, LoginID and Password are all there, but the "DataBase" field is empty and disable for user input.</br></br>
    Why is the DataBase information missing? How can I solve this problem?</br></br>
    (On a side note, I vaguely remember a property for enabling/disabling the prompting of the database login. I can't remember where this was again to double check if that is the culprit. But I'm pretty sure that I did mark it as to not prompt, since it's supplied in the code behind. Plus it doesn't prompt on the development machines. Only on the non-development machines).</br></br>
    Any help is greatly appreciated! Thanks.</br></br>
    The code executed in the PageLoad event of the form.</br></br>
    this.crystalReportViewer1.RefreshReport();</br>
                ReportDocument reportDocument = new ReportDocument();</br></br>
                #region Load Parameters</br></br>
                ParameterFields paramFields = new ParameterFields();</br></br>
                for (int i = 0; i < _parameterName.Length; i++)</br>
                {</br>
                    ParameterField paramField = new ParameterField();</br>
                    paramField.ParameterFieldName = _parameterName<i>;</br>
                    ParameterDiscreteValue discreteVal = new ParameterDiscreteValue();</br>
                    discreteVal.Value = _parameterValues<i>;</br>
                    paramField.CurrentValues.Add(discreteVal);</br>
                    paramFields.Add(paramField);</br>
                }</br></br>
                crystalReportViewer1.ParameterFieldInfo = paramFields;</br></br>
                #endregion</br></br>
                #region Load Report</br></br>
                string reportUrl = "";</br></br>
                string exePath = Application.ExecutablePath.ToString();</br>
                exePath = exePath.Remove(exePath.Length - 18, 18);</br>
                exePath += _reportName + ".rpt";</br>
                reportUrl = exePath;</br>
                reportDocument.Load(reportUrl);</br>
               #endregion</br></br>
               reportDocument.SetDatabaseLogon("myUserName", "myPassword", "myServer", "myDataBase");</br></br>
                crystalReportViewer1.ReportSource = reportDocument;
    </br></br>
    Edited by: mtech8 on Jan 9, 2010 3:03 PM. Corrected formatting issues to make post readable.

    HI. Ludek,
    Thanks for the tips. I tried both, but the problem presists.
    On a side note, I did get my hands on yet another "non-development machine". This one ran with Window's Vista appeared to work (even with my original code).
    The "non-development machines" that I've tested on are Windows 7 and Window XP machines. On these machines, when I commented out the reportDocument.SetDatabaseLogon line, when I try to load the report, it still prompts for the Database Logon information, however, it also has the "Database name" empty and disabled.
    Since it worked on a non-development machine with Win Vista. I don't think there is a problem with references or the Crystal runtime packages.
    As far as permission for the report to contact the database, I'm guessing there isn't a problem there either because the application does successfully connect to the database.
    I'm connecting to a SQL2005 database and using the SQL Native connection.
    On a side note: as for the enabling prompting, I just remembered that it was an option available when using Crystal Reports with a web project. Thus I couldn't find it here with a Window's Form project.

  • Web Analysis Report prompted for relational database login

    We have given access to the WA reports and everything works fine in general. One of the user trying to open same report(s) document(s) via Workspace and its getting prompted with relational database login? I have verified for the access and everything seems to be fine.
    I do not know the reason for this. Can anyone help me? Thanks.

    From the forums, i got the below MAXL commands to sync the user access :
    alter system resync sss; --> this command will sync all the users, groups.
    alter group <group name> sync security with all application; --> This can be used to individually sync the required group
    alter user <user name> sync security with all application; --> This can be used to individually sync the required user
    Will check it up with user on any change in her access.
    Thanks,
    Praveen.

  • 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

  • Crystal report addon prompt database login screen

    I'm trying to run a crystal report using crystal report add-on 1.0 from SAP, however, I always see the screen that prompts for database login when trying to generate the report.

    Dear Khuen Phan,
    Do you use correct correct connection from Crystal Report design such as OLE DB instead of using ODBC connection?
    Cheers,
    danny

  • Crystal Report Print Preview presenting users with Database Login

    Issue
    A user amended a crystal report form, on doing so has now made that Form unavailable to the majority of users to Print or Preview this is in 8.8 PL10. All other users on Previewing are presented with a window  Database Login, but this only presents the server name, Database name is blank and greyed out and then there is only Login ID and Password available. If you enter in the database password a message appears stating failed login.
    We have access to the SAP server and logged in and get the same message! but on the users machine who amended the Form they can print? any suggestions greatly appreciated

    Hi Roger,
    The problem sounds similar to what I've had recently, it was resolved by changing the database connection type to SAP Business One in Crystal Reports 2008, I can confirm that using OLE DB or other will still cause the login issue on other machines off the SQL server, the SAP Business one connection solves the issue.
    I was fighting with this for hours, hope this helps you all.

  • Parameters and database login with Web Services SDK

    I need to know how to do the two most common report tasks through the Web Services interface to Crystal Reports Server 2008:
    How do I get a list of a report's parameters and set the parameter's values?
    How do I set the database login information?
    I have considerable experience with writing custom web interfaces for Business Objects Enterprise with .NET, but now we're supposed to use web services instead of Enterprise services, especially when writing Windows forms apps. The official line is that writing thick client apps using Enterprise services is "possible but not supported." I can't seem to find the equivalent to the .Parameters property in Web Services.
    The tutorials for Web Services aren't much help. The BIPlatform examples show how to schedule a report without parameters and without setting the database login, but this isn't much help in the real world. The ReportEngine tutorial was apparently written by someone else, and is little or no help.
    This seems like such a simple question, but I have wasted an entire day and am no closer to the answer.

    I think the following resources will help:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/GettingStartedwiththeWebServicesSDK
    http://help.sap.com/businessobject/product_guides/xir2PP/en/qaaws.pdf
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/WS_SDK/wssdk_server/default.htm
    Also, see this forum thread:
    Web Services SDK secLDAP
    Ludek

  • 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!

  • VS Net 3.5 Crystal Reports Deployment causing database login prompt

    I have deployed a Visual Studio executible module written in VB Net 3.5 SP 1 with Crystal Reports. When the user tries to view a report(s)
    they are prompted to login in to the data base that has been data sourced into the report module. The correct database was verified before the build was made. The developer is able to run the report in a run mode on the local machine where the VB project was created.
    In the properties section in the project the following check boxes pertaining to reports were checked on:
             Crystal Reports Basic for Visual Studio 2008(x86, x64)
             Microsoft Visual Studio 2008 Report Viewer
    Notes: If the executible module is deployed to a machine that has Visual Studio 2008 installed, the Reports run fine without a database login prompt.
             If the executible module is deployed to a machine that does not have Visual Studio 2008 installed, the user is prompted for a login.
             The data base is a SQL server 2008 database.
    I'm being prompted for a server/database login when deploying the application and running it on a machine that does not have Visual Studio 2008 installed on it. One thing I forgot to mention is that the prompt dialog has only the database server name pre-filled but there is
    no database name in the dialog. Both of these fields are grayed out. The Crystal Report was updated to reference the new server and database, and I also verified the database successfully.

    Hello,
    Not sure what DB driver you used to create the reports but if it's the native driver then you need to install the Native client from MS SQL Server 2008 CD/DVD onto the app server also.
    MS SQL 2008 will not use MDAC, which is always installed. It requires the client to be installed.
    There is also an issue when using OLE DB driver and Time(7) field types in MS's driver and Crystal Reports. Cr see's them as string fields, the driver returns the wrong field type to CR. ODBC does work with these field types.
    And is your application running in 32 or 64 bit mode?
    Thank you
    Don

  • The report you requested requires further information. Database Login.

    I have developed a simple report (crystal XI) and deployed to Crystal server.  When viewing the report, the user is asked to login to database with ID/password.  The report works well in dev environment.  The report is not called programmatically via VB, C#, ASP, ... therefore I cannot set ID/password in source code. 
    I am looking for a dialog screen within dev environment that allows me to force the report to keep the ID/password with it and use it to connect to DB at runtime.

    >
    Navin Raja wrote:
    > Hey,
    >
    > The report prompts for Database login if the report is created with dynamic parameters in crystal reports designer and deployed to crystal server.
    >
    > Logon to Central managenent Console (CMC) using the Administration Launchpad.
    > Open the report just saved in Crystal Reports Server.
    > Click Process tab of the report.
    > Click Database tab under Process tab.
    > Enter the Oracle database Server's username in the textbox for "Username".
    > This username should Previleges to access or administrative previleges to make changes in CMC.
    > Enter the password for the "Password" textbox.
    > Click "Use same database logon as when report is run" under "When viewing report:".
    > Click the "Update" button.
    > Click "Properties".
    > Click "Preview".
    >
    >
    > Let me know if it still prompts for the password.
    >
    >
    > Thanks,
    > Naveen.
    Is there a way to set this for multiple reports at a time?

  • Report asks for database login in deployed version using crystal runtime for vs2008

    I am developing an application with VS2008 .Net with an Interface to use external Crystal  reports.
    I created a Report using Crystal Reports 2011 "doku.rpt".
    I am using a CrystalReportViewer "crpv" on a form.
    I am using a ReportDocument object (Variable "ReportDocumentM"), to which I load the file "doku.rpt"  and assign the logon Settings of main and subreports (which are the same for all tables).
    Using crpv.ReportSource = ReportDocumentM I assign the reportDocument to the ReportViewer.
    On my develop System everything works fine, the Report is shown in the Viewer.
    I created a Setup for my application and isnatalled it on another System. I also installed the CrystalRuntime for VS2008.
    When I try to Show the Report, a dailog "Database Login" appears and aks for the Connection.
    where the SERVER, USERID and (sometimes the PWD) Input fields are filled with  the correct values, but always the DATABASE field is empty.
    SERVER and DATABASE fields are READONLY.
    Hours and hours I tried differnt things, I also filled the logon info of the ReportViewer himself, nothing helped.
    The code:

    Sorry, I found the solution in another discussion:
    "Crystal ask for DB Connections on new installation"
    Correct Answer by Marc Trudel  on Jan 9, 2014 6:57 PM ' Solved Reports are all saved with SQLNCLI which is Sql Native client 9 (2005) New computers only have SQLNCLI10 which is Sql Native Client 10 (2008) Customer will either install SQL CLient 10 on all old computer and upgrade the reports or install SQL Client 9 on new computers which will avoid upgrading hundred of reports
    In my case the original Report was created on a System with both SQLNativeClient 9 and SQLNativeClient 10 on it. Because I originally used a SQL2000 database as datasource, the SQLNativeClient9 was used. It wasn't a Problem on the System when I dynamically connected to a SQL2008R" database, probably because the NativeClient9 was still there and could be used. On the other Computer only the NativeClient10 was existing and this caused the Problems.
    But I think that this is a bug in Crystal: I think ist normal, that from time to time there are changes in DataBase Connections and Clients, so the reports should be able to work also with new Clients. At least there  should be a message to inform about the Problem.

  • Why i cannot create the sql azure database from my own country 'Nepal' ?. why it is not include in the list of country when we sign up for azure database. :( !!!

    why i cannot create the sql azure database from my own country 'Nepal' ?. why it is not include in the list of country when we sign up for azure database. :(  !!!
    canot we try this new feature ,dosnot we need to try this too..why such discermination for our country nepal. :(

    Hi Anil,
    I am Mahesh from Microsoft Innovation Center. From August 2014 we have made Azure Available to Nepal. You can now directly sign in to azure with your Nepal Based Mobile Number as Verification.
    Thanks for showing your Interest in our Product.
    Mahesh Dahal

  • CR Database Login Issue

    Hi All,
    All other reports such as AR Invoice, Credit Note etc etc work without issue but when i try to preview an Outgoing Payment document i get a Database login window- but this window has the Server Name and database fields greyed out so no chance to change them.
    Even if I put the sa password on it says u201CLogin Failedu201D
    I have reinstalled CR 2008 with Fix but still no luck.
    SAP 8.81 PL6
    Regards,
    MB

    Hi
    if you've tried to install the Crystal Report SP 4
    http://resources.businessobjects.com/support/additional_downloads/runtime.asp
    Regards
    ang sukarno

  • Database login through OEM

    Dear all,
    When try to log in to target database in OEM, the web browser hanging for a long time before disconnecting.
    The browser interface is as the follwoing. Even connect as sysdba doesn't work.
    Username:
    Password:
    Database:
    Connect As:
    The user account can connect to database using sqlplus and host login through OEM works fine too. Could some one give a hint on this problem?
    Thanks
    Jiang

    I hope the following is a better description.
    After log in to OEM browser located in the OMS server, select a target database instance, which is in the remote machine. The following page has four tabs, Home, Performance, Administration and Maintenance. Select Performance, the next page is Database login form needs following information:
    user name:
    password:
    Database:
    Connect As.
    Although I provide the correct information, the connection is hang for ever. The database instance is up and running.
    Jiang.

  • Database Login

    I am getting Database Login dialog box when attempting to access reports located on server device.
    I have server/client setup between two devices running SQL Server 2005 on server & SQL Server 2005 Express on client. I am using ODBC (RDO). Is there anyway to pass on credentials without having to enter this information when any client attempts to access reports on the server?

    Hi,
        Try this code,
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    using CrystalDecisions.Web;
            ReportDocument rd = new ReportDocument();
            rd.Load(Server.MapPath("CrystalReport.rpt"));
            rd.SetDatabaseLogon("UserID","Password", "Server Name", "Database Name");
            CrystalReportViewer1.ReportSource = rd;
    The above code is used for setting the logon credentials for Reports programmtically.You will avoid getting prompts for accessing Reports with the help of this code.
    You may also Refer our Library for Samples codes and Tutorials.
    [Click Here|http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm]
    Thanks,
    Nikhil Dharme

Maybe you are looking for

  • Dynamic color selection

    Hi Is is possiable to display the color palatte of developer during run time so that the user can chose the color for some fields based on his choice. null

  • Help on SQL Script

    Hi All, I'm using Oracle 9.2. I have a scenario where my table has 2000+ rows, and I have to swap values of rows 3 to 36 upside down and rest of the rows remains unchanged. Therefore I need your expertise advise to do this. Any scripts would be helpf

  • Know about apple recycle program

    how to recycle iphone 4s free of cost

  • Adobe Interactive Forms - Check Web Dynpro Script

    Created a Web Dynpro application with Adobe Interactive Form. Form interactive etc. Typed in the template source, names for interface and selected the context element where to create the interface etc. Changed the layout to ZCI, got an error message

  • PSE12 Came with PC and I can't find the serial number?

    Its been a few months since I bought my PC (a VAIO Tap 11) and it came with some free drawing/image editing software such as Artrage and it also came with PSE12. I was hoping to be able to register my product online but I later became aware that the