CodeVerge.Net Beta
Login Idy
Register Password
  Forgot?
Explore    Item Entry    Profile   
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > newsgroup > asp.net forum > migration_to_asp.net.migrating_from_asp.net_1.x_to_asp.net_2.0 Tags:
Item Type: NewsGroup Date Entered: 2/6/2005 10:39:43 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 29 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
umala
Asp.Net User
Name 'ConfigurationSettings' is not declared.2/6/2005 10:39:43 AM

0/0

Hi!

I use appsetting in web.config to store the sqlconnection string. It works fine in my machine, using NET 2.0 Beta. But when I load that program into the server, I have the following error:

Name 'ConfigurationSettings' is not declared.

From the previous expereince, I guess that the server use NET1.1 as the following command does not work in server
objCommand.parametters.addwithvalue(..........)

but in my machine (2.0 beta), it is recommended to replace the add/string, value), which is deprecated.

Can anyone tell me why there is such an error and solution.

Regards.
Fredrik N
Asp.Net User
Re: Name 'ConfigurationSettings' is not declared.3/15/2005 9:07:11 PM

0/0

You can't build a solution with Vs 2005 and add it to a server that doesn?t have the .Net 2.0 framework installed. To run an app created with VS 2005, you need to install the .Net framework 2.0 on the server. If the server is a production server, you are not allowed to install .Net 2.0. You have to wait for beta 2, and request a go-live license before you are allowed to do that.
/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
2 Items, 1 Pages 1 |< << Go >> >|



Search This Site:


Meet Our Sponsors:



Other Resources:

Masterpage classes - newsgroup.asp-net-forum.general_asp-net ... ... Date: 1/26/2007 4:39:53 AM, Replies: 5, Views: 0, Subscribers: 0, ... name 'configurationsettings' is not declared. server.transfer and enableviewstatemac ...
Site Definition Files - macromedia.dreamweaver - Web Programming Newsgroups Site Definition Files, > ROOT > NEWSGROUP > Adobe-Macromedia Forums > macromedia.dreamweaver, Date: 3/29/2008 1:35:37 PM, Replies: ... 39: ... is not declared. ...
Error: Name 'tbFName' is not declared - ASP.NET Forums Re: Error: Name 'tbFName' is not declared. 07-04-2008, 9:39 AM. Contact. Reply. Loading... (ConfigurationSettings.AppSettings("RemoteUsers" ...
Build Failed ! - Installation problems - BugNET ... HtmlHead' does not contain a ... uration.ConfigurationSettings.AppSettings' is obsolete: 'This method is obsolete , ... e 'ex' is declared but never used ...
Retrieving Images from SqlServer and displaying in a DataGrid - ASP ... ... As New SqlConnection(ConfigurationSettings.AppSettings("ConnectionString" ... "Name 'CommandBehavior' is not declared" Title: Good sample. Name: Andrey ...
Get connection string from app.config file - MSDN Forums <sectionGroup name="applicationSettings" type="System.Configuration. ... DLL after that the error "ConfigurationMananger is not declared" went away. ...
Inserting Images to SqlServer in ASP .NET: ASP Alliance Title: ConnectionString property has not been initialized. Name: Ross Hinton ... Sir I used ur Coding But its display person image is not declared. ...
CodeProject: Configuration Management for Smart Device Applications ... ... instance of the type name declared as the section's handler ... This is not how the full framework version of the ConfigurationSettings class works, FWIW. ...
CodeProject: Understanding Section Handlers - App.config File. Free ... ConfigurationSettings.AppSettings is a special property that provides a shortcut ... The type attribute, which is the name of the class that reads the information. ...
WilsonDotNet : Forums It obviously should be declared at the class level, otherwise it is local only ... connectionString Property is not initialized properly. 10/20/2005 2:55:59 AM ...
p2p.wrox.com Forums - Errors in Compiling Source File (C:\AlertTypes.VB(14) : error BC30451: Name 'ConfigurationSettings' is not declared. ... can I resolve this? Reply By: Imar. Reply Date: 3/16/2004 3:39:51 AM ...


 
All Times Are GMT