VB Database Connection Error:

Discussion in 'Databases' started by epicorusers, Feb 20, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I downloaded the VB.Net example code to connect to our database, but it gives the following error:

    Microsoft VBScript compilation error '800a0401'

    Expected end of statement

    /new/admin/users.asp, line 6

    Dim connectionString = _
    ----------------------^

    I figured that that discountasp.net could would just work out of the box, but that doesnt seem to be the case. I am a seasoned PHP programmer, but I am fairly new to this.

    Any help would be greatly appreciated!
     
  2. If it's a VB.net sample code, you should save your files as .aspx and not .asp.

    DiscountASP.NET
    www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page