473,698 Members | 2,546 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Could not load type 'System.Web.Sec urity.AccessRol eProvider'

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.e xe -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="AspNetAcc essProvider2"
type="System.We b.Security.Acce ssRoleProvider"
connectionStrin gName="AccessFi leName" 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 2490
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)
AccessRoleProvi der

Dec 11 '06 #2
"Dominick Baier" <dbaier@pleasep leasenospam_lea stprivilege.com wrote in
message news:51******** *************** **@news.microso ft.com...
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="AspNetAcc essProvider2"
type="System.We b.Security.Acce ssRoleProvider"
connectionStrin gName="AccessFi leName" 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@pleasep leasenospam_lea stprivilege.com wrote
in message news:51******** *************** **@news.microso ft.com...
>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@pleasep leasenospam_lea stprivilege.com wrote in
message news:51******** *************** **@news.microso ft.com...
well - the class this config element is referring to

<add name="AspNetAcc essProvider2"
type="System.We b.Security.Acce ssRoleProvider"
connectionStrin gName="AccessFi leName" 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@nowhere wrote in message
news:um******** ******@TK2MSFTN GP02.phx.gbl...
"Dominick Baier" <dbaier@pleasep leasenospam_lea stprivilege.com wrote in
message news:51******** *************** **@news.microso ft.com...
>well - the class this config element is referring to

<add name="AspNetAcc essProvider2"
type="System.W eb.Security.Acc essRoleProvider "
connectionStri ngName="AccessF ileName" 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@nowhere wrote in message
news:OW******** ******@TK2MSFTN GP06.phx.gbl...
>
"Roland Hall" <nobody@nowhere wrote in message
news:um******** ******@TK2MSFTN GP02.phx.gbl...
>"Dominick Baier" <dbaier@pleasep leasenospam_lea stprivilege.com wrote in
message news:51******** *************** **@news.microso ft.com...
>>well - the class this config element is referring to

<add name="AspNetAcc essProvider2"
type="System. Web.Security.Ac cessRoleProvide r"
connectionStr ingName="Access FileName" 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=.\SQLEXP RESS;Integrated
Security=SSPI;A ttachDBFilename =|DataDirectory |aspnetdb.mdf;U ser
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.m db

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@pleasep leasenospam_lea stprivilege.com wrote
in message news:51******** *************** **@news.microso ft.com...
>well - the class this config element is referring to

<add name="AspNetAcc essProvider2"
type="System.W eb.Security.Acc essRoleProvider "
connectionStri ngName="AccessF ileName" 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@pleasep leasenospam_lea stprivilege.com wrote in
message news:51******** *************** **@news.microso ft.com...
>i don't think so - there must be some functionality relying on the
configuratio n -
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@pleasep leasenospam_lea stprivilege.com wrote
in message news:51******** *************** **@news.microso ft.com...
>>well - the class this config element is referring to

<add name="AspNetAcc essProvider2"
type="System. Web.Security.Ac cessRoleProvide r"
connectionStr ingName="Access FileName" 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
1813
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; how do you ensure, other people cannot create a dll D, that has the same interface, from being invoke from your exe. Considering, your exe is created to dynamically load the dll, for future extensibility, meaning, as new dll comes, you don't need...
1
7752
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) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information
11
3130
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 useful utils that more pages on that server can use. As an example, I have created a Page Counter class that opens an Access .mdb file, counts the current entries for that page, and adds a new entry with some information regarding the current...
6
4273
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 in IIS too. Plus I've added another web.config in there. Then I added an aspx page (called UpdateLogin.aspx), which created itself in the namespace "MyApp.secure", but when I try to load this page im getting...
0
3010
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 deploying the application into a third-part host.
1
10793
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. Today, I wanted to access the home page of the application again with a browser. But instead of the proper page, I just got an ugly message: Server Error in '/' Application.
2
632
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 page loads and displays the message. I now use Copy Web Site from the Website menu to copy all files to my hosted website (ASP.net 2.0). I navigate in IE6 to my new aspx page and I get the message: Server Error in '/' Application....
2
11010
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 on a W23 server SP2, I get the following error: System.Runtime.Remoting.RemotingException: Remoting configuration failed with the exception 'System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation....
1
1281
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, Version=1.0.2.23169, Culture=neutral,PublicKeyToken=6b57b35e5f0dd756 StackTrace: Server stack trace: at System.Runtime.Remoting.Activation.ActivationListener.Activate(IConstructionCallMessage ctorMsg) at...
0
9030
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8871
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7737
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6525
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4621
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2333
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.