Solved

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

Posted on 2011-02-22
11
6,173 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Online collaboration can help businesses be more efficient, help employees grow their skills and foster a team environment.
Email signature management is something that is often overlooked in many organizations or is simply not implemented effectively. Let's take a look at what methods are available for managing this important piece of corporate branding.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

805 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