Welcome Guest Search | Active Topics | Members

Control cannot be created because VS can't find the control's type Options
Erik Bloem
Posted: Wednesday, November 28, 2007 6:01:22 AM
Rank: Member
Groups: Member

Joined: 11/28/2007
Posts: 2
Points: 0
I am a newbee to aurigma and try to start with a new project. When I try to put a Bitmapviewer webcontrol on to an .aspx page I get the following error message:

Control cannot be created because Visual Studio cannot find the control's type in the control assembly.

Aftyer this the following error appears:

FORMATETC-structure (Exception from HRESULT: 0x80040064 (DV_E_FORMATETC))

What is causing this error?

Erik
Sergey Peshekhonov
Posted: Thursday, November 29, 2007 1:48:22 AM
Rank: Advanced Member
Groups: Member

Joined: 6/6/2007
Posts: 57
Points: 45
Hello, Erik.

Unfortunately we can't reproduce your problem. But we think that this error is relative to Design mode of Visual Studio. To eliminate it you may try do the following (if you use GraphicsMill AjaxControls):

1. Remove Aurigma controls from the toolbox.
2. Close your Visual Studio.
3. Reopen.
4. Create another MS AJAX 1.0 website.
5. Open Default.aspx.
6. Re-add Aurigma controls to the toolbox.
7. Switch to design view.
8. Dragg a control on.

If this will not help you may add BitmapViewer manually:

1. Add Aurigma.GraphicsMill.dll and Aurigma.GraphicsMill.AjaxControls.dll to bin directory of your Web Site.
2. Switch to source view of Default.aspx.
2. Register AjaxControls on your Default.aspx.
(Add the following string immediately after Page tag:
Code:

<%@ Register Assembly="Aurigma.GraphicsMill.AjaxControls" Namespace="Aurigma.GraphicsMill.AjaxControls"
    TagPrefix="aur" %>

3. Add BitmapViewer control to your Default.aspx.
Code:

<aur:BitmapViewer ID="BitmapViewer1" runat="server" />


If you will have some questions please feel free to ask us.


Sincerely yours,
Sergey Peshekhonov.

Aurigma Technical Support Team.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.