|
i want to connect Secure Ftp(SFTP) through my web application, I found some but they are all Trail version, i want free software, Is there any website providing such type of service.Can any one help me in regards.
|
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
{
//detecting the browser capability
IDictionary caps = Request.Browser.Capabilities;
IDictionaryEnumerator enumerator = caps.GetEnumerator();
string cap = string.Empty;
enumerator.Reset();
while (enumerator.MoveNext())
{
cap += enumerator.Key.ToString() + " : " + enumerator.Value.ToString() + " ";
}
Label1.Text = cap;
}
it gives me nullreferenceException :object reference not set to an instance of an object
but what is the problem , eveything is fine in the code ????
Human knowledge belongs to the world.
|
|
|
|
|
snouto wrote: it gives me nullreferenceException :object reference not set to an instance of an object
while (enumerator.MoveNext())
{
cap += ((System.Collections.DictionaryEntry)(enumerator.Current)).Key.ToString() + " : " + ((System.Collections.DictionaryEntry)(enumerator.Current)).KeyValue.ToString() + " ";
}
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
i am writing code for getting SID .
CODE:-
Dim _Sid As String = "S-1-5-21-1817689559-1280207852-1215589284"
Dim _sidTest3 As String = "S-1-5-21-1817689559-1280207852-1215589284 "
Dim path As String = "LDAP://d" 'Idea Cellular Ltd.
Dim ROOT As DirectoryEntry = New DirectoryEntry(path, "test2", "password", AuthenticationTypes.Secure)
Response.Write(New SecurityIdentifier(CType(ROOT.Properties("objectSid")(0), Byte()), 0).Value) 'CType(ROOT.Properties("objectSid")(0).Value, Byte)))
i am getting same SID When i change The user name(test1,test2,test3......)
i want to know it's right or wrong SID is same for every User
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Hi,
In my application I m using excel file to enter the values in database.
It is working fine but it is giving a strange error.
If in a column let A
If we have value "DMIX00008" and "65400004"
Then it is reading values like "65400004" but values like "DMIX00008" are coming blank.
I think it is reading that column datatype as integer or numeric.
But i want that column to display values as they are entered.
How to rectify this problem?
|
|
|
|
|
Hi Hemant,
I think that you are filling the datatable directly from the excel. and your first value in excel is numeric. that's why this problem is occured.
Try this one.
first you create columns of datatable, which you want to fill. make sure that column's datatype is string. and then try to fill it.
Regards,
Dilip Patel
|
|
|
|
|
Thaks dilip_rollwala,
I change the first value to alphanumetic and it works.
But I cant create columns of datatable first.
|
|
|
|
|
How to find Password of a user from Active directory using SID?
|
|
|
|
|
Well, if you scroll down about 5 questions you will find someone (probably one of your classmates) has asked this very same question and received some replies.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Well his post was to find SID from Active directory
my Question is to find Password from Active directory using SID
|
|
|
|
|
sumit7034 wrote: Well his post was to find SID from Active directory
..and if you looked at the link in the reply it shows you how to get all sorts of data back.
Just take the code from the link, run in debug mode and look at all the properties available.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
sumit7034 wrote: How to find Password of a user from Active directory using SID?
what does it mean ? you want to retreive user password from AD.
i think this is not possible, you can use password only for Authentication purpose and you can Reset it.
cheers,
Abhijit
Think Sharp | Code Sharp | C Sharp
|
|
|
|
|
|
I think you need to look at some beginners articles on how asp.net works before you go any further.
The answers posted by me are suggestions only and cannot be used in anyway against me.
|
|
|
|
|
thanks.
but cant I get any online resource for this?
Vijay V.
Yash Softech
|
|
|
|
|
|
thanks for the link but I m not looking for this.
Vijay V.
Yash Softech
|
|
|
|
|
Mind telling us what you are looking for then? I mean its one thing to ask people to STFW for you, but without giving us too much of a clue what you're after, its a little hard.
|
|
|
|
|
i browsed through some asp.net sites (for eg: kixclusive.com).
in this site I noticed that the name of the page and the name of the product which the pages is displaying are same.
I think its that they have created which has the basic info that needs to be displayed and they are just passing the values. the pages is created at runtime and displayed.
i just wanted to know how is this done in asp.net 2.0.
here in code project too. the article pages are named after the name of article like http://www.codeproject.com/KB/webforms/GridViewRedux.aspx[^]
regards
Vijay V.
Yash Softech
|
|
|
|
|
|
Thanks a lot Steven.
this is the thing which I was looking after from past many weeks.
Vijay V.
Yash Softech
|
|
|
|
|
hi..
i placed a gridview in the div for scrolling. i gave style for gridview header as
position:relative;
z-index:10;
sothat gridview header will be fixed and griddata is scrollable( when scrolling ).Now the problem is i have textbox and dropdownlist in same template field ,here when i try to scroll only textbox is going under the
grid view header but dropdownlist coming over the header.
pls help me
Thanks in advance
sri.
|
|
|
|
|
i had created one webform name login.aspx. now i copied to the my local web server through copy website method. the problem is wen i open IE then enter this http://localhost.login.aspx address
means the page is display like this
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A name was started with an invalid character. Error processing resource 'http://localhost/gridex.aspx'. Line 1, Position 2
]]>
-^
this errror will coming what can i do for this to avoid this one.
anyone helpme
|
|
|
|
|
dhandapani84 wrote: the problem is wen i open IE then enter this http://localhost.login.aspx address
localhost is the webserver.
login.aspx is your webpage.
Have you ever seen a address like www.google.login.aspx
Well, your address should be something like http://localhost/[name of your virtual directory[^]]/login.aspx
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
thank you for ur answer. no i have one more doubt. this page opens only visual studio opened. now i closed the vs and then entered this
url in IE
http://localhost:43416/dot%20net%20example/login.aspx
but it display the page cannot find
what is the pbm plz tell me
|
|
|
|