Forum  General Visual ...  Install It!  regarding default document setting in IIS
Previous Previous
 
Next Next
New Post 10/2/2008 1:22 AM
  pateal
37 posts
No Ranking




regarding default document setting in IIS 

Hi,

In previous days we done asp.net projects in that one we always use loginpage.aspx as start up page in iis. So then if i open just like as http://localhost/myporject/  automotically it will open http://localhost/myproject/loginpage.aspx by default as i set loginpage.aspx in default documents tab in iis.

But now in my visualwebgui project mainform.wgx is my startup page. But even i set mainform.wgx as startup page  . I have to give that startup page manually in browser. i.e. my webgui project url is http://localhost/visualwebgui/    . If I open that url it directly going to directory browsing  then i am giving as http://localhost/visualwebgui/mainform.wgx  then i am getting my project.

Is there any solutins found regarding this one.

Plz  .

As I am webserver administrator  i have to know and resolve it.


Regards, praveen.chitturi,
 
New Post 10/2/2008 11:38 PM
  pateal
37 posts
No Ranking




hiRe: regarding default document setting in IIS 

HI Mr.palli and Mr.albert and some other guys who have rich experience regarding visualwebgui confiugration and IIS. Please help me out form this one. This is really a critical problem . I want to open default document directly with out typing form1.wgx in iis.  Eventhough I am placing form1.wgx in default document tab. and enabling directorybrowsing .  but eventhough i am typing http://localhost/visualwebgui/ it is browsing the directory . Everytime I have to type http://localhost/visualwebgui/form1.wgx  which is so uneasy task.


Regards, praveen.chitturi,
 
New Post 10/2/2008 11:45 PM
  jayhobbs
1644 posts
1st Level Poster




Re: hiRe: regarding default document setting in IIS 
Hi Praveen,

You can use default.aspx. The VB code behind is simple.

Partial Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Me.Response.Redirect("http://myhost.com/mainform.wgx", False)
    End Sub
End Class
Cheers

Jay
 
New Post 10/3/2008 1:07 AM
  pateal
37 posts
No Ranking




Re: hiRe: regarding default document setting in IIS 

I don't want to use such type of methods for default document browsing such as vbscript , http redirect from one url to another url  and adding .aspx handler under system.web. I am looking for a perfect or pakka solution so that i am able to open default document directly.

 

no redirections nothing at all.

 

I am looking for a official solution.

Any way thanks Mr.jayhobbs me also presently using like that only i.e. url redirection to particular page.


Regards, praveen.chitturi,
 
New Post 10/3/2008 4:40 AM
  pateal
37 posts
No Ranking




Re: hiRe: regarding default document setting in IIS 

 

<

 I am adding the above line under httphandlers unders system.web in web.config file .

So now i am able to open http://localhost/visualwebgui/form1.aspx and http://localhost/visualwebgui/form1.wgx perfectly.

Now the problem is I am trying to give form1.aspx as default document  and then i am opening the url as http://localhost/visualwebgui/  it is opening directroy  ie.. directory browsing.

can any body help me out from this one default document problem

 

add verb="*" path="*.aspx" type="Gizmox.WebGUI.Server.Router,Gizmox.WebGUI.Server,Version=3.0.5701.0,Culture=neutral,PublicKeyToken=3de6eb684226c24d" />

Regards, praveen.chitturi,
 
Previous Previous
 
Next Next
  Forum  General Visual ...  Install It!  regarding default document setting in IIS
Assessment Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS