Re: Web part blues

Tech-Archive recommends: Fix windows errors by optimizing your registry



re:
> Version:1.1.4322.2300
> Parser Error Message: Unrecognized configuration section 'connectionStrings'

<connectionStrings> is not part of the 1.1 Framework configuration.
It's part of the 2.0 .Net Framework configuration.

If you're using 1.1, use <appSettings>, instead.





Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"trufaux" <trufaux@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:01CC7224-B3CB-4643-B086-FBFD1AF89193@xxxxxxxxxxxxxxxx
> Event log? Sorry, I'm a newbie. Could you be more specific please?

> What follows is the configuration error:
> *****
> Description: An error occurred during the processing of a configuration file
> required to service this request. Please review the specific error details
> below and modify your configuration file appropriately.
>
> Parser Error Message: Unrecognized configuration section 'connectionStrings'
>
> Source Error:
>
>
> [No relevant source lines]
>
>
> Source File: web.config Line: 12
> *****
>
> This is line 12 from my web.config:
> *****
> <add name="ePrizeAppConnectionString" connectionString="Data
> Source=JACKIE;Initial Catalog=ePrizeApp;Integrated Security=True"
> providerName="System.Data.SqlClient"/>
> *****
>
> Am I correct in assuming that 'Integrated Security=True' is the same as
> Windows Authentication? Could this be the difference between my station and
> the server?
>
> Thanks again
>
>
> --------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
> Version:1.1.4322.2300
>
>
>
>
>
> "Ken Cox [Microsoft MVP]" wrote:
>
>> It sounds like there's a syntax error in the web.config. There should be
>> more detail in the event log.
>>
>> "trufaux" <trufaux@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:D7BE930E-78A8-4CB3-8AA8-76A9EB04ED83@xxxxxxxxxxxxxxxx
>> >I made a web part for Business Portal using Visual Studio. It worked fine
>> >on
>> > my station. On the remote server, it gave me the following error message:
>> > "Unrecoginzed configuration section 'connectionStrings'". I googled the
>> > error message, and was told to install .NET Framework 2.0. Now Business
>> > Portal tells me, "This page has encountered a critical error. Contact your
>> > system administrator if this problem persists." and I'm not even
>> > navigating
>> > to the page with the new webpart.
>> >
>> > Thx in advance for your help.
>> >
>> > trufaux
>>
>>


.



Relevant Pages

  • Re: Help on contact page
    ... "Nathan Sokalski" wrote: ... If you prefer to use the <connectionStrings> element for your ... the Website->Asp.Net Configuration option in Visual Studio. ... Dim myconnection As New ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: security in windows app
    ... # the connectionstrings are always cofigured in the ... configuration. ... "ConfigurationManager.ConnectionStrings" static property. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: ConfigurationSettings.ConnectionStrings("Personal").ConnectionStri
    ... configuration sections. ... through properties such as AppSettings and ConnectionStrings ... read and write into the specified configuration file. ... using the ConnectionStrings property of the ConfigurationManager class. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Multiple customized versions of web.config
    ... now include configuration settings in a separate file for all configuration ... connectionStrings section with success. ... "Karl Seguin" wrote: ... >>> MY ASP.Net tutorials ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: app.config is breaking my windows service?
    ... Service....there are settings which I will change from dev to production ... I can't do that with the entire app.config file when it has alot /lotta ... Which is missing the <connectionStrings> element entirely! ...
    (microsoft.public.dotnet.languages.csharp)