|
Thanks but that manages what type of authentication applies to the web site, Windows authentication, etc.
What I need is to be able to manage the users I've created through Visual Studio's ASP.NET Web Site Administration Tool (WSAT).
If I use the WSAT from Visual Studio I can create users and assign passwords from the Security tab. If I run my site from Visual Studio, I can log into the site using the users. If I then publish the site elsewhere, I can't. I therefore need to access the site's database to manage the users.
|
|
|
|
|
Just for further info:
The problem is that I run my web application in debug on my XP Pro machine and I can logon to the web app using the settings I defined using the WSAT (web site administration tool). If I deploy the web application to another XP machine, I can't seem to login using the username I defined.
I can't understand what's going on!
Does there need to be some reference to the ASPNETDB.MDF file in web.config?
|
|
|
|
|
i want to make a web based database application.i am using oracle as backend i want to make an oledb connection. what wil be the connection string for that.
|
|
|
|
|
|
|
hai,
currently i m using asp.net 2005 with C# (framework 2.0)
i want to fetch the WINDOWS LOGIN USERNAME & LOGIN TIME through means of my project and store it in a database table.
System.Environment.GetEnvironmentVariable("username");
The above code i used. its working in my local machine.
but when i host to server (INTRANET), its not functioning (If i disable the ANONYMOUS one, then everytime user want to enter his ussername & Password. this should not happen. automatically i want to fetch it)
how to achieve it?
|
|
|
|
|
Karan_TN wrote: System.Environment.GetEnvironmentVariable("username");
The above code i used. its working in my local machine.
Because its returning your local system username.
Karan_TN wrote: (If i disable the ANONYMOUS one, then everytime user want to enter his ussername & Password.this should not happen.
This Should be happend. Because Its Need Authentication.
Then you should Check Integrated Windows Authentication mode. So that its prompting user id and password.
If you checked Integrated Windows Authentication , then it will take windows credentials for login, but i dont think you can read it in this way.
Now , You can try with form authetication which will Authenticate user From Active Direcotry then only you can get the user name.
|
|
|
|
|
Thanks man.
You told .... You can try with form authetication which will Authenticate user From Active Direcotry then only you can get the user name.
Thanks once again, and can i get some link or stuff's to know more and establish in my project. since this i have to ACHIEVE it... and more important one.
thanks in advance
|
|
|
|
|
Are you authenticated user from AD ? or Database ?
|
|
|
|
|
I am using 2 textbox for arabic and 2 for english. Is there any propety of textbox which I have to assign to texbox and onfocus it know what I have to type AR Or Eng without javascript. Any help will be appreciated..
|
|
|
|
|
Why you are not creating a custom control for textbox?
|
|
|
|
|
I can Make it but how it will recognize to type english or Arabic when the cursor focus on it. how it can sense.
|
|
|
|
|
Make a property for language and show it as tooltip and put it onfocus of textbox
Cheers!!
Brij
|
|
|
|
|
Hello All,
I am having a Treeview Control on Master Page which loads all the Parent Nodes from Master Page code behind and Child Nodes from one of the Content Page. I have 4 Parent Nodes which are loaded in Master Page and last 2 Parent Node has 3 Nodes which are loaded from database on selection of from the first Content Page.
The Problem is that when I click submit button on the Content Page say ContentPage1.aspx then all the child nodes are added but when I click on any other Parent Node which is on Master Page all the child nodes are lost...
I hope I made myself clear ...
Can someone tell me how can I handle this ...
Thanks in advance ....
|
|
|
|
|
hii iam facing the problem of maintaining session between the ASP and ASP.NET pages,Kindly suggest any solution about this
|
|
|
|
|
Why don`t use this superb tool that has been built to serve millions
get it
When you fail to plan, you are planning to fail.
|
|
|
|
|
Dear Team,
I have a requirement that
i am displaying the records in the datagrid which will are fetched from the database , which has 3 columns
1. id
2. the blob data
3. the file name ( this can be of any format ) like .txt,.pdf etc.
so when i click on the perticular file name ( which is just an name ) the file should get opened in its corresponding format by reading the data from its perticular blob column.
expecting an responce from your side
Thanx and regards
Shaik Abdul Gani
|
|
|
|
|
You'd do a response.binarywrite to write the blob and you'd set the content header to tell the browser what sort of content it was. There's tons of examples on the web.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanx for that... but we are developing te application in the windows based . can you send me any sample code of it or any link as reference .
thanx for the reply once again
|
|
|
|
|
shaik abdul gani wrote: but we are developing te application in the windows based
So why ask in the asp.net forum?
Bob
Ashfield Consultants Ltd
|
|
|
|
|
ok fine sorry for that its my mistake
|
|
|
|
|
Hello all friends
can any one tell me its advantages and disadvantages of CMS in web development.
|
|
|
|
|
The advantages are that you can store content in it, and the disadvantages are that if you put garbage in, garbage comes out.
This is not a real question. A CMS is a specific tool for a specific purpose. You need to give us an alternative to compare it to, for them to have advantages over one another.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
mates,
could you please help me. I make a website application which is an old application from an Access. In access form there is an OnEnter Event Procedure. If you just click or enter a dropdownbox it will fire. How will I do this in asp.net? I know the SelectedIndexChanged.
(fires when the selected index has been changed).
What I want is the OnEnter event procedure of dropdownlist in asp.net, how will i do this?
thanks.
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|
|
Well, there isn't one. Why not ? Because it would be useless. If you entered a control and it promptly did a postback, where would the value in that be ? You can mess with those sort of events on the client side with javascript, but not on the server.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|