« first day (11 days earlier)      last day (4938 days later) » 

8:01 AM
shakes fist
 
hey, do you want a shiny new server or not?
 
8:12 AM
Well, that would have worked more elegantly if I hadn't duplicated the connectionString ;p
Back now...
 
hi
 
haha, dj tj just slid into the room :)
 
@Pramodh hello again
hello everybody
@Sres what?!
 
@DrTJ , hi....
good noon
 
@Pramodh u too my friend
thx
 
8:15 AM
@DrTJ on the right side our gravatars, you slid into the group from the top of google chrome, I'd never seen it before.
 
jjj
hello everyOne
 
@Sres hahahah, they made it really nice...
 
is this chat unique to stackoverflow?
 
@jjj ,hi friend
 
jjj
^_^
hi
 
8:17 AM
@Sres its obviously
@jjj hi
 
jjj
@Drtj what's up?
this chat room ... just amazing ... and simple..1
!
 
I like the small features like bold text
 
@jjj looking for a way to write <> in my answers
how can i do that?!
 
jjj
@Drtj .. what .. i didn't get you
 
i wanna write Collection<Person>
but its like Collection
 
8:21 AM
@DrTJ , List<Person>
 
erm
&gt; &lt;
 
no no, i mean in stack overflow
 
You have a question? Or are writing a question with <> symbols?
 
@Sres ahhh... really thanks
 
@Sres , +1
 
jjj
8:23 AM
!!!!
 
I'm confused
 
jjj
me too
 
@jjj , but i'm not
 
jjj
@Pramodh ok explane
 
@Sres i want to write < and > symbols in my answers
 
8:25 AM
@DrTJ Like `Collection<T>` - note ticks
 
@jjj , wat i have to explain
 
which comes out as Collection<T>
 
@MarcGravell yes
 
Oh, can you not wrap it in the code wrapper that's on top of the message box?
 
jjj
oh ... nothing nevermind ^_^
 
8:26 AM
everyone, im dieing here
 
@jjj , :-)
 
is there a room for asp.net? :O
 
Looks like a load of 1010's in a square
 
@sinni800 , yes there is
 
i overlooked it..
nobody there
two inactive people
 
:sinni800 room seems empty, ask the question here
 
yeah :(
I can't get the goddamn windows authentication to work!
 

Asp.net with C#

asp.net with C#
 
what's up?
 
Domain network here :)
 
8:29 AM
@MarcGravell show off :)
 
It works locally on the visual studio server, but not on the iis6
 
jjj
how to un focus this chat
...!!
 
@sinni800 is there any exception being diplayed?
 
Nothing at all
I deleted all the other membership providers
 
IIS6... is it MVC or webforms?
 
8:30 AM
Instead of logging me in automatically, it just pretends i am not logged in
It's mvc
 
ok, mvc needs to tweaking
 
When I try logging in it always tells me I gave him the wrong password/account combination.
Wish I had iis7, this all would be configurable in ONE place, not two
(web.config plus iis)
 
It all works
It just doesn't log me in automatically
 
IIS does my head in, never works first time, I've recently done a webservice, everything was great apart from setting up the IIS...
 
8:33 AM
IIS6 is a headache
IIS7 works so much better with ASP.NET and especially MVC
bah
 
quickfix: tell your boss to get iis7 :P
 
We are a school with no money
oh would you look at that
I just turned on NTLM authentication in the Visual Studio web server
And it tried to authenticate me
(Not working, of coursE)
So the authentication happens later
When NTLM is turned off it automatically authenticates me with my domain user and password. This is the visual studio server. When I put it on a IIS which is on a different domain, it doesn't work. What i'll have to test is having the visual studio server on the other domain somewhere..
 
jjj
A project manager, a computer programmer and a computer operator are driving down the road when the car they are in gets a flat tire. The three men try to solve the problem.

The project manager said: "Let's catch a cab and in ten minutes we'll reach our destination."

The computer programmer said: "We have here the driver's guide. I can easily replace the flat tire and continue our drive."

The computer operator said: "First of all, let's turn off the engine and turn it on again. Maybe it will fix the problem."
 
@sinni800 If it's on a different domain, how will your domain login/pass work?
 
@Sres I am trying it from a computer on the same domain always
 
