Skip navigation
All Places > Licensing and Installation > Blog > 2013 > December

In the event that you run into a fatal application error (not licensing) with your SDD application on Windows, here are some tips and tricks on how to try and fix it:


First run the Configurator:


Run the following command (adjust the 'C:\MentorGraphics' path if you installed to a non-default location):





If that doesn't resolve the problem, add a '-clean' to the procedure:


Run commands:


C:\MentorGraphics\win32\configurator.exe -clean




Next stop (if fatal error persists), Configurator '-clean' and reinstall the Microsoft C/C++ VS Redistributable:


Run commands:


C:\MentorGraphics\win32\configurator.exe -clean


C:\MentorGraphics\win32\vcredist_x86.exe (select the option to 'Uninstall')


(Reboot if prompted)


C:\MentorGraphics\win32\vcredist_x86.exe (to install)





If the problem persists, other things to try:


- Check to make sure there are no old/invalid paths in the user or system-defined PATH environment variable. For example, paths to SDD releases other than the current release.


- Create a new WDIR folder, and change the first entry in the WDIR environment variable to the new location.



I hope that helps. If not, best to open a new Service Request on SupportNet.


Have a safe and great New Year everyone!




We've previously discussed how to get fairly detailed debug information with the MGLS_DEBUG_LOG_DIR variable - Tip of the Week: Check requested license feature with debug. But sometimes a quick confirmation of the license checkout can be nice to see in the transcript. And, if anything fails, an error message will be right there.


The FLEXLM_DIAGNOSTICS variable is a simple way to show some debug information. Simply set FLEXLM_DIAGNOSTICS=3 in your environment and you should see something like the following in the shell where you invoked the application:


Checkout succeeded: msimhdlsim/9E204CB2CC009FD365DE

        License file: 1717@licserver

        License Server: 1717@licserver

License granted through "msimhdlsim".



I hope you find this useful. Be sure to share your own tips!



I'll confess that I'm a bit of a novice when it comes to automation in our tools (fortunately Mentor Graphics has experts in this area, I'm just not one of them). Still, I occasionally dabble in the creation of Visual Basic scripts that help me troubleshoot problems or configure an application the way I need it for testing purposes. In this Tip of the Week, I'll show you something I learned that simplified development of my scripts.


I was unaware of this feature until one of the aforementioned experts told me that I could use Windows Explorer to drag and drop my .vbs file onto the application window. Doing that will execute the script without the need to put any of the files in a certain location, modify the scripts.ini file, or exit and re-start the application. For example:



The application looks at the type of file you've selected and will put a '+' sign next to your cursor if the file type is compatible with the place you want to drop the file. If it's not compatible, you'll see a circle with a circle with a '/' through it. Using this method allows you to quickly test and debug the script before you put it into your production environment.


Something I learned as I was writing this blog is pretty useful as well, so I thought I'd share that as well. It seems the Message Window is compatible with a number of file formats. So far I've used this trick to view .jpg, .png, .txt and .pdf files in the applications message area!


Thanks for reading. I hope this tip was useful.


Ken Foster

Mentor Graphics Customer Support

Typically, the default port (1700 or 1717) set in your license file will be fine. However, you may find that there is another license manager running on one of those ports. If you select a port that is in use, you will see something like the following in you license server debug log file:

18:23:28 (lmgrd) The TCP port number in the license, 1717, is already in use.

Edit your license file and try another port such as 1700 or 1718.

I have noticed a recent increase in the number of customers asking for their latest authorization codes (licenses) - so this week's "Tip of the Week" is a reminder.


Licenses for your site are available from Supportnet via the "My Licenses" link in the left navigation bar:




If you subscribe to the SupportPro Newsletter, they are also available from the "Find It Fast" menu:




Finally, if you prefer video, there is a video on the Community site that shows you how to download your authorization codes: