|
This is probably an SMTP relaying issue which goes beyond the scope of ASP.Net
Talk to your network administrator and tell him that your server needs to be permitted to relay messages.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Kissy16 wrote: following code is using to send mail.
Problem is,it is reaching only our company domain mail ids not others.like gmail,yahoo etc which is wrong.
The code is ok and you can do nothing in your code to allow this.
You should check your smtp server whether it actually sends the mail outside your company domain or not?
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
thanks for ur reply.
how to check this?what i have to at smtp end?
coz i hae keep it on hosting server.accordign that can u give me some idea???
please
kissy
|
|
|
|
|
Talk to your network admin. If mail is only running to your internal address, then the mail server needs to be configured to allow outside mail. Or you should use a different server
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
8.
class a
{
public virtual void a()
{
cwl ("Base");
}
}
class b : a
public overrides void a()
{
cwl ("Dericed");
}
}
b obj=new b();
b.a();
what is the outpu?
9. Difference between Private constructor and Sington class?
10. What are Generics? Example on that?
11. Difference between SP and UDF?
12. Can we call UDF from .NET like Stored Procedure?
13. Difference between public and protected Internal?
14. what are all the methods of System.Object?
15. Difference between Finalize() and Dispose?
16. Destructor?
|
|
|
|
|
I don't need to answer these, because I have a job. However, if I needed to, I could. If I were interviewing someone, I might ask some of these questions, but I'd also ask for real world examples, so I could seperate the programmers from the people who practiced questions on the web, but had no idea how to write good code.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Someone may give you answer of all these questions, but even thn it is not gonna help you.
Did you even try once google to find answer of any of these? That excerise would have instead given you more information and also some confidence
I would suggest you to find the answers yourself and not expecting the READYMADE food.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Man,
you'll get a lot more info if you try Google.Also the answer of these questions you can get any basic c# book.
Cheers!!
Brij
|
|
|
|
|
hello........i made a website and after launching when i run it.....it gives me this error....can anybody tell me whts reason behind this error...plz guide me. The Error is:
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
|
|
|
|
|
Is this site hosted on IIS Server ? Did you set the Framework Version?
|
|
|
|
|
I am Using Helm Server and Framework Version is set to 2.0
|
|
|
|
|
The error means EXACTLY what it says.
1 - you have an error
2 - you need to make the changes it is telling you to make, in order to see what the actual error is
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Frnds,
I have got 200 varibles, that i want to insert in database.
Im confused, how to do that..
HELP!!!!
|
|
|
|
|
Contact your client, tell them you are stealing from them. Seriously, if you are confused at this basic a level, you should choose more simple tasks and work through them until you have enough experience to take on tasks like this.
You insert them with SQL, there's really no other way. You can use transactions, if you want to make it all or nothing, apart from that, that's all there is.
this also has NOTHING to do with ASP.NET.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Dear,
I stored my 200 values in an array and that 200 values represent one record.
It is easy to insert 'n' record, that i did N no. of times with MAX of 20 values but this is first time im supposed to insert this large no. of values.
So donno how to do... Im trying... may be it take some time.... but i will find that... THATS SURE.
|
|
|
|
|
sachees123 wrote: I stored my 200 values in an array and that 200 values represent one record.
OK, so you need one SQL statement, one insert. The syntax is the same, although if you have 200 values in one record, it seems likely that your database design is a disaster.
sachees123 wrote: Im trying...
What have you tried ? It really helps us to see what you've tried, as well as telling us that you HAVE tried to do more than to ask here. Tell us what you did, what the error is, what is going wrong, then we're more likely to offer help based on what you tell us.
I still don't see the issue, tho, an insert is an insert. Why do you have 200 records ? Like I said, that sounds like a terrible design to me.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Actully i have an OMR sheet that contain 200 questions and that 200 response is for one person/sheet. So dont think the database design is a DISASTER.
Now wat i tried is ...... my mind is not working... the one time effort is to write all those 200 variables.
but i want some simple method and im sure there is....some simple method... to do this sort of job. And that too with an array..
|
|
|
|
|
sachees123 wrote: Actully i have an OMR sheet that contain 200 questions and that 200 response is for one person/sheet. So dont think the database design is a DISASTER.
I think it is. I think you need to store questions and answers in a format that allows for you to easily add and remove questions, instead of having to change your DB to do so.
sachees123 wrote: Now wat i tried is ...... my mind is not working... the one time effort is to write all those 200 variables.
but i want some simple method and im sure there is....some simple method... to do this sort of job. And that too with an array..
OK, I see. Well, if your values in your array are in the same order they are in the DB, you can loop through the array and add the items, building SQL in a loop. Of course, this will leave you open for SQL injection attacks, but if you can't be bothered writing a stored proc or paramaterised query, then that seems to be the solution you are asking for.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
MAN,
I DID it and in a very simple way.... as i told u...
mail me ... if u wanna know...
but no doubt... thanks a lot for replying me... thanks
|
|
|
|
|
Well, the way I suggested was simple. Your database design still sucks, however.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Why you don't redesign database?
Instead having 200 columns in one table, separate it and create some tables manage by relations between them.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
Yes. that's kind of what I said.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Yes,If I am in his/her place then sure I'm gonna redesign maybe all database maybe too including software application.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
hi,
Anybody can able to tell me how to expire my cookie on browser close
|
|
|
|
|
I am not sure that you can, if you can, it will be in javascript, and it will not be reliable.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|