No Web Controls in VS2008


Author
Message
Terry Carroll
Terry Carroll
StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)
Group: Forum Members
Posts: 12, Visits: 61

I can’t get the Stataframe Toolbox Web controls to load onto the Toolbox tab in Visual Studio 2008. No problem with the windows controls or the web controls in VS 2005.  I need some help.

I have installed and uninstalled Stataframe vs 1.6.5 (dated 3/12/2008) several times. Before installing I have searched and removed all Microfour*.* files and checked that all Strataframe dlls are removed are from GAC.

And, I just uninstalled and reinstalled Visual Studio 2008 professional. Same outcome, no web toolbox controls.

The menu option to “Create Strataframe Toolbox Tab” runs and adds the tab, “Strataframe Controls and Components” however no controls are added. When I close VS 2008 the tab is not saved!

The sample CRM application generates the following error when the “Customers” or “Order Entry” menu option is clicked. Maybe this will provide a clue!

TargetInvocationException

Exception has been thrown by the target of an invocation.

MissingMethodException

  Method not found: 'Void MicroFour.StrataFrame.UI.Windows.Forms.ChildFormDialog.set_ParentForm(MicroFour.StrataFrame.UI.Windows.Forms.BaseForm)'.

Source     : mscorlib

Stack Trace:

   at SampleCRMApplication.CustomerMaintenance.InitializeComponent()

   at SampleCRMApplication.CustomerMaintenance..ctor()

   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)

   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)

   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)

   at System.Activator.CreateInstance(Type type, Boolean nonPublic)

   at System.Activator.CreateInstance(Type type)

   at SampleCRMApplication.CRMMain.LaunchForm(Type FormType)

   at SampleCRMApplication.CRMMain.cmdCustomers_Click(Object sender, EventArgs e)

   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

   at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

   at System.Windows.Forms.ToolStrip.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)

   at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

Thanks for any help!

Replies
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
The most important thing is to just clear out the GAC of any MicroFour assemblies and then the only other place that could cuase a problem would be the c:\Program Files\Common Files\MicroFour\StrataFrame.  You can remove all of the MicroFour assemblies (and XML files) from here as well.  Then perform an install and all should be well.

Also, as for the CRM sample...it is toast and will be "smoked" altogether in the next update.  This is no longer a support sample as it does not show SF in a true light any longer (nor has it for a while).  If you want a sample to look at all around and the sample that we are pusing, then load the StrataFlix sample found here: http://forum.strataframe.net/FindPost18186.aspx .  This sample will continue to grow and shows how to do virtually everything that you will need to do when creating an app with SF including creint custom controls, custom data binding, reports, data driven List Populations, etc.

Terry Carroll
Terry Carroll
StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)
Group: Forum Members
Posts: 12, Visits: 61
I have tried to access the toolbox while in a aspx page. No controls.

Also I tried to add the controls manually. The process act as if it was adding something, however no controls were added.

I plan on trying the following steps:

1.   UnInstall Strataframe

2.   Delete all Strataframe files

3.   Check that all Microfour DLLs are removed from the GAC

4.   UnInstall VS 2008 and delete all files

5.   ReInstall VS 2008

6.   Download and install the latest version of Strataframe. Now using build 3/12/2008.

7.   ReInstall Strataframe.

8.   If this fails I will try recommend my development machine for an Exorcism.

Wish me luck!

Terry Carroll
Terry Carroll
StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)
Group: Forum Members
Posts: 12, Visits: 61
I just complete All the steps in my pervious post, and things got worse.

Maybe the beta has an issue.

When I start VS2008 I get the following message.

Exception
  An error occurred while building the StrataFrame menu.
ArgumentException
  Value does not fall within the expected range.

Source     :

Stack Trace:
   at EnvDTE80.Commands2.Item(Object index, Int32 ID)
   at MicroFour.StrataFrame.AddIns.MenuBasics.ᜂ(DTE2 A_0)
   at MicroFour.StrataFrame.AddIns.AddInManager.OnConnection(Object application, ext_ConnectMode connectMode, Object addInInst, Array& custom)

I'm out of ideas!

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hey Terry.

Have a look at this post:  

http://forum.strataframe.net/FindPost17827.aspx

Terry Carroll
Terry Carroll
StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)
Group: Forum Members
Posts: 12, Visits: 61
Ivan,

Thank you for the tip. 

I was using XP Pro SP3 so I rolled back SP3 and did a reinstall of SF. No help on the toolbox issue, however it did fix the error I posted that occured when I first entered VS2008 after the 1.6.6.1 update.

I even tried to run VS from my admin account on my machine. Strataframe didn't run in VS when logged into this account, the addins are specific to a user, so I did a reinstall from the admin user account, same issue.

Odd, but I can copy and paste the HTML code for the SF web objects from a VS2005 page and they work fine just can't get them from the toolbox.

I know the product works, I just seem to find the weird problems.

Terry Carroll
Terry Carroll
StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)
Group: Forum Members
Posts: 12, Visits: 61
I just installed SP1 for VS2008 and it resolved the issue with the toolbox controls.

I now, again,  have a problem with the type editior when I click to select a business object name from the property sheet SF throws an exception. See new post.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Terry Carroll - 17 Years Ago
Dustin Taylor - 17 Years Ago
Paul Chase - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Terry Carroll - 17 Years Ago
                         I just complete All the steps in my pervious post, and things got...
Terry Carroll - 17 Years Ago
                             Hey Terry. Have a look at this post:...
Ivan George Borges - 17 Years Ago
                                 Ivan, Thank you for the tip. I was using XP Pro SP3 so I rolled...
Terry Carroll - 17 Years Ago
                                     I just installed SP1 for VS2008 and it resolved the issue with the...
Terry Carroll - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search