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

HEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEELP. I AM AT MY WITS END. IT JUST DON'T WORK.

JT
I posted this message a couple of weeks ago and know one answered. I am not
sure if why. I am sure that I am not the only one that has had this issue.
Or is it because I used a dirty N word. "Novell"

Here is my previous post. I really hope someone can help with this because I
don't know what else to do.
Abandoning Novell is simply not an option at this point.

UnauthorizedAccessException when trying to access a Novell network drive.
The code is very simple.

This is the line that fails when trying to create a new StreamWriter where
_filename is a string that points to a Novell network drive.

StreamWriter file = new StreamWriter(_filename,false);

The user has full access to the directory.
By the way. This line works fine on the local box as well as accessing a
Windows NT 4.0 or 200x Server drive. This issue is only with Novell Drives.

The client is Windows XP SP2 using the native Novell client drivers that
came with XP.
I have not yet Tried the Novell Client Drivers from Novell.

Any help would be greatly appreciated.
Thanks,
JT
Jul 21 '05 #1
3 1545
In windows, you can have seperate permissions for the file, directory AND
the share itself. In other words, user "JDoe" could have full permissions on
the file and directory but have read-only permission for the share..

Also, throw a try/catch block around that and get what the
UnauthorizedAccessException.Message is..
"JT" <jt@jtmail.com> wrote in message
news:ev**************@TK2MSFTNGP11.phx.gbl...
I posted this message a couple of weeks ago and know one answered. I am not sure if why. I am sure that I am not the only one that has had this issue.
Or is it because I used a dirty N word. "Novell"

Here is my previous post. I really hope someone can help with this because I don't know what else to do.
Abandoning Novell is simply not an option at this point.

UnauthorizedAccessException when trying to access a Novell network drive.
The code is very simple.

This is the line that fails when trying to create a new StreamWriter where
_filename is a string that points to a Novell network drive.

StreamWriter file = new StreamWriter(_filename,false);

The user has full access to the directory.
By the way. This line works fine on the local box as well as accessing a
Windows NT 4.0 or 200x Server drive. This issue is only with Novell Drives.
The client is Windows XP SP2 using the native Novell client drivers that
came with XP.
I have not yet Tried the Novell Client Drivers from Novell.

Any help would be greatly appreciated.
Thanks,
JT

Jul 21 '05 #2
JT wrote:
I posted this message a couple of weeks ago and know one answered. I
am not sure if why. I am sure that I am not the only one that has had
this issue. Or is it because I used a dirty N word. "Novell"


Or because you just haven't asked in the right forum (it can be hard to tell
sometimes).

I'd suggest posting in

microsoft.public.win32.programmer.networks

Another thing to try: Write a non-managed (i.e. native C/C++ program) that
attempts to access the same Novell share and see if that works. Most likely
it will also fail, because most likely, the problem has nothing to do with
..NET and everything to do with Windows network security.

-cd
Jul 21 '05 #3
Hi,

I had running a similar code until a couple of weeks ago that the client
upgrade to win 2003, it ran without any problem.

So probably you have permission problems writting to that share, open a
notepad write some chars and try to save it in that share and see what
happen, I dont think there is nothing especial writting to a novell share

if the above works, try to write to the same file you are writting in your
code, maybe the name is not valid in novell, maybe it;s being used somewhere
else.

cheers,

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

"JT" <jt@jtmail.com> wrote in message
news:ev**************@TK2MSFTNGP11.phx.gbl...
I posted this message a couple of weeks ago and know one answered. I am not sure if why. I am sure that I am not the only one that has had this issue.
Or is it because I used a dirty N word. "Novell"

Here is my previous post. I really hope someone can help with this because I don't know what else to do.
Abandoning Novell is simply not an option at this point.

UnauthorizedAccessException when trying to access a Novell network drive.
The code is very simple.

This is the line that fails when trying to create a new StreamWriter where
_filename is a string that points to a Novell network drive.

StreamWriter file = new StreamWriter(_filename,false);

The user has full access to the directory.
By the way. This line works fine on the local box as well as accessing a
Windows NT 4.0 or 200x Server drive. This issue is only with Novell Drives.
The client is Windows XP SP2 using the native Novell client drivers that
came with XP.
I have not yet Tried the Novell Client Drivers from Novell.

Any help would be greatly appreciated.
Thanks,
JT

Jul 21 '05 #4

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

Similar topics

1
by: Muckey | last post by:
I need to make a winform component that embeds in an aspx page. This component will do some ftp work from our intranet site to our internet site. We need to use a component to avoid having to...
4
by: Chris | last post by:
I'm still amazed after working with Crystal Reports (CR) for over 4 years that they are still the messiest most un-stable application around. I've been thrown back into using it just recently and...
16
by: John Rivers | last post by:
http://www.15seconds.com/Issue/030812.htm?voteresult=1 poor guy worked his heart out, just to make a page control and then they published it ha ha ha ha ha to "help" others
3
by: JT | last post by:
I posted this message a couple of weeks ago and know one answered. I am not sure if why. I am sure that I am not the only one that has had this issue. Or is it because I used a dirty N word....
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
3
by: bbcworldtour | last post by:
(SQL Server 2005, express edition) I have a list of table names that I need to translate according to a naming convention. I'm doing this using pattern matching in a LIKE clause. In one...
10
kcdoell
by: kcdoell | last post by:
Good Morning: I have 12 and 3 . I created the below query: SELECT , , Sum() AS , Sum() AS FROM UqryProductTypeStatic WHERE ((()=..-1) AND (()=..)) GROUP BY , ;
4
by: dougmeece | last post by:
Morning Everyone... I have a table that needs to be append to and also updated. All the fields in the table are populated with data from the text boxes and combo boxes on a form. The Date...
0
by: xkenneth | last post by:
All, If anyone has any interest in developing a bit of code for generating WITS and WITSML in python, then drop me a line. I've started a project on google apps, "PyWITS", and I plan to support...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
0
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...

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.