|
If you create a new website at that location, I don't see why it would not work.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
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?
|
|
|
|
|
Please don't ask twice.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi Everyone
I need to call two methods, (one written in javascript defined in the header part of an aspx page and the second written in c# in aspx.cs file of the same aspx page) in the button_click action of a button in the aspx page. The first method is about to show the user a please wat page, and the second method processes the user input.
And I can not put the first method from within the second one, because of some problems.
Please help me.
|
|
|
|
|
I see you crossposted this. Please do not do that in future.
It seems you have major issues. Read up on what ASP.NET is, and how it works. Then, consider that if your page is doing a postback, it won't show anything. AJAX is what you need here.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
I need to convert an application from WinForm to WebForm.
Anyone had an experience with doing something like that?
tnx in advance
|
|
|
|
|
It's called a rewrite, I am afraid.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
|
Anybody uses Gaia ajax widgets, http://ajaxwidgets.com/[^]? And what is your experience?
Seems like a good alternative for MS asp.net ajax.
My reason for not going for MS asp.net Ajax : heavy and confusing client script library, so bad performance, and hard to extend.
Thanks,
Gidon
|
|
|
|
|
hi
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("gauravvmahhajan@gmail.com", "gauravvmahhajan@gmail.com", "gopunjabi.com", "hi")
smtpC.Credentials = New System.Net.NetworkCredential("gauravvmahhajan@gmail.com", "mypassword")
smtpC.UseDefaultCredentials = False
smtpC.EnableSsl = True
smtpC.Send(message)
But it gives error: SMTP Server required secure connection ........
Where I am doing wrong. Please help.
|
|
|
|
|
Mahajan,
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.
|
|
|
|
|
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.
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
Hi,
I have simple formview that adds data to a database.
I need to add the current date there too, as a string.
inside the <insertitemtemplate> I have a textbox for that date string:
<asp:label id="lblDate" text="Date:" associatedcontrolid="txtDate" runat="server" xmlns:asp="#unknown" /> <br />
<asp:textbox text="<%# Bind("msg_date") %>;" width="220" id="txtDate" runat="server" cssclass="contact_formField" xmlns:asp="#unknown" />
in my onLoad subroutine I have:
Dim msg_date As String
Dim dtNow As DateTime = DateTime.Now
msg_date = dtNow.Date
The question is - how do I make the textbox have the value of msg_date form the onload sub?
(I am new to .net programming, so I apologize if this is total nonsense...)
|
|
|
|
|
txtDate.Text = msg_Date. Get rid of the binding statement, unless you make msg_date a property that returns the right value inside it's own code, and is not set externally.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
I already thought of that, but tried it again.
didn't work, got this error:
Compiler Error Message: BC30451: Name 'txtDate' is not declared.
modified on Monday, July 28, 2008 3:43 PM
|
|
|
|
|
Hi,
I want to display reservations in table of asp.net 2.0
in first cell i want to display vehicle name and from 2nd cell i have to display timing ranges from 8:ooAM to 11:00AM with interval of 15 minutes.
I mean each hour contains four cells and have to color those cells which contains reseved time .
i have calculated start_cell_number and end_cell_number but now i have to display reservations in table and want to color cells which contains reservation.
Please iam stuck on this any hint or article is highly appericaited .
Here is sample of display Data .
VehicleName 8:00 8:15 8:30 8:45 9:00 9:15 9:30 9:45 10:00 10:15 10:30 10:45 11:00
Shahzore
CD 70_01
cD 70 02
for suppose Shahzore is reserved from 9:00 to 10:00 then i have to color cells from 9:00 to 10:00 ans others reamins un colored
please give me simple hint
Regards
rameez
|
|
|
|
|
I am using Visual Studio2005.
I had added the Textbox Attribute "onfocus",so as to clear the Textbox On Focus.
Now could you please help me how to get the default Text Written in the Textbox,as the Focus is removedd.
Pl provied me the required Syntax to add the Attribute,and also the Java Script if needed..I new to this Domain..
Thanx in advance....
|
|
|
|
|
Do not use words like URGENT in your subject line. It is considered rude since people may help at their free leisure and time.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
|
What have you done so far?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hi
I am writing a cms and I want to put the option of creating a new page there.
right now i just can edit the content but I don't know how to create a new page.
Please help me.
|
|
|
|
|
What have you done so far? No one is going to be able to help you without seeing what you have done and it's pretty much impossible with the vagueness of your post.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
for example I have 2 pages (Index and images) right now i can change the content of the Index page and
also change the images in the IMAGES page.
but what I want is that the end user be able to create a third page like SITEMAP
I hope I made this clear
thanks
|
|
|
|
|
Help me or provide me any article for that.
Thanks
|
|
|
|
|
amistry_petlad wrote: provide me any article for that
No. Try google. For database connection string, look at www.connectionstrings.com[^]. A little brain work and looking at the connection strings used for Oracle, I hope you can figure it out.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|