visual web developer using ms access

Discussion in 'Databases' started by texasjames, Sep 24, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. i have a website running locally on my development machine which i developed in asp.net using visual web developer. i am using an access97 database. when configuring the accessdatasource control, the parameter for database prompts me for the mdb file. i can navigate to my access database file at this point and use a datagrid to view my database on my website and all is hinky-dory.

    now comes the problem.....
    when deploying to my new discountasp.net account, i get the following error:

    > Server Error in '/' Application.
    > ---------------------------------
    > Parser Error Description: An error occurred during the parsing of a
    resource required to service this request. Please review the following
    specific parse error details and modify your source file appropriately.
    >
    > Parser Error Message: Could not load type
    System.Web.UI.WebControls.AccessDataSource from assembly System.Web, Version=1.0.5000.0,
    Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
    >
    > Source Error:
    >
    >Line 14: <asp:AccessDataSource ID="AccessDataSource1" Runat="server"
    DataFile="e:\web\kisamoresol\htdocs\data\permits.mdb"
    Line 15:
    OnSelecting="AccessDataSource1_Selecting" SelectCommand="SELECT [PermitNumber], [Address], [Status],
    [Description] FROM [Permits]">Line 16: </asp:AccessDataSource>Â
    >
    >
    > Source File: E:\web\kisamoresol\htdocs\default.aspx Line: 14

    i just can't seem to get the accessdatasource control to find the database. tech service has advised me to just use an oledb connection but the accessdatasource control only uses a path parameter to find the mdb file.

    any ideas?

    james kisamore
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Code developed with Visual Web Developers beta are ASP.net 2.0 code, it will not work on our server.

    At present, it is not legal to offer hosting with ASP.net 2.0 beta 1.


    quote:Originally posted by texasjames

    i have a website running locally on my development machine which i developed in asp.net using visual web developer. i am using an access97 database. when configuring the accessdatasource control, the parameter for database prompts me for the mdb file. i can navigate to my access database file at this point and use a datagrid to view my database on my website and all is hinky-dory.

    now comes the problem.....
    when deploying to my new discountasp.net account, i get the following error:

    > Server Error in '/' Application.
    > ---------------------------------
    > Parser Error Description: An error occurred during the parsing of a
    resource required to service this request. Please review the following
    specific parse error details and modify your source file appropriately.
    >
    > Parser Error Message: Could not load type
    System.Web.UI.WebControls.AccessDataSource from assembly System.Web, Version=1.0.5000.0,
    Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
    >
    > Source Error:
    >
    >Line 14: <asp:AccessDataSource ID="AccessDataSource1" Runat="server"
    DataFile="e:\web\kisamoresol\htdocs\data\permits.mdb"
    Line 15:
    OnSelecting="AccessDataSource1_Selecting" SelectCommand="SELECT [PermitNumber], [Address], [Status],
    [Description] FROM [Permits]">Line 16: </asp:AccessDataSource>Â
    >
    >
    > Source File: E:\web\kisamoresol\htdocs\default.aspx Line: 14

    i just can't seem to get the accessdatasource control to find the database. tech service has advised me to just use an oledb connection but the accessdatasource control only uses a path parameter to find the mdb file.

    any ideas?

    james kisamore

    </blockquote id="quote"></font id="quote">

    B.

    DiscountASP.NET
    http://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