473,394 Members | 2,063 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Could not load type 'System.Web.Security.AccessRoleProvider'

In order to install BackupExec v11, I needed to remove .NET Framework 2.0
BETA and install .NET Framework 2.0. When the BETA version was removed, all
apps reverted to 1.1. I have since run aspnet_regiis.exe -i to update the
app but since I get the error listed on the subject line.

This is what is returned:

Line 46: <roleManager enabled="true">
Line 47: <providers>
Line 48: <add name="AspNetAccessProvider2"
type="System.Web.Security.AccessRoleProvider"
connectionStringName="AccessFileName" applicationName="/"></add>
Line 49: </providers>
Line 50: </roleManager>

This is a .NET app connected to a MS Access db also using the ASPNetdb.mdb
file.

Roland

Dec 11 '06 #1
9 2480
Hi,

all Access providers were removed in RTM - i think you can download them
(or move to a proper db ;))
hmm - i just did a quick google but i can't find them
-----
Dominick Baier (http://www.leastprivilege.com)
AccessRoleProvider

Dec 11 '06 #2
"Dominick Baier" <dbaier@pleasepleasenospam_leastprivilege.comwro te in
message news:51*************************@news.microsoft.co m...
Hi,
all Access providers were removed in RTM - i think you can download them
(or move to a proper db ;))
hmm - i just did a quick google but i can't find them
I'm not sure what you're referring to re: access providers. I didn't write
the app.

Re: moving to a "proper db", the app will one day reside on SQL so I can get
away from the MS Access nightmare but not feasible at the moment.

Roland
Dec 11 '06 #3
well - the class this config element is referring to

<add name="AspNetAccessProvider2"
type="System.Web.Security.AccessRoleProvider"
connectionStringName="AccessFileName" applicationName="/"></add>
is not included anymore in .NET 2.0 - it was there in beta times...

makes sense?
-----
Dominick Baier (http://www.leastprivilege.com)
"Dominick Baier" <dbaier@pleasepleasenospam_leastprivilege.comwro te
in message news:51*************************@news.microsoft.co m...
>Hi,
all Access providers were removed in RTM - i think you can download
them
(or move to a proper db ;))
hmm - i just did a quick google but i can't find them
I'm not sure what you're referring to re: access providers. I didn't
write the app.

Re: moving to a "proper db", the app will one day reside on SQL so I
can get away from the MS Access nightmare but not feasible at the
moment.

Roland

Dec 11 '06 #4
"Dominick Baier" <dbaier@pleasepleasenospam_leastprivilege.comwro te in
message news:51*************************@news.microsoft.co m...
well - the class this config element is referring to

<add name="AspNetAccessProvider2"
type="System.Web.Security.AccessRoleProvider"
connectionStringName="AccessFileName" applicationName="/"></add>
is not included anymore in .NET 2.0 - it was there in beta times...

makes sense?
Yes. So can I just remove the line?

--
Roland
Dec 11 '06 #5

"Roland Hall" <nobody@nowherewrote in message
news:um**************@TK2MSFTNGP02.phx.gbl...
"Dominick Baier" <dbaier@pleasepleasenospam_leastprivilege.comwro te in
message news:51*************************@news.microsoft.co m...
>well - the class this config element is referring to

<add name="AspNetAccessProvider2"
type="System.Web.Security.AccessRoleProvider"
connectionStringName="AccessFileName" applicationName="/"></add>
is not included anymore in .NET 2.0 - it was there in beta times...

makes sense?

Yes. So can I just remove the line?
I removed the line and now I'm here:
Theme 'White' cannot be found in the application or global theme directories

I like dominoes but this is ridiculous.
Dec 11 '06 #6

"Roland Hall" <nobody@nowherewrote in message
news:OW**************@TK2MSFTNGP06.phx.gbl...
>
"Roland Hall" <nobody@nowherewrote in message
news:um**************@TK2MSFTNGP02.phx.gbl...
>"Dominick Baier" <dbaier@pleasepleasenospam_leastprivilege.comwro te in
message news:51*************************@news.microsoft.co m...
>>well - the class this config element is referring to

<add name="AspNetAccessProvider2"
type="System.Web.Security.AccessRoleProvider"
connectionStringName="AccessFileName" applicationName="/"></add>
is not included anymore in .NET 2.0 - it was there in beta times...

makes sense?

Yes. So can I just remove the line?

I removed the line and now I'm here:
Theme 'White' cannot be found in the application or global theme
directories
I modified the <providers></providersto <providers/since it no longer
contained anything and now I'm here:

