Results 1 to 6 of 6

Thread: NT login screen

  1. #1

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    NT login screen

    When running my Crystal Report from my app, I had an issue with a login screen poping up before my report would open. I used this code to solve the problem:

    VB Code:
    1. 'get userid/password to access DB
    2.         Dim tbl As CrystalDecisions.CrystalReports.Engine.Table
    3.         For Each tbl In rpt.Database.Tables
    4.             Dim tbllogin As New CrystalDecisions.Shared.TableLogOnInfo()
    5.             tbllogin.ConnectionInfo.UserID = LogonInfo.Mx_Logon
    6.             tbllogin.ConnectionInfo.Password = LogonInfo.Mx_Password
    7.             tbl.ApplyLogOnInfo(tbllogin)
    8.         Next

    but this only solved the problem in XP. NT still askes for a login screen...any suggestions?
    It's tough being an unhandled exception...

    ___________
    VB.NET 2008
    VB.NET 2010
    ORACLE 11g
    CRYSTAL 11

  2. #2

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    *bump*
    It's tough being an unhandled exception...

    ___________
    VB.NET 2008
    VB.NET 2010
    ORACLE 11g
    CRYSTAL 11

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I dunno why , but can you try this on another OS (WIN98 , W2K , ME ) and see if it gives you the same problem or not ? (or maybe you'll get into new bugs)

  4. #4

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    I don't think a .NET app will run on 98. I thought it was NT or >. The odd thing about this is, a report will open in NT, if it's only one table, but once I link to more than one table, the logon screen appears...doesn't matter what you put in wither...login always fails...damn!
    It's tough being an unhandled exception...

    ___________
    VB.NET 2008
    VB.NET 2010
    ORACLE 11g
    CRYSTAL 11

  5. #5
    Hyperactive Member
    Join Date
    May 2002
    Location
    Wisconsin, USA
    Posts
    279
    .NET will run on Win98 and newer.

    Remember, in order to run a .NET application, you must install the .NET Framework first.

  6. #6

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    *bump*
    It's tough being an unhandled exception...

    ___________
    VB.NET 2008
    VB.NET 2010
    ORACLE 11g
    CRYSTAL 11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width