By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,534 Members | 1,830 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,534 IT Pros & Developers. It's quick & easy.

problem running net application from shared drive

P: n/a
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
Share this Question
Share on Google+
13 Replies


P: n/a
Rodrigue" <Ro******@discussions.microsoft.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

P: n/a
I need help and it will be greatly appreciated

"Cor Ligthert" wrote:
Rodrigue" <Ro******@discussions.microsoft.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

P: n/a
>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

P: n/a
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******@discussions.microsoft.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

P: n/a
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******@discussions.microsoft.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******@discussions.microsoft.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

P: n/a
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******@discussions.microsoft.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******@discussions.microsoft.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

P: n/a
What can this be "MYAppSupport"

Cor

"Rodrigue" <Ro******@discussions.microsoft.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******@discussions.microsoft.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******@discussions.microsoft.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

P: n/a
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_definst As New DAO.DBEngine
Friend WordGlobal_definst 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 "MYAppSupport"

Cor

"Rodrigue" <Ro******@discussions.microsoft.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******@discussions.microsoft.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******@discussions.microsoft.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

P: n/a
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******@discussions.microsoft.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_definst As New DAO.DBEngine
Friend WordGlobal_definst 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 "MYAppSupport"

Cor

"Rodrigue" <Ro******@discussions.microsoft.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******@discussions.microsoft.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******@discussions.microsoft.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

P: n/a
How would I do that, thus far I created a deployment package that I ran on a
client, I also verified that DAO is in System32 of the client. DAO35.dll is
also in the application folder on the shared drive. I also get the error when
I copy the code to a local drive.
"Cor Ligthert" wrote:
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******@discussions.microsoft.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_definst As New DAO.DBEngine
Friend WordGlobal_definst 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 "MYAppSupport"

Cor

"Rodrigue" <Ro******@discussions.microsoft.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******@discussions.microsoft.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******@discussions.microsoft.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 #11

P: n/a
Rodrigue

The time I used DAO is far behind me.

I asked Paul Clement in another newsgroup if he can look to this question.
That is no guarantee he does that or that when he does that knows the answer
for you and answer than..

DAO is a very old you know, however I know that Paul sees some benefits in
it.

Cor

"Rodrigue" <Ro******@discussions.microsoft.com>
How would I do that, thus far I created a deployment package that I ran on
a
client, I also verified that DAO is in System32 of the client. DAO35.dll
is
also in the application folder on the shared drive. I also get the error
when
I copy the code to a local drive.
"Cor Ligthert" wrote:
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******@discussions.microsoft.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_definst As New DAO.DBEngine
> Friend WordGlobal_definst 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 "MYAppSupport"
>>
>> Cor
>>
>> "Rodrigue" <Ro******@discussions.microsoft.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******@discussions.microsoft.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******@discussions.microsoft.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 #12

P: n/a
Well, I started using ADO and the problem seems to going away.

"Cor Ligthert" wrote:
Rodrigue

The time I used DAO is far behind me.

I asked Paul Clement in another newsgroup if he can look to this question.
That is no guarantee he does that or that when he does that knows the answer
for you and answer than..

DAO is a very old you know, however I know that Paul sees some benefits in
it.

Cor

"Rodrigue" <Ro******@discussions.microsoft.com>
How would I do that, thus far I created a deployment package that I ran on
a
client, I also verified that DAO is in System32 of the client. DAO35.dll
is
also in the application folder on the shared drive. I also get the error
when
I copy the code to a local drive.
"Cor Ligthert" wrote:
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******@discussions.microsoft.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_definst As New DAO.DBEngine
> Friend WordGlobal_definst 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 "MYAppSupport"
>>
>> Cor
>>
>> "Rodrigue" <Ro******@discussions.microsoft.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******@discussions.microsoft.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******@discussions.microsoft.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 #13

P: n/a
Rodrique,

Thanks for giving this answer

Cor

"Rodrigue" <Ro******@discussions.microsoft.com>
Well, I started using ADO and the problem seems to going away.

"Cor Ligthert" wrote:
Rodrigue

The time I used DAO is far behind me.

I asked Paul Clement in another newsgroup if he can look to this
question.
That is no guarantee he does that or that when he does that knows the
answer
for you and answer than..

DAO is a very old you know, however I know that Paul sees some benefits
in
it.

Cor

"Rodrigue" <Ro******@discussions.microsoft.com>
> How would I do that, thus far I created a deployment package that I ran
> on
> a
> client, I also verified that DAO is in System32 of the client.
> DAO35.dll
> is
> also in the application folder on the shared drive. I also get the
> error
> when
> I copy the code to a local drive.
>
>
> "Cor Ligthert" wrote:
>
>> 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******@discussions.microsoft.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_definst As New DAO.DBEngine
>> > Friend WordGlobal_definst 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 "MYAppSupport"
>> >>
>> >> Cor
>> >>
>> >> "Rodrigue" <Ro******@discussions.microsoft.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******@discussions.microsoft.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******@discussions.microsoft.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 #14

This discussion thread is closed

Replies have been disabled for this discussion.