hi, I hosted this website on the server and it's working fine. Now I need to add a virtual directory for another asp.net webapplication and I should access it using "www.mysite.com/forum" but the problem is that the site first goes to the main hosted website and fails to jump to the virtual directory.
I created a folder in the main webiste called forum and in the properties of this folder, I redirect to the virtual directory of the forum.. but he first goes to the main website since its the default on the server and he can't seem to know how to reach the forum virtual directory.
Hi, I have a domain and I created two web applications, one of them is working fine. The admin actually put the applications folder on the root of the default website of the iis (Default web site >> app_code....and so on). But now I need to create a virtual directory for the second application. I created it but I can't access it since the default website first accesses the web.config file of the application so this causes an error and I can't reach the default web page of the second application through its virtual directory. How can I browse the second application on the server?
from what I understood, if I remove the application folders from the root and then created a virtual directory for the first application, the second application is accessed successfully..but the problem is that if I accessed the application from the virtual directory it'll be like (www.mysite.com/System/login.aspx) and I don't want it like that..I want it to be like www.mysite.com, he should automatically redirect to www.mysite.com/System/login.aspx...
I don't know if I made this clear, but I really don't get how this iis works and I need the two applications to work..can someone help?
And I can not put the first method from within the second one, because of some problems.
Please help me.
I am writting the following code to send email:
Dim smtpC As New System.Net.Mail.SmtpClient("smtp.gmail.com", 587)
Dim message As New System.Net.Mail.MailMessage("firstname.lastname@example.org", "email@example.com", "gopunjabi.com", "hi")
smtpC.Credentials = New System.Net.NetworkCredential("firstname.lastname@example.org", "mypassword")
You should look into the help provided in Google to setup Gmail Account with an Email Client. I believe the SMTP port number for SSL is different than the default (25). Check it and try to use that port number while sending email through gmail. But I am not sure where you could send emails through Google's SMTP server.
Castle Rider What if I freeze??? Don't forget to breath...
GMAIL SMTP Server requires an authentication in the form of username and password.
The reason, it is giving you this error message is because you have set UseDefaultCredentials to false.
Just set this to true, and it should work like a charm.