FormsAuthentication system dsn odbc error

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default FormsAuthentication system dsn odbc error

    I have an asp.net application which uses FormsAuthentication.
    I have a reference to a vb6 dll (updateSage).
    I pass to the updateSage.dll values to update a database and a
    connection string.
    The connection string is a System DSN.
    The DSN is on the same machine as the ASP.Net application.
    The Database the DSN connects to is on a different server.
    I get an ODBC error when I try to update the database.

    I have called the same dll using a vb.net application with no problem.

    Does anyone know what could be wrong?

    I thought it might be something to do with security not have
    sufficiient permission to access the other server but if this is the
    case how do I get round it.
    Thanks
    Michael
    Michael S. Guest

  2. Similar Questions and Discussions

    1. FormsAuthentication.Initialize() error - NullReferenceException
      I'm having a problem with FormsAuthentication.Initialize () generating a NullReferenceException. This occurs on my production server. The same code...
    2. The type System.Web.UI.WebControls.TextBox in Assembly System.Web...error
      I've been getting this error every since I installed InstallSqlState to handle my viewState Sessions. it only happens on 1 section of my asp.net...
    3. System.Web.Security.FormsAuthentication.RedirectFromLoginPage is not working..
      Thanks in advance, What I did was 1. add these lines in web.cofig file <authentication mode="Forms"> <forms name="frmAuthentication"...
    4. ODBC drive mapping versus system naming.
      I am looking to use the naming convention instead of drive mappings when creating a new system dsn in the odbc section of the control panel. Does...
    5. Microsoft OLE DB Provider for ODBC Drivers error '80004005' Error
      Hi folks - i've got a windows 2000 server (SP3) i've run the IIS lockdown tool on it and set for dynamic websites - all the static pages within the...
  3. #2

    Default Re: FormsAuthentication system dsn odbc error

    Can you post the error?

    --
    Daniel Fisher(lennybacon)
    MCP ASP.NET C#
    Blog: [url]http://www.lennybacon.com/[/url]


    "Michael S." <michael@harebell.co.uk> wrote in message
    news:49a1f7d2.0501030347.6674218f@posting.google.c om...
    >I have an asp.net application which uses FormsAuthentication.
    > I have a reference to a vb6 dll (updateSage).
    > I pass to the updateSage.dll values to update a database and a
    > connection string.
    > The connection string is a System DSN.
    > The DSN is on the same machine as the ASP.Net application.
    > The Database the DSN connects to is on a different server.
    > I get an ODBC error when I try to update the database.
    >
    > I have called the same dll using a vb.net application with no problem.
    >
    > Does anyone know what could be wrong?
    >
    > I thought it might be something to do with security not have
    > sufficiient permission to access the other server but if this is the
    > case how do I get round it.
    > Thanks
    > Michael

    Daniel Fisher\(lennybacon\) Guest

  4. #3

    Default Re: FormsAuthentication system dsn odbc error

    The error is not very helpful -
    '01000: The driver returned invalid (or failed to return)
    SQL_DRIVER_ODBC_VER: 2.00'

    michael@harebell.co.uk Guest

  5. #4

    Default Re: FormsAuthentication system dsn odbc error

    The message is not very helpful -
    '01000: The driver returned invalid (or failed to return)
    SQL_DRIVER_ODBC_VER: 2.00'

    michael@harebell.co.uk Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139