Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-02-22
11
Medium Priority
?
6,448 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
  • 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
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
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 2000 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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

OnPage enhanced its integration with ConnectWise Manage to offer incident responders more control over the ticket and Incident Resolution Lifecycle.
The Internet has made sending and receiving information online a breeze. But there is also the threat of unauthorized viewing, data tampering, and phoney messages. Surprisingly, a lot of business owners do not fully understand how to use security t…
Integration Management Part 2
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…
Suggested Courses

916 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