Your web application must be configured to use the SQL Anywhere ASP.NET providers and not the default providers. To register SQL Anywhere ASP.NET providers:
Add a reference to the iAnywhere.Web.Security assembly to your web site.
Add an entry for each provider to the <system.web>
element in web.config file.
Add the name of the SQL Anywhere ASP.NET provider to the defaultProvider
attribute in the application.
The provider database can store data for multiple applications. For each application, the applicationName
attribute must be the same for each SQL Anywhere ASP.NET provider. If you do not specify an applicationName
value, an identical name is assigned to each provider in the provider database.
To reference a previously registered connection string, replace the connectionString
attribute with the connectionStringName
attribute.
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |