473,652 Members | 3,123 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Assembly on shared drive just doesn't work???

I have an assembly on a shared LAN drive. On my developer machine, I give
that assembly full trust from the .NET wizard. It works fine. I go to a
user machine on the LAN, map to the shared drive, give full trust on that
machine but the assembly doesn't fully work. No errors. The assembly post
data from MS Access to a website. The posting part doesn't work. The
firewall was turned off and still nothing.

Any ideas?

Thanks,
Brett
Nov 17 '05 #1
11 1525
hi,

do you any logging in the program? did you check the event log?

Does the user machine has access to the server?
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Brett" <no@spam.com> wrote in message
news:uq******** ******@TK2MSFTN GP15.phx.gbl...
I have an assembly on a shared LAN drive. On my developer machine, I give
that assembly full trust from the .NET wizard. It works fine. I go to a
user machine on the LAN, map to the shared drive, give full trust on that
machine but the assembly doesn't fully work. No errors. The assembly post
data from MS Access to a website. The posting part doesn't work. The
firewall was turned off and still nothing.

Any ideas?

Thanks,
Brett

Nov 17 '05 #2
> do you any logging in the program?
There isn't any logging. What exactly could I log to help out?
did you check the event log? There isn't anything entered that looks as though it relates to this
problem.
Does the user machine has access to the server? It is listed in his Windows Explorer and a map was successfully made to a
path on that server. This is where the program is executed from.

The program writes to a text file on the network drive. Then it post data
from an MS Access database to a website. It does successfully write to the
text file on the user machine. If it were a security issue, this shouldn't
happen right?

Any other suggestions are welcome.

Thanks,
Brett

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.mach in AT dot.state.fl.us > wrote
in message news:e3******** ******@TK2MSFTN GP15.phx.gbl... hi,

do you any logging in the program? did you check the event log?

Does the user machine has access to the server?
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Brett" <no@spam.com> wrote in message
news:uq******** ******@TK2MSFTN GP15.phx.gbl...
I have an assembly on a shared LAN drive. On my developer machine, I give
that assembly full trust from the .NET wizard. It works fine. I go to a
user machine on the LAN, map to the shared drive, give full trust on that
machine but the assembly doesn't fully work. No errors. The assembly
post data from MS Access to a website. The posting part doesn't work.
The firewall was turned off and still nothing.

Any ideas?

Thanks,
Brett


Nov 17 '05 #3

"Brett" <no@spam.com> wrote in message
news:uQ******** ******@TK2MSFTN GP14.phx.gbl...
do you any logging in the program? There isn't any logging. What exactly could I log to help out?


Well you could know if you get an exception you will know the line where it
occured. Probably now you are just catch ing it and doing nothing.
The program writes to a text file on the network drive. Then it post data
from an MS Access database to a website. It does successfully write to
the text file on the user machine. If it were a security issue, this
shouldn't happen right?


How come it does not give you any exception or errors?

That's why my suggestion about logging

Also are you sure that the machine has Jet installed?

Are you using oledb or ODBC ?

Do you have JET installed?
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Nov 17 '05 #4
Brett,

Just to clarify, you are still running the .exe on your user machine...
you're just loading it from a shared drive, right? It works when you
run it from a local copy, but not when you invoke the same executable
on the same machine, but loading it from a shared drive. Is this
accurate?

Nov 17 '05 #5

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.mach in AT dot.state.fl.us > wrote
in message news:Of******** ******@tk2msftn gp13.phx.gbl...

"Brett" <no@spam.com> wrote in message
news:uQ******** ******@TK2MSFTN GP14.phx.gbl...
do you any logging in the program? There isn't any logging. What exactly could I log to help out?


Well you could know if you get an exception you will know the line where
it occured. Probably now you are just catch ing it and doing nothing.
The program writes to a text file on the network drive. Then it post
data from an MS Access database to a website. It does successfully write
to the text file on the user machine. If it were a security issue, this
shouldn't happen right?


How come it does not give you any exception or errors?

That's why my suggestion about logging

Also are you sure that the machine has Jet installed?

