Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Keyword not supported

Reply
Thread Tools

Keyword not supported

 
 
Danijel Valentic
Guest
Posts: n/a
 
      08-31-2004
Hello!

I'm trying to make a new SqlConnection with predefined connection string.
When I try to do this:

public class SelectZ

{

private SqlConnection conn;

public SelectZ()

{

conn =new SqlConnection(Connection.connString);

}

, where Connection is a Class:

public class Connection

{

public static string connString =
ConfigurationSettings.AppSettings["dbConnectionString"];

}



I get the error message: Keyword not supported:'tag with column collation
when possible'

on line

conn =new SqlConnection(Connection.connString);



Any ideas?

Thanks in advanced, d


 
Reply With Quote
 
 
 
 
q@q.com
Guest
Posts: n/a
 
      08-31-2004
What does your application.exe.config or web.config look like?

Danijel Valentic wrote:

> Hello!
>
> I'm trying to make a new SqlConnection with predefined connection string.
> When I try to do this:
>
> public class SelectZ
>
> {
>
> private SqlConnection conn;
>
> public SelectZ()
>
> {
>
> conn =new SqlConnection(Connection.connString);
>
> }
>
> , where Connection is a Class:
>
> public class Connection
>
> {
>
> public static string connString =
> ConfigurationSettings.AppSettings["dbConnectionString"];
>
> }
>
>
>
> I get the error message: Keyword not supported:'tag with column collation
> when possible'
>
> on line
>
> conn =new SqlConnection(Connection.connString);
>
>
>
> Any ideas?
>
> Thanks in advanced, d
>
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting an exception "Keyword not supported: 'provider'." =?Utf-8?B?dnZlbms=?= ASP .Net 3 03-28-2009 12:11 AM
'AS' keyword supported? Sean S - Perth, WA ASP General 10 04-20-2006 02:11 AM
Keyword not supported - Provider Kev ASP .Net Datagrid Control 0 01-06-2006 06:07 PM
Keyword Not Supported Error Frank Bishop ASP .Net 1 05-30-2005 02:05 PM
Keyword not supported Carl ASP .Net 1 08-01-2003 04:05 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57