473,804 Members | 3,029 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Running an VB .net application off the network

Running an VB .net application off the network, is this
possible?

I try running the executable on a network and it gives me
an exception error:
An unhandled exception of
type 'System.TypeIni tializationExce ption' occurred in
Unknown Module.

Additional information: The type initializer
for "WoodbridgeData System.ModWoodb ridge" threw an
exception.

However, if I run the exe off a local drive it works fine.
Is there a way to fix this?

Sebastian
Nov 20 '05 #1
3 3556
* "Sebastian Santacroce" <an*******@disc ussions.microso ft.com> scripsit:
Running an VB .net application off the network, is this
possible?

I try running the executable on a network and it gives me
an exception error:
An unhandled exception of
type 'System.TypeIni tializationExce ption' occurred in
Unknown Module.

Additional information: The type initializer
for "WoodbridgeData System.ModWoodb ridge" threw an
exception.

However, if I run the exe off a local drive it works fine.
Is there a way to fix this?


Are you sure you adapted the framework security settings for this
application in the .NET Framework Configuration?

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
Hi Sebastian,

Herfried's probably correct - you need to set up .net security to allow the
exe to run from a server drive.

I have a write up on it, but I can't remember where I got it (I think at
msdn.microsoft. com). In any event, it's really easy - go to control
panel/admin tools; select microsoft .net framework wizards and click 'adjust
..net security' - next; select 'make changes to this computer' - next;select
local intranet - next; click finish and you'r done.

HTH,

Bernie Yaeger

"Sebastian Santacroce" <an*******@disc ussions.microso ft.com> wrote in
message news:03******** *************** *****@phx.gbl.. .
Running an VB .net application off the network, is this
possible?

I try running the executable on a network and it gives me
an exception error:
An unhandled exception of
type 'System.TypeIni tializationExce ption' occurred in
Unknown Module.

Additional information: The type initializer
for "WoodbridgeData System.ModWoodb ridge" threw an
exception.

However, if I run the exe off a local drive it works fine.
Is there a way to fix this?

Sebastian

Nov 20 '05 #3
Hello,
I gave silly thing.
Beginer's thing.
Scale is different from VB6 for VB.NET.

Thank you.
Morpheu

"Sebastian Santacroce" <an*******@disc ussions.microso ft.com> escreveu na
mensagem news:03******** *************** *****@phx.gbl.. .
Running an VB .net application off the network, is this
possible?

I try running the executable on a network and it gives me
an exception error:
An unhandled exception of
type 'System.TypeIni tializationExce ption' occurred in
Unknown Module.

Additional information: The type initializer
for "WoodbridgeData System.ModWoodb ridge" threw an
exception.

However, if I run the exe off a local drive it works fine.
Is there a way to fix this?

Sebastian

Nov 20 '05 #4

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

Similar topics

2
645
by: MF | last post by:
In visual basic 6 I can write an application and toss it up on a shared network drive for the company to access. Works like a champ. In .NET my C# application runs fine on anyones machine, but due to the integrated security model of .NET, bombs out with Security Exceptions when someone tries to run it off the network drive. Sure, I can go to the users PC, and via the control panel,
4
1949
by: Boris | last post by:
I observe the following strange behavior of my application. Let say we have managed application MyApp.exe which depend on a few assemblies MyAssembly1.dll, MyAssembly2.dll and MyAssembly3.dll. The assemblies I mentione have strong names. I build the exe and all assemblies on my computer and install assemblies to GAC. I run MyApp.exe, test it and everything is OK. Then I copy all executable files (exe and dll) to our network server.
6
1725
by: arkam | last post by:
Hi, I have a big web application that works on my web / application server ! Now I want to instal it on a laptop which is not connected to the network. My web application works with a database server which I can simulate with an access db !
2
2651
by: flat_ross | last post by:
Hi, I am in a shop where developers are required to work off of a network share. This is so that code is backed up nightly. So I am testing running an ASP.NET Web application with a Class assembly all on a shared drive. I have the solution working perfectly. However, I have run into a hiccup. In order to map IIS Virtual Dir to a network drive, you need
11
2327
by: ASP.NET User | last post by:
Hi I am in a shop where developers are required to work off of a networ share. This is so that code and other documentation is backed up nightly. This is outside the realm of Visual SourceSafe which we also use for code control. The network drive is used as the working folder. This is a configuration this shop has used for 6 years and I do not see it changing any time soon So I am testing running an ASP.NET Web application with a Clas...
1
2298
by: vighnesh | last post by:
Hi All I am dealing a project in ASP.NET in which I have to establish a connection to SQL Server 2000 database,where the database was located on a remote system. For this I have used SQLConnection object and specified the connetion string.But when it comes to establish a connection its giving me the Error that I. Connection string : workstation id=localhost;packet size=4096;user
4
5242
by: news.citenet.net | last post by:
I keep getting the following error message after my web site running 2 or 3 days I share one folder with about 200 domain names Any one can help? --------------------------------------------------------------------------------
4
4678
by: Jeremy S. | last post by:
We're in the process of writing a new Windows Forms app and the desktop support folks want for it to be run from a network share. I know it's possible (i.e., just have the framework on the clients and a desktop shortcut to the exe out on the network)... but is it really a good idea? What are some arguments for and against running a .NET Windows Forms client from a network share? Here is my initial list... I'd appreciate any additions,...
2
1304
by: giddy | last post by:
hi, I've heard its possible!? Is it? : preventing an application from running over a network. Or it would even be great if i could know if someone from a networked computer tried to run my program!?? Thanks Gideon
0
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9579
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10326
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10317
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6851
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5520
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4295
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.