Forms Generation Client Event Problem

  • 30 August 2007
  • 6 replies
  • 1 view

Badge +8

Trying to use the Form Generation Client Event results in the following error:


Error 1 Task ErrorSystem.Exception: There was a problem publishing the generated forms. Please add the generated project to the solution and ensure there are no build errors. Also ensure you have Microsoft Web Deployment Projects addon installed for Visual studio as this could also be a reason for a failed deployment.
   at SourceCode.DeploymentTasks.FormsGeneration.ClientEventDeploymentTask.HasPublishedWebsite()
   at SourceCode.DeploymentTasks.FormsGeneration.ClientEventDeploymentTask.Execute() C:Documents and SettingsAdministrator.K2MEGASRVMy DocumentsVisual Studio 2005ProjectsK2TestProject01TestProject01objDebugDeploymentTestProject01.msbuild 70 6 TestProject01


Furthermore...


I added the generated form into a project and found out that it was missing labels, had duplicate controls etc. etc.


 


6 replies

Badge +1

Hi Deon,


You need to download and install ‘Web deployment Project addon’.


 You can download it from http://msdn2.microsoft.com/en-us/asp.net/Aa336619.aspx and this should resolve your issues.


 I hope that helps.


Cheers,


Shaun.

Badge +8

Thank you Shaun, but this thing is still driving me crazy,


now I get the following when doing the 101 training labs:


Error 1 Task ErrorSystem.NullReferenceException: Object reference not set to an instance of an object.
   at SourceCode.DeploymentTasks.FormsGeneration.ClientEventDeploymentTask.HasPublishedWebsite()
   at SourceCode.DeploymentTasks.FormsGeneration.ClientEventDeploymentTask.Execute() D:K2VS2005Denallix TrainingDenallix Expense ReportobjDebugDeploymentDenallix Expense Report.msbuild 68 6 Denallix Expense Report


 

Badge +4

Do you have HotFix 2 installed?

Also, what does your install topology look like (stand alone, distributed, farm)?

Badge +8

Hi,


I have HF2.01 installed, everything is one server.

Badge +7
icon-quote.gifsmiddie:

Thank you Shaun, but this thing is still driving me crazy,


now I get the following when doing the 101 training labs:


Error 1 Task ErrorSystem.NullReferenceException: Object reference not set to an instance of an object.
   at SourceCode.DeploymentTasks.FormsGeneration.ClientEventDeploymentTask.HasPublishedWebsite()
   at SourceCode.DeploymentTasks.FormsGeneration.ClientEventDeploymentTask.Execute() D:K2VS2005Denallix TrainingDenallix Expense ReportobjDebugDeploymentDenallix Expense Report.msbuild 68 6 Denallix Expense Report



I have the same error, http://k2underground.com/forums/thread/19379.aspx

Badge +4

kenlin,

I posted a workaround in the thread you started:  http://k2underground.com/forums/thread/19379.aspx

Reply