|
Hello...
I have developed a project. In which i have a folder named Admin.in this folder i have some web pages too but when i publish this project and upload my project over my server then it works fine. But when i run my Admin folder web page then it throws error(Run Time).
But when i upload .CS file then admin folder webpage also work Properly..
Please Suggest me...
|
|
|
|
|
i want set the smtp for sending an email from admin to a user. any body know how can i do this. can u give me any information about smtp mail setting (sending email from admin to some one when he forgot the password)
i set this setting but its not enough:
<system.net>
<mailSettings>
<smtp from="admin@sadafit.com">
<network host="sadafitserver" port="25" />
</smtp>
</mailSettings>
</system.net>
|
|
|
|
|
<system.net>
<mailSettings>
<smtp from="test@MHF.com">
<network host="smtpserver1" port="25" userName="MHASSANF" password="MHF" defaultCredentials="true" />
</smtp>
</mailSettings>
</system.net>
this is more detail but setting depends on youre server setting
first contact to the Administrator
|
|
|
|
|
host="smtpserver1" smtpserver1 is the server computer name?
|
|
|
|
|
It's the mail server.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
i set them this form but give the abow error . do u know what should i do? do u know any refrence that i read it.
<system.net>
<mailSettings>
<smtp from="p@sadafit.com">
<network host="mail.sadafit.com" port="25" userName="p" password="456" defaultCredentials="true"/>
</smtp>
</mailSettings>
</system.net>
username and password is the username and password of p@sadafit.com. is it right?
|
|
|
|
|
you provide the username and password if you need to log into the server. Do you need to log in with outlook ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
no i dont need. do u know any othe setting for smtp?
|
|
|
|
|
Well, at the core, if your settings are the same as the ones outlook uses, it should be fine. How are you sending mail ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
i m uploading excel to database. the excel consist of a field "comments" which caarry more than 2000 characters. but when i m trying to upload, it takes only 255 characters and remaining are omitted. how to resolve it?. help me... thanks in advance - KARAN
|
|
|
|
|
you must change the type of youre Column in the database to "ntext"
|
|
|
|
|
|
I have a iTextObject control in the crystal reports,can i hide the itextobject type control in the crystal report at run time?
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
I am looking for some direction, I am not sure if it can be done. I am new to ASP.net programming but have been programming in VB for years(although I am still a novice) so any direction would be helpful.
I am wanting to create a program that will go to a secure web site, login(with a provided login/pass), fill in information on several pages, then either it will be screen scraping the information from the final web page or be getting a file from the site. The final step is the store the information gotten from the site file form or a database.
I am not sure what/where I need to look for some direction. What technology/books/web sites/classes will help me get the knowledge to start creating this program? Are there certain .NET classes that allow this(WebClient,WebRequest)?
I know of other companies doing this like QL2, I want to build my own.
Thanks for any help.
Dan
|
|
|
|
|
Daniel Riek wrote: I am wanting to create a program that will go to a secure web site, login(with a provided login/pass), fill in information on several pages,
This has nothing to do with ASP.NET. ASP.NET creates websites, not programs that attempt to control them. You do that with a winforms app, with a web browser control on it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I have a table and I want to upload a txt file and read 6 of the values from the text file, which has 100 values into the table. I want to only input values [74], [75], [6], [92], [90], and [35].
I would like to perform the following:
click UploadFile button and onclick in the background the code will read the file and input the values [74], [75], [6], [92], [90], and [35] into columns a, b, c, d, e, f
display updated form with values a=[74], b=[75], c=[6], d=[92], e=[90], f=[35]
have a submit button that when it is clicked it will write the values to the database
I have tried but with no success. I am brand new as asp .net
Thank you for any help you can give.
|
|
|
|
|
1. How is structure of your textfile?
2. Can you post here one row of textfile to look what structure it have?
And we will see how we can get specified values [74], [75], [6], [92], [90], and [35]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
|
|
|
|
|
The text file looks like this, with approximately 100 values: thank you.
"100"
"0"
""
"microns"
"(1/e2)"
"0"
""
"0"
"0"
"single mode"
"10"
""
"0.5"
"No"
"4321"
"1234"
|
|
|
|
|
firstly , Hello every one
i want to know if there is a way to link a c++ compiler to a web site & if there , what is it?
thanx
|
|
|
|
|
Depends what you mean. Do you want to type C++ code, send it off to be compiled and send back the exe ? The command line compiler is your best bet there.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I'm looking for a nice clean way to retrieve email using .NET. Essentially, I want to take emails from a particular address (via SMTP or POP) and push them into a workflow in my application. All of the samples so far seem to be a bit low-level (screwing around with sockets) and I don't see anything in the framework that makes it straightforward. This seems like something I should be able to throw together pretty quickly.
Is there a clean way to do this without third party components? Am I overlooking some really simple way of doing this, or should I just bite the bullet and mess with TCP? It looks like the smtp client object would have this functionality, but it isn't there.
Any thoughts?
|
|
|
|
|
This has zero to do with ASP.NET. And, there's an article here on Code Project about doing it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Sorry about that man. I wrote it on the way out of the office and stuck it in the wrong forum. I've got to stop posting things and sending emails at the end of the day - it never works out well. The train of thought that led me to put this question here seemed logical then, but after a nap and a few (too many) margaritas, it does seem kind of dumb. Many apologies. I'l repost in the appropriate forum tomorrow when I am well rested if I can't find the answer tonight.
By the way (and still off-topic), I enjoyed your graphics articles.
|
|
|
|
|
Hi
I am new to RSS and trying to develop a rss feed application and ran into few challenges. I am pretty sure people out there will have figured it out. So, no point in re-inventing the wheel. (Typical MS thinking )
1. It needs a calendar page (configurable to display 1 or upto 12 months)
2. Since feed will be coming daily, I need to create a page daily (hopefully dynamically).
3. If a date page is created then, for that date, an active hyperlink should be there in calendar. Conversely, if a date page is not present then no link in calendar.
4. Today's page becomes the default page of the site.
Please advise how I can approach this? Thanks in advance.
Pankaj
|
|
|
|
|
Hi,
Using ASP.net does anybody know how to identify to the user the current page which they are on? Using css this is simple by adding an ID to the body tag on each page. However there is only 1 body tag in the application because I am using master pages. Much appreciate any input.
Thanks.
|
|
|
|