Click here to Skip to main content
15,914,013 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCausing validation on postback Pin
cullyk1-May-07 6:06
cullyk1-May-07 6:06 
AnswerRe: Causing validation on postback Pin
Ibuprofen1-May-07 6:14
Ibuprofen1-May-07 6:14 
AnswerRe: Causing validation on postback Pin
Ibuprofen1-May-07 6:16
Ibuprofen1-May-07 6:16 
GeneralRe: Causing validation on postback Pin
cullyk1-May-07 6:20
cullyk1-May-07 6:20 
GeneralRe: Causing validation on postback Pin
Ibuprofen1-May-07 6:27
Ibuprofen1-May-07 6:27 
GeneralRe: Causing validation on postback Pin
Ibuprofen1-May-07 6:43
Ibuprofen1-May-07 6:43 
AnswerRe: File Upload - Displaying a link Pin
Ibuprofen1-May-07 8:34
Ibuprofen1-May-07 8:34 
Questionobject to long cast Pin
Keith Andersch1-May-07 5:19
Keith Andersch1-May-07 5:19 
Hi all.

I have this vexxing problem which showed up when I moved from my dev/test box to a production server. What I'm trying to do is get the pwdLastSet property from Active Diretory. I'm using a DirectorySearcher object to get the pwdLastSet property. Once you get the property, you can cast the data to a long to get the total ticks since 1970. This works like a dream on my XP/IIS 5.1/ASP.Net 2.0 box. Once I moved it out to the Windows 2000/IIS 5.0/ASP.net 2.0 production server, the casting fails. It is my understanding that the DirectorySearcher object is supposed to marshall the data from Active Directory into something that's easier to use. I see this being done in my debugging sessions on my dev box. I would love to setup a debugging session on the production server, but that's a whole other set of issues. I do notice though if I take that whole class where the error is happening, put it into a simple C# windows app, compile it on my dev box, it will run correctly on the production server. I'm thinking that when it gets compiled on the production server, the marshalling doesn't happen corretly. I'm now leaning towards sticking the offending code into a dll. Has anybody else seen this type of issue? Is there some compile time flags that can be set?

Keith
AnswerRe: object to long cast Pin
Keith Andersch1-May-07 7:43
Keith Andersch1-May-07 7:43 
AnswerRe: object to long cast Pin
Keith Andersch2-May-07 11:05
Keith Andersch2-May-07 11:05 
QuestionButton text on Wizard control Pin
digsy_1-May-07 3:47
digsy_1-May-07 3:47 
QuestionHow can we come to know email is delivered or not Pin
Software_Guy_1231-May-07 3:41
Software_Guy_1231-May-07 3:41 
AnswerRe: How can we come to know email is delivered or not Pin
Colin Angus Mackay1-May-07 4:29
Colin Angus Mackay1-May-07 4:29 
AnswerRe: How can we come to know email is delivered or not Pin
DavidNohejl1-May-07 4:38
DavidNohejl1-May-07 4:38 
QuestionDatabase with the Project Pin
.NET- India 1-May-07 1:25
.NET- India 1-May-07 1:25 
AnswerRe: Database with the Project Pin
Colin Angus Mackay1-May-07 4:28
Colin Angus Mackay1-May-07 4:28 
QuestionEmbedding Database in ASP.NET Project Pin
.NET- India 30-Apr-07 23:04
.NET- India 30-Apr-07 23:04 
AnswerRe: Embedding Database in ASP.NET Project Pin
Colin Angus Mackay1-May-07 4:26
Colin Angus Mackay1-May-07 4:26 
Questionvalidating a date Pin
Ayman Mashal30-Apr-07 22:56
Ayman Mashal30-Apr-07 22:56 
AnswerRe: validating a date Pin
arun rajappan1-May-07 0:04
arun rajappan1-May-07 0:04 
AnswerRe: validating a date Pin
rujuc#1-May-07 0:16
rujuc#1-May-07 0:16 
AnswerRe: validating a date Pin
PandemoniumPasha1-May-07 1:06
PandemoniumPasha1-May-07 1:06 
AnswerRe: validating a date Pin
Ayman Mashal1-May-07 1:15
Ayman Mashal1-May-07 1:15 
AnswerRe: validating a date Pin
RSArockiam1-May-07 1:20
RSArockiam1-May-07 1:20 
AnswerRe: validating a date Pin
eggsovereasy1-May-07 5:48
eggsovereasy1-May-07 5:48 

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.