|
Hello There
I'm using Microsoft visual studio 2005 to design an asp.net site but when i try to run it it shows no error except this annoying message "The page cannot be displayed" .
My latest activity was that i install smart ftp .
i have windows xp home edition.
i forgot to mention that when i upload my pages to the web site it works just fine.
Thanks alot
modified on Saturday, April 12, 2008 1:45 PM
|
|
|
|
|
Is this file based or IIS? Is it possible you need to run asp_regiis?
only two letters away from being an asset
|
|
|
|
|
I don't have IIS just the web developer .
|
|
|
|
|
You may probaby not have set the Start Page in the project.
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Thanks for replying
but i don't need to set the start page because i'm pressing F5 to debug the page.
i tried also aspnet_regiis.exe and nothing happened .
this kind of problems is annoying
Thanks .
Asaad
|
|
|
|
|
the problem is:
you just double click on asp_regiis.exe
and its not truth way
you have to run this execute file with specific switch(-i)
so write below code in command prompt to install asp.net 2.0
asp_regiiis.exe -i
nobody help you...
you have to help you yourself
and this is success way.
|
|
|
|
|
Dear Mr. Mohsen
i'm not just double clicking on the icon
i wrote the command aspnet_regiis.exe -i in the command prompt and it installed the asp.net
but the problem is still there .
Thanks for you help.
|
|
|
|
|
open Firewall from Control Panel click Advcanced tab, under Network Connection Settings click button Settings, on displayed window select tab Services check checkbox Web Server(HTTP), apply changes and try to run your application.
I Love SQL
|
|
|
|
|
Hello there
Unfortunatelly nothing changed .
I'm gonna be crazy . Now each page i do i must upload it to the website to test it .
Thanks you.
|
|
|
|
|
In Internet Explorer, you can make this change in Tools -> Internet Options. In the Connections tab, click LAN Settings and then select Bypass proxy server for local addresses.
I Love T-SQL
|
|
|
|
|
i don't use any proxy . Unfortunatelly.
Thanks .
|
|
|
|
|
Does Ctrl+F5 work?
Did you try to create a new web-site? Does it work ok? Had you change something in sytem services? try to delete web.config and run you web site again. does windows appclication (windows.forms) debugging work?
--
"Success is simple. Do what's right, the right way, at the right time."
best regards,
tradakad
|
|
|
|
|
Hi There
Ctrl+F5 not working at all but i notice something yesterday .
When i press wether F5 of ctrl+F5 a notify icon appears near the clock "ASP.NET Development Server" Port 3444 for example but in the web browser the address is http://localhost:3441/Default.aspx
do you notice the change in ports number and if i change it manually it works . I don't know what is the cause of this change . Everytime the different between ports number is exactly tow of three digits .
This problem is happening with any Visual Studio 2005 website i do but with VS 2008 everything works so fine .
Thanks.
|
|
|
|
|
I guess it was happend after installing VS 2008? I can advise nothnig except reinstall VS 2005.. Sorry I dont see other way to solve it..
Good luck!
--
"Success is simple. Do what's right, the right way, at the right time."
best regards,
tradakad
|
|
|
|
|
Hello There
After days of searching i found the solution for this annoying problem.
I'm using ESET Total security and it has an option for IP Contnt Filtering i've just disable it and everything work so fine .
Thank you.
|
|
|
|
|
I have two site map: "common.sitemap, loginuser.sitemap", two master page:" common.master, loginuser.master",
in common.master, there is a Navigation control: TreeView
TreeView--- Sitemapdatasource---common.sitemap
in Loginuser.master, there is another Navigation control: TreeView
TreeView---sitemapdatasource---loginuser.sitemap
when user does not login, show common.master page
After user login , show loginuser.master page.
My problems :
how can I set Sitemapdatasource to bind different siteMap? Because I alway get two treeView with same sitemap.
If I use Membership Class to set user login function, How can set up redirect page ?
Thanks
G Nathan
|
|
|
|
|
TreeView.Visible might do the trick
tvCommon.Visible = true;
tvUser.Visible = false;
after a succesful login:
tvCommon.Visible = false;
tvUser.Visible = true;
|
|
|
|
|
Hi, all!
I have a question - how can I call a method from userControl if that method exist in the another userControl
example:
index.aspx contains leftcontrol.ascx and rightcontrol.ascx
leftcontol.ascx has SomeFunc(int val);
SomeFunc(int val)
{
dropDownListEx.Items.Clear();
OtherFunc();
}
how can I call SomeFunc(int val) from rightcontrol.ascx?
Thank you very much!
--
"Success is simple. Do what's right, the right way, at the right time."
best regards,
tradakad
modified on Tuesday, April 15, 2008 7:49 AM
|
|
|
|
|
tradakad wrote: how can I call SomeFunc(int val) from rightcontrol.ascx?
Make your method public .
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Thanx, but it is public offcourse
it is a part of leftContol code.
public partial class controls_LeftContol : System.Web.UI.UserControl<br />
{<br />
public void FillDt()<br />
{<br />
string[] suras = myXml.GetNames("List.xml");<br />
<br />
if (suras != null)<br />
{<br />
<br />
ddlSurasSelect.Items.Clear();<br />
}<br />
<br />
}<br />
<br />
}
it is a part of right control code
public partial class controls_RightControl : System.Web.UI.UserControl<br />
{<br />
<br />
protected void ddlTranslateSelect_SelectedIndexChanged(object sender, EventArgs e)<br />
{<br />
<br />
<br />
}<br />
}
--
"Success is simple. Do what's right, the right way, at the right time."
best regards,
tradakad
|
|
|
|
|
The method must be public as pmarfleet suggested
But i think that your question is how to call it
I hope this works (Let me know if it does):
Inside rightcontrol
dim ctrl as leftcontrol = me.page.findcontrol("leftcontrolname")
ctrl.somefunc(1)
By the way, just translate it to c#
Alexei Rodriguez
|
|
|
|
|
Hi, AlexeiXX3
I tryed to do it.
I can found dropDowList control but I cant occur its SelectedIndexChangeMethod. and FillDt() is not that dropDownListControl method
I think may be I should move FillDt() into index.apsx.sc ad to try call it in way Page.FillDt() ?hm.. may should I try.
--
"Success is simple. Do what's right, the right way, at the right time."
best regards,
tradakad
|
|
|
|
|
Where you able to declare the leftcontrol inside rightcontrol?
If so, you should be able to call any public method inside leftcontrol
Alexei Rodriguez
|
|
|
|
|
Hi, Alexei!
I'm not able to do it offcourse - because I tryed it at first.
but I have solved this task - i did so:
into index.aspx I wrote
protected void Page_Init(object sender, EventArgs e)<br />
{<br />
<br />
controls_left ctrRight = ctrRightControl;<br />
controls_right ctrLeft = ctrLeftControl;<br />
<br />
ctrRight.RefreshSuraEvent += new controls_right.EventHandler(controls_left_DoSmth);<br />
}<br />
<br />
private void controls_left_DoSmth(object sender, EventArgs e)<br />
{<br />
ctrRightControl.NeedingMethod();<br />
ctrRightControl.ddlSura.SelectedItemIndex = 0;<br />
<br />
}
into leftCOntol code
public delegate void EventHandler(Object obj, EventArgs e);<br />
<br />
public event EventHandler RefreshEvent;<br />
<br />
protected void RefreshList()<br />
{<br />
if (RefreshEvent != null)<br />
{<br />
RefreshEvent(this, new EventArgs());<br />
}<br />
}<br />
<br />
protected void ddlReciterSelect_SelectedIndexChanged(object sender, EventArgs e)<br />
{<br />
<br />
<br />
<br />
RefreshList();<br />
<br />
}
now all is ok. it is solved. thanx to allfor the help
--
"Success is simple. Do what's right, the right way, at the right time."
best regards,
tradakad
|
|
|
|
|
i m developing a web-application for domain-provider...i want to check whether the domain is already registered or not using ajax functionality...i m using ms-access as backend....i m very new to ajax so please someone help...how can i check domain name availibility using ajax...
|
|
|
|