孟老大错误号503
在IIS里没有相应服务,这是我一个同事说的,因为我也没有安装sharepoint,具体是什么错误也不是很清楚,您装sharepoint之后是不是又把IIS设置了一下?如果是,能否告诉我怎么操作的?

解决方案 »

  1.   

    安装完sharepoint后
    在页面中将网站目录选择为administrator,不要选择默认网站
    否则asp.net页面就无法执行了你的sharepoint的页面应该是http://localhost:90
    端口号是sharepoint给的
      

  2.   

    在页面中将网站目录选择为administrator,不要选择默认网站
    ???
    是说IISAdmin吗?
    能否再详细一点?
      

  3.   

    顶一下,有没有这方面的连接?
    郁闷ing...........
      

  4.   

    如果 sharepoint 用了默认的80端口的 site , 就不能要上面建 asp.net application project 了.
    建议安装sharepoint 使用server farm 模式安装, 之后新建一个不是 80(如 90)的site, 再extend这个 90的 site 作为 sharepoint 的site.有很多人在一知半解情况下安装 sharepoint, 而且 sharepoint 的指导性不好, 所以很多成功率是 20% 的.
      

  5.   

    在 sharepoint website 上建asp.net application 並不是我們一般建 asp.net project 一樣建, 具體看:Getting Started with Customizing a SharePoint Web Site in Visual Studio .NETThe Microsoft® Visual Studio® .NET integrated development environment (IDE) offers the premier environment for customizing a site based on Microsoft Windows® SharePoint™ Services. You need to take certain steps in order to use this environment when customizing a SharePoint Web site. These include using a specific path when creating a Web application, setting a reference to Microsoft.SharePoint.dll, and may include adding a Multipurpose Internet Mail Extensions (MIME) type in Internet Information Services (IIS).Adding a new MIME type
    Since IIS v6 disables requests to .tmp files, if you are using Visual Studio .NET Version 7.0.nnnn you need to define a MIME type in IIS before you can create a custom Web application on a SharePoint Web site through the Visual Studio .NET IDE. To define the MIME type, perform the following steps:On the Windows Start menu, point to Administrative Tools and click Internet Information Services (IIS).
    In the left pane of the Microsoft Management Console, expand the branches of the console tree.
    Right-click Web Sites and click Properties on the shortcut menu that appears.
    In the Web Sites Properties dialog box, select the HTTP Headers tab, and click MIME Types.
    In the MIME Types dialog box, click New.
    In the MIME Type dialog box, type .tmp in the Extension text box, and type common/type in the MIME type text box.
    Click OK in each dialog box until you exit the Web Sites Properties box.Creating a Web application
    Creating a Web application in Visual Studio .NET from a remote computer involves an extra step in the procedure required for creating a Web application in Visual Studio .NET when it is installed on the server that is running Windows SharePoint Services. To create a custom Web application within the context of a SharePoint deployment, perform the following steps:
    On the File menu, point to New and then click Project.
    In the New Project dialog box, select Visual Basic Projects or Visual C# Projects in the Project Types box, depending on which language you prefer.
    In the Templates box, select ASP.NET Web Application.
    In the Location box type the following path: 
    http://Server_Name/_layouts/Web_Application_NameThis path includes the name of your server, the layouts directory (_layouts), and the name of your custom Web application. Creating the custom application in the _layouts directory makes the project accessible to all sites on the server.
    Note  To create a Web application on the administrative port of the deployment, type the following path: http://Server_Name:Administrative_Port_#/Web_Application_NameClick OK.
    At this point, if you are working from a remote computer, a Web Access Failed dialog box appears, telling you that the file path does not correspond to the URL you previously specified in the New Project dialog box. Perform the following steps:Under What would you like to do?, ensure that Retry using a different file share path is selected and type the following path in the Location box:
    \\Server_Name\Local_Drive$\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\TEMPLATE\LAYOUTS\Web_Application_NameNote  Type the following path to create an application on the administrative port: \\Server_Name:Administrative_Port_#\Local_Drive$\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\TEMPLATE\ADMIN\1033\Web_Application_NameClick OK.Setting a reference to the Windows SharePoint Services assembly
    After creating a new project, add a reference to the Windows SharePoint Services assembly in order to implement Intellisense features in the Object Browser and Code Editor. The process for setting a reference varies, depending on whether you are using Visual Studio .NET on a remote computer or on the server running Windows SharePoint Services. To add a reference to the assembly, perform the following steps:In Solution Explorer, right-click the References node and click Add Reference on the shortcut menu. 
    If you are using Visual Studio .NET on the server, perform the following steps:On the .NET tab of the Add Reference dialog box, select Windows SharePoint Services in the list of components, click Select, and then click OK.
    If you are using Visual Studio .NET on a remote computer, perform the following steps:Click Browse, and in the Select Component dialog box, navigate to the Local_Drive\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\ISAPI folder on the server running Windows SharePoint Services. You may instead prefer to first copy Microsoft.SharePoint.dll from this folder to a local drive on the remote computer and then open this local copy of the DLL in the Select Component dialog box.
    Select Microsoft.SharePoint.dll and then click Open.
    In the Add Reference dialog box, click OK.Intellisense
    Within the integrated development environment of Visual Studio .NET, Intellisense features are provided for namespaces in the Windows SharePoint Services assembly once a reference has been set to this assembly. The file that provides the information used by Intellisense for Windows SharePoint Services is Microsoft.SharePoint.xml, which is installed in the Local_Drive:\\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\ISAPI folder on each front-end Web server in the deployment. For updates to this file, check the Microsoft SharePoint Products and Technologies Developer Center.©2003 Microsoft Corporation. All rights reserved.
      

  6.   

    英文太差了,还是没有看明白。
    sharepoint已经安装,SharePoint 管理中心 TCP端口是 90 
    默认端口 80我改什么地方才能使我的asp.net项目可用?
      

  7.   

    解决办法:1.在IIS中默认的站点中点属性,在弹出的属性对话框中选ISAPI filters,删除掉sharepoint的过滤dll.2.不过这样就导致你新建的portal不能用了,可以删除你新建的portal,再在iis中新建一站点,以后在该站点下建你的portal.
      

  8.   

    TO  Azmore(漂流)
    按你说的,是可以打开.net项目了,但是不支持调试。
    运行不:(当前信任级别设置不支持调试。 
    说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.Web.HttpException: 当前信任级别设置不支持调试。源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。  
      

  9.   

    在sharepoint 管理中心,选择"配置虚拟服务器设置",选择"默认网站"-->"从虚拟服务器上删除 Windows SharePoint Services ",确定后,在IIS中使用frontpage扩展就可以了。
      

  10.   

    多谢,已经解决了。
    http://expert.csdn.net/Expert/topic/2996/2996272.xml?temp=.445965