Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Net Hasp corrupting log-in scripts?????


kccadcam
 Share

Recommended Posts

Here's a really strange one...

We have one computer here (Dell p3 tnt2 Winnt4)

that when someone fires up Mastercam it kicks them out and corrupts their Netware log-in script.

We've went so far as to format C: and reinstall Winnt and still no luck.

Our IT guy is going nuts deleting log-in scripts and recreating them everytime some one trys to fire up Mastercam.

Anyone seen this before, or do we throw it out the window?!?!? mad.gif

Link to comment
Share on other sites

quote:

Does running NHASP9.EXE also corrupt the login scripts or do they only get corrupted when Mastercam is launched?

I'm not sure I can tell. We only see the problem when Mastercam is started. NHASP9.exe always finds the server, but typically the 2nd time you run NHASP9, it doesn't seem to remember that it previously found the server. NHASP9 defaults back to 'Local' mode.

To be clear, the login scripts are not being corrupted, it's the person's roaming profile which gets corrupted in some unknown way.

 

 

quote:

Does running Mastercam with a local HASP on that computer cause the scripts to be corrupted as well?

The local HASP seems to work fine

Link to comment
Share on other sites

If it's just this computer that has problems and the exact same nethasp.ini file is being used on the exact same version of Mastercam, then that is indeed a weird problem. Is the computer on the same subnet as all of the other computers that are working fine? Does it matter which user logs into this computer? Does the computer have a crappy Realtec NIC or something similar?

Link to comment
Share on other sites

The hasp state is stored in user section of the registry. Specificly, it's stored in HKEY_CURRENT_USERSoftwareCNC Software, Inc. as the REG_SZ value Sim Type. Local would be 'H' while network would be 'N'.

 

If I had to guess, I'd say that the registry on the computer in question is corrupt, and it's corrupting the USER.DAT copied from the user's roaming profile location when the user attempts to make a change to the HASP settings. Another possibility is that the NHASP9.EXE program on that computer is damaged. Once the USER.DAT file becomes corrupt, things that depend on the settings in the unreadable section won't work. Like MasterCAM.

 

Try using REGEDIT to take a look at the HKEY_CURRENT_USERSoftwareCNC Software, Inc. key and see what happens to it when you use NHASP9.EXE to change the HASP type.

Link to comment
Share on other sites

Glad it helped.

 

Rights in general can be difficult to troubleshoot. Rights in the registry are even more troublesome. Developers generally cannot determine what effect unfortunate combinaitons of rights might cause, so the error messages related to rights difficulties are almost always misleading.

 

Generally what I'll do in a CAD/CAM lab is assign the users the same registry rights as granted to the Power Users group. This does not make them Power Users, as there are several other user rights that they need to be able to take advantatage of that access. Generally it's only HKEY_LOCAL_MACHINESoftware that needs adjusting. Be careful not to inadvertently change the SYSTEM user's rights to any part of the registry. That can cause very strange and difficult to track down problems.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...