Custom Control Error Could Not Load File
Aug 17, 2011
I have a windows application created using Visual Studios 2005.I recently added a custom control - after I built it, I was able to see it on the toolbox and I placed it from there to my form. All was good till at some point, when I tried to go to the design view of my form that the control is on, I get this error: Could not load file or assembly 'acdbmgd, Version=17.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. [code]I can still run my app and see the control that's on the form, but I'm wondering what this error means? If I rem out the code behind my custom control, I can then view the control on the page again when I design the form.
View 1 Replies
ADVERTISEMENT
Jan 25, 2012
I'm trying to run a Visual Basic (4.0) program that has run on every flavor of Windows so far. Using Windows 7 I get the following error message:
Can't load (or register) custom control: 'comdlg32.ocx'
This file is in the same directories as it is in a WinXP machine where it runs just fine.
View 7 Replies
Aug 9, 2010
I've created a custom control in VB.NET on .Net 3.5, in VS2008, which contains a load of custom properties, including RSS feed address, proxy address and proxy port.This control is an RSS ticker, which works really nicely, but doesn't initially run at all, and from stepping through my code, this is because none of my properties are being passed data from the containing form, until after the control has been initialised, and the code behind the control has run. The code (relevant bits) looks as follows:[code]
View 2 Replies
Jun 30, 2011
I am trying to implement a Custom HttpHandler (for the first time), I have been given a tutorial to follow but couldn't get it to work. I then found another tutorial but couldn't get that to work, they are both giving me the same error message.
The custom handler is to protect people from downloading certain file types, although i think the error is somekind of configuration problem as I can't get the website to work at all once I add the httpHandlers to the Web.Config file.
Description: An error occurred during the processing of a configuration file required to service this request. review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load type 'FileProtectionHandler'.
Source Error:
Line 47: </compilation>
Line 48: <httpHandlers>
[Code].....
View 3 Replies
Apr 4, 2011
I can load a generic user control just fine in my WCF service doing the following:
UserControl userControl= (UserControl) new Page().LoadControl("~/UserControls/MyControl.ascx");
However i can't seem to find any way to do this
[code].....
View 2 Replies
Jan 20, 2007
I have created a Custom control, containing 4 masked text boxes.and most times when i build it, i get a error: "InvalidArgument=Value of '-2147483648' is not valid for row position.' What is it? i searched MSDN, it looks like one of the SQL errors. How can this happen, i didn't use SQL.Edit: i fixed this tool strip problem. seems that i put visible to false unknowingly. I also have a problem with my Tool strip. The tool strip on the top works well, but the one i placed in a table layout panel, is missing from view, it only appears in Design view when i select it from the bottom strip.
View 4 Replies
Dec 1, 2011
In a VS2010 solution I have a license.licx file that contains:
DataDynamics.ActiveReports.ActiveReport, ActiveReports6, Version=6.1.2814.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
DataDynamics.ActiveReports.Web.WebViewer, ActiveReports.Web, Version=6.1.2814.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
DataDynamics.ActiveReports.Export.Pdf.PdfExport, ActiveReports.PdfExport, Version=6.1.2814.0, Culture=neutral,
[code]....
If I build the solution on a machine that HAS a license for ActiveReport then everything is fine. If I build the solution on a machine that DOESN'T have a license for ActiveReport I get:
Error 1 'Could not load file or assembly 'ActiveReports6,
Version=6.1.2814.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff'
or one of its dependencies. Operation is not supported. (Exception
from HRESULT: 0x80131515)' LC
On the machine that DOESN'T have a license for ActiveReport if I remove the above lines from the license.licx file then everything builds fine. I always thought that if the license couldn't be found then the unlicensed version will be used but it wouldn't kill the build. How do I get this solution to build on any machine whether it has a license or doesn't?
View 4 Replies
Nov 13, 2010
I made a custom progressbar as a user control. And I have only been working with forms 'n classes. As you all know, when you create a component in class, it gives you the dll file for the custom component or whatever you made so you can use it on any program. On my custom progressbar, I don't know how to get the ocx or dll file so I can use it on my other programs. OR.. if this is even possible lol. If you could help me on this, that'd be great. And I don't know how to make a custom progressbar out of a class, only user control, so if you could teach me how to make a progressbar out of a class, then that'd be awesome too.
View 3 Replies
May 4, 2009
How do you load a grid control with an XML file?, I tried the code below
[Code]....
View 4 Replies
Jul 6, 2009
I have a solution with multiple projects. G1Global is a project which is added as a project reference to other projects. I get the following runtime error message.Could not load file or assembly 'G1Global, Version=1.0.3474.14217, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.I searched for this version of the file, but it is not even there in my system. All the projects are referenced to a different version(1.0.3469.17014) of the G1Global.
View 3 Replies
Aug 15, 2005
I have two projects in a solution. One is a class library with my FTP, GPG and some other classes that get compiled into a dll call CBI.Utilities. The other is my main app which in a few places call the ftp class. I added the reference to the main solution by browing to the project from references under the main solution and now I get this error when I try to instantiate the ftp class.
"Could not load file or assembly 'CBI.Utilities, Version=1.0.2053.21021, Culture=neutral, PublicKeyToken=78bbe40a91a1660e' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)" Should I be making a reference to the DLL or to the projects. Either way I end up with a reference cbi.utilities.
View 13 Replies
Sep 9, 2009
I installed VB 2008 Express on my laptop. I have Net. Framework 3.5, and whenever I try to run ANYTHING. I get the following error: "Error while trying to run project: Could not load file or assembly 'Windows Application1' or one of its dependencies. The module was expected to contain an assembly manifest." I've tried renaming the project, the rootname, and I've reinstalled it like 9 times. Any ideas?
View 9 Replies
Feb 16, 2012
I created a server control which consist only of fews buttons.
CWNavigation.vb
<ToolboxData("<{0}:CWNavigation runat=""server""></{0}:CWNavigation>")> _
<DefaultProperty("Id")>[code.....
I then referenced it in my ASPX page. Take note that the control are in the same solution, same project located in Commun/Navigation/CWNavigation.vb.
<%@ Register TagPrefix="NAV" TagName="CWNavigation" Src="~/Commun/Navigation/CWNavigation.vb" %>
I added it to the page.
<NAV:CWNavigation ID="CWNavigationService" runat="server" />
But the designer file along with the code-behind generate it as.
Protected WithEvents CWNavigationService As Global.System.Web.UI.UserControl
View 1 Replies
Apr 1, 2009
Quote: Error while trying to run project: Could not load file or assembly WindowsApplication1' or one of its dependencies. The module was expected to contain an assembly manifest.
I don't know whats the cause of this.. Just asking if how can I load or find the missing Assembly or Dependencies? Because when I use this project w/ Setup & Deployment.. i encountering this error message:
Quote:Unable to find a version of the runtime to run this program
The executable is not working anymore
View 1 Replies
Apr 28, 2012
I am trying to code an Auto clicker in visual basic and i am having issues that i believe involve user32.dll..
View 9 Replies
Oct 31, 2010
Error while trying to run project: Could not load file or assembly 'WindowsApplication1' or one of its dependencies. The module was expected ro contain an assembly manifest.
View 3 Replies
Oct 28, 2010
I am using source safe to maintaine my code.Recently I copied my code to another machine.But everytime i build my project i am getting below error:Problem generating manifest. Could not load file or assembly
'D:WorkingFolderProjectSubFolderobjReleaseSubFolder.exe.manifest' or one of its dependencies. An attempt was made to load a program with an incorrect format.When i check above manifest file is empty (0k).I tried rebuilding (after cleaning solution) , also tried with copy pasting previus manifest file content.None of above solution worked.
View 1 Replies
Jan 14, 2011
it works on 32bit and framework 4 - error: could not load file or assembly Interop.XXXX.dll Steps to reproduce:Create a new VB.Net winform project on a 64 bit system with framework 4 drop windows media player control on form. builds and runs fine. project references has two interops to temporary directory under obj folder copy if necessary the two interops to the build output path and delete the old project references and add new ones pointing to the interops in the output path build and run, everything is fine.ste the target frameowrk to 3.5 and repeat the whole process. the build fails.This is just a simple example of what I am seeing on a much mor complex project. It happens with all interops, not just WMP.
View 4 Replies
Dec 29, 2011
how to specify a custom icon for display in the toolbox window when you create your own custom control? Something other than the dreaded "gearbox" icon.
View 2 Replies
Feb 10, 2012
atm i have this If TreeView1.SelectedNode.Name = 2 Then WebBrowser1.Url = My.Resources.Welcome End If
and it doesn't work so if you could please provide an example that world be grate.Also i don't really know how the treeview control works, i know with the combo box or listbox you just have an index of 0, 1, 2, 3 etc. but with the treeview you don't any just one of the things i want to do is whenever the root node is selected i want it to deselect that and select the node that i specify like node.name = 2.
View 1 Replies
Jun 25, 2009
I am creating a custom checkbox control to add a div after each checkbox in a checkboxlist.The class is below.
Imports System.Web.UI.WebControls
Imports System.ComponentModel
Imports System.Globalization
[Code]...
View 1 Replies
Sep 8, 2010
The problem is, having converted from VS 2002 to VS 2008 the designer can't seem to handle the custom controls on "my" (not original designer) app. Any time I try to copy, in particular, the custom derived comboBox control I get this error initially:
Type 'Corporate.Controls.data.comboBox+comboBoxDataSource+Item' in Assembly Corporate.Controls, ... is not marked as serializable.
I chased this error down, marking classes Serializable and private variables therein as NonSerialized when they caused a problem (which might or might not be the smartest way to attack this problem...) but I've hit a brick wall. The most base corporate derived ComboBox class is:
Namespace Corporate.Controls
Public Class comboBox
Inherits System.Windows.Forms.ComboBox
...
End Class
It's unrealistic to post all of the relevant code (I believe). The short of it is:
System.Windows.Forms.ComboBox <- Corporate.Controls.comboBox <- Corporate.Controls.data.comboBox
I just kept backtracking through the errors.At this point I can't set System.Windows.Forms.ComboBox to Serializable. I've tried marking the Inherits System.Windows.Forms.ComboBox clause with <NonSerialized()> and while that doesn't cause a build error it doesn't seem to fix the designer-generated error in the other libraries when I go to actually add, copy or even delete the control in WYSIWYG. And that is the only reference to System.Windows.Forms.ComboBox in that (or any other) corporate library.
View 4 Replies
Apr 30, 2012
I made an app that connects to a mysql database to update a table. It works fine from my test machine, but if i deploy the app to another computer I get error: Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=6.3.6.0 I'm going through google to find a solution, but nothing has stood out yet, just wondered if anyone has encountered this before and knows of a quick fix.
View 2 Replies
Mar 20, 2007
I cannot figure out how to get past this error. I have 1) Given the user "everyone" access to the entire directory that this dll is contained in 2) Deleted the dll and rebuilt the project 3) Deleted the Temporary ASP.NET files in the Windows Directory 4) Restarted IIS 5) Tried to change to a different user in IIS security including trying ASPNET. we are not using windows authentication. 6) Even copied that dll from other machines.
Here's the error. I have no clue at this point if it's code missing inside it or something else wrong with it or my setup. Other people on my team are using this dll ok. Could not load file or assembly 'Anthem' or one of its dependencies. Access is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System. IO.FileLoadException: Could not load file or assembly 'Anthem' or one of its dependencies. Access is denied. [Code]
View 7 Replies
Jul 23, 2009
I created a SQL application that synchronises with a SQLCE database when loaded. Works fine on my Dev machine but produces the following error on user machines:
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Synchronization.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Synchronization.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
In my attempts to fix, I have:
1) Reinstalled SQL Compact Editon 3.5 on the client machines
2) Reinstalled .NET Framework 3.5
3) Installed Microsoft Sync Framework 1.0 (which puts the 'missing' DLL onto the machines).
This still fails with the same error.
View 1 Replies
May 30, 2012
I am looking for a way to save and load the values of all my controls present in my form.My form has around 100 controls spread over 7 tabs. The controls include (Multiline) TextBoxes (Strings), NumericUpDowns (Integers, Decimals) and Checkboxes (Booleans). If the user clicks the save button a "Save File" dialog should appear allowing the user to specify the directory and the filename of the save file.All the values of the controls should then be written to that file.If the user clicks the load button an "Open File" should appear where the user can pick a previously saved save file. All the controls should then adopt the values found in the save file.I have implemented Application Settings in my form, and now when I click save, it saves the control values through My.Settings.Save(). If I click load it loads them.However, my project requires that multiple save files can be made to reflect multiple configurations. As I understand Application Settings only allow for a single .config file in the Application Data folder.So how can I code a save/load routine to save/load different configurations?
View 1 Replies
May 21, 2009
i'm trying to add textbox1.text as the file name for the save file dialog.. this code works fine when there are no invalid char inputed in the textbox. if there are, my app shuts down.. here's the code that i'm using:
Public Sub saveas()
With SaveFileDialog1
.InitialDirectory = Label1.Text
[code].....
View 2 Replies
Apr 22, 2010
I am working on an application which compiles fine on machine that is Win 7 and 64 bit CPU. But when copy and I run the exe file on similar machine (Win 7 64bit) I get error message: Error: Could not load file or assembly 'Interop.ActiveDs.Version=1.0.0.0,... I have added ActiveDS Type Library 1.0 C:WindowsSysWow64activedstlb as a reference in the project file.
[Code]...
View 4 Replies
Jan 5, 2010
i have problem to load the data text file that i saved because i am out of the index ,where is the index that stops me?
View 14 Replies
Mar 24, 2010
Here's my Application_OnError event sink in global.asax.vb:
Sub Application_OnError(ByVal sender As Object, ByVal e As EventArgs)
Dim innerMostException As Exception = getInnerMostException(Me.Context.Error)
[code].....
View 1 Replies