texasjames
09-24-2004, 09:56 AM
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
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