473,387 Members | 1,545 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Could not Load type. SOS.

I am relatively new to .NET and completely new to remoting. I am getting an error that goes something like this:

Connot load type Chimera.Linestatus.Linestatus, Chimera.Linestatus, Version=1.0.2.23169, Culture=neutral,PublicKeyToken=6b57b35e5f0dd756

StackTrace:

Server stack trace:
at System.Runtime.Remoting.Activation.ActivationListe ner.Activate(IConstructionCallMessage ctorMsg)
at System.Runtime.Remoting.Messaging.StackBuilderSink .PrivateProcesssMessage(MethodBase mb, Object[] args, Object[] server,Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink .SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception thrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData& msgData, Int32 type)
at System.Runtime.Remoting.Activation.IActivator.Acti vate(IConstructionCallMessage msg)
...
...
at System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData& msgData, Int32 type)
at Chimera.Linestatus.Linestatus..ctor()
at Chimera.PandaLineUserInterface.PandaLineUI..ctor(S tring line)

And the code in the Linestatus constructor is:
public LineStatus() {
try{
Console.WriteLine("LineStatus created.");
Chimera.ApplicationEngine.EngineComponentFactory factory = new Chimera.ApplicationEngine.EngineComponentFactory() ;
m_mainApp = (Chimera.MainApplication.MainApplication)factory.G etEngineComponent(typeof(Chimera.MainApplication.M ainApplication));
Line productionLine = m_mainApp.ProductionLine;
m_lineName = productionLine.Name.ToString();
Initialize();
}catch (Exception e){
MessageBox.Show(e.ToString(),"ERROR");
}
}
This is what I have tried so far:
in .NET Configuration 1.1> Runtime Security Policy> Machine> CodeGroups>AllCode, I have added a new code Group Chimera;
Description:
Internet permissions for Chimera SCADA

Assembly evidence must match this membership condition to belong to the code group: StrongName.

Assemblies matching the membership condition are granted this permission set at the current policy level: FullTrust.

Permission Set Description:
Allows full access to all resources.

This is Imported from the assembly. The Directory Security account on which this is setup is a IUSER_Chimera2 which is an internet guest account.

Theres so much pressure to fix this its not even funny. I have no Clue. Help Please.
Nov 6 '07 #1
1 1264
Some More info I missed is that the installable was the backup of working software prior to a server crash.

The code for it compiles fine too.

Thanks,
Aninda.
Nov 6 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Blue Frog | last post by:
Hey, Have a weird problem - been looking for a solution for 2 days solid now. I am developing my first asp.net site and everything was going fine while I developed on my XP laptop but I copied...
0
by: phillip | last post by:
This is interesting, I have attached my web.config file and the exception I have been logging. I created a library which provide data access to a database and a control system. The library is...
4
by: Bogosian | last post by:
I am working on an asp.net project.There is a subdir called OSearch,with a few aspx pages in it which as all other pages on the website use some controls.These controls are stored in a another...
1
by: Chriss | last post by:
I receive "could not load type" error message when trying to load aspx page. The DLL is built and is located in the correct bin directory. The type name in the "inherits" attribute matches the...
1
by: z f | last post by:
hi, I have a vb.net asp.net web app. suddenly after working for long time, I get this error message in my app: Could not load type when trying to show a web form. what can be the error? the...
0
by: qiang | last post by:
Hi everyone, Could you please take a look at an exception for ASP.NET application? My ASP.NET application is using Infragistics WebChart control. I encounter an exception below when...
2
by: AB | last post by:
Hi, I have this error "could not load type *****", and I don't know why. I have tryed the microsoft solution of rebuilding (http:// support.microsoft.com/kb/306155) but it doesn't work. If I try...
8
by: Rob T | last post by:
When I was using VS2003, I was able to compile my asp.net project locally on my machine and copy it to the production server and it would run just fine. I've now converted to VS2005. The project...
1
by: Doctorslicer | last post by:
Hi All, We have a large multi project application in MFC that we are converting to managed code. We have been able to add /CLR to all of the projects and have compiled successfully but encounter...
3
by: =?Utf-8?B?SGVyYg==?= | last post by:
I've developed an ASP.NET website that runs fine on my local WinXP IIS and on my server's IIS, both are IIS6.0 The site uses a master page that has the following declaration: <%@ Master...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.