ASP.NET Web Site Administration Tool and Devart Problem

ASP.NET Web Site Administration Tool and Devart Problem

Postby damnregistration » Fri 30 Jul 2010 17:06

please move this post to dotConnect for Oracle
hi,
i'm following along the MVC2 MusicStore Tutorial (http://mvcmusicstore.codeplex.com/). Actually the application / tutorial has absolutly nothing to do with Devart but when i'm at page 68 - creating a user via the asp.net ASP.NET Web Site Administration Tool clicking the Create user link it gives the following error:

Code: Select all
An error was encountered. Please return to the previous page and try again.

The following message may help in diagnosing the problem: Unknown connection string parameter . at Devart.Common.k.a(Hashtable A_0) at Devart.Common.k..ctor(String A_0, Hashtable A_1, Boolean A_2) at Devart.Data.Oracle.u..ctor(String A_0) at Devart.Data.Oracle.b1.a(String A_0, k A_1) at Devart.Common.DbConnectionFactory.a(String A_0, k& A_1) at Devart.Common.DbConnectionBase.set_ConnectionString(String value) at Devart.Common.Web.Providers.DbMembershipProvider.a() at Devart.Common.Web.Providers.DbMembershipProvider.Initialize(String name, NameValueCollection config) at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)


http://localhost:52782/asp.netwebadminf ... dUser.aspx

what the hell! my web application contains no "Devart" at all. it seams the devart install fucked up machine.config.

this is where "devart" is found:
Code: Select all
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config (11 hits)
   Line 153:    providerName="Devart.Data.Oracle" />
   Line 160:       Line 161:     description="Devart dotConnect for Oracle" type="Devart.Data.Oracle.OracleProviderFactory, Devart.Data.Oracle, Version=5.70.140.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />
   Line 161:     description="Devart dotConnect for Oracle" type="Devart.Data.Oracle.OracleProviderFactory, Devart.Data.Oracle, Version=5.70.140.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />
   Line 161:     description="Devart dotConnect for Oracle" type="Devart.Data.Oracle.OracleProviderFactory, Devart.Data.Oracle, Version=5.70.140.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />
   Line 253:        Line 253:        Line 264:        Line 264:        Line 274:        Line 274:     


Code: Select all
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config (11 hits)
   Line 153:    providerName="Devart.Data.Oracle" />
   Line 160:       Line 161:     description="Devart dotConnect for Oracle" type="Devart.Data.Oracle.OracleProviderFactory, Devart.Data.Oracle, Version=5.70.140.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />
   Line 161:     description="Devart dotConnect for Oracle" type="Devart.Data.Oracle.OracleProviderFactory, Devart.Data.Oracle, Version=5.70.140.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />
   Line 161:     description="Devart dotConnect for Oracle" type="Devart.Data.Oracle.OracleProviderFactory, Devart.Data.Oracle, Version=5.70.140.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />
   Line 253:        Line 253:        Line 264:        Line 264:        Line 274:        Line 274:     


btw "devart" is not found in C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\asp.netwebadminfiles anywhere!

how to get rid of this error? i would like to complete the tutorial.

thanks
Last edited by damnregistration on Mon 02 Aug 2010 08:31, edited 1 time in total.
damnregistration
 
Posts: 11
Joined: Thu 25 Mar 2010 18:10

Postby damnregistration » Fri 30 Jul 2010 17:15

the machine.config contains:

providerName="Devart.Data.Oracle" />

at line 152.

what to set the connectionString to?

if i change it to:
Code: Select all
   providerName="Devart.Data.Oracle" />


i get this:

Code: Select all
The following message may help in diagnosing the problem:  The connection name 'OracleServices' was not found in the applications configuration or the connection string is empty. at Devart.Common.Web.Providers.b.c(NameValueCollection A_0) at Devart.Common.Web.Providers.DbMembershipProvider.Initialize(String name, NameValueCollection config) at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)


i do NOT want to specify any connection string to a specific database in machine.config!

what to do?
damnregistration
 
Posts: 11
Joined: Thu 25 Mar 2010 18:10

Postby damnregistration » Mon 02 Aug 2010 08:31

please move this post to dotConnect for Oracle
damnregistration
 
Posts: 11
Joined: Thu 25 Mar 2010 18:10

Postby damnregistration » Mon 02 Aug 2010 09:21

it seams latest build 5.70.512 fixed this bug
damnregistration
 
Posts: 11
Joined: Thu 25 Mar 2010 18:10

Postby StanislavK » Tue 03 Aug 2010 09:06

The problem was caused by connections specified in the configuration file being opened on initializing the membership provider. A possible workaround is to add the element into the section, the problem itself was fixed in the 5.70.146 build of dotConnect for Oracle:
http://www.devart.com/dotconnect/oracle/revision_history.html
StanislavK
Devart Team
 
Posts: 1710
Joined: Thu 03 Dec 2009 10:48


Return to dotConnect for Oracle