|
Hi,
checking for .net frameWork 2.0 prerequisites in web setup project i know. Can any body tell how to check for the IIS 6.0 prerequisites at the Time of "Web Setup Project" in VS2005.
and checking for the cassini server also
Thanks & Regards
Shavil
|
|
|
|
|
shavil wrote: Can any body tell how to check for the IIS 6.0 prerequisites at the Time of "Web Setup Project" in VS2005.
In you web setup project Add Launch Condition , Check the property of IISCondition
Hope that will resolve your problem.
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
In a normal setup project you would typically create a custom action that checks the registry for the proper key, I'm not sure which ones for this though.
only two letters away from being an asset
|
|
|
|
|
Hi,
I am new to ASP.NET and I don't really understand why some controls overlap "invisibly".
I have a masterpage with a top panel and a left side panel. There is a menu (control) on the left side panel. The problem is that some controls (of some pages using this masterpage) overlap the menu control even though it is clearly visible that those controls are positioned way to the right of the menu.
What truly happens is that the menu cannot be clicked/accessed. Only menu items downwards from where those other controls end are accessible and working.
I've tried playing around with the z-index of the menu with no luck.
Does anyone have any idea what's going on or where I should be looking for a solution?
Thank you.
|
|
|
|
|
It sounds like the positioning of the controls needs to be adjusted. You may have some with absolute positions that causing eh overlap. Do some research on Cascading Style Sheets, CSS.
only two letters away from being an asset
|
|
|
|
|
Hi ... How to send an email with out installation of IIS.
|
|
|
|
|
Hi,
You don't need IIS for sending emails. What you need is to connect to an SMTP (simple mail transfer protocol) server. Here's a sample:
...
using System.Net.Mail;
...
public bool SendEmail(ref string errMsg)
{
errMsg = "";
bool res = false;
MailMessage msg = new MailMessage("fromemail@someserver.com", "toemail@someserver.com", "This is the subject", "This is the email body...");
msg.IsBodyHtml = false;
SmtpClient client = new SmtpClient("smtp.someserver.com", 25); // the address and port of the SMTP server
client.Credentials = new System.Net.NetworkCredential("username", "password"); // user name and password to the SMTP server
try
{
client.Send(msg);
res = true;
}
catch (Exception e)
{
errMsg = e.Message;
res = false;
}
return res;
}
|
|
|
|
|
lackonagy wrote: You don't need IIS for sending emails. What you need is to connect to an SMTP (simple mail transfer protocol) server.
How would I Install SMTP with out IIS ?
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
If you don't want to use IIS for sending main, then the replacement is Database.
You can send mail over Internet using SQL Server.
DB: Master
Procedure: xp_sendmail
|
|
|
|
|
Amandeep Singh Bhullar wrote: You can send mail over Internet using SQL Server.
DB: Master
Procedure: xp_sendmail
Amandeep, that great can you have more resource means any links on that ? please share with me.
Thanks in advance !!
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
In our organization we have xp_sendmail stored procedure in MS SQL Server.
Details of this are in MSDN
http://msdn.microsoft.com/en-us/library/ms189505.aspx
|
|
|
|
|
Thanks
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
Not possible..
when install IIS on your server there is option of SMTP server that is fully responsible for mail transfer.
even if you are able to third party tool for the SMTP server then is is possible..
Anshuman Singh
|
|
|
|
|
Anshumas wrote: Not possible..
that's why I asked that personthat how he will install SMTP with out IIS ?
|
|
|
|
|
|
If you don't have IIS installed, then you can't run ASP.NET, so why are you asking here ?
Sending mail does not require IIS, it requires a mail server to send through, which IIS by default, is not. I don't know what these other people are telling you.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi...Guys Thanks For your timly reply i got the solution....
|
|
|
|
|
Hi
There are 7 records in my table.
I want to get the one by one record when each client made a request
e.g.
Records in my table
1 A
2 B
3 C
4 D
5 E
6 F
7 G
If I click on index.aspx 1 A will be called.
If Other Customer click on index.aspx then 2 B record should be fetch and so on
for 8th customer again 1 A should be called.
How can I do?
Thanks
sjs
|
|
|
|
|
You'll need to persist the index in some fashion so that it is available to all requests to your site. Use an application level variable.
only two letters away from being an asset
|
|
|
|
|
Thanks for reply.
How can I use Use an application level variable. I have no idea about that.
Thanks
sjs
|
|
|
|
|
Application["MyKey"], just like Session
only two letters away from being an asset
|
|
|
|
|
Hello All,
I am using the gridview in which one column is set visible=false.But while deleting a particular row how to take the value of that column which is invisible ???
Thanks in advance......
|
|
|
|
|
In general you don't really need to care about the actual contents of the row. If you have the index of the row being deleted you can look it up in the datasource.
only two letters away from being an asset
|
|
|
|
|
Better you do column width=0px other than doing visible=false
ARINDAM
|
|
|
|
|
Why would that be better? Visible = false doesn't render the column at all. Width = 0px does render the column thus transmitting unnecessary or unneeded data.
only two letters away from being an asset
|
|
|
|