on 10-12-2004 8:06 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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.------
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.