Professional Web Applications Themes

creating new project in VS.NET - ASP.NET General

I am trying to figure out how to get VS.Net and IIS6 to work together... I am working in domain nowhere.local. I have a W2K3 server named server1.nowhere.local that is running IIS6. I want it to host a web site named jws.nowhere.local. Within II6 of server1, I created a new web site as to allow one to serf to jws.nowhere.local and see the simply default.htm doc. Then I have shared that directories root such that the path to the default file is: \server1\jws$\default.html Then when I try to create a new ASP.NET Web Application: http://jws.nowhere.local/calendar With a file share path ...

  1. #1

    Default creating new project in VS.NET

    I am trying to figure out how to get VS.Net and IIS6 to work
    together... I am working in domain nowhere.local. I have a W2K3
    server named server1.nowhere.local that is running IIS6. I want it
    to host a web site named jws.nowhere.local. Within II6 of server1,
    I created a new web site as to allow one to serf to
    jws.nowhere.local and see the simply default.htm doc. Then I have
    shared that directories root such that the path to the default file
    is: \\server1\jws$\default.html

    Then when I try to create a new ASP.NET Web Application:

    http://jws.nowhere.local/calendar

    With a file share path of:

    \\server1\jws$\calendar

    -------------- I get this error --------------

    The default Web access mode for this project is set to file share,
    but the project folder at 'http://jws.nowhere.local/calendar' cannot
    be opned with the path '\\server1\jws$\calendar'. The error
    returned was:

    Unable to create Web project 'calendar'. The file path
    '\\server1\jws$\calendar' does not correspond to the URL
    'http://jws.nowhere.local/calendar'. the two need to map to the
    same server location

    -------------- error --------------

    The file path and the URL do point to the same location. What do I
    need to do to get this setup correctly?

    Sam
    Sam Guest

  2. #2

    Default Re: creating new project in VS.NET

    "Sam Carleton" <com> wrote in message
    news:kY92b.30480$columbus.rr.com... 

    In general, VS.NET wants to create web projects at
    http://localhost/webproject. It's not very good with anyplace else.
    --
    John Saunders
    Internet Engineer
    com


    John Guest

  3. #3

    Default Re: creating new project in VS.NET

    That's not really correct...

    Now back to Sam's question -- Sam, since you mention this is IIS6 you're
    dealing with... I also guess you might be using VS 2002... in which case,
    you will need to ensure that .tmp extension is allowed in IIS.

    VS places a file with .tmp extension in that file share, and then makes an
    HTTP request for that same name using that URL shown in the error. If it
    does not receive the same file, it throws the error you're seeing.

    ..tmp extension is prohibited in IIS6 by default, so you'll have to enable it
    first.

    PS. VS 2003 uses .htm extension, hence you would not run into this problem.
    If you're using 2003, then you'd probably need to double-check that the
    locations do really match.



    "John Saunders" <com> wrote in message
    news:phx.gbl... 
    >
    > In general, VS.NET wants to create web projects at
    > http://localhost/webproject. It's not very good with anyplace else.
    > --
    > John Saunders
    > Internet Engineer
    > com
    >
    >[/ref]


    Rad Guest

  4. #4

    Default Re: creating new project in VS.NET

    Strange I have projects in all sorts of places and VSNet has absolutely no
    problems at all managing them.


    "John Saunders" <com> wrote in message
    news:phx.gbl... 
    >
    > In general, VS.NET wants to create web projects at
    > http://localhost/webproject. It's not very good with anyplace else.
    > --
    > John Saunders
    > Internet Engineer
    > com
    >
    >[/ref]


    Jason Guest

  5. #5

    Default Re: creating new project in VS.NET

    Rad,
    How do you make .tmp extension allowed in IIS? Mapping?



    "Rad" <spam.mail.com> wrote in message
    news:sva2b.19846$southeast.rr.com... 
    it 
    problem. 
    > >
    > > In general, VS.NET wants to create web projects at
    > > http://localhost/webproject. It's not very good with anyplace else.
    > > --
    > > John Saunders
    > > Internet Engineer
    > > com
    > >
    > >[/ref]
    >
    >[/ref]


    MS Guest

  6. #6

    Default Re: creating new project in VS.NET

    This is the information I got from Microsoft when fighting this battle. I'm
    only repeating it.
    --
    John Saunders
    Internet Engineer
    com

    "Jason (MFT1)" <pls> wrote in message
    news:phx.gbl... 
    > >
    > > In general, VS.NET wants to create web projects at
    > > http://localhost/webproject. It's not very good with anyplace else.
    > > --
    > > John Saunders
    > > Internet Engineer
    > > com
    > >
    > >[/ref]
    >
    >[/ref]


    John Guest

  7. #7

    Default Re: creating new project in VS.NET

    On Sun, 24 Aug 2003 at 22:14 GMT, MS News (MS ILM) wrote:
     

    I just did some digging around and discovered that all you have to
    do is add .tmp to the MIME types of the server. In other words,
    open up properties on the server, click on the MIME Types... button
    and add .tmp.

    Sam
    Sam Guest

  8. #8

    Default Re: creating new project in VS.NET

    This one s :) It's actually a bug in VS... you DO have permissions --
    you can confirm that by adding another type of file to the project (say an
    xml file.. or something like that.. whatever's available on the menu)

    I think there was a fix for it... you can call into support to request it
    (no charge of course).

    Optionally, you can use FrontPage Server Extensions instead -- they don't
    exhibit this particular problem.


    "Sam Carleton" <com> wrote in message
    news:EHr2b.82135$columbus.rr.com... [/ref]
    case, [/ref]
    an [/ref]
    it [/ref]
    enable it [/ref]
    problem. 
    > >
    > >[/ref]
    >
    >
    > --
    > See my links engine for a collection of sites that
    > might be of interest to you. Your additions will
    > make this engine more powerful global resource.
    > http://www.miltonstreet.com/scarleton/links/[/ref]


    Rad Guest

Similar Threads

  1. Creating new Web Service project template
    By Carole MacDonald in forum ASP.NET Web Services
    Replies: 1
    Last Post: May 22nd, 03:04 AM
  2. Error Creating ASP.Net Project
    By J in forum ASP.NET General
    Replies: 3
    Last Post: August 7th, 02:33 AM
  3. Creating a new project on a remote server
    By rr in forum ASP.NET General
    Replies: 1
    Last Post: August 5th, 11:04 AM
  4. Replies: 10
    Last Post: August 3rd, 11:21 PM
  5. Replies: 0
    Last Post: July 22nd, 12:56 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139