Are you using oledb or ODBC ?

Do you have JET installed?


I'm using oledb. How can I be sure JET is installed?



cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

Nov 17 '05 #6

"Bruce Wood" <br*******@cana da.com> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
Brett,

Just to clarify, you are still running the .exe on your user machine...
you're just loading it from a shared drive, right? It works when you
run it from a local copy, but not when you invoke the same executable
on the same machine, but loading it from a shared drive. Is this
accurate?


No. The EXE is on a server. Two machines map a J drive to the server. My
developer machine executes the EXE fine. The user machine doesn't. No
errors. The prog writes to a text file but it will not post MS Access data
to a website. All of that works on my developer machine.

Thanks,
Brett
Nov 17 '05 #7

"Brett" <no@spam.com> wrote in message
news:e%******** ********@TK2MSF TNGP15.phx.gbl. ..

"Bruce Wood" <br*******@cana da.com> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
Brett,

Just to clarify, you are still running the .exe on your user machine...
you're just loading it from a shared drive, right? It works when you
run it from a local copy, but not when you invoke the same executable
on the same machine, but loading it from a shared drive. Is this
accurate?


No. The EXE is on a server. Two machines map a J drive to the server.
My developer machine executes the EXE fine. The user machine doesn't. No
errors. The prog writes to a text file but it will not post MS Access
data to a website. All of that works on my developer machine.

Thanks,
Brett


Yes, the exe is on the share but it runs on the client's machine. As Ignacio
said, you have to make sure all components to access the Access files
(loacted on the same share?) are installed on the client.
As there's no exception thrown when trying to open the DB, I suppose that
accessing the DB is not an issue, remains the question what you mean exactly
with post to the webserver, and where is the server located (same as the
exposing the share?).
What kind of application is this (console, Windows Forms?).

Willy.

Nov 17 '05 #8

"Willy Denoyette [MVP]" <wi************ *@telenet.be> wrote in message
news:OS******** *****@TK2MSFTNG P14.phx.gbl...

"Brett" <no@spam.com> wrote in message
news:e%******** ********@TK2MSF TNGP15.phx.gbl. ..

"Bruce Wood" <br*******@cana da.com> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
Brett,

Just to clarify, you are still running the .exe on your user machine...
you're just loading it from a shared drive, right? It works when you
run it from a local copy, but not when you invoke the same executable
on the same machine, but loading it from a shared drive. Is this
accurate?

No. The EXE is on a server. Two machines map a J drive to the server.
My developer machine executes the EXE fine. The user machine doesn't.
No errors. The prog writes to a text file but it will not post MS Access
data to a website. All of that works on my developer machine.

Thanks,
Brett


Yes, the exe is on the share but it runs on the client's machine. As
Ignacio said, you have to make sure all components to access the Access
files (loacted on the same share?) are installed on the client.
As there's no exception thrown when trying to open the DB, I suppose that
accessing the DB is not an issue, remains the question what you mean
exactly with post to the webserver, and where is the server located (same
as the exposing the share?).


The DB, text file and EXE are all in the same directory on a shared drive.
DB writes an ID # to the text file. The EXE reads an ID # from the text
file. It uses this ID # to access a table in the DB and writes that to a
CSV file. The CSV is then POSTed to remote website. A FORM POST is used via
httpResponseArr ay = myWebClient.Upl oadFile(strPost , "POST", FileName)
What kind of application is this (console, Windows Forms?). WinForm.

Willy.


Nov 17 '05 #9

"Brett" <no@spam.com> wrote in message
news:e0******** ******@TK2MSFTN GP14.phx.gbl...

"Willy Denoyette [MVP]" <wi************ *@telenet.be> wrote in message
news:OS******** *****@TK2MSFTNG P14.phx.gbl...

"Brett" <no@spam.com> wrote in message
news:e%******** ********@TK2MSF TNGP15.phx.gbl. ..

"Bruce Wood" <br*******@cana da.com> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
Brett,

