cancel
Showing results for 
Search instead for 
Did you mean: 

Problem deploying par files from .net

Former Member
0 Kudos

Hi,

I have problem deploying par files from visual studio .net. When I try to deploy par files the following message is displayed..

Upload failed. Check details and try again.

Delete C:\Documents and Settings\vp6adm\Application Data\SAP Portal\ep_deploy_afba0361-43ee-47df-a0aa-fb117dbf271c

-


Delete temporary directory : Done -


-


Deployment failed.------

The windows event log shows the following

1) Exception Information

*********************************************

Exception Type: System.InvalidOperationException

Message: Cannot call Invoke or InvokeAsync on a control until the window handle has been created.

TargetSite: System.Object MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)

HelpLink: NULL

Source: System.Windows.Forms

StackTrace Information

*********************************************

at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)

at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)

at System.Windows.Forms.Control.Invoke(Delegate method)

at SAP.Portal.Design.Deployment.DeployManager.DeployCallBack(IAsyncResult ar)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

-


Any help will be highly appreciated.

Mitesh

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

How can I test the connection from .net before deploying. I still have to problem deploying to the portal. The connection from vs looks ok but still can not deploy.

Former Member
0 Kudos

At the server explorer look on your portal node - <u>https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/sap portal development kit for .net 1.0 documentation.html</u>

and View the Portal Connection Status - <u>https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/sap portal development kit for .net 1.0 documentation.html</u>

if you still having problem to deploy look at the EventLog for more information:<u>https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/sap portal development kit for .net 1.0 documentation.html</u>

Regards,

Yehuda

Former Member
0 Kudos

Have you filled the PDK for .NET survey yet? You can win an MP3 player!!!

http://feedback.sap.com/efs/vote?campaign=39c7899ecca40a6709a638bd0388ac8b&org=332

0 Kudos

I am having the same problem, I try to deploy to the portal and I am getting the same message.

Build...

-


Build PDKTest : Done -


Creating temporary directory...

Create Temp dir at C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_6182e22f-c7e8-4e88-862d-44ac1ab27822

Copy file c:\User\_Net\SAPPDKTest\PDKTest\bin\PDKTest.dll

Copy file c:\User\_Net\SAPPDKTest\PDKTest\bin\PDKTest.pdb

Copy file C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_6182e22f-c7e8-4e88-862d-44ac1ab27822\PORTAL-INF
PortalComponent1.ascx

Handle Ascx File ...

Handle Ascx File C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_6182e22f-c7e8-4e88-862d-44ac1ab27822\PORTAL-INF\PortalComponent1.ascx

-


Handle Ascx File : Done -


Creating portalapp.xml ...

ComponentName = PortalComponent1

AscxName = PortalComponent1.ascx

Properties Added :

-


Creating portalapp.xml : Done -


Creating par zip file ...

Creating par zip file C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_6182e22f-c7e8-4e88-862d-44ac1ab27822\PDKTest.par

Deploy to portal...

Portal: DEV Portal

Host: dev

Port: 50000

UserName: Administrator

Upload failed. Check details and try again.

Delete C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_6182e22f-c7e8-4e88-862d-44ac1ab27822

-


Delete temporary directory : Done -


-


Deployment failed.------

0 Kudos

Hi,

It seems that the authentication to the portal failed.

Check the portal authentication details (user name and password) of the portal selected as 'current' at the server exlporer.

regards,

Gaia

Former Member
0 Kudos

Hi Gaja,

Yes it happens consistently and I am not able to deploy any of my projects even not the sample applications that came with .net pdk.

Here is the complete deploy pane output

Build...

-


Build PortalApplication1 : Done -


Creating temporary directory...

Create Temp dir at C:\Documents and Settings\Administrator\Application Data\SAP Portal\ep_deploy_5da759c0-3bc0-4e07-abd2-fffcdfe00a75

Copy file C:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\PortalApplication1\bin\PortalApplication1.dll

Copy file C:\Documents and Settings\Administrator\Application Data\SAP Portal\ep_deploy_5da759c0-3bc0-4e07-abd2-fffcdfe00a75\PORTAL-INF
PortalComponent1.ascx

Copy file C:\Documents and Settings\Administrator\Application Data\SAP Portal\ep_deploy_5da759c0-3bc0-4e07-abd2-fffcdfe00a75\PORTAL-INF
PortalComponent2.ascx

Handle Ascx File ...

Handle Ascx File C:\Documents and Settings\Administrator\Application Data\SAP Portal\ep_deploy_5da759c0-3bc0-4e07-abd2-fffcdfe00a75\PORTAL-INF\PortalComponent1.ascx

Handle Ascx File C:\Documents and Settings\Administrator\Application Data\SAP Portal\ep_deploy_5da759c0-3bc0-4e07-abd2-fffcdfe00a75\PORTAL-INF\PortalComponent2.ascx

-


Handle Ascx File : Done -


Creating portalapp.xml ...

ComponentName = PortalComponent1

AscxName = PortalComponent1.ascx

Properties Added :

ComponentName = PortalComponent2

AscxName = PortalComponent2.ascx

Properties Added :

-


Creating portalapp.xml : Done -


Creating par zip file ...

Creating par zip file C:\Documents and Settings\Administrator\Application Data\SAP Portal\ep_deploy_5da759c0-3bc0-4e07-abd2-fffcdfe00a75\PortalApplication1.par

Deploy to portal...

Portal: portal

Host: potato

Port: 50000

UserName: administrator

Upload failed. Check details and try again.

Delete C:\Documents and Settings\Administrator\Application Data\SAP Portal\ep_deploy_5da759c0-3bc0-4e07-abd2-fffcdfe00a75

-


Delete temporary directory : Done -


-


Deployment failed.------

-


I appreciate your help.

Mitesh

0 Kudos

Hi Mitesh,

Is it happens consistently?

In oredr to analyse it:

1. Check that the log message time suits the failure time.

1. What is full text displayed at Visual Studio output window (deploy process pane, there you can see the exact step in which the error ocures).

Regards,

Gaia