CRM 2011: CRM developer toolkit problem
-
17. april 2012 11:13
Hi all,
I have set up a new windows 7 sp1 machine with a visual stuido 2010 sp1 , then I have installed crm developer toolkit, I have followed the instrusctions in the SDK to create plugins with it (which I have did alot of times before), but I have noticed that in the Connect to Dyanmics CRM server dialog and after selecting the organization the dialog window vanich, and when trying to add the plugin project to the package the adialog appears again and the same scenario is repeated, also I cannot find the CRM explorer dialog in the view menu.
Another Remark: I can't deploy any of my old plugins
Would anybody please help me to find what is wrong ??
Thanks and best regards..
- Redigeret af mo32 17. april 2012 11:14
Alle besvarelser
-
17. april 2012 14:26
Hi Mostafa,
This has happened to me as well. I have not identified the exact reason for this, but it appears to me that somehow there was something missing in the project or solution file so CRM developer toolkit doesn't identify the current solution (or project) as a toolkit solution (or project).
If you create a new solution again, this problem should be gone. Then you can merge your code.
It's a little strange, since when the problem happened to me, I was sure that I created the solution using the toolkit. I didn't give it much thought before I deleted the project. This could well be a bug of the toolkit.
Hope this helps.
Daniel Cai | http://danielcai.blogspot.com | @danielwcai
-
17. april 2012 14:30
Dear Daniel,
I have already tried your suggestion, I have also tried removing and re-installing the toolkit with no luck.
Please advise
Thanks and best regards...
-
17. april 2012 14:42
You know, I tried the exact same thing. It is a strange bug. Maybe you can try to reboot your computer before giving it another shot.I have also tried removing and re-installing the toolkit with no luck.
Daniel Cai | http://danielcai.blogspot.com | @danielwcai
-
17. april 2012 14:44Also tried to restart the computer before posting this thread :)
-
17. april 2012 14:48
hi Mostafa,
you can find CRM explorer dialog in the vs2010 tools Menu
My English is poor ,but I want help you!
windows live Id :hellohongfu@hotmail.com
-
17. april 2012 14:50
We should probably fire a bug report to Microsoft for this issue.
Maybe someone from Microsoft can chime in for this particular issue.
Thanks,
Daniel Cai | http://danielcai.blogspot.com | @danielwcai
-
17. april 2012 14:52
Hi hongfu,
The problem for us is, we cannot find the menu item when the solution file was opened.
Daniel Cai | http://danielcai.blogspot.com | @danielwcai
-
17. april 2012 14:53Dear Hongfu, I can'd find it, and your english is perfect by the way :)
- Redigeret af mo32 17. april 2012 14:54
-
17. april 2012 16:22I am also having same issue with SDK Toolkit
-
18. april 2012 01:00
If the crm developer toolkit can not work,then you can use the Plugin Registration Tool
windows live Id :hellohongfu@hotmail.com
-
24. april 2012 16:17
I have raised this issue as a bug at Microsoft connect site. Please vote if this has affected you.
Thanks,
Daniel Cai | http://danielcai.blogspot.com | @danielwcai
-
25. april 2012 16:08
I posted a work around at https://connect.microsoft.com/dynamicssuggestions/feedback/details/738563/developer-toolkit-doesnt-recognize-the-visual-studio-solution-created-by-the-toolkit-itself#tabs
It basically says to close your solution, add the following snippet to the top of the Global section in your solution (sln file), save and reopen (it will probably ask you to reconnect to your org).
GlobalSection(CRMSolutionProperties) = preSolution
SolutionIsBoundToCRM = True
EndGlobalSection
Louis
-
25. april 2012 16:12
Nice workaround, thanks Louis.I posted a work around at https://connect.microsoft.com/dynamicssuggestions/feedback/details/738563/developer-toolkit-doesnt-recognize-the-visual-studio-solution-created-by-the-toolkit-itself#tabs
It basically says to close your solution, add the following snippet to the top of the Global section in your solution (sln file), save and reopen (it will probably ask you to reconnect to your org).
GlobalSection(CRMSolutionProperties) = preSolution
SolutionIsBoundToCRM = True
EndGlobalSection
Louis
Daniel Cai | http://danielcai.blogspot.com | @danielwcai
-
25. april 2012 16:33
In which file exactly should I add this code ??
Please explain...
Thanks and best regards..
-
25. april 2012 16:34It's the .sln file.
Daniel Cai | http://danielcai.blogspot.com | @danielwcai
-
26. april 2012 12:32Thanks alot guys, now the CRM exporer appears, but I still cannot select the solution to which the plugin belongs.
-
23. maj 2012 10:07The above did not solve the problem, please advise...
-
2. august 2012 07:58I have the same problem. When I try to connect to CRM from Visual Studio, after I have chosen organization, the window disappear and it's over. Basically, I cannot connect to CRM :-( have somebody found solution for this problem?
Edo
-
12. september 2012 04:00
have the same problem both in VS 2010 and VS 2012. All of the solutions above are not working for me :-(
Need help urgently...
-
12. september 2012 15:38
I have the same problem. When I try to connect to CRM from Visual Studio, after I have chosen organization, the window disappear and it's over. Basically, I cannot connect to CRM :-( have somebody found solution for this problem?
Edo
Hi There.
For some cases, this was caused by a change to the URL after the CRM instance is installed.
Though it is fine to use to connect to CRM discovery service, when developer toolkit is trying to refresh the solutions, it will fail using the input URL. Double check and make sure using the correct URL listed in the developer resource in CRM instance.
Jaimie