Solved

Typing in net use in dos the following error occurs error 1734 - array bounds invalid

Posted on 2011-02-22
11
6,393 Views
Last Modified: 2012-05-11
Typing in net use in dos the following error occurs error 1734 - array bounds invalid
0
Comment
Question by:knightfrank
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 16

Expert Comment

by:sjklein42
ID: 34958147
I wonder if you have a batch file or an executable called "net" that is interfering with the built-in NET command in DOS.

Try directly running the net command using the full path and see if the error goes away:

C:\WINDOWS\system32\net.exe
0
 
LVL 2

Author Comment

by:knightfrank
ID: 34958239
No this did not work see below :


C:\>c:\windows\system32\net.exe
The syntax of this command is:


NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
      HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
      SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]


C:\>c:\windows\system32\net.exe net use
The syntax of this command is:


NET USE
[devicename | *] [\\computername\sharename[\volume] [password | *]]
        [/USER:[domainname\]username]
        [/USER:[dotted domain name\]username]
        [/USER:[username@dotted domain name]
        [/SMARTCARD]
        [/SAVECRED]
        [[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]



C:\>net use
System error 1734 has occurred.

The array bounds are invalid.
0
 
LVL 2

Author Comment

by:knightfrank
ID: 34958244


C:\>c:\windows\system32\net.exe use
System error 1734 has occurred.

The array bounds are invalid.

0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 16

Expert Comment

by:sjklein42
ID: 34958402
There is a Microsoft Hotfix for this:

http://support.microsoft.com/?id=2454533

The problem was apparently caused by this update:

KB980802

Uninstalling KB980802 fixed the problem for some people but the Hotfix covers it.

See this discussion:

http://social.answers.microsoft.com/Forums/en-US/vistawu/thread/28bc2814-319e-446d-97b4-fd164c4e4d9a
0
 
LVL 2

Author Comment

by:knightfrank
ID: 35002614
I could not find the hotfix on http://support.microsoft.com/?id=2454533
 and i went through my updates and could not find KB980802 in my updates
0
 
LVL 16

Expert Comment

by:sjklein42
ID: 35002708
Hello again.  I guess "no news is good news" doesn't apply here.  Sorry to hear it.

I have not found any other suggestions regarding this error.  The message often seems connected to Microsoft's Visual Studio.  Do you have Visual Studio on that PC, even if it is not running?

Maybe you should make a "Request for Attention" to see if anyone else has an idea.
0
 
LVL 2

Author Comment

by:knightfrank
ID: 35002753
im using winxp
0
 
LVL 16

Accepted Solution

by:
sjklein42 earned 500 total points
ID: 35002817
Like I said, I don't have the answer, but my thoughts are this:

One of the entries that NET USE is trying to display must be upsetting it.  NET USE shows the list of mapped network drives.  Do you have any mapped network drives?

Open Windows Explorer, and go to Tools/Disconnect Network Drive.  See anything unusual?  If you feel like it, you could disconnect any drives you see there and then test if the NET USE command works when there are no mapped drives.  Of course, after this test, you'll have to set up your mapped drives again, so it might be a pain to try out.  But it may work.
0
 
LVL 2

Author Comment

by:knightfrank
ID: 35003813
awesome you were right. Went through 1 by 1 and a mapped drive was causing the error. Thanks
0
 
LVL 16

Expert Comment

by:sjklein42
ID: 35003884
That's great.  Thanks.
0
 
LVL 2

Author Comment

by:knightfrank
ID: 35003918
happened to be a sharepoint drive also, the only sharepoint drive i had mapped
0

Featured Post

Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how Pepper.com relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Invest in your employees with these five simple steps to improve employee engagement and retention.
Recovering from what the press called "the largest-ever cyber-attack", IT departments worldwide are discussing ways to defend against this in the future. In this process, many people are looking for immediate actions while, instead, they need to tho…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Suggested Courses
Course of the Month6 days, 5 hours left to enroll

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question