Unable to publish NerdDinner locally.

Last post 12-13-2009 11:25 AM by hamid.darabi. 1 replies.

Sort Posts:

  • Unable to publish NerdDinner locally.

    12-13-2009, 7:20 AM
    • Member
      point Member
    • jj1234
    • Member since 11-26-2008, 11:32 PM
    • Posts 1

    I am having a problem getting NerdDinner to run on my local machine, it works fine when run from within Visual Studio 
    but not when I try to deploy it to IIS. Here's what I am trying:
    I have Windows Vista, Visual Studio 2008 SP1 with ASP.NET MVC 1.0, and IIS 7.0
    1) Downloaded full source code from http://nerddinner.codeplex.com/
    2) Opened solution in Visual Studio, ran it with ctrl-F5 , it works fine.
    3) Right-clicked project and selected Publish. Set target location to c:\development\test\nerddinner
    4) In IIS Manager - Added new application Alias=NerdDinner , Physical path=c:\development\test\nerddinner
    5) Browsed to http://localhost/nerddinner  , The home page opens but none of it works, eg. all the ajax stuff, like 
    the map, is missing, the database connection doesn't work, the image on the About page is missing. Having looked at 
    the HTML source it looks like all the relative URL's of the javascript,images,etc are wrong.
    Can anyone tell me where I'm going wrong?

    I am having a problem getting NerdDinner to run on my local machine, it works fine when run from within Visual Studio but not when I try to deploy it to IIS. Here's what I am trying:

    I have Windows Vista, Visual Studio 2008 SP1 with ASP.NET MVC 1.0, and IIS 7.0

    1. Downloaded full source code from http://nerddinner.codeplex.com/
    2. Opened solution in Visual Studio, ran it with ctrl-F5 , it works fine.
    3. Right-clicked project and selected Publish. Set target location to c:\development\test\nerddinner
    4. In IIS Manager - Added new application Alias=NerdDinner , Physical path=c:\development\test\nerddinner
    5. Browsed to http://localhost/nerddinner  , The home page opens but none of it works, eg. all the ajax stuff, like the map, is missing, the database connection doesn't work, the image on the About page is missing. Having looked at the HTML source it looks like all the relative URL's of the javascript,images,etc are wrong.

    Can anyone tell me where I'm going wrong?

    Thanks.

  • Re: Unable to publish NerdDinner locally.

    12-13-2009, 11:25 AM
    Answer
    • Member
      52 point Member
    • hamid.darabi
    • Member since 10-28-2009, 11:00 AM
    • Iran
    • Posts 6

    take a look at http://www.asp.net/learn/mvc/tutorial-08-cs.aspx

    perhaps you are using IIS in classic mode 

Page 1 of 1 (2 items)