|
did you create the Virtual Directory in IIS ?
|
|
|
|
|
Yes, Created Virtual Directory in IIS
Bharani
|
|
|
|
|
Member 4463285 wrote: . Iam unable to make my website to run in other machines.
1 - is it working correctly on the published machine ?
2 - Have you tried accessing it using IP from other machines ?
3 - Do you have firewall which blocks the requests from other machines ?
|
|
|
|
|
1-it works correctly on the published machine.
2-The ip address:192.168.1.24 it does not works.
Bharani
|
|
|
|
|
Member 4463285 wrote: 2-The ip address:192.168.1.24 it does not works.
any error ? Have you checked anonymous access is allowed in IIS settings ? Do you have windows firewall running ? If yes add IIS port number 80 to the exceptions list.
|
|
|
|
|
ok,It shows Not Responding.
Is it necessary to have IIS in other machines also.
Because only in my machine IIS is there.
Bharani
|
|
|
|
|
Member 4463285 wrote: Is it necessary to have IIS in other machines also.
Not necessary. Check this[^] which shows a workaround.
|
|
|
|
|
I followed the steps given it shows the following
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
Bharani
|
|
|
|
|
check your network seeting. check those system ping with each other or not .
|
|
|
|
|
ok.
Is two machine should not have the same IP address?
Bharani
|
|
|
|
|
never.
it will work for some times, but you will get IP conflict Error.
Never use same IP for two different system,. it should be unique.
|
|
|
|
|
It works,
Thanks Very much for ur guidance.
Thanks.
Bharani
|
|
|
|
|
what was the problem?
We are not a Code Charity
|
|
|
|
|
.netman wrote: what was the problem?
His problem has reseloved . So if you go through all the post you will get his problem and also the resoluation .
|
|
|
|
|
I have developed a web app where i am creating dynamic Input Type File controls for selecting multiple files at a time. All the dynamically created Input controls are placed under one div 'myDiv'. Now while postback, how can i iterate through all the controls inside myDiv so that I can get hold of all the files selected during that time. Please help.
Thanks in advance.
Sekhar
|
|
|
|
|
Well, if you didn't create them prior to Page_Load, the fact is, they are not going to have any viewstate, even if you recreate them. But, if they are input controls, then they will exist in the form that was posted, so that's not a problem. The div is irrelevant, the file data will exist in the data posted with the form.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
Thanks for your reply. Can you please say me how can I reference to the form that has been posted back. I am an new to ASP.Net. Please help.
Thanks.
Sekhar
|
|
|
|
|
Page.Request.Form.AllKeys gives you a collection of strings, each of which is a key into the collection as in Page.Request.Form["key"], you can use this to iterate through the form objects.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
SekharOne wrote: are placed under one div 'myDiv'
ASP.NET won't maintain viewstate for Dynamic controls created in page_load. You can add these controls to a DataGrid/GridView than to a DIV. So viewstate will be maintained along with the parent control and you can take the control by iterating through gridview's rows.
|
|
|
|
|
Dear All,
I have a link button inside an update panel.
While clicking on it, it contacts DB and performs some DB validation and based on the validity it has to proceed further.
If the data is valid it has to update the DB else it has to given an alert.
I have given the following code but it is not giving an error.
ClientScript.RegisterClientScriptBlock(this.GetType(),"Error", "<script language="javascript">alert('Duplicate Districts');</script>");
Can any one help me how to get rid of this?
Thanks a lot in advance.
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
If you're in an update panel then you're already calling javascript, the page has already loaded, and any script you insert like this, isn't going to do anything. you need to send something back to the client in the ajax response, and write script that recieves this notification and responds to it. How easy that is to do within the MS framework, I am not sure.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
Dear Graus,
I am newbie to AJAX.
So I couldn't get you.
Can you give me a link or sample to do it.
Thank you.
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
I don't know how to tell you this, but what you're telling me is that you know nothing about AJAX and you're riding the back of a Microsoft library that I frankly would not use. I have done a fair amount of AJAX work, I evaluated the ASP.NET library and decided it was not for real programmers. Your only solution that I can see, is to learn what AJAX actually is, and either work out how to write your own code inside the library, or abandon the library. I am sure it can be done with ASP.NET AJAX, but it would require knowing how AJAX works, and how to interact with the library code.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
Dear Graus,
Thanks a lot for your information.
I know some what, but I haven't played fully in it.
If you give me a reference, I will analyze and learn more.
Can you give me a link for overcoming this issue?
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
ASP.NET/AJAX in Action is a very good book, the answer is probably in there.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|