473,383 Members | 1,805 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,383 software developers and data experts.

Problem with XML file in Enterprise Library

Hi,

I using the Security Application Block from the Enterprise Library in my
application.

I'm getting the following error message:

There is an error in the XML document. The specified type was not
recognized: name='DbRolesProviderData',
namespace='http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/security',
at <rolesProvider
xmlns='http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/security'>.

I'd admit I'm not the full bottle on XML. Can someone please let me know
where the problem is. I have attached the XML from the file in question
below.

<?xml version="1.0" encoding="utf-8"?>
<securityConfiguration>
<xmlSerializerSection
type="Microsoft.Practices.EnterpriseLibrary.Securi ty.Configuration.SecuritySettings, Microsoft.Practices.EnterpriseLibrary.Security">
<enterpriseLibrary.securitySettings
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
defaultAuthorizationInstance="RuleProvider"
defaultAuthenticationInstance="Authentication Provider"
defaultRolesInstance="Roles Provider" defaultProfileInstance="Profile
Provider" defaultSecurityCacheInstance="Caching Store Provider"
xmlns="http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/security">
<rolesProviders>
<rolesProvider xsi:type="DbRolesProviderData" name="Roles Provider"
database="TimemasterAccess" />
</rolesProviders>
<authorizationProviders>
<authorizationProvider xsi:type="AuthorizationRuleProviderData"
name="RuleProvider">
<rules>
<rule name="Hire Employee" expression="R:Manager OR
R:HumanResources" />
<rule name="Print Document" expression="NOT I:?" />
<rule name="Submit New Order" expression="(R:Employee AND (NOT
I:Bob))" />
</rules>
</authorizationProvider>
</authorizationProviders>
<authenticationProviders>
<authenticationProvider xsi:type="DbAuthenticationProviderData"
name="Authentication Provider" database="TimemasterAccess"
hashProvider="sha1" />
</authenticationProviders>
<profileProviders>
<profileProvider xsi:type="DbProfileProviderData" name="Profile
Provider" database="TimemasterAccess" />
</profileProviders>
<securityCacheProviders>
<securityCacheProvider xsi:type="CachingStoreProviderData"
name="Caching Store Provider" cacheManagerInstanceName="Default Cache
Manager" defaultSlidingSessionExpirationInMinutes="10"
defaultAbsoluteSessionExpirationInMinutes="60" />
</securityCacheProviders>
</enterpriseLibrary.securitySettings>
</xmlSerializerSection>
</securityConfiguration>
Jul 21 '05 #1
0 1695

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

Similar topics

3
by: veera sekhar kota | last post by:
hi, im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked...
0
by: veera sekhar kota | last post by:
im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked me to...
0
by: veera sekhar kota | last post by:
im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked me to...
1
by: Paul Abraham | last post by:
Hi there, I plan to start a new project using MS Enterprise library, as i know those application blocks are really good. However, when think about delpoyment issue: e.g. I can encrypt the...
2
by: Andy | last post by:
Hello, I am having problem using the Enterprise Libray 2005 in the new .NET 2.0 framework. When I started opening the Enterprise Libray Configuration it said "Enterprise Library has not been...
0
by: Nick Zdunic | last post by:
Hi, I using the Security Application Block from the Enterprise Library in my application. I'm getting the following error message: There is an error in the XML document. The specified type...
0
by: Jorgas | last post by:
Hi! I try to use the configuration application block from the Enterprise Library and have done prework as specified from one of the hands-on labs from that package. When trying to get...
18
by: Chubbly Geezer | last post by:
Now I'm coming from a VB6 background so I may be overlooking something here. I have functionality that is contained with 2 VB 2005 dll's. WARC_Subs_Reporting.dll which handles report functions...
1
by: pankajprakash | last post by:
Hi, I have used Application Loggin Enterprise Library in a web application to write the event information in a file. The file is exist in the other location, and the web application does have have...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.