Click here to Skip to main content
15,917,793 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: What is the best approach to generate random Password for user in asp.net 2.0 Pin
Christian Graus19-Dec-08 17:48
protectorChristian Graus19-Dec-08 17:48 
GeneralRe: What is the best approach to generate random Password for user in asp.net 2.0 Pin
Rameez Raja19-Dec-08 18:27
Rameez Raja19-Dec-08 18:27 
GeneralRe: What is the best approach to generate random Password for user in asp.net 2.0 Pin
Christian Graus19-Dec-08 18:54
protectorChristian Graus19-Dec-08 18:54 
AnswerRe: What is the best approach to generate random Password for user in asp.net 2.0 Pin
knbinoj5819-Dec-08 23:29
knbinoj5819-Dec-08 23:29 
AnswerRe: What is the best approach to generate random Password for user in asp.net 2.0 Pin
Aman Bhullar21-Dec-08 20:41
Aman Bhullar21-Dec-08 20:41 
GeneralRe: What is the best approach to generate random Password for user in asp.net 2.0 Pin
Rameez Raja21-Dec-08 20:56
Rameez Raja21-Dec-08 20:56 
GeneralRe: What is the best approach to generate random Password for user in asp.net 2.0 Pin
Aman Bhullar22-Dec-08 5:23
Aman Bhullar22-Dec-08 5:23 
Questiondate.parse problem Pin
todd.0101110119-Dec-08 14:19
todd.0101110119-Dec-08 14:19 
Hello

I have been trying to debug a problem with a web app that I am responsible for and have traced it down to a very specific problem. To demonstrate that problem, I have written a little web app, and I'm sure someone here can direct me quickly to the source of the problem.

Try
     Me.Label1.Text = ""
     Me.Label1.Text = Date.Parse(Me.TextBox1.Text).ToShortDateString
 Catch ex As Exception
     Me.Label1.Text = ex.Message
 End Try


When I run this on serverA it with the input of '7/30/2007' it fails with the exception message being: 'String was not recognized as a valid DateTime'
When I run it on any other server, it works fine.
On serverA, if I input '30/1/2007' it works. If I input that value on any of my other servers it fails with 'String was not recognized as a valid DateTime'

The question is, what server configuration value do I need to change on the server to make that server behave the same as the other servers.

These are all windows server 2003 servers, and I checked the regional settings in Control panel and the failing and passing servers have the same regional settings values (english US) and the same long/short date format in the regional settings. Apparently that does not affect this date.parse behavior.

This kind of problem scares me because it introduces a significant likelihood of wierd flaky problems and behavior. If the date value had been '2/5/2007' it would've worked on both servers and it would have been hard to identify why all the data was messed up.

Any help or guidance would be appreciated.
AnswerRe: date.parse problem Pin
Christian Graus19-Dec-08 15:27
protectorChristian Graus19-Dec-08 15:27 
GeneralRe: date.parse problem Pin
todd.0101110120-Dec-08 2:52
todd.0101110120-Dec-08 2:52 
QuestionHow to read everyother line from a CSV file Pin
Tina P19-Dec-08 10:55
Tina P19-Dec-08 10:55 
AnswerRe: How to read everyother line from a CSV file Pin
Blue_Boy19-Dec-08 11:50
Blue_Boy19-Dec-08 11:50 
GeneralRe: How to read everyother line from a CSV file Pin
Tina P22-Dec-08 5:58
Tina P22-Dec-08 5:58 
AnswerRe: How to read everyother line from a CSV file Pin
Christian Graus19-Dec-08 13:45
protectorChristian Graus19-Dec-08 13:45 
GeneralRe: How to read everyother line from a CSV file Pin
Tina P22-Dec-08 6:04
Tina P22-Dec-08 6:04 
GeneralRe: How to read everyother line from a CSV file Pin
Christian Graus22-Dec-08 10:46
protectorChristian Graus22-Dec-08 10:46 
GeneralRe: How to read everyother line from a CSV file Pin
Tina P22-Dec-08 12:20
Tina P22-Dec-08 12:20 
GeneralRe: How to read everyother line from a CSV file Pin
Christian Graus22-Dec-08 14:00
protectorChristian Graus22-Dec-08 14:00 
GeneralRe: How to read everyother line from a CSV file Pin
Tina P25-Dec-08 16:47
Tina P25-Dec-08 16:47 
QuestionWindows Authentication Pin
Jacob D Dixon19-Dec-08 9:51
Jacob D Dixon19-Dec-08 9:51 
QuestionAdding Controls to a updatepanel dynamically Pin
Alomgir Miah A19-Dec-08 9:49
Alomgir Miah A19-Dec-08 9:49 
AnswerRe: Adding Controls to a updatepanel dynamically Pin
Christian Graus19-Dec-08 10:46
protectorChristian Graus19-Dec-08 10:46 
GeneralRe: Adding Controls to a updatepanel dynamically Pin
Alomgir Miah A19-Dec-08 14:28
Alomgir Miah A19-Dec-08 14:28 
GeneralRe: Adding Controls to a updatepanel dynamically Pin
Christian Graus19-Dec-08 16:37
protectorChristian Graus19-Dec-08 16:37 
GeneralRe: Adding Controls to a updatepanel dynamically Pin
Alomgir Miah A19-Dec-08 18:07
Alomgir Miah A19-Dec-08 18:07 

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.