Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

sw 2003 installation problem

Status
Not open for further replies.

piper71

Mechanical
Mar 25, 2003
3
Hi people!, I've installed sw 2003 in win xp and when I try to execute the program this message appears: "Failed to initialize Visual Basic for Apps, equations and macros will not work", could someone help me?, it`s been a pain since 3 months ago and I can`t fix it. I have excel installed and also the win XP service pack 1 and nothing works...
Thank you
Piper
 
Replies continue below

Recommended for you

I got the error message as well and i have tried to install again and again with nothing running at background but it still give me the same error. BTW i am very sure that i am an administrator.
 
If you have Administrator privilege, (if not get it or ask)

<Easy way if you don't know about PC>
1. Right click on &quot;My Computer&quot; and select &quot;manage&quot;.
2. Scroll down to &quot;Local Users and Groups&quot; and expand by clicking &quot;+&quot;.
3. Right click on &quot;Users&quot; and select &quot;New User...&quot;
4. Create a new user profile. The new user can belong to &quot;Group&quot; of &quot;Users&quot; or you can assign &quot;Administrators&quot;. Even &quot;Users&quot; will have proper privilege for the profile folder.
5. Log off and log back in by the new user and see if you still have the problem. If the PC is domain PC, select local PC when you login. The user account you created is valid only for your local, not for domain. If you are network administrator, you can create domain account. If your PC is standalone, just login.


<Shortcut if you know about PC>
The root problem is that some program on your PC, or your operation will change the privilege of your user profile. The location is, typically &quot;C:\Documents and Settings\[your login name]&quot; and especially, a folder underneath [your login name], &quot;Application Data&quot; needs &quot;Full Control&quot;.
 
I had the very same problem, and received that annoying message saying that there is a problem because of the VBA and the stupid question that asks if you have run low in HD space. This is what I did.
Apparently, there is a problem with the VBA files. A friend of mine make me this suggestion, and it worked, though it may be a far more big problem for some of you.
*Don`t do this unless it is absolutely critical for you to be able to run SW*
1.Reinstall Windows XP (hahaha! I'm crazy)
2.Install Office 2000 (the version before Office XP)
3.Install SolidWorks. It should run by now.
4.Install the Office XP as an upgrade.
If you ask me, I don't really know how this works, but if your computer has not been tweaked or has tons of erratic files and/or programs that you don't what to have to reinstall, don't do this. Hope this works at least for somebody.
 
I believe the VBA files are fine. Try to run macro with Word or Excel and I bet they work. Only when you run macro from SW, you get the error.

Apparently, SW macro needs to have a right privilege to &quot;C:\Documents and Settings\[your login name]\Application Data&quot;, but somehow, the permission is changed. Then, you get the error.

You didn't have to re-install OS, but only create a new login account. If you re-install, you re-create a new login account anyway and the problem is fixed.

As I posted earlier, this is getting into an area that you don't have to deal with typically. So, just try to create a new login account as I instructed last time and see if the problem is fixed.
 
I created a new login acount and then I reinstalled SW2003 but the problem was not solved.
 
pabasam,

I am sorry to hear that it still doesn't work, but a question for you. Have you ever successfully executed a macro from SW without having the error, &quot;Failed to initialize Visual Basic for Apps, equations and macros will not work&quot;? If not, my suggested way won't help.

I got a macro for multiple printing and the macro was trying to create an initial file under &quot;C:\&quot;, but I didn't have a permission. So IT manipulated my privilege and since then, all macros from SW stooped working and kept getting the error message. I tried to run a macro from Excel and it worked. Another strange thing happening was I couldn't delete a file I created on Desktop. This is why I started looking permission of my user profile.

As I described before, my permission for &quot;Application Data&quot; was gone and since IT gave me full permission to my user profile becasue of the trouble, I could add &quot;Full Control&quot; to the folder and the problem was gone. I couldn't believe and I took the permission away to made sure if that was the cause. Sure, I got the error message. I am not still sure how my permission to the folder was gone, but I didn't have to re-install SW at all.

I bet there are some other causes for this problem, but I am suggesting to check the permission for &quot;Application Data&quot; based on my experience, especially the error message was same.
 
To all people that have this problem:
the solution is quiet easy, search &quot;Mso9intl.dll&quot; on your Solidworks CDs, and copy this file into your Solidworks installation folder.That's it!!!

I just used this way to solve this problem this morning.
 
scott1971ca,

I don't have the problem any more, but I am just curios.

&quot;Mso9intl.dll&quot; is not in my SolidWorks folder, but in &quot;C:\Program Files\Microsoft Office\Office\1033&quot;. It's &quot;Microsoft Office 2000 component&quot;, file version 9.0.0.2720.

I don't have SolidWorks CD because IT controls all PCs and softwares here at my work, so I can't confirm if the DLL is on SolidWorks CD. Wasn't it on MS Office CD? How did you decide to try it?
 
LoveAeris,

You are right, basically, this file is a DLL file for MS Office program.

I am runing Windows2000, MS OfficeXP and Solidworks 2004 on my computer. But before I copied this file from Solidworks CD, I could not find this file on my computer.

Last night, I installed, uninstalled and reinsatlled so many times, but the problem was still there. This morning, I runned a monitor program, &quot;Filemon&quot;, that is a powerful tool for seeing how applications use the files and DLLs. So, after I read the log file, I found before the problem happens, the last file that Solidworks searched is &quot;Mso9intl.dll&quot;. This is my reason.

I think you can find this file on MS Office CD.
 
scott1971ca

&quot;the solution is quiet easy, search &quot;Mso9intl.dll&quot; on your Solidworks CDs, and copy this file into your Solidworks installation folder.That's it!!!&quot;

Could you be more specific about the &quot;installation folder?&quot;
Could you specify the folder directory? i.e. (C:\Program Files\SolidWorks) ??

Thank you very much,
 
You dont need to actually write macros to test the VBA, any equation entered in the Equation manager will run VBA to execute.
 
007bond

The &quot;installation folder&quot; is the floder in which you intall the SolidWorks.

for example, the default floder for insatlling SolidWorks is &quot;C:\Program Files\SolidWorks&quot;, so, you just copy the file &quot;Mso9intl.dll&quot; into &quot;C:\Program Files\SolidWorks&quot;.

If you cannot find &quot;Mso9intl.dll&quot; in Solidworks CD, you can try to find it on Microsoft Office CD.
 
I had the same problem with sw2004 so I did what Scott1971ca said and it's solved!

(-: Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor