I have done the sample code "Security" in the package "101 Visual Basic and C# Code Samples" (http://www.microsoft.com/downloads/d...isplaylang=en). The sample "Security" can work well in local IIS, but when I upload to Free ASP.NET 2.0 Beta 2 Hosting (https://www.hostmysite.com/aspnet/) ,the sample "Security" cannot work , why? I think maybe there are some problem with SQL 2005 Express database.

The following is content in web.config

<add name="App_DataConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True"
providerName="System.Data.SqlClient" />

The error info when I try to login into system.

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Please try the following:

Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)


Technical Information (for support personnel)

Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.