473,320 Members | 2,147 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,320 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 1541
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.