- 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,
- 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) - 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.) - Now open the solution AdxstudioPortals.sln.
- Compile it and make sure you don't get any errors, you should not as long as you have kept the directory as above.
- Change target framework to 4.5.2
- Microsoft.Xrm.Sdk.Proxy and Microsoft.Crm.Sdk dlls from v9 sdk and paste them into the Framework folder.
- 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.
- Change targetFramework to 4.5.2 in web config.
- Add following dependentAssemblies to web config.
- Build the solution.
<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>
Cheers!!! Now you are good to go!