473,473 Members | 1,577 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1696

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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
1
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...
0
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...
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.