473,395 Members | 1,403 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,395 software developers and data experts.

File or assembly name or one of its dependencies was not found

I am trying to create a switchboard that opens other .Net applications.
The user selectes the name of the program they want to use from a
listbox, and clicks OK and the .Net .exe opens. It works fine, but then
I tried to set it up on Terminal Services and I get this error:

File or assembly name myprogram.exe or one of it dependencies was not
found.

Here is the code I am using to start up the .exe:

Dim domainInfo As New AppDomainSetup
domainInfo.ApplicationBase = "C:\myPath\"

Dim NewAppDomain As AppDomain
NewAppDomain = AppDomain.CreateDomain("myDomain",
Nothing, domainInfo)

Dim rVal As Integer
rVal = NewAppDomain.ExecuteAssembly("myProgram.exe")

I am using VS .Net 2003 and running on the .Net Framework 1.1.

Dec 7 '06 #1
1 1320
try .NET Assembly binding log view tool, fuslogvw.exe .
Launch this tool, and then start your code.
After u get the error, check in the fuslogvw an entry for
myprogram.exe. Double click it to see details, why it could not find
assembly.

Regards,
et***********@gmail.com wrote:
I am trying to create a switchboard that opens other .Net applications.
The user selectes the name of the program they want to use from a
listbox, and clicks OK and the .Net .exe opens. It works fine, but then
I tried to set it up on Terminal Services and I get this error:

File or assembly name myprogram.exe or one of it dependencies was not
found.

Here is the code I am using to start up the .exe:

Dim domainInfo As New AppDomainSetup
domainInfo.ApplicationBase = "C:\myPath\"

Dim NewAppDomain As AppDomain
NewAppDomain = AppDomain.CreateDomain("myDomain",
Nothing, domainInfo)

Dim rVal As Integer
rVal = NewAppDomain.ExecuteAssembly("myProgram.exe")

I am using VS .Net 2003 and running on the .Net Framework 1.1.
Dec 7 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: karunakar | last post by:
Hi All I am not able to read the class name I want read the particular class name string path = System.Configuration.ConfigurationSettings.AppSettings; string className = path + ".User";...
3
by: Michael Bøcker-Larsen | last post by:
Hi I'v been stuck on this problem for ages now. I have found that I'm not the only one with this problem, by looking through the different newsgroups. Hope you can help me! I know there is a...
2
by: aallee83 | last post by:
i'm new in asp.net after develop my solution i copied it on the server where I want it to run but something cares... WHAT?!?! thank you in advance File or assembly name System, or one of its...
0
by: Martinh | last post by:
Hi After invoking RetrieveData in a WebService I recieve the following response in a new window... I am running Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 ...
3
by: jlea | last post by:
I'm receiving the error message shown below when I try to load an aspx file (C# web application) on our server. The web application works fine if I remove the reference to the dll so I know the...
1
by: Olav Tollefsen | last post by:
I get the included error message when trying to run my ASP.NET application under Windows Server 2003 (with all updates installed). How can I troubleshoot this? Olav File or assembly name...
0
by: Federico Hernández Arce | last post by:
Hi group, first sorry for my poor english We have a vb.net app, run whit any problem in our pcs (whit vs.net 2003 installed). The app have a ocx that draw a binary tree (the only external...
4
by: Tiraman | last post by:
Hi, i have some problem to run my dll's (assemblies) on the production server. I have 3 dll's which use each other. Every thing is ok on my local machine where i developed them but when i...
2
by: Andrew Jocelyn | last post by:
Hi I get this error when I change something in the web.config file. When I build the VS projects and load the first web page the application runs fine. If I then make a save the web.config file...
3
by: James | last post by:
Hi guys Do you ever get the exception in Managed C++? How can I know which file or dll is missed?
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: 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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...

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.