cancel
Showing results for 
Search instead for 
Did you mean: 

Error Message After Rebooting and restarting VS.NET

Former Member
0 Kudos

Hi folks,

After the Installation of the pdk.net Patch 3, it works well within VS.NET, but when I shutdown my pc, and restart it the next day, I allways get the following error message when I start VS.NET 2003:

The Add-in "Portal Development Kit 1.0 Patch 3 for Microsoft.NET" failed to load or caused an exception. Woul you like to remove this Add-in?

If you choose yes, you will need to reinstall the Add-in to use it again.

Error Message: Class not registered

Error number: 80040154

Any suggestions?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Johannes,

Which version of VS 2003 you are using?

this message can be accurse when you are installing the PDK for .NET on Visual Studio .NET Academic Student Tools 2003.

Please look at the "Installation, Upgrade and Configuration Guide - PDK for .NET" guide.

Any way if you are using VS 2003 professional and above I suggest you to remove the program and install it again.

You can download the supporting guides from https://www.sdn.sap.com/sdn/developerareas/dotnet.sdn?contenttype=url&content=/irj/servlet/prt/porta... for .net administrator guides.zip

Regards,

Yehuda

Former Member
0 Kudos

Hi Yehuda,

i am not sure for 100%, but i do use vs 2003 professional.

The reinstalling of the pdk.net sadly does not solve the problem. After I got the message, I do have to reinstall anyway, otherwise i cant use the add-in.

Any other suggestions?

rima-sirich
Advisor
Advisor
0 Kudos

Hi Johannes,

In order to investigate this problem, we need more information, so could you, please, answer following questions:

1. Visual Studio was open or closed during the installation ?

2. After reboot, did you log-in with the same user that installed the Add-in or was it another user ?

3. Was it "clean" install or upgrade ?

Thanks.

Former Member
0 Kudos

hi Rima,

1. Closed

2. same user

3. a clean installation (no error warnings)

rima-sirich
Advisor
Advisor
0 Kudos

Hi Johannes,

Unfortunately, I didn't succeed to reproduce your problem, but I have one last suggestion for you:

1. Uninstall the PDK for .NET

2. Reboot the computer.

3. Install the PDK for .NET and work with it.

4. Reboot the computer and check if it still works.

Regards.

Former Member
0 Kudos

Hi Rima,

sadly, that did not work

rima-sirich
Advisor
Advisor
0 Kudos

Hi Johannes,

You can try to register Add-in manually by running following command in Visual Studio command promt:

regasm "C:\Program Files\SAP\Portal Add-in for Visual Studio 2003\SAP.Portal.Design.dll".

Regards.

Former Member
0 Kudos

Hi all,

I think the problem Johannes had, has to do with some class entries in the regsitry, who do not remain in the registry while rebooting.

Just make one .reg file and insert the following text into the new generated file:

[HKEY_CLASSES_ROOT\SAP.PDK]

@="SAP.Portal.Design.AddIn.AddInEntery"

[HKEY_CLASSES_ROOT\SAP.PDK\CLSID]

@="{4077ED38-8F0D-4FAF-9DA5-24CE91FFBA34}"

[HKEY_CLASSES_ROOT\CLSID\{4077ED38-8F0D-4FAF-9DA5-24CE91FFBA34}]

@="SAP.Portal.Design.AddIn.AddInEntery"

[HKEY_CLASSES_ROOT\CLSID\{4077ED38-8F0D-4FAF-9DA5-24CE91FFBA34}\Implemented Categories]

[HKEY_CLASSES_ROOT\CLSID\{4077ED38-8F0D-4FAF-9DA5-24CE91FFBA34}\Implemented Categories\{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}]

[HKEY_CLASSES_ROOT\CLSID\{4077ED38-8F0D-4FAF-9DA5-24CE91FFBA34}\InprocServer32]

@="C:
WINDOWS
system32
mscoree.dll"

"ThreadingModel"="Both"

"Class"="SAP.Portal.Design.AddIn.AddInEntery"

"Assembly"="SAP.Portal.Design, Version=1.2.0.0, Culture=neutral, PublicKeyToken=50436dca5c7f7d23"

"RuntimeVersion"="v1.0.3705"

"CodeBase"="file:///D:/make/pn/60DN_VAL_REL/src/export/SAP.Portal.Design.DLL"

[HKEY_CLASSES_ROOT\CLSID\{4077ED38-8F0D-4FAF-9DA5-24CE91FFBA34}\ProgId]

@="SAP.PDK"

Save the file and execute it by double clicking the .reg file.

This should have solved your problem.

Regardings

Erhan

Former Member
0 Kudos

Folks,

thank you very much.

The last suggestion gave me the success.

I dont understand why the values are removed from the registry, but I can live with this question and without getting an anwser to this

Thanks again

Answers (0)