Moris' Note Book

本博客所有内容皆收集于网上,非本人原创,非心情日记,非研究心得,只是自己浏览的东西的收集
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

some problem in try asp.net

Posted on 2006-11-01 22:40  moris  阅读(101)  评论(0)    收藏  举报

1. when copy asp.net files to your site, you must not to use the virtual directory, other wise you will get strange error, you must create the dir as application. do as following:

a. go to control panel->administration tools->computer management

b. internet information service-> website-> default website-><your site>

c. right click to load the property page. in directory tab, if  "application name" is gray, click "create"

2. ASP.NET web site administration tool problem

 When using ASP.NET 2.0 web site configuration tool, you encounter the following exception.

An error was encountered. Please return to the previous page and try again.

 

In the meanwhile, If clicking the link “How do I use this tool” in that time, you will face the following strange message.

Tool has Timed out.

 

=== REASON & HOW TO FIX IT ====

The issue might be that you have a ‘#’ symbol in your web site path. The physical path of your web site application is passed into the URL of the ASP.NET web administration tool. As we know, the ‘#’ symbol of the URL is used as an anchor, which will cause the above strange exception in this case. This symbol terminates the URL and tries to navigate to an anchor in the page. Of course, the administration tool crashes.

 

What you need to do is to remove the ‘#’ symbol in your web site path.

( refer from Rickie Lee's blog)