|
Thank you guys for your help. Apparently, this is a well know issue by Microsoft Asp.Net Team. They are working on a HotFix to correct the problem.
http://forums.asp.net/7/1331450/ShowThread.aspx
You have to call Microsoft support to get this HotFix.
silverfox_1188
|
|
|
|
|
Oh my... thank heaven's this didn't happen in my portal; I just deployed!
Jim- Thanks for forwarding the link for hotfix!
Nila
|
|
|
|
|
I want to send mail via an SMTP server that requires authentication (username and password) and listens not on port 25 but 567; How can I do this, I cannot make the configuration. I use SmtpMail.Send()
Thanks!
modified 9-Mar-17 17:10pm.
|
|
|
|
|
|
|
Dear Daniel,
As per SMTP standars, any SMTP web Server will listen to Port no 25 only (Default). In your PC, you may wrongly configured the SMTP & POP settings. Check it!!
http://www.rfc.net/rfc821.html[^]
I hope it helps u!!
Regards,
Jay
|
|
|
|
|
Yes, 25 is the standard port... but you can run it on any port if you choose.
|
|
|
|
|
Hi All,
I have suppose a folder wherein there are 5 files and I have created 5 groups with different rights to access the files in that folder.
In C# or in some other way when some user logs into my system and gets authenticated, then I need to check the access rights for that user and correspondingly, allow or not allow that user to open that particular file out of the 5 available to him in a list.
How can I do that?
Pls guide me asap. In Deep trouble otherwise.
Thanks
Omkar
|
|
|
|
|
In my asp.net 2.0 application I'm binding a dataset to a multiline textbox like so:
Dim ds As New dataset
ds = dal.GetApprovedEmailDomains
txtApproved.Text = DataBinder.Eval(ds, "Tables(0).DefaultView(0).domain")
txtApproved.DataBind()
The problem is that the above is only filling the text box with the equivalent of
ds.Tables(0).Rows(0)("domain"):confused:
What change do I need to make without looping to bind the all of the rows, not just the first one?
Many thanks!
-- modified at 16:42 Tuesday 15th August, 2006
|
|
|
|
|
I know how much you dislike looping but why don't you write an overloaded method in your data access layer that loops through the dataset and creates/returns a long string? Then you can bind that to your text box.
Nila
|
|
|
|
|
Thanks Nila, that would do it but I'd like to avoid l X|ping. I think it's gonna take some work learning how to change the expression string.
|
|
|
|
|
Wait a second... duh! I can't believe I didn't mention this earlier (I give brunettes a bad name). Do you have one of those strongly typed datasets in your App_Code folder? You can create one of those, build in the query. Then in your form designer, drag an object data source and configure it to your dataset. Then, go ahead and bind your textbox to the datasource.
I gotta warn you, I haven't tried it yet
Nila
|
|
|
|
|
DotNetHead-
I never asked you, why do you obsess over binding your textbox to a dataset?!? Why???
Nila
|
|
|
|
|
You are right, why do that? I'm not limited to some designers specs. I'll dump that control and use a gridview or something.
Getting advice from a girl programmer, that's hot... :->
|
|
|
|
|
you made me blush again!
Nila Fridley
|
|
|
|
|
Hi All
How can i Save And Read Image Into SQL Server 2000 Database
By Using (VB.NET Web.APP)
pls try to give me a code
thank you for help
|
|
|
|
|
There is a lot of information (articles, etc.) about this topic out there. Try using Google to search for "vb.net save load image database". The first hit I got was a CP article!
|
|
|
|
|
I am reading up on WSE 3.0 as it pertains to securing my web service. We are not going to be using X509 certificats. We are using SSL for encryption. In my reading it seems that the developer of the web service will write code to validate the user and that WSE really does not offer a facility to do this. We have a group in Active directory that the user must belong to to access the service. My thought was that we would have the user call the service passing in a token object containing their U/P, we would look for them in active directory and if they are there return the results and if not return an error. The WSE code I have seen adds a ton of overhead (for encryption and soforth) and I am not even sure what it is doing. I don't want to oversimplify this but I also don't want to keep spinning my wheels with something that does not offer any more functionality than we need. So my question is, given the above stated goals, are we proceeding correctly or do we need to have all of the overhead that I see in the WSE documentation I have found.
Jeff
|
|
|
|
|
Hello is there a way that the controls on my aspx page understand the html code and display accordingly...example:
If a textbox is there..I press on button named 'B'..
then contents in textbox become Bold...
I.e.the textbox should be in a state to handle html coding just like a html browser..if we enter Hello
textbox field should show Hello in bold letters...instead of all that crap like
Hello
Is there a way for it
|
|
|
|
|
No, there isn't. But you can take an element that does support html codes, like a div tag, and make it editable.
---
b { font-weight: normal; }
|
|
|
|
|
I'm new to ASP.NET so any help pointing me in the right direction would be great!
I've figured out how to send and receive email (sending using the built-in .NET classes, and receiving using the AdvancedIntellect aspNetPOP3 component, since I couldn't see any built-in classes for this). My problem is I don't know how to make the website check for the email on regular basis.
Essentially what I want to do is have the website check the email (POP) server (every 30 seconds or so?) check the subject (etc) of the email, and then send a response email with some appropriate data from my database.
Should I setup a timer? Is this "not recommended" for an asp.net application, and should be done some other way?
Thanks
Warren
|
|
|
|
|
Well, depending on the circumstances, you might just want a console application or windows service running on the server to periodically check your POP mail.
|
|
|
|
|
Mike Ellison wrote: a console application or windows service running on the server
That's what I was thinking of as an alternative, but I didn't know if those (i.e. a Windows service) are typically available in a hosted environment??? Do you know if that is typically the case?
Having previously been responsible for keeping a server going, I really want to use a hosted environment where someone else keeps the thing patched (etc).
|
|
|
|
|
It would be worth discussing it with your host; your host may very well provide some kind of scheduled task service themselves.
There are approaches to use though if your requirement has to be within the context of ASP.NET code. You could start a new thread in the Application.Start event to poll for your emails. This article shows an example of that approach:
http://www.angrycoder.com/article.aspx?cid=5&y=2003&m=4&d=11[^]. As the article author points out, there are some pitfalls to this approach, but you can decide if it will work for your setup.
|
|
|
|
|
please guild me in my newbiew question >.<
the dropdownlist i am uisng now is binded to an sql database
so whenever i wanna know whcih item was selected its like
DropDownList1.SelectedValue
however this only returns numbers and not the actual data from the dropdownlist
can anyone tell me how can i get the actual data of the dropdownlist pls.
|
|
|
|