Just to clarify, you are still running the .exe on your user machine...
you're just loading it from a shared drive, right? It works when you
run it from a local copy, but not when you invoke the same executable
on the same machine, but loading it from a shared drive. Is this
accurate?
No. The EXE is on a server. Two machines map a J drive to the server.
My developer machine executes the EXE fine. The user machine doesn't.
No errors. The prog writes to a text file but it will not post MS
Access data to a website. All of that works on my developer machine.

Thanks,
Brett


Yes, the exe is on the share but it runs on the client's machine. As
Ignacio said, you have to make sure all components to access the Access
files (loacted on the same share?) are installed on the client.
As there's no exception thrown when trying to open the DB, I suppose that
accessing the DB is not an issue, remains the question what you mean
exactly with post to the webserver, and where is the server located (same
as the exposing the share?).


The DB, text file and EXE are all in the same directory on a shared drive.
DB writes an ID # to the text file. The EXE reads an ID # from the text
file. It uses this ID # to access a table in the DB and writes that to a
CSV file. The CSV is then POSTed to remote website. A FORM POST is used
via
httpResponseArr ay = myWebClient.Upl oadFile(strPost , "POST", FileName)
What kind of application is this (console, Windows Forms?).

WinForm.


Is the CSV file created? If it is, you might have a security issue when
posting to the webserver, again this should throw an exception unless you
swallow them :).

Willy.
Nov 17 '05 #10

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,
10
504
by: Simon Wallis | last post by:
I know the general purpose for the GAC is to share a component among many applications. But even when you add something to the GAC, you still have to manually create a reference to the DLL in your project (right?). So what have I gained by adding it to the GAC?
1
2113
by: clusardi2k | last post by:
Hello, I have a shared drive on SGI, Linux, and Windows. The fact that I'm using a shared drive may be mute information. The problem is within the same program a second call to fopen does not create a file if the file has been deleted. I would like to use fopen for its pointer return value to solve this.
7
3365
by: clusardi2k | last post by:
Hello, I have a shared drive on SGI, Linux, and Windows. A second call to fopen doesn't create the file if it has been deleted. I would like to use fopen for its pointer return value to solve this. What is the best way to fix this problem?
0
1120
by: John Holmes | last post by:
I have created a shared assembly (ctrl1.dll) with a strong name and added it to the GAC on a development webserver, devweb, and it's dependent dll (dep1.dll) which has also been added to the GAC . I located the dlls on the C: drive on devweb (C:\Program Files\Common Files\MyAssemblies). I'm developing on a different machine, mydev. My project is located on the webserver, devweb. So I do a File/Open/Project from web to open my web...
5
1967
by: Dan Lorenz | last post by:
When trying to use the function CreateDirectory on my local machine everything works fine but when I upload the page to my webhost I get an issue that it can't find path on D:\, though D:\ is what my website is found on. This is an H-SPHERE web cluster host. From my research I found that this issue is due to ASPNET account not having read previdgeles on the root of the drive. My question is what is the correct approach to solve this...
3
6808
by: KSC | last post by:
Hello, Is there a way to programmatically determine if a directory is shared and if so, what the sharename is? It seems a simple question, but I have been searching and not found the answer... Thanks in advance!
3
7832
by: Shawnk | last post by:
I use two classes to manage the Main() command line (and alot of other stuff) for my prototyping environment. I tryed putting the MainClass in a DLL and just having the other class (which gets modified on a per project basis) as the 'program.cs' file (the only *.cs file). I keep getting 'Main() not defined error' even though it was defined via the DLL reference in the project.
5
18461
by: =?Utf-8?B?TWFydHluIEZld3RyZWxs?= | last post by:
From the amount of articles about this one I’m sure this gets asked a lot, but I haven’t yet found a succinct article which explains what is required in its entirety. I work using Visual Studio 2005 SP1 mainly in ASP.Net using VB.Net 2.0. I have an application which runs without error on my development server so I believe that the underlying code is correct. Most of my applications including this one runs on a shared server (Win
0
8279
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
8811
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...
0
8703
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
8467
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
7302
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
5619
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
4145
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...
1
2703
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
1
1914
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.