This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Visual Studio Designer: ArgumentNullException - Parameter: sp
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 24, 2013
04:25 PM
Visual Studio Designer: ArgumentNullException - Parameter: sp
Hi,
there is still a Major bug, with makes it me impossible to get it run in VS 2012.
My enviroment:
VS 2012 (SP1)
InstallShield express 2012 Spring
I had a big Project map with many different Projects inside.
One of them is a InstallShield Setup Project.
If the installShield Project is loaded to the Project map, if I open a Xaml designer (no matter with other Project) after a few seconds the designer Show an error.
Error:
ArgumentNullException: Value can not be null.
Parameter name: sp
StackTrace:
bei Microsoft.VisualStudio.Shell.ServiceProvider..ctor(IServiceProvider sp, Boolean defaultServices)
bei Microsoft.VisualStudio.ExpressionHost.Platform.CodeDomLanguageInformation.get_CodeDomProvider()
bei Microsoft.VisualStudio.ExpressionHost.Platform.CodeDomLanguageInformation.get_FileExtension()
bei Microsoft.VisualStudio.ExpressionHost.HostServices.HostProject.Microsoft.Expression.DesignHost.IHostProject.get_CodeDocumentTypeIdentifier()
bei Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteHostProject.b__18()
bei Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass16`1.b__15()
bei Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()
As soon as I unload the installShield Project from the Project map, all works normal, without the error.
I can reproduce this on two different Computers (with the same Project map).
Regards Steffen
there is still a Major bug, with makes it me impossible to get it run in VS 2012.
My enviroment:
VS 2012 (SP1)
InstallShield express 2012 Spring
I had a big Project map with many different Projects inside.
One of them is a InstallShield Setup Project.
If the installShield Project is loaded to the Project map, if I open a Xaml designer (no matter with other Project) after a few seconds the designer Show an error.
Error:
ArgumentNullException: Value can not be null.
Parameter name: sp
StackTrace:
bei Microsoft.VisualStudio.Shell.ServiceProvider..ctor(IServiceProvider sp, Boolean defaultServices)
bei Microsoft.VisualStudio.ExpressionHost.Platform.CodeDomLanguageInformation.get_CodeDomProvider()
bei Microsoft.VisualStudio.ExpressionHost.Platform.CodeDomLanguageInformation.get_FileExtension()
bei Microsoft.VisualStudio.ExpressionHost.HostServices.HostProject.Microsoft.Expression.DesignHost.IHostProject.get_CodeDocumentTypeIdentifier()
bei Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteHostProject.
bei Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass16`1.
bei Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()
As soon as I unload the installShield Project from the Project map, all works normal, without the error.
I can reproduce this on two different Computers (with the same Project map).
Regards Steffen
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 25, 2013
03:08 AM
I have exactly the same problem and it is driving me nuts. I don't get it on a machine without installshield. Does anyone have a solution to this issue?
I came here from this link also discussing the problem
http://social.msdn.microsoft.com/Forums/en/winformsdesigner/thread/7f073745-6b97-4ab3-8d4e-38ddf117fe2d
Thanks
Windows 7 VS2012.
ArgumentNullException: Value cannot be null.
Parameter name: sp
at Microsoft.VisualStudio.Shell.ServiceProvider..ctor(IServiceProvider sp, Boolean defaultServices)
at Microsoft.VisualStudio.ExpressionHost.Platform.CodeDomLanguageInformation.get_CodeDomProvider()
at Microsoft.VisualStudio.ExpressionHost.Platform.CodeDomLanguageInformation.get_FileExtension()
at Microsoft.VisualStudio.ExpressionHost.HostServices.HostProject.Microsoft.Expression.DesignHost.IHostProject.get_CodeDocumentTypeIdentifier()
at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteHostProject.b__18()
at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass16`1.b__15()
at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()
I came here from this link also discussing the problem
http://social.msdn.microsoft.com/Forums/en/winformsdesigner/thread/7f073745-6b97-4ab3-8d4e-38ddf117fe2d
Thanks
Windows 7 VS2012.
ArgumentNullException: Value cannot be null.
Parameter name: sp
at Microsoft.VisualStudio.Shell.ServiceProvider..ctor(IServiceProvider sp, Boolean defaultServices)
at Microsoft.VisualStudio.ExpressionHost.Platform.CodeDomLanguageInformation.get_CodeDomProvider()
at Microsoft.VisualStudio.ExpressionHost.Platform.CodeDomLanguageInformation.get_FileExtension()
at Microsoft.VisualStudio.ExpressionHost.HostServices.HostProject.Microsoft.Expression.DesignHost.IHostProject.get_CodeDocumentTypeIdentifier()
at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteHostProject.
at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass16`1.
at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()