cancel
Showing results for 
Search instead for 
Did you mean: 

"generator service initialization failed" in MAS for CRM 2007

Former Member
0 Kudos

Hi,

I've got this message in MAS (CRM 2007 SP02) after the selection of the ars_db :

"generator service initialization failed"

Once MAS is finally openned, the icon for the "generation settings" remains disabled meaning that i cannot run a generation of the application.

Has anyone have any advice regarding this problem?

Regards,

Johnny Baillargeaux

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello

Please follow the below steps to resolve this issue.

1. Create a batch file (For example, Register.bat) and put the following line in the batch file.

for %%f in (.ocx,.dll) do regsvr32.exe /s %%f

And place this batch file Bin.Net folder and Run it.

2. Go to folder <<Drive>>:\Program Files\Microsoft Visual Studio 8\Common7\IDE and register the Genservicewrapper. dll using regsvr32 command.

3. Now open MAS and verify that issue is resolved.

Best Regards

Shankar

Former Member
0 Kudos

the following is the batch commad to be put in the batch file

for %%f in (.ocx,.dll) do regsvr32.exe /s %%f

Regards

Shankar

Former Member
0 Kudos

Hi Shankar,

I'm having the same issue with the Generator Service. I've tried registering all the dll's in the Bin.Net folder and also registering Genservicewrapper. dll in <<Drive>>:\Program Files\Microsofy Visual Stusio 8\Common7\IDE.

I used the command "for %%f in (.ocx,.dll) do regsvr32.exe /s %%f" inside a batch file for registering the ocx's and dll's but the same error is still appearing and I cannot generate the application.

Do you know anything else I can try?

Thanks a lot!

Regards,

Gerardo

Former Member
0 Kudos

I have tried that also but without more success.

The problem is maybe due to the fact that we only have 42 MB of disk space left over on the C: Drive.

I'll try to clean up some files in our C: drive and check if i still have the problem.

Thanks again for your help

Johnny Baillargeaux

Former Member
0 Kudos

Hi,

Thanks for your quick reply.

Unfortunately, i have tried to do that, but i still have my problem...

Regards,

Johnny Baillargeaux

Former Member
0 Kudos

Hi again,

then maybe this helps...

############################################################

Register GenServiceWrapper.dll which is in <Visual Studio .Net 2003

Install Path>\Common7\IDE folder. Eg.: C:\Program Files\Microsoft Visual

Studio .NET 2003\Common7\IDE.

If this doesn't solve the issue, try registering all dlls under

Mobile\Bin.Net and Common7\IDE folder in VS.Net installation path. Hope

this solves the issue.

############################################################

Regards,

Wolfhard

Former Member
0 Kudos

Hi,

I found a quite similar customer issue with the following solution by SAP support:

#################################################################

Dear Customer,

We have noticed that there has been some change in the generator

settings that is causing this problem. Some settings files related

to generators are stored in the following location:

C:\Documents and Settings\<windows login id>\Application Data\SAP

\MobileClient

For login dea60621, the above path would be:

C:\Documents and Settings\dea60621\Application Data\SAP\MobileClient

For some reason, possibly a windows login id change, the paths in the

above files are incorrect.

In order to fix this issue, kindly follow these steps:

1. Rename the MobileClient folder under

C:\Documents and Settings\dea60621\Application Data\SAP\

(Considering that the windows login id is dea60621)

2. Open MAS. Generator Settings window would be shown. Select the

required UI, BOL and Message options.

3. MAS would open correctly and all the appopriate menus would be

available. MAS would internally create a new MobileClient folder

under the above path, with the newly selected generator options.

4. The old MobileClient folder which was renamed can be deleted.

#################################################################

Maybe this advice helps.

Regards,

Wolfhard