Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. sharepoint site as a subsite under a asp.net site

sharepoint site as a subsite under a asp.net site

Scheduled Pinned Locked Moved SharePoint
helpquestioncsharpasp-netsharepoint
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sunit_82
    wrote on last edited by
    #1

    I have asp.net hosted at my domain which i access using a url like http://www.xyz.com. I have other web applications which are under the root web application in virtual directories which can be accessed using a url like http://www.xyz.com/subsite1 etc. Now i want to have a sharepoint site as a subsite under my root website which i can access using a url like http://www.xyz.com/sharepointsite1. I have installed sharepoint 2010 server.This installed a new website Sharepoint-80 and The central administration site. I have changed the Sharepoint-80 website setting to point to wwwwroot where my asp.net wesite and its subsite files are located. Now if i make a new site collection in my sharepoint site and it gets successfuly created. But when i browse it i get following error. HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. My webserver is also a domain controller. How do i resolve this issue? And how do i achieve the main aim of having a sharepoint site as a subsite under my main website? Thanx

    s.a.w.

    N 1 Reply Last reply
    0
    • S sunit_82

      I have asp.net hosted at my domain which i access using a url like http://www.xyz.com. I have other web applications which are under the root web application in virtual directories which can be accessed using a url like http://www.xyz.com/subsite1 etc. Now i want to have a sharepoint site as a subsite under my root website which i can access using a url like http://www.xyz.com/sharepointsite1. I have installed sharepoint 2010 server.This installed a new website Sharepoint-80 and The central administration site. I have changed the Sharepoint-80 website setting to point to wwwwroot where my asp.net wesite and its subsite files are located. Now if i make a new site collection in my sharepoint site and it gets successfuly created. But when i browse it i get following error. HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. My webserver is also a domain controller. How do i resolve this issue? And how do i achieve the main aim of having a sharepoint site as a subsite under my main website? Thanx

      s.a.w.

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      sunit_82 wrote:

      My webserver is also a domain controller.

      Unless this is a limited development environment it is not recommended or optimal to have both on the same machine.

      sunit_82 wrote:

      the main aim of having a sharepoint site as a subsite under my main website?

      You can't. SharePoint takes over as the root site in IIS when installed because it uses port 80 for a number of things. If you need to have both SharePoint and normal ASP.NET sites on the same machine then create a separate web application for both and use host headers to configure the urls as desired.


      Failure is not an option; it's the default selection.

      C 1 Reply Last reply
      0
      • N Not Active

        sunit_82 wrote:

        My webserver is also a domain controller.

        Unless this is a limited development environment it is not recommended or optimal to have both on the same machine.

        sunit_82 wrote:

        the main aim of having a sharepoint site as a subsite under my main website?

        You can't. SharePoint takes over as the root site in IIS when installed because it uses port 80 for a number of things. If you need to have both SharePoint and normal ASP.NET sites on the same machine then create a separate web application for both and use host headers to configure the urls as desired.


        Failure is not an option; it's the default selection.

        C Offline
        C Offline
        Christopher Stratmann
        wrote on last edited by
        #3

        Mark is right. I dont think you can do just change the setting within IIS to point to a different directory. How many pages are you going to have within your root site? Is it just the home page that is within the different directory or is it a bunch of pages within the root directory?

        Chris

        N 1 Reply Last reply
        0
        • C Christopher Stratmann

          Mark is right. I dont think you can do just change the setting within IIS to point to a different directory. How many pages are you going to have within your root site? Is it just the home page that is within the different directory or is it a bunch of pages within the root directory?

          Chris

          N Offline
          N Offline
          Net Jim
          wrote on last edited by
          #4

          Remember you are entering a SharePoint env. that does not deal in sql server unless you have BCS, so your ASP.Net site won't be able to authenticate or anything. Plus the ASP.Net site is not communicating with it's parent site for FBA anyway because it doesn't speak the SharePoint API. You are dropping in dead pages in SharePoint. You could fake it with another machine in your LAN that you setup in AD as a subdomain. That would be your only alternative. This submachine could be virtual under lighter traffic if the parent hardware has the resources.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups