473,671 Members | 2,211 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem running net application from shared drive

I as a developer have an application that I can run from my box or from a
shared drive, but I cannot get anybody else to run it. They do have the same
version of the framework on their boxes, yet they are unable to run the
application. What do I need to do. The error is not a security exception

Jul 21 '05 #1
13 2577
Rodrigue" <Ro******@discu ssions.microsof t.com>
I as a developer have an application that I can run from my box or from a
shared drive, but I cannot get anybody else to run it. They do have the
same
version of the framework on their boxes, yet they are unable to run the
application. What do I need to do. The error is not a security exception


Is this an announcement or do you want some help with your problem.

I think in the last case is the least you can do to tell what is the error.

Just my thought,

Cor
Jul 21 '05 #2
I need help and it will be greatly appreciated

"Cor Ligthert" wrote:
Rodrigue" <Ro******@discu ssions.microsof t.com>
I as a developer have an application that I can run from my box or from a
shared drive, but I cannot get anybody else to run it. They do have the
same
version of the framework on their boxes, yet they are unable to run the
application. What do I need to do. The error is not a security exception


Is this an announcement or do you want some help with your problem.

I think in the last case is the least you can do to tell what is the error.

Just my thought,

Cor

Jul 21 '05 #3
>I need help and it will be greatly appreciated

And what is than the errormessage, without that it will be in my opinion
almost impossible to help you.

Cor
Jul 21 '05 #4
The error received is "Type Initializerin MYAppSupport threw an exception".
But When I run it I do not get an error.

"Cor Ligthert" wrote:
Rodrigue" <Ro******@discu ssions.microsof t.com>
I as a developer have an application that I can run from my box or from a
shared drive, but I cannot get anybody else to run it. They do have the
same
version of the framework on their boxes, yet they are unable to run the
application. What do I need to do. The error is not a security exception


Is this an announcement or do you want some help with your problem.

I think in the last case is the least you can do to tell what is the error.

Just my thought,

Cor

Jul 21 '05 #5
Rodrigue,

Did you installed it on the shared computer using the MSI or another kind of
install package or did you only transport the exe?

In other words did you create a deployment project?

Cor

"Rodrigue" <Ro******@discu ssions.microsof t.com>
..
The error received is "Type Initializerin MYAppSupport threw an
exception".
But When I run it I do not get an error.

"Cor Ligthert" wrote:
Rodrigue" <Ro******@discu ssions.microsof t.com>
>I as a developer have an application that I can run from my box or from
>a
> shared drive, but I cannot get anybody else to run it. They do have the
> same
> version of the framework on their boxes, yet they are unable to run the
> application. What do I need to do. The error is not a security
> exception


Is this an announcement or do you want some help with your problem.

I think in the last case is the least you can do to tell what is the
error.

Just my thought,

Cor

Jul 21 '05 #6
I did both, first I copied all the files on the server, when that failed I
created an install using the MSI that I ran on the client, the result was the
same

"Cor Ligthert" wrote:
Rodrigue,

Did you installed it on the shared computer using the MSI or another kind of
install package or did you only transport the exe?

In other words did you create a deployment project?

Cor

"Rodrigue" <Ro******@discu ssions.microsof t.com>
..
The error received is "Type Initializerin MYAppSupport threw an
exception".
But When I run it I do not get an error.

"Cor Ligthert" wrote:
Rodrigue" <Ro******@discu ssions.microsof t.com>
>I as a developer have an application that I can run from my box or from
>a
> shared drive, but I cannot get anybody else to run it. They do have the
> same
> version of the framework on their boxes, yet they are unable to run the
> application. What do I need to do. The error is not a security
> exception

Is this an announcement or do you want some help with your problem.

I think in the last case is the least you can do to tell what is the
error.

Just my thought,

Cor


Jul 21 '05 #7
What can this be "MYAppSuppo rt"

Cor

"Rodrigue" <Ro******@discu ssions.microsof t.com>
I did both, first I copied all the files on the server, when that failed I
created an install using the MSI that I ran on the client, the result was
the
same

"Cor Ligthert" wrote:
Rodrigue,

Did you installed it on the shared computer using the MSI or another kind
of
install package or did you only transport the exe?

In other words did you create a deployment project?

Cor

"Rodrigue" <Ro******@discu ssions.microsof t.com>
..
> The error received is "Type Initializerin MYAppSupport threw an
> exception".
> But When I run it I do not get an error.
>
> "Cor Ligthert" wrote:
>
>> Rodrigue" <Ro******@discu ssions.microsof t.com>
>> >I as a developer have an application that I can run from my box or
>> >from
>> >a
>> > shared drive, but I cannot get anybody else to run it. They do have
>> > the
>> > same
>> > version of the framework on their boxes, yet they are unable to run
>> > the
>> > application. What do I need to do. The error is not a security
>> > exception
>>
>> Is this an announcement or do you want some help with your problem.
>>
>> I think in the last case is the least you can do to tell what is the
>> error.
>>
>> Just my thought,
>>
>> Cor
>>
>>
>>


Jul 21 '05 #8
Myapp is the name of my application. Tracing through it , this error occurs
on an attempt to sign on to the SQL server. Following is the likely culprit

Module UpgradeSupport
Friend DAODBEngine_def inst As New DAO.DBEngine
Friend WordGlobal_defi nst As New Word.Global
End Module
Do the versions of DAO have to be the same on the clients as the devoloper's
box?

"Cor Ligthert" wrote:
What can this be "MYAppSuppo rt"

Cor

"Rodrigue" <Ro******@discu ssions.microsof t.com>
I did both, first I copied all the files on the server, when that failed I
created an install using the MSI that I ran on the client, the result was
the
same

"Cor Ligthert" wrote:
Rodrigue,

Did you installed it on the shared computer using the MSI or another kind
of
install package or did you only transport the exe?

In other words did you create a deployment project?

Cor

"Rodrigue" <Ro******@discu ssions.microsof t.com>
..
> The error received is "Type Initializerin MYAppSupport threw an
> exception".
> But When I run it I do not get an error.
>
> "Cor Ligthert" wrote:
>
>> Rodrigue" <Ro******@discu ssions.microsof t.com>
>> >I as a developer have an application that I can run from my box or
>> >from
>> >a
>> > shared drive, but I cannot get anybody else to run it. They do have
>> > the
>> > same
>> > version of the framework on their boxes, yet they are unable to run
>> > the
>> > application. What do I need to do. The error is not a security
>> > exception
>>
>> Is this an announcement or do you want some help with your problem.
>>
>> I think in the last case is the least you can do to tell what is the
>> error.
>>
>> Just my thought,
>>
>> Cor
>>
>>
>>


Jul 21 '05 #9
Rodrigue,

When you use DAO you needs to install the dll's again and loose with that
those benefits of Net.

You have than to include that in your deployment package.

Cor

"Rodrigue" <Ro******@discu ssions.microsof t.com>
...
Myapp is the name of my application. Tracing through it , this error
occurs
on an attempt to sign on to the SQL server. Following is the likely
culprit

Module UpgradeSupport
Friend DAODBEngine_def inst As New DAO.DBEngine
Friend WordGlobal_defi nst As New Word.Global
End Module
Do the versions of DAO have to be the same on the clients as the
devoloper's
box?

"Cor Ligthert" wrote:
What can this be "MYAppSuppo rt"

Cor

"Rodrigue" <Ro******@discu ssions.microsof t.com>
>I did both, first I copied all the files on the server, when that failed
>I
> created an install using the MSI that I ran on the client, the result
> was
> the
> same
>
> "Cor Ligthert" wrote:
>
>> Rodrigue,
>>
>> Did you installed it on the shared computer using the MSI or another
>> kind
>> of
>> install package or did you only transport the exe?
>>
>> In other words did you create a deployment project?
>>
>> Cor
>>
>> "Rodrigue" <Ro******@discu ssions.microsof t.com>
>> ..
>> > The error received is "Type Initializerin MYAppSupport threw an
>> > exception".
>> > But When I run it I do not get an error.
>> >
>> > "Cor Ligthert" wrote:
>> >
>> >> Rodrigue" <Ro******@discu ssions.microsof t.com>
>> >> >I as a developer have an application that I can run from my box or
>> >> >from
>> >> >a
>> >> > shared drive, but I cannot get anybody else to run it. They do
>> >> > have
>> >> > the
>> >> > same
>> >> > version of the framework on their boxes, yet they are unable to
>> >> > run
>> >> > the
>> >> > application. What do I need to do. The error is not a security
>> >> > exception
>> >>
>> >> Is this an announcement or do you want some help with your problem.
>> >>
>> >> I think in the last case is the least you can do to tell what is
>> >> the
>> >> error.
>> >>
>> >> Just my thought,
>> >>
>> >> Cor
>> >>
>> >>
>> >>
>>
>>
>>


Jul 21 '05 #10

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

Similar topics

3
2347
by: Steven Fox | last post by:
============================================================ About DB2 Administration Tools Environment ============================================================ DB2 administration tools level: Product identifier SQL08015 Level identifier 02060106 Level DB2 v8.1.5.449 Build level s040212 PTF WR21334...
2
2734
by: Jim Heavey | last post by:
I am wanting to invoke a console application by double clicking on a ".Bat" file from a shared drive. The ".Bat" file will access another shared drive to actually invoke the application. The person double clicking on the file has read/write access to both shared drives. Can this be done? In the bat file I attempt to execute the file by suppling a command which
2
2637
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
2314
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...
3
2285
by: James Coleman | last post by:
Hello, The following error is appearing when attempting to create a directory using the availale system.io methods: System.IO.DirectoryNotFoundException: Could not find a part of the path "D:\". at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.Directory.InternalCreateDirectory(String fullPath, String path) at System.IO.Directory.CreateDirectory(String path) at TestVBProject.createdirectorytest.Page_Load(Object...
8
9744
by: Sarah | last post by:
I need to access some data on a server. I can access it directly using UNC (i.e. \\ComputerName\ShareName\Path\FileName) or using a mapped network drive resource (S:\Path\FileName). Here is my problem: my vb.net program has problems with UNC. If the UNC server is restarted or goes off-line, my VB.net program crashes. The code for UNC access to the file is included below and is put in the tick event of a form timer control running every...
13
340
by: Rodrigue | last post by:
I as a developer have an application that I can run from my box or from a shared drive, but I cannot get anybody else to run it. They do have the same version of the framework on their boxes, yet they are unable to run the application. What do I need to do. The error is not a security exception
3
1480
by: c_shah | last post by:
I am having a .NET Application. Install the application on a Share drive on the network. Any user WHO's machine is connected to network can access the application by clicking on short cut on his desktop. Now the application runs on the local machine, or it runs on the Share Drive?
4
2174
by: tshad | last post by:
At work we are setting up a new web site and had a problem with running a page when using URL: \\phoenix\cdrive\inetpub\wwwroot\hrworkshop\index.aspx It would start up notepad to edit the file. When I went to IIS and changed the default file to index.aspx, this made it work fine.
0
8393
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
8914
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8598
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
8670
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7433
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5695
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
4224
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
4406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2810
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

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.