Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


wesleyfraser
2008-03-03T14:26:45Z
Hi, we are trying to create a module in dotnetnuke that connects to the visualcron server. But when I reference the new dll I get the following message : Error 1 Could not load file or assembly 'VisualCronAPI, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Modules which are not in the manifest were streamed in. (Exception from HRESULT: 0x80131043)

Edit : I have also tried a regular web project in .net 2005 and I get the same message.

Your help will be appreciated.

Thanks in advance
Sponsor
Forum information
Support
2008-03-03T18:00:51Z
You need to reference both VisualCronAPI.dll and VisualCron.dll - did you do that?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
wesleyfraser
2008-03-03T19:42:44Z
I did reference both dll's.
Support
2008-03-03T20:41:03Z
What do your code look like? Because just adding the dll:s and starting does not produce an error. Here is a sample code I created in VS2005, website:

Imports VisualCron
Imports VisualCronAPI


Partial Class _Default
Inherits System.Web.UI.Page

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim c As New Client
Dim conn As New Connection
conn.ConnectionType = Connection.ConnectionT.Local
conn.UserName = "admin"
Dim s As Server = c.Connect(conn)
lblNoJobs.Text = "Number of Jobs: " & s.Jobs.GetAll.Count.ToString
End Sub
End Class

Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
wesleyfraser
2008-03-04T08:11:14Z
Could you possibly send me the project you created so I can have a look if the error occurs when I try and open the project?
Support
2008-03-04T19:18:00Z
We sent you the project and we have currently tested on these systems:

Vista, VS2005 SP1
W2003, VS2005 SP1

Could you just try to redownload the latest version. Uninstall current and reinstall. Remove refererences in project and add them again. Still same problem?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2008-03-05T08:58:21Z
User downloaded and reinstalled latest version. Working now.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top