An error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact that
under the default settings SQL Server does not allow remote connections.
(provider: SQL Network Interfaces, error: 26 - Error Locating
Server/Instance Specified)

looking at the ASP.NET config I see, LocalSqlServer with connect parameters:
data source=.\SQLEXPRESS;Integrated
Security=SSPI;AttachDBFilename=|DataDirectory|aspn etdb.mdf;User
Instance=true

Problem is, I don't have SQLEXPRESS. I have SQL Server but not using it for
this app. I'm using MS Access.

My data directory is \websites\sedg\data\aspnetdb.mdb

Can I replace the connection string with an OLEDB connection to MS Access?

--
Roland Hall
Dec 11 '06 #7
i don't think so - there must be some functionality relying on the configuration
-

think of role providers as drivers for some datastore to get application
(security) roles from - the "driver" for Access has been removed from the
..NET Framework. Thats the issue.

I guess you will break the application if you remove it...

-----
Dominick Baier (http://www.leastprivilege.com)
"Dominick Baier" <dbaier@pleasepleasenospam_leastprivilege.comwro te
in message news:51*************************@news.microsoft.co m...
>well - the class this config element is referring to

<add name="AspNetAccessProvider2"
type="System.Web.Security.AccessRoleProvider"
connectionStringName="AccessFileName" applicationName="/"></add>

is not included anymore in .NET 2.0 - it was there in beta times...

makes sense?
Yes. So can I just remove the line?

--
Roland


Dec 11 '06 #8
Hello Roland,

You should contact the author of the application (which isn't you, as I
understand) and ask for a version of the application that is compatible
with .NET 2.0 final (as opposed to beta). It is impossible to judge from
the outside what changes may be required in the application to make it
work, and it's more than likely that you won't be able to make those
changes yourself.
Oliver Sturm
--
http://www.sturmnet.org/blog
Dec 11 '06 #9

"Dominick Baier" <dbaier@pleasepleasenospam_leastprivilege.comwro te in
message news:51*************************@news.microsoft.co m...
>i don't think so - there must be some functionality relying on the
configuration -
think of role providers as drivers for some datastore to get application
(security) roles from - the "driver" for Access has been removed from the
.NET Framework. Thats the issue.

I guess you will break the application if you remove it...

-----
Dominick Baier (http://www.leastprivilege.com)
>"Dominick Baier" <dbaier@pleasepleasenospam_leastprivilege.comwro te
in message news:51*************************@news.microsoft.co m...
>>well - the class this config element is referring to

<add name="AspNetAccessProvider2"
type="System.Web.Security.AccessRoleProvider"
connectionStringName="AccessFileName" applicationName="/"></add>

is not included anymore in .NET 2.0 - it was there in beta times...

makes sense?
Yes. So can I just remove the line?
It was already broken. (O:=

I'm currently referencing this:
http://msdn2.microsoft.com/en-us/lib...9c(VS.80).aspx
Dec 11 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Eugene | last post by:
Consider a system that has exe and dlls, how can i ensure that only the authorized .net assembly can work with my system. For example, consider your sys got an exe, that would use dll A, B, and C;...
1
by: Marco Gerlach | last post by:
Hello, on one of our customers servers we get following error on first ASPX-page: An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888) ...
11
by: Wolfgang Kaml | last post by:
I am not sure if this is more of an expert question, but I am sure that they are out there. I'd like to setup a general application or bin directory on my Win2003.Net Server that will hold some...
6
by: dhnriverside | last post by:
Hi peeps Ok, I've got a web application running (lets call it MyApp, so its namespace is MyApp). I've created a subdirectory within this application called "secure", and made than an Application...
0
by: qiang | last post by:
Hi everyone, Could you please take a look at an exception for ASP.NET application? My ASP.NET application is using Infragistics WebChart control. I encounter an exception below when...
1
by: urs | last post by:
Two days ago, I built an ASP.NET 2.0 application and published it on a shared IIS 6 Web server. After publishing, and during the whole day, it worked fine. The server remained untouched since....
2
by: Jim McGivney | last post by:
In Web Developer Express I make a very simple aspx page. The page name is Hoho.aspx. The page has a label, the label text is "Hello World". To test the page on my computer, I press CTRL-F5 and the...
2
by: =?Utf-8?B?c2FtMDFt?= | last post by:
I have a remoting application that was developed on a Windows XP SP2 machine with VS2005 SP1. I finally got everything deployed using Wix 3.0, and it works great. Problem is, when I install the msi...
1
by: spacefugitive | last post by:
I am relatively new to .NET and completely new to remoting. I am getting an error that goes something like this: Connot load type Chimera.Linestatus.Linestatus, Chimera.Linestatus,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.