Friday, September 28, 2018

Adxstudio portal for dynamics 365-v9


    If you need to upgrade your Dynamics CRM on-premise or Dynamics 365-v8 to Dynamics 365-v9 and still want to Adxstudio portal, you need to follow following steps,

  1. Download and install Adxstudio Portals 7.0.0026 (https://community.adxstudio.com/products/adxstudio-portals/releases/adxstudio-portals-7/download/)
    If you get an error while installing, please go to my previous article and follow the steps. (http://thusithasblog.blogspot.com/2018/04/issue-while-installing-adxstudio-portal.html)
  2. Open the Adxstudio installed folder location(C:\Program Files (x86)\Adxstudio\XrmPortals\7.0.0026) and copy MasterPortal  folder & AdxstudioPortals.sln file from Sample folder and paste in to your's.Copy Framework folder and replace yours.
    (
    If you are upgrading form Dynamics 365-V8, you can skip this step.)
  3. Now open the solution AdxstudioPortals.sln.
  4. Compile it and make sure you don't get any errors, you should not as long as you have kept the directory as above.
  5. Change target framework to 4.5.2
  6. Microsoft.Xrm.Sdk.Proxy and Microsoft.Crm.Sdk dlls from v9 sdk and paste them into the Framework folder.
  7. Open your web.config and change URL, username and password to point it to your new instance. And also websiteName to your website that you have created in Dynamics 365 - v9.
  8. Change targetFramework to 4.5.2 in web config.
  9. Add following dependentAssemblies to web config.
  10. <dependentAssembly>
     <assemblyIdentity name="Microsoft.Xrm.Sdk" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
     <bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0"/>
    </dependentAssembly>
    <dependentAssembly>
     <assemblyIdentity name="Microsoft.Crm.Sdk.Proxy" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
     <bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0"/>
    </dependentAssembly>

  11. Build the solution.
Cheers!!! Now you are good to go!