Previous Next

Thread: ASP Site Deployment

Last post 06-07-2007 3:52 AM by Zhao Ji Ma - MSFT. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 06-01-2007, 11:06 AM

    • otherdev
    • Not Ranked
    • Joined on 05-14-2007, 2:19 PM
    • Detroit, MI
    • Posts 2

    ASP Site Deployment

    I work for a small company (www.rofin-inc.com) and I redid our site using VWD-05 Express Edition as it provides masterpages and site navagtion.
    Also since it provides a good source for application development down the road.
    For now, I've made masterpages, site navigation (xml) and I have copied a database (.mdf) in the app_data folder.

    Intially I copied all files in my folder to the wwwroot. The problem that I am facing as you can see by visiting the page, is that the masterpage is not showing. I am assuming that the server with IIS 6.0 needs configuration.

    For deployment I have a Windows 2000 Server with IIS 6.0.
    Please suggest what I have to do in order for the asp.net 2.0 site that I've made... to work.
    Any links would be appreciated.
    Step by step instructions would be sought after.

    Addtionally please provide me with further development articles, suggestion to books.

    Thank you very much.

    Dev P.
  • 06-01-2007, 11:25 AM In reply to

    Re: ASP Site Deployment

    I'm assuming you mean ASP.NET and not ASP since Master Pages don't appear in ASP Classic.  I'm also assuming you're using Windows 2003, since it has IIS6 and Windows 2000 has IIS5.  You need to make sure the ASP.NET framework is installed, ASP.NET is enabled as a web service extension and that your application is in a folder that is configured as an application.  By default, the web site's root folder is.

    On the other hand, you say the "master page is not showing" which would be impossible to tell since in the browser you can't see a "Master Page" as such, it's all just HTML.  That and the fact that your site linked above is running on PHP means I really have no clue what is wrong or even whether you do.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 06-01-2007, 11:36 AM In reply to

    • otherdev
    • Not Ranked
    • Joined on 05-14-2007, 2:19 PM
    • Detroit, MI
    • Posts 2

    Re: ASP Site Deployment

    I have the site developed when I preview it with localhost I am able to see a fully functional site

    "View source" on the page.. my aspx page shows with only the content

    The code below is not executing... 

    <%@ Page Language="VB" masterpagefile="http:www.rofin-inc.com/MasterPage.master" ContentType="text/html" ResponseEncoding="iso-8859-1" %>

    Again I may not know configuration as much as you do and restate that I am new to this.

    Will try to enable the asp.net as a service extension.
    Thanks for your help.

    Dev P.
  • 06-01-2007, 1:50 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Lawrenceville, NJ
    • Posts 4,038
    • IIS MVPs

    Re: ASP Site Deployment

    I have only ever seen it as MasterPageFile="~/MasterPage.master"  so something doesn't look right there.

    The best place for ASP.NET support and advice is http://forums.asp.net/ ...

  • 06-02-2007, 7:41 PM In reply to

    Re: ASP Site Deployment

    As Tom mentioned, http://forums.asp.net is a good resource for what you are trying to do.  Here are some indepth Quickstarts for ASP.NET that might help some.

    http://quickstarts.asp.net/QuickStartv20/aspnet/

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield

    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 06-07-2007, 3:52 AM In reply to

    Re: ASP Site Deployment

    Hi,

    You'll need to publish your web site from local file system to IIS Server. You need to do it manually if you are using VWD.  

    Please create Web Application of the virtual directory in IIS Manager first and choose Build Web Site from the Build menu in VWD, and then be sure to upload the resulting /bin folder along with the rest of your site. You won't, however, need to upload our program source files; this may reduce the risk of theft or tampering.

     

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Page 1 of 1 (6 items)
Page view counter