Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Configuration error when using role

$
0
0

Hi,

I’ve run into a problem running my website.

Whenever I try to run an aspx page in WWD 2012 Express on my local machine, I get this message: 

Configuration Error

Description:An error occurredduring the processing ofa configuration filerequired toservice this request. See the specific error detailsbelow and make the necessary changes tothe configuration file.

MessageParsing errors: The fileorthe assembly 'MySql.Web, Version= 6.5.4.0, Culture = neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependenciescould not be loaded. The specified filewas not found.


 

Linje 158:       <add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

Linje 159:       <add name="AspNetWindowsTokenRoleProvider" applicationName="/" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

Linje 160:       <add name="MySQLRoleProvider" type="MySql.Web.Security.MySQLRoleProvider, MySql.Web, Version=6.5.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" connectionStringName="LocalMySqlServer" applicationName="/"/>

Linje 161:     </providers>

Linje 162:   </roleManager>


Source file: C: \Windows \Microsoft.NET \ Framework \v2.0.50727\Config \machine.config Linje:160

LoadTrackingassembly: The following informationmay be helpfulin determining whythe assembly'MySql.Web,Version=6.5.4.0, Culture= neutral, PublicKeyToken =c5687fc88969c44d' could not be loaded.

 

WRN: Logføring af assemblybinding er deaktiveret.

Logføring af assemblybindingsfejl aktiveres ved at angive registreringsdatabaseværdien [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) til 1.

Bemærk! Ydeevnen forringes ved logføring af assemblybindingsfejl.

Denne funktion deaktiveres ved at fjerne registreringsdatabaseværdien [HKLM\Software\Microsoft\Fusion!EnableLog].

 

<div class="MsoNormal" style="margin-bottom: .0001pt; text-align: center; line-height: normal;" align="center">
</div>

Versionsoplysninger: Microsoft .NET Framework version:2.0.50727.7905; ASP.NET version:2.0.50727.7905

Further; when I try to run the ASP.NET configuration, I get this message on the ‘Safety page’:

There is a problemwiththe selected data storage.It can becaused by an invalid server nameinvalid server credentials orinsufficient permissions. It mayalso be due tothe function ofrolemanagement isenabled.Click the button belowto go toa page where youcan choosea new data store.

The following messagemay help diagnosethe problem: The file orthe assembly'MySql.Web,Version=6.5.4.0, Culture= neutral, PublicKeyToken =c5687fc88969c44d' or one of its dependenciescould not be loaded. The specified filewas not found.(C: \ Windows \Microsoft.NET \Framework \v2.0.50727\ Config \machine.configline147)

 

I can press that button, then it jumps to the ‘Provider page’, showing:

 The programis currentlyconfigured to use the provider: AspNetSqlProvider

The website runs fine on the remote server, so the problem must be on my local PC (win 8.1) ?

How do I get on from here ?

Best regards


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>