jjj
8:44 AM
How do you keep a programmer in the shower all day?
Give him a bottle of shampoo which says "lather, rinse, repeat."
 
@Sres On the other domain where I want to host it I have a computer in remote desktop which I test it from
Darn. I wish I could record tcp connections to localhost
 
@sinni800 I don't get what the problem is, you have a website on another domain, say 'Domain A' and you're trying to login from 'Domain B' with 'Domain B's login details yes?
 
I am
@Sres
@Sres: When using the visual studio webserver on a domain A computer it works by logging me in automatically by my domain name
@Sres when putting the web app on domain B it does not log in Domain B users/computers automatically. So I suppose the problem lies with IIS6
 
@sinni800 It will because the website is on Domain A, but you've moved it to Domain B, so it will authenticate only against Domain B logins?
Ah
 
@Sres I want to only let it authenticate against Domain B
 
8:47 AM
Ok, I get you. Hang on
 
@Sres everything else would be impossible, of course
 
Yeah, that's what I thought, I just didn't read it properly.
 
@Sres No problem
 
jjj
people .. a littel ..haha.. maybe
 
The web app is located on the domain controller, by the way
 
8:49 AM
k
 
jjj
O_o
o_O
o_o
O_O
@Sers .. Why all Pascal programmers ask to live in Atlantis?
@sres ..
 
@sinni800 are you pointing at the correct database?
no idea jjj
 
@Sres database?
 
jjj
Because it is below C level.
 
ok, no database then :)
 
8:56 AM
@Sres I am pointing at a database, but that only happens later... This works though
 
ok
 
jjj
did you got it
 
in the webconfig you have it set to <authentication mode="Windows"> yes?
 
jjj
:(
 
@sinni800 and have you set HTTP 401 Challenge to enabled?
afk a bit, problem to solve at work
 
9:01 AM
@Sres Where?
 
@sinni800 in the authentication section, not sure where don't have a working version of IIS6 to hand
 
It only gives me "anonymous access", "windows authentication" "digest authentication"
etc
 
jjj
guys ... i want to take the computer's name on loading a page [C#].. becouse some users don't know how to get it .. to save it in the applecation page .. at the programme
 
Windows and digest authentication give me an unsolvable authentication window
@jjj Uhh the client computers name on loading a webpage?
 
jjj
ya
@sinni800 .. ya
 
9:05 AM
@jjj you can't get that, actually
@Sres that's new. The Windows auth now gives me Service Unavailable!?
 
jjj
@sinni800 ... i think there is a way ..!!
must be
 
@jjj Request.IPAddress
i think
 
@DrTJ that only gives him the IP-Address, not the hostname
 
and then convert it to the host name
 
@DrTJ but not the local computer name
@jjj Maybe using a silverlight, activex, flash control
 
jjj
9:07 AM
private void button1_Click(object sender, System.EventArgs e)
{
Console.WriteLine("MachineName: {0}", System.Environment.MachineName);
}
is that work
?1
 
@jjj no
@jjj It will give you the computer name of the !server! not the !client!
 
hey .. wat u all talking about....??
 
you can get it in internet explorer, @jjj
 
@sinni800 what is the difference?
host name and computer name should be the same, no?
 
@DrTJ when making an asp.net webpage the difference is big :)
 
jjj
9:09 AM
ok .. thanks anyway
 
@DrTJ yeah it is the same, but it doesnt help when you cant get the client one
@jjj
var ax = new ActiveXObject("WScript.Network");
document.write(ax.UserName + '<br />');
document.write(ax.ComputerName + '<br />');
 
jjj
ok .. thanks anyway...
 
only works on IE
 
help
 
@Pramodh yes?
 
9:10 AM
@sinni800 let me check something
 
jjj
oh ..@sinni8000 thanks
 
@sinni800 i stopped debugging
but the window is not closed
 
@sinni800 your code is so good (using AJAX)
 
uh?
 
i tried to end the process
but i can not
 
9:11 AM
@DrTJ well it does only work in Internet Explorer
@Pramodh try ending the debugger process
 
yes i tried in task manager'
 
@Pramodh not the debuggED process, the debuggER
Visual studio
For example
what the F
@Sres it works now. i turned off anonymous and turned on windows auth, and it works?! WHY!?
what did i do!?
 
its still there
 
does anyone here know some good solutions for using a rpc framework with windows phone? e.g. like thrift? or how to get thrift working with WP7?
 
No idea
When things like that happen I tend not to ask questions :)
 
9:18 AM
@Sres I'm just glad!
 
@sinni800 i switched off my pc......... no other way
 
@Pramodh sometimes programs lock up so much... i dont know why
 
@sinni800 , :-)
wats up??
 
im delighted
I feel like that guy when he breaks through that last wall
 
i need help in COM using mnged code, somebody out there who has worked in this b4
 
9:36 AM
@sinni800 what is the problem with this?!
var x = Dns.GetHostByAddress(IPTextBox.Text).HostName;
Response.Write(x);
 
hmm
@DrTJ no problem with it
@DrTJ but it won't give you the IP of the CLIENT! also the
 
yes
just a min
 
@DrTJ okay, yes if the client gives you his local ip.. but the host resolution will not give you the local hostname
of the client
 
sorry, i was testing something and i forgot to replace the code
this is it:
var x = Dns.GetHostByAddress(Request.UserHostAddress).HostName;
Response.Write(x);
 
Why do you think something is wrong with it?
 
9:40 AM
x contains hostname
i just write it back to make sure that it works
@LasseVKarlsen No, i didn't say that
i say
 
How do i exctract a DataSet or DataTable from a SqlDataReader ?
 
its posibble to get host name of clients so simple like so
 
by host name, you mean?
 
@Raynos DataReaders are just reader
 
over internet, lan?
 
9:42 AM
@DrTJ of course you will get the external host name given to the client by the ISP
 
@LasseVKarlsen no, its ASP.Net, we need to get host name of each user for instance
 
So if I connected to your machine, you need my host name? over the internet?
 
@LasseVKarlsen yes
 
And by hostname, do you mean "ip82767863.telenor.no", or "MY-MACHINE-NAME"?
 
@Raynos if u need to retrieve DataTable, use DataAdapter and its SelectCommand
then just fill its result in a DataTable
 
9:45 AM
@DrTJ thanks was jsut looking at SqlDataAdapter
 
@LasseVKarlsen i dont know exactly... couse this is not my question...
 
So what do you need it for?
 
@sinni800 which one you are looking for?
@LasseVKarlsen what is the difference?
domain name?!
 
One is the public IP, as created by the ISP I'm connecting through
The other is the name of my machine
 
and, which one is my code?
 
9:48 AM
The problem with the first, is that you can have many users with the same hostname, since they come through the same line
The problem with the second is that you can't get hold of it from your server
The first
So again, what do you need it for?
Or @sinni800, or whomever
 
and how can i achive second one?
 
You can look through the header information sent to your server
 
i really dont know
 
But if it isn't there, you can't get it
Ok, let me ask this then
who needs this?
 
uhh
 
9:52 AM
This is how questions get closed on SO :)
 
hahahaha
 
If you don't know who needs it, you don't know what's being asked for, and you don't know what to do with it
Then I'm sorry, but what is the question?
 
@LasseVKarlsen I have the same doubts. What could it be for!?
 
So who's asking?
Who asked the original question?
 
@DrTJ you should know how people make internet connections today
DrTJ asked it
 
9:57 AM
So @DrTJ, you asked this question?
How to get the hostname?
 
He, for some reason, wanted the client host name. And I gave him a piece of internet explorer JS code which instantiates a Windows networking module, then gets the hostname
 
nooooo
it wasn't me
 
So nobody asked this question?
 
let me see
 
Let me check the transcripts
 
9:58 AM
hey wat is oops....?is it Object oriented programming? then it is oop right?
 
Better do that, my mind could have fooled me
 
0
Q: Dock a Canvas in its parent

serhioHow can I "dock" a canvas in its parent? I have a UserControl that contains a canvas inside. <UserControl x:Class="MyUC" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schem...

 
the what is that s
 
@serhio you should be able to do that by setting all margins to zero
I'm not sure though, so I won't answer in the question.. right now
 
@sinni800 by default is not to 0?
 
9:59 AM
It was @jjj, but he's gone now
 
@LasseVKarlsen Oooh
 
Back, nightmare...
 

« first day (11 days earlier)      last day (4938 days later) »