Home > CRM > Missing ‘Connect to Dynamics CRM Server’ from visual studio solution

Missing ‘Connect to Dynamics CRM Server’ from visual studio solution

I recently created a new Visual studio solution using Dynamics CRM 2013 Template.

Dynamics CRM 2013 Template

Dynamics CRM 2013 Template

So I get “Connect to Dynamics CRM Server” window whenever I open the solution, which allows me to connect my CRM Organization.

Connect to Dynamics CRM Server

Connect to Dynamics CRM Server

Later I added a new “Class Library” project to my solution.

Now surprisingly when I open the solution, I am not getting “Connect to Dynamics CRM Server” window also from ‘Tools’ Menu.

Reason

  • I opened my solution file (.sln) using notepad and observed below ‘Global Section’ is missing and overridden by newly added Project details.

GlobalSection(CRMSolutionProperties) = preSolution

SolutionIsBoundToCRM = True

EndGlobalSection

Fix

  • Add the ‘Global Section’ back to solution file using Notepad and Save it.
Global Section

Global Section

🙂

Advertisement
  1. October 3, 2016 at 8:22 PM

    Nice one did wonder why that always happened!

    • October 4, 2016 at 11:20 AM

      One of the reason could be, when you open the solution with VS 2013 or higher versions and save the solution.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: