Click here to Skip to main content
15,889,216 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: help me check my executescaler Pin
neodeaths3-Apr-07 20:10
neodeaths3-Apr-07 20:10 
GeneralRe: help me check my executescaler Pin
neodeaths3-Apr-07 20:38
neodeaths3-Apr-07 20:38 
GeneralRe: help me check my executescaler Pin
Venkatesh Mookkan3-Apr-07 21:14
Venkatesh Mookkan3-Apr-07 21:14 
GeneralRe: help me check my executescaler Pin
neodeaths3-Apr-07 21:23
neodeaths3-Apr-07 21:23 
GeneralRe: help me check my executescaler Pin
Venkatesh Mookkan3-Apr-07 21:34
Venkatesh Mookkan3-Apr-07 21:34 
GeneralRe: help me check my executescaler Pin
neodeaths3-Apr-07 21:43
neodeaths3-Apr-07 21:43 
GeneralRe: help me check my executescaler Pin
Colin Angus Mackay3-Apr-07 21:14
Colin Angus Mackay3-Apr-07 21:14 
AnswerRe: help me check my executescaler Pin
meghak3-Apr-07 21:47
meghak3-Apr-07 21:47 
hi,
If you are using Asp.Net 2.0 your code
SqlConnection conn = new SqlConnection(ConfigurationSettings.AppSettings("ConnectionString"));

should be
SqlConnection conn = new SqlConnection(System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"].ToString());

next I dont know abt the code you are using in web.config if it can work that way but here is what I use
<configuration>
<appSettings>
<add key="connectionString" value="initial catalog=----;data source=---;user id=---;password=---;">
</add>
</appSettings>
</configuration>

try by changing the first code only see if that works



Regards,
Maggi
QuestionAccessing IIS server from other computers.. Pin
MinhajuddinK3-Apr-07 16:28
MinhajuddinK3-Apr-07 16:28 
AnswerRe: Accessing IIS server from other computers.. Pin
N a v a n e e t h3-Apr-07 17:11
N a v a n e e t h3-Apr-07 17:11 
AnswerRe: Accessing IIS server from other computers.. Pin
Venkatesh Mookkan3-Apr-07 18:56
Venkatesh Mookkan3-Apr-07 18:56 
QuestionRetrieving ViewState value across Page events Pin
tjkota3-Apr-07 13:43
tjkota3-Apr-07 13:43 
AnswerRe: Retrieving ViewState value across Page events Pin
N a v a n e e t h3-Apr-07 17:20
N a v a n e e t h3-Apr-07 17:20 
QuestionAssembly problem Pin
DanB19833-Apr-07 10:21
DanB19833-Apr-07 10:21 
Questionmanage session Pin
ASPDevelopper12348753-Apr-07 7:52
ASPDevelopper12348753-Apr-07 7:52 
AnswerRe: manage session Pin
ToddHileHoffer3-Apr-07 8:01
ToddHileHoffer3-Apr-07 8:01 
GeneralRe: manage session Pin
ASPDevelopper12348753-Apr-07 8:27
ASPDevelopper12348753-Apr-07 8:27 
QuestionEdit &lt;head> in page with code behind file Pin
Alice@mywonderland3-Apr-07 7:08
Alice@mywonderland3-Apr-07 7:08 
AnswerRe: Edit &lt;head> in page with code behind file Pin
kubben3-Apr-07 7:43
kubben3-Apr-07 7:43 
AnswerRe: Edit &lt;head> in page with code behind file - Thanks Pin
Alice@mywonderland3-Apr-07 22:52
Alice@mywonderland3-Apr-07 22:52 
QuestionASP.Net from Scratch Pin
xbiplav3-Apr-07 6:25
xbiplav3-Apr-07 6:25 
AnswerRe: ASP.Net from Scratch Pin
MinhajuddinK3-Apr-07 7:10
MinhajuddinK3-Apr-07 7:10 
QuestionPage-wide state with Master pages? Pin
Tom Welch3-Apr-07 6:11
Tom Welch3-Apr-07 6:11 
AnswerRe: Page-wide state with Master pages? Pin
ToddHileHoffer3-Apr-07 7:58
ToddHileHoffer3-Apr-07 7:58 
GeneralRe: Page-wide state with Master pages? Pin
Tom Welch3-Apr-07 11:05
Tom Welch3-Apr-07 11:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.