Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 130947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T06:01:41+00:00 2026-05-11T06:01:41+00:00

I have VS2008 with .net 3.5 SP1 installed on my machine, I have written

  • 0

I have VS2008 with .net 3.5 SP1 installed on my machine, I have written one simple application with two listviews and databinding, My application compiles fine and I am able to run it, but when I try to open designer to edit controls, I get following error. I am not getting why this is happening. Any idea…see xaml below this error message

Type ‘MS.Internal.Permissions.UserInitiatedNavigationPermission’ in Assembly ‘PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ is not marked as serializable. at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type) at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context) at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo() at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter) at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter) at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo) at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeObject(Object obj, MemoryStream stm) at System.AppDomain.Serialize(Object o) at System.AppDomain.MarshalObject(Object o) at System.Threading.CompressedStack.GetDomainCompressedStack(SafeCompressedStackHandle compressedStack, Int32 index) at System.Security.PermissionListSet.CreateCompressedState(CompressedStack cs, CompressedStack innerCS) at System.Threading.CompressedStack.CompleteConstruction(CompressedStack innerCS) at System.Threading.CompressedStack.GetCompressedStack(StackCrawlMark& stackMark) at System.Security.SecurityContext.Capture(ExecutionContext currThreadEC, StackCrawlMark& stackMark) at System.Threading.ExecutionContext.Capture(StackCrawlMark& stackMark) at System.Threading.ExecutionContext.Capture() at System.Windows.Threading.Dispatcher.BeginInvokeImpl(DispatcherPriority priority, Delegate method, Object args, Boolean isSingleParameter) at System.Windows.Threading.Dispatcher.BeginInvoke(DispatcherPriority priority, Delegate method, Object arg) at System.Windows.Input.CommandManager.RaiseRequerySuggested() at System.Windows.Input.CommandManager.InvalidateRequerySuggested() at Microsoft.Windows.Design.Interaction.Tool.TaskCollection.InsertItem(Int32 index, Task item) at System.Collections.ObjectModel.Collection`1.Add(T item) at Microsoft.Windows.Design.Interaction.SelectionTool..ctor() at MS.Internal.Providers.VSActiveToolProvider.SelectionToolFactory.TryCreateTool[T](T& tool) at MS.Internal.Host.ToolSubsystem.ActivateTool(ToolFactory toolFactory) at MS.Internal.Host.ToolSubsystem..ctor(EditingContext editingContext, DesignerContext designerContext) at MS.Internal.Host.Designer.Load() at MS.Internal.Designer.VSDesigner.Load() at MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedView.Load() at MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedDesignerFactory.Load(IsolatedView view) at MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view) at MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view) at MS.Internal.Host.Isolation.IsolatedDesigner.Load() at MS.Internal.Designer.DesignerPane.LoadDesignerView()

XAML :

<Grid Name='pngrid_Base' Height='auto' Width='auto' Background='Beige'>     <Grid.ColumnDefinitions>         <ColumnDefinition Width='auto' MinWidth='221'></ColumnDefinition>         <ColumnDefinition Width='auto' MinWidth='1' MaxWidth='1'></ColumnDefinition>         <ColumnDefinition Width='auto'></ColumnDefinition>     </Grid.ColumnDefinitions>         <Grid Name='pngrid_BaseForAll' Grid.Column='0' Width='auto' HorizontalAlignment='Left' Background='#FFD8E4F8'>      <Grid.RowDefinitions>         <RowDefinition Height='30*'/>         <RowDefinition Height='164*' />         <RowDefinition Height='35*' />         <RowDefinition Height='164*' />         <RowDefinition Height='40*' />     </Grid.RowDefinitions>         <ListView  Name='lstview_Unack' Grid.Row='1' Margin='2,0,0,0' SelectionMode='Extended'  LostFocus='lstview_Unack_LostFocus'                                                                                                  MouseRightButtonDown='lstview_Unack_MouseRightButtonDown'>              <ListView.ItemContainerStyle>                 <Style TargetType='ListViewItem'>                     <Setter Property='IsSelected' Value='{Binding Path=IsSelected, Mode=TwoWay}' />                 </Style>             </ListView.ItemContainerStyle>         </ListView>         <Button Grid.Row='2' HorizontalAlignment='Left' Margin='24,14,0,5' Name='btnFreeze'>Freeze</Button>             <Button Grid.Row='2' HorizontalAlignment='Left' Margin='12,7,0,5' Name='btnAcknowledge' Width='96'>Acknowledge</Button>         <ListView  Name = 'lstview_Ack' Grid.Row='3' Margin='2,1,0,0' LostFocus='lstview_Ack_LostFocus' SelectionMode='Extended' MouseRightButtonDown='lstview_Ack_MouseRightButtonDown'>             <ListView.ItemContainerStyle>                 <Style TargetType='ListViewItem'>                     <Setter Property='IsSelected' Value='{Binding Path=IsSelected, Mode=TwoWay}' />                                             </Style>             </ListView.ItemContainerStyle>         </ListView>           <Button Grid.Row='4' HorizontalAlignment='Left' Margin='16,12,0,7' Name='Clear' Width='78'>Clear</Button>     <TextBox Margin='110,6,32,5' Name='FilterText' TextChanged='FilterText_TextChanged' />     <ComboBox HorizontalAlignment='Left' Margin='14,5,0,4' Name='comboColumnList' Width='94' /> </Grid>     <GridSplitter Grid.Column='1' Name='gridSplitter1' Width='2' HorizontalContentAlignment='Center' VerticalContentAlignment='Stretch' HorizontalAlignment='Left' Background='Azure' />     <Grid Name='pnGridForTreeView' Grid.Column='2' Width='200' Grid.ColumnSpan='2'>         <my:TrinityDeviceTree  x:Name ='m_objDeviceTree' Height='auto' Width='auto'>          </my:TrinityDeviceTree>     </Grid>  </Grid> 

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T06:01:42+00:00Added an answer on May 11, 2026 at 6:01 am

    I’ve tested your code inside VS2008 with .NET 3.5 SP1 and if i remove declaration for TrinityDeviceTree it works fine with the designer. Maybe you should chek upon that UserControl and look there for errors. Also try to make a clean of your project and a rebuild, sometimes it works for visual designer’s issues.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have .net 3.5 SP1 and VS 2008 SP1 installed in my machine. But
I have VS2008 SP1 running with .NET 3.5 SP1 I have MVC2 running (with
I have a WPF application (.NET 3.0, VS2008) that displays data in a tab
I have VS2005 and .net 3.5 installed on my machine I have heard of
I have a ClickOnce application that won't run unless the client machine has .NET
I have a fairly simple desktop application that uses a .NET setup project (.msi
I have an application written in C++ and MFC (VS 2008 SP1) which is
I have created a setup project with VS2008 for a .NET Windows Forms application
I have a arraylist in my web application project in asp.net/C#/VS2008 and I'm using
I have VS2005 and VS2008 installed on my pc. I have .NET Framework 2.0

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.