locked
CRM Extension on ISV Folder RRS feed

  • Question

  • Hi every body,
    i have a web solution that contain some aspx page and a config file, those pages access to CRM using the webservice and another database.
    Now this pages is deployed in a second website but all aspx pages thare are used into MSCRM using IFRAME.
    My question is, its possible to deploy the website on the ISV folder with all files (config,bin..).
    Wednesday, May 13, 2009 11:47 AM

Answers

  • Hi, Balhato.

    1. In VS on Web Site Project press right button -> Publish. Select some Folder.
    2. Go to the MS CRM web site folder.
    3. If subfolder ISV doesn't exist - create it.
    4. Open ISV folder. Create there folder with name of organization for which custom aspx page is developed.
    5. Open this folder. Copy into it aspx and config file of developed and published we site.
    6. Go to th root folder of web site. Find the bin folder and open it.
    7. Copy dll file into it.

    Test you developed web Page =) I hope this instructions will help you.
    Truth opens to prepared mind. My blog - http://a33ik.blogspot.com
    Wednesday, May 13, 2009 12:18 PM
    Moderator

All replies

  • Hi, Balhato.

    1. In VS on Web Site Project press right button -> Publish. Select some Folder.
    2. Go to the MS CRM web site folder.
    3. If subfolder ISV doesn't exist - create it.
    4. Open ISV folder. Create there folder with name of organization for which custom aspx page is developed.
    5. Open this folder. Copy into it aspx and config file of developed and published we site.
    6. Go to th root folder of web site. Find the bin folder and open it.
    7. Copy dll file into it.

    Test you developed web Page =) I hope this instructions will help you.
    Truth opens to prepared mind. My blog - http://a33ik.blogspot.com
    Wednesday, May 13, 2009 12:18 PM
    Moderator
  • Hi a33ik, i deployed the website solution in the ISV folder but when i try to open the Default.aspx page the server return the following error:

    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

    Source Error:


    Line 50:             ASP.NET to identify an incoming user.
    Line 51:         -->
    Line 52:         <authentication mode="Windows" />
    Line 53:         <!--
    Line 54:             The <customErrors> section enables configuration
     

    Wednesday, May 13, 2009 2:30 PM
  • Hi, Balhato.

    Here my default web.config for aspx pages for MS CRM 4.0. It seems that you haven't change it:

    <?xml version="1.0"?>
    <configuration>
    	<appSettings>
    	</appSettings>
    	<connectionStrings/>
    	<system.web>
    		<httpModules>
    			<add name="MapOrg" type="Microsoft.Crm.MapOrgEngine, Microsoft.Crm, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    			<add name="CrmAuthentication" type="Microsoft.Crm.Authentication.AuthenticationEngine, Microsoft.Crm, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    		</httpModules>
    		<pages buffer="true" validateRequest="false" enableViewState="true"/>
    		<identity impersonate="true"/>
    		<compilation debug="true" defaultLanguage="c#">
    			<assemblies>
    				<add assembly="Microsoft.Crm.Sdk, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    				<add assembly="Microsoft.Crm.SdkTypeProxy, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    			</assemblies>
    		</compilation>
    	</system.web>
    </configuration>
    


    Truth opens to prepared mind. My blog - http://a33ik.blogspot.com
    Wednesday, May 13, 2009 2:33 PM
    Moderator
  • I just create a new website on VS and i deplyed to the ISV Folder into CRM Server, the ISV Folder contain the following files:

    Default.aspx
    bin
    PrecompiledApp.config
    web.config

    why i need to modify it?
    Wednesday, May 13, 2009 2:52 PM
  • Hi, Balhato.

    This must be done for successfull deploy of your custom page and integration your page with existing MS CRM Web Site .

    Truth opens to prepared mind. My blog - http://a33ik.blogspot.com
    Wednesday, May 13, 2009 3:10 PM
    Moderator
  • bookmark
    韓建興 http://jamson.cnblogs.com
    Thursday, May 14, 2009 2:19 PM