RE: Access Databases and ASP.NET 2.0



I can't answer your question, but I can say that Sql Server Express is free
to use, and can handle much more traffic than any access database can.
Essentially, you just have to print out the eula, read it, keep a copy of it,
and sign an agreement stating you won't break the eula (which isn't that
offensive, when you read it). Check it out:
http://go.microsoft.com/fwlink/?LinkId=64062. I believe that the license
agreement prevents you from renting an instance of Sql Server Express, so if
a hosting company allows you to use it, and then charge you for it, they are
in violation of the eula. If that's the case, bail on them, as they won't be
around for the long run.

As for the default provider, its set in the base directory of IIS or in your
machine configuration. I'm not exactly sure where it is; but in your
website you can ditch it by adding a <remove> tag in your providers section
of web.config to remove that membership provider, then add a new one, or
re-add it but this time as a custom provider.

I've messed with creating a custom provider, and I can tell you that it
isn't fun. Avoid if at all possible.

"Rodger Barnett" wrote:

I am sure that this is a simple (but annoying problem)

I want to be able to use an Access (2003/2000) database to control
membership, login as well as the underlying site data.

I appreciate that using this database rather than a SQL Server Express or
SQL server database is less robust. However the volume of data and traffic
that I anticipate for this is low AND as a result the additional cost of
hosting a SQLServer database cannot be justified.

I cannot set up a new website to use an Access Database to hold the site
management data.

The The provider tab on the ASP.NET configuration tool says

Use this page to configure how Web site management data such as membership
is stored. You can use a single provider for all the management data for your
site or you can specify a different provider for each feature.

[b]Your application is currently configured to use the provider:
AspNetSqlProvider[/b]

and does not give any other choice to change

The Security Tab of the ASP.NET configuration tool for a prebuilt sample web
application says

[i]You can use the Web Site Administration Tool to manage all the security
settings for your application. You can set up users and passwords
(authentication), create roles (groups of users), and create permissions
(rules for controlling access to parts of your application).

[b]By default, user information is stored in a Microsoft SQL Server Express
database in the Data folder of your Web site. If you want to store user
information in a different database, use the Provider tab to select a
different provider.[/b] [/i]

..again I don't have (or appear to have a way to change this)

Help appreciated

Rodger
.



Relevant Pages

  • Re: ERROR: Provider Management - Could not establish a connection to t
    ... If you have not yet created the SQL Server database, ... Can any data provider be used to ... Exception Details: System.Data.SqlClient.SqlException: A connection ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Disabling ASP.net 2.0 Membership
    ... I checked out the article you referenced and implemented my own provider. ... as a FoxPro database, an Oracle database, or other data sources. ... custom connection string so that I can use the Commerce Server SQL Server ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Need Help: Operating system error 3706
    ... Installing an additional component resolved the problem and the software is now able to connect to the database ... The developer is currently doing a complete rewrite/update of the program, including database functions. ... While this would require a modest re-write, it's not that tough to convert to a managed-code provider instead of the COM-based OLE DB provider. ... If the application is not based on .NET, then make sure the application is upgraded to use the SNAC (SQL Server Native Client) provider which is less trouble-prone than the older MDAC-based providers. ...
    (microsoft.public.sqlserver.connect)
  • Re: Failure of Linked table in Access...
    ... SQL Server database via an ODBC DSN. ... in the Access database with various forms and reports. ... error and all subsequent queries on the PROJ table fail. ... The table is one of many tables that are linked from SQL Server ...
    (microsoft.public.access.modulesdaovba)
  • Re: Replacing VS .NETs SQL Server Express Edition Integration
    ... You could write a custom membership provider. ... You could add the tables you need to your existing database table. ... As for configuring ASP.NET 2.0 membership to connect SQL Server 2000, ...
    (microsoft.public.dotnet.framework.aspnet)