473,320 Members | 2,147 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,320 software developers and data experts.

ASP.NET 2.0 and EntLib 1.1

I want to keep using 1.1 on EntLib on ASP.NET 2.0 but have found an issue
with the <enterpriselibrary.configurationSettings in the web.config

In Visual Studio 2005, when running there is a parse error. The message is
something like this:

Error parsing application configuration file at line ?. Type
{http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/configuration}ConfigurationSectionData' is not found in Schema.

I'm not ready to upgrade to 2.0 yet. My WinForms application works fine, so
something peculiar to ASP.NET

The config section is standard and is shown here:

The line it fails on is: <configurationSection
xsi:type="ReadOnlyConfigurationSectionData" name="cachingConfiguration"
encrypt="false" >

Part of the settings here (not all is shown due to size limits on the
message)

<enterpriselibrary.configurationSettings
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
applicationName="TimemasterWilsonAccess"
xmlns="http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/configuration" >
<configurationSections>
<configurationSection xsi:type="ReadOnlyConfigurationSectionData"
name="cachingConfiguration" encrypt="false" >
<storageProvider xsi:type="XmlFileStorageProviderData" name="XML File
Storage Provider" path="cachingConfiguration.config" />
<dataTransformer xsi:type="XmlSerializerTransformerData" name="Xml
Serializer Transformer" >
<includeTypes />
</dataTransformer>
</configurationSection>
Feb 12 '06 #1
3 1660
Just ignore it. VS doesn't have definitions for this xml so it shows errors.
You may also have problem debugging. If you start debugging VS can tell you
that this settings are invalid. If you have this just start application
without debugging and attach to the asp.net process.
Good Luck
Shimon.
"Nick Zdunic" <Ni********@discussions.microsoft.com> wrote in message
news:E6**********************************@microsof t.com...
I want to keep using 1.1 on EntLib on ASP.NET 2.0 but have found an issue
with the <enterpriselibrary.configurationSettings in the web.config

In Visual Studio 2005, when running there is a parse error. The message is
something like this:

Error parsing application configuration file at line ?. Type
{http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/configuration}ConfigurationSectionData'
is not found in Schema.

I'm not ready to upgrade to 2.0 yet. My WinForms application works fine,
so
something peculiar to ASP.NET

The config section is standard and is shown here:

The line it fails on is: <configurationSection
xsi:type="ReadOnlyConfigurationSectionData" name="cachingConfiguration"
encrypt="false" >

Part of the settings here (not all is shown due to size limits on the
message)

<enterpriselibrary.configurationSettings
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
applicationName="TimemasterWilsonAccess"
xmlns="http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/configuration"
>

<configurationSections>
<configurationSection xsi:type="ReadOnlyConfigurationSectionData"
name="cachingConfiguration" encrypt="false" >
<storageProvider xsi:type="XmlFileStorageProviderData" name="XML File
Storage Provider" path="cachingConfiguration.config" />
<dataTransformer xsi:type="XmlSerializerTransformerData" name="Xml
Serializer Transformer" >
<includeTypes />
</dataTransformer>
</configurationSection>

Feb 12 '06 #2
It wont let me continue. The message box says to correct it before
continuing - stopping me ded in my tracks.

"Shimon Sim" wrote:
Just ignore it. VS doesn't have definitions for this xml so it shows errors.
You may also have problem debugging. If you start debugging VS can tell you
that this settings are invalid. If you have this just start application
without debugging and attach to the asp.net process.
Good Luck
Shimon.
"Nick Zdunic" <Ni********@discussions.microsoft.com> wrote in message
news:E6**********************************@microsof t.com...
I want to keep using 1.1 on EntLib on ASP.NET 2.0 but have found an issue
with the <enterpriselibrary.configurationSettings in the web.config

In Visual Studio 2005, when running there is a parse error. The message is
something like this:

Error parsing application configuration file at line ?. Type
{http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/configuration}ConfigurationSectionData'
is not found in Schema.

I'm not ready to upgrade to 2.0 yet. My WinForms application works fine,
so
something peculiar to ASP.NET

The config section is standard and is shown here:

The line it fails on is: <configurationSection
xsi:type="ReadOnlyConfigurationSectionData" name="cachingConfiguration"
encrypt="false" >

Part of the settings here (not all is shown due to size limits on the
message)

<enterpriselibrary.configurationSettings
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
applicationName="TimemasterWilsonAccess"
xmlns="http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/configuration"
>

<configurationSections>
<configurationSection xsi:type="ReadOnlyConfigurationSectionData"
name="cachingConfiguration" encrypt="false" >
<storageProvider xsi:type="XmlFileStorageProviderData" name="XML File
Storage Provider" path="cachingConfiguration.config" />
<dataTransformer xsi:type="XmlSerializerTransformerData" name="Xml
Serializer Transformer" >
<includeTypes />
</dataTransformer>
</configurationSection>


Feb 12 '06 #3
If you are talking about debugging you are correct. Just start application
without debugging (Ctrl-F5) and then attach debugger to asp_net process
using Debug > Attach to Process... menu. Then you should be able to debug.
(I do it few times a day).
All the best.
Shimon

"Nick Zdunic" <Ni********@discussions.microsoft.com> wrote in message
news:69**********************************@microsof t.com...
It wont let me continue. The message box says to correct it before
continuing - stopping me ded in my tracks.

"Shimon Sim" wrote:
Just ignore it. VS doesn't have definitions for this xml so it shows
errors.
You may also have problem debugging. If you start debugging VS can tell
you
that this settings are invalid. If you have this just start application
without debugging and attach to the asp.net process.
Good Luck
Shimon.
"Nick Zdunic" <Ni********@discussions.microsoft.com> wrote in message
news:E6**********************************@microsof t.com...
>I want to keep using 1.1 on EntLib on ASP.NET 2.0 but have found an
>issue
> with the <enterpriselibrary.configurationSettings in the web.config
>
> In Visual Studio 2005, when running there is a parse error. The message
> is
> something like this:
>
> Error parsing application configuration file at line ?. Type
> {http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/configuration}ConfigurationSectionData'
> is not found in Schema.
>
> I'm not ready to upgrade to 2.0 yet. My WinForms application works
> fine,
> so
> something peculiar to ASP.NET
>
> The config section is standard and is shown here:
>
> The line it fails on is: <configurationSection
> xsi:type="ReadOnlyConfigurationSectionData" name="cachingConfiguration"
> encrypt="false" >
>
> Part of the settings here (not all is shown due to size limits on the
> message)
>
> <enterpriselibrary.configurationSettings
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> applicationName="TimemasterWilsonAccess"
> xmlns="http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/configuration"
> >
> <configurationSections>
> <configurationSection xsi:type="ReadOnlyConfigurationSectionData"
> name="cachingConfiguration" encrypt="false" >
> <storageProvider xsi:type="XmlFileStorageProviderData" name="XML
> File
> Storage Provider" path="cachingConfiguration.config" />
> <dataTransformer xsi:type="XmlSerializerTransformerData" name="Xml
> Serializer Transformer" >
> <includeTypes />
> </dataTransformer>
> </configurationSection>


Feb 12 '06 #4

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

Similar topics

1
by: tintin | last post by:
By using the EntLib config tool, we have to set the filepath at design time. I'm looking for a way to set path of the log file at a variable path because when i package and deploy my desktop...
0
by: R.middel | last post by:
Hi, I want to use Entlib in a combination with Azman, but I don't seem to find how this works. Can someone help me? I'm using AD and .NET 1.1 Thanks in advance, Rudi Middel
1
by: Eduardo Silva | last post by:
Hi every body i new in dot.net and i am tring to update a table with a data set using entlib i found the way to doit one by one but is any way to doit in one command? Code Sample Dim...
0
by: Raymond Roelands | last post by:
It seems that it's not possible to have nested .Net web applications (application in a virtual directory under another asp.net application) having each application it's own configuration for the...
0
by: Jesse Houwing | last post by:
Hey all, I've been asked for a customer to write a piece of data access using EntLib 2.0. I'd like to use the standard entlib database factory class because a transition to SQL Server is still a...
3
by: Abhishek Tripathi | last post by:
Hi, I am using a code similar to Database db = DatabaseFactory.CreateDatabase("MyDB") in every function of my DAL that interacts directly to database. But recently I have started getting...
3
by: rockdale | last post by:
Hi, all: My web application using MS EntLib for .net 2.0 (Jan 2006) to access my backend database. It works fine with MS SQL 2k. Now we are migrate from MS SQL to mySQL. Everything looks fine...
1
by: tracybannon | last post by:
Is it possible to use the ENTLIB Cryptography Block without using a keyfile. In addition to keyfile management my team is also concerned about performance. In this particular instance, we are...
0
by: =?Utf-8?B?RXZlcnQ=?= | last post by:
Can anybody tell me if it is possible to use to PropertyProxyValidator with WCF? I found some example on using WCF in combination with the EntLib validation block. But I didn't find any example on...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...

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.