Results 1 to 6 of 6

Thread: Deploying Web Page

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2002
    Location
    Tulsa,Ok
    Posts
    262

    Deploying Web Page

    Guys,

    I have looked all through here and read the books I have and searched the internet. I must be overlooking something but I can not get my stuff to deploy. I am not a web developer but my projects are moving more this way so forgive me if my questions are kinda dumb.

    When I point a browser to it, I get an error page can not be displayed. I do have indexing turned on so it should have found the pages by now.

    so...

    1. Do I need to use the setup project?

    2. Right now, I have the *.aspx, *.ascx, and web.config in a folder and the .dll in the bin folder. Does the bin folder need located in the same folder as the page or a different folder?

    3. The server is Win 2003, is there anything special I have to do to it?

    Thanks in advance guys,

    Jerel

  2. #2
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092
    1. no you don't
    2. just checking..........when you say 'folder' you are talking about a directory on a webserver and not just on a hard-drive?
    But sounds like you've got the right files in the right place otherwise.
    3. Sorry don't know much about Windows Server 2003 but have you checked it's running a web server and has the .net framework installed?

    A page cannot be displayed error usually means that the page can't be found rather than an error with your app.

  3. #3
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Right click on the folder, and click properties.

    Go to Web Sharing and ensure it is being shared by IIS.

    If that is good, then you need to open IIS manager. Since 2003 doesn't enable asp.net by default, you will have to enable that. I think it is in the services folder, but I could be mistaken as I don't have 2003 right here with me.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2002
    Location
    Tulsa,Ok
    Posts
    262
    It was a combination of a few things.

    Fishcake - 2003 by default ships with the .Net framework, both I belive v1.1 for sure. I did have it on the hard drive in the published web folder.

    Hellswrath - You are right, I had to enable asp.net to run under IIS. It was in the Services folder in IIS

    Here is what I did to fix it.

    Registered asp.net with IIS.
    Authorized asp.net to run within IIS
    Added aspnet user authority to run in the directories

    All of the above allowed the new pages to run. Our site is a combination of .asp and now asp.net pages. Hopefully, it will be all asp.net soon.

    Thanks for all your replies,

    Jerel

  5. #5
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Added aspnet user authority to run in the directories
    What exactly did you do for that? I got a client that is having a problem, and I haven't ran across having to do this before.

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2002
    Location
    Tulsa,Ok
    Posts
    262
    I changed the machine.config file and added support for the domain and I also granted permission in the security tab for the folder on the web site.

    Before I added this I was getting the error, not allowed to view this page. Is that error you are getting?

Posting Permissions

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



Click Here to Expand Forum to Full Width