Why can't the sample "101 Visual Basic and C# Code Samples" work on remoting web site


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Why can't the sample "101 Visual Basic and C# Code Samples" work on remoting web site

  1. #1
    Join Date
    Aug 2005
    Posts
    37

    Why can't the sample "101 Visual Basic and C# Code Samples" work on remoting web site

    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


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





    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.

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    I recommend that you contact the tech support dept of your Web hosting service.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Visual Basic 6.0 Code Advisor
    By Patrick Troughton in forum .NET
    Replies: 0
    Last Post: 01-31-2003, 02:09 PM
  2. YAG's public status report - March 7, 2002
    By Seth Grossman [MSFT] in forum vb.announcements
    Replies: 1
    Last Post: 03-13-2002, 08:32 PM
  3. YAG's status report - Feb 14, 2002
    By Seth Grossman [MSFT] in forum .NET
    Replies: 1
    Last Post: 02-15-2002, 01:35 AM
  4. Visual Studio.NET Resources
    By Robert Scoble in forum ASP.NET
    Replies: 0
    Last Post: 07-20-2000, 05:11 AM
  5. Visual Studio.NET Resources
    By Robert Scoble in forum .NET
    Replies: 0
    Last Post: 07-20-2000, 05:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center