.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

Workflow project compilation fails with error 348: Compilation failed. Cannot execute a program.

Posted By:      Posted Date: September 16, 2010    Points: 0   Category :WPF
 
Hi, I am trying to build a workflow project on a PC and I am getting the "error 348: Compilation failed. Cannot execute a program." error. This project is part of a bigger solution and it used to build just fine on my PC. Also, the project and the solution build OK on several other computers. I am sure that the problem is something on my PC. 1. I am not sure what changed to make the project start failing. 2. I tried to delete the project, source and all folders from the disk and sync to the source control again 3. Re-installed the .NET 3.5 framework 4. Uninstalled Visual Studio 2008, deleted the visual studio folder under program files, and reinstalled VS 2008 5. I noticed the the file referenced in the error "...Temp\8sl_helt.cmdline" does not exist under the Temp folder. An empty folder called "8sl_helt"however is created, but there is no file with the cmdline extension. I turned up the output log to "diagnostics", this is the output generated when the error happens. Have anybody seen this? Done building target "_ComputeNonExistentFileProperty" in project "QCReviewWorkflowLibrary.csproj". Target "CreateWorkflowManifestResourceNames" skipped. Previously built successfully. Target "WorkflowCompilation" in file "C:\Program Files\MSBuild\Microsoft\Windows Workflow Foundation\v3.5\Workflow.T


View Complete Post


More Related Resource Links

Imported Workflow project does not compile "error 348: Compilation failed. Unable to load one or mor

  
Original workflow project was compiled on 32 bit machine. I exported it to VS.Net 2010 and it fails to compile. Has anybody seen this error? -Stan  

WCF project -- x64 Compilation Error

  
Hi All,

I have 5 BizTalk projects in a sloution and sixth one is WCF Project.When I try to build all the projects are build successfully except WCF Project.
All the Projects have been developed in x86 Env, but I creating build on x64.


Following is Error:The OutputPath property is not set for this project. Please check to make sure that you have specified a valid configuration/plaftform combination. Configuaration='Release' Platform'x64'


Thanks in Advance,
Krishna

All my server-controls became unrecognized!!! like there's compilation error or web.config missing!

  

hi!

please help - the problem is in post subject.

I have lots of warnings with following text:

"Warning 10 Element 'HyperLink' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing. C:\Users\Pavel\Documents\Visual Studio 2010\WebSites\BioWebSite\ToScientist.aspx 26 18 C:\...\BioWebSite\" 

But web.confg is there! And there's no compilation error!

Site builds just fine. And If I upload it to my hoster - it works!

 

But with all these errors I cant add controls to pages - VS2010 adds hyperlink without ID, and intelisens stoped to work.

Strange, but in my other project (web-application) I have no such difficuty.


VS 2010 and error while compiling Workflow project

  
Get the following message:   ------ Build started: Project: DSS_IP_WorkFlow, Configuration: Debug Any CPU ------ C:\PRJ\JD Powers\DssIP\DSS_IPSoln\DSS_IP.2010\DSSIP\DSSIP-Simulator\DSS_IP_WorkFlow : error 348: Compilation failed. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.   What I'm doing wrong to my project?

state machine workflow project creation error

  
Hi,   I have a dev environment which i had sharepoint 2007 and now i upgraded it to sharepoint 2010. Now when i try to create a state machine workflow project it gives me an error Object Reference not set to an object. I uninstalled Sharepoint extensions 1.3 (as i 64bit win2008 vm) and when i am trying to install it. In one of the installation screens where it asks for the port no  and the select the app pool it only shows the sharepoint central v3 app pool . i was expecting to have sharepoint 2010 product app pool in the drop down. I know that there should be a app pool on port 80. Since i upgraded sharepoint to 2010. I want sharepoint visual studio extensions 1.3 to point to sharepoint 80 app pool . Please can you tell me how i can do it.    

Element 'LengthValidator' is not a known element. This can occur if there is a compilation error i

  
Hi everyone, I got this errors while trying to use an example from the ASP.NET 3.5 Unleashed book.  Webform1.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplicationFour.WebForm1" %> <%@ Register TagPrefix="custom" Namespace="WebApplicationFour" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title> Show Length Validator </title> </head> <body> <form id="form1" runat="server"> <div> <asp:Label Id="commentLabel" Text="Comments :" AssociatedControlID="commentTextBox" Runat="server" /> <br /> <asp:TextBox Id="commentTextBox" TextMode="MultiLine" Columns="30" Rows="2" Runat="server" /> <custom:LengthValidator Id="lengthCommentValidator" ControlToValidate="commentTextBox" Text="( Must be at least 10 characters )" Runat="server" /> <br /> <br /> <asp:Button Id="submitB

Error 102 Element 'ScriptManager' is not a known element. This can occur if there is a compilation

  
I have the same problem with my personal website project : Error 102 Element 'ScriptManager' is not a known element. This can occur if there is a compilation error in the Web site. I have made my web.config file myself. It's strange because the Element 'ScriptManager' is recognize in the SampleWebSite (which contains examples of ajax toolkits). But it's not recognize in my website project ... Do you think is due to my web.config is incorrect ? I send you my web.config : <?xml version="1.0"?> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <configSections> <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/> <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup,

Compilation Error

  
Hello,I am using vs 2010, and working with MVCI create a .dbml file, drag tables on it.Writing queries using LINQ.....When I Run My Project. It Give Following ErrorCompiler Error Message: CS0012: The type 'System.Data.Linq.DataContext' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.What About This.. ??Regards

Visual Studio Compilation Error - LC.EXE

  
I am using Windows XP SP2, and working on MS VS .NET 2005. My application was working fine till I installed few windows updates. Now on compilation I get an error message - ""LC.exe" exited with code -1073741819." Someone told me that this could OS bit problem. I checked in My Computer->properties ->advanced->environment variables ->system variables->Processor_Architecture which states x86 over there. I am not able to compile my applications due to this problem. The application was working normaly. I think the software updates caused this problem, I even uninstalled the updates but then nothing helped. I am stuck on this. Someone please help. Highly urgent.

Implementing Transaction in SSIS Package - [Execute SQL Task] Error: Failed to acquire connection "<

  
I have a simple SSIS package with three "Execute SQL Tasks". I am using ADO.Net Connection to execute SPs on a DB server. When I execute this package It works fine. So far so good. Now, I need to implement transation on this package. And problem starts now onwards. When I try to execute package after setting TransationOption = Required for the Sequence container which contains all the tasks, I get following error. [Execute SQL Task] Error: Failed to acquire connection "NYCDB0008.Export". Connection may not be configured correctly or you may not have the right permissions on this connection. "NYCDB0008.Export" is the name of the ADO.Net connection. I have been hunting for any solution but all in vain. I have tried changing all DTC settings on the dev as well as Database server. Please respond if anyone has any solution. Thanks! Anand

Compilation error after inserting script

  

I have a one page ASP.Net site; there is no separate code-behind file.  It pulls its data from a SQL ODBC connection; All was well, until I tried to include script to change the color of the row, based on a condition.  Normally, the backcolor is black; and the forecolor is white; the forecolor should change to blueviolet when the field "flex_in" is not null.  Here is the code:

 

<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

Compilation Error

  

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using NorthwindTableAdapters;


/// <summary>
/// Summary description for zaposleni
/// </summary>
 [System.ComponentModel.DataObject]
public class zaposleni
{
	public zaposleni()
	{

            private tbl_zaposleniTableAdapter _zaposlenisAdapter = null;
    protected tbl_zaposleniTableAdapter Adapter
    {
        get
        {
            if (_zaposlenisAdapter == null)
                _zaposlenisAdapter = new tbl_zaposleniTableAdapter();

            return _zaposlenisAdapter;
        }



    }

 }

 

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1513: } expected

Source Error:


Line 18: {
Line 19: 	public zaposleni()
Line 20: 	{
Line 21: 
Line 22:             private tbl_zaposleniTa

The remote server returned an error: (401) Unauthorized. Failed to execute web request for the speci

  

Hi,

I am creating reports using SQL business intelligence 2008.

Connection string 'http://<SharepointServer>/_vti_bin/lists.asmx '.

And i have created a data set using the below xml query.

<Query>
   <SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems </SoapAction>
   <Method Namespace="http://schemas.microsoft.com/sharepoint/soap/ " Name="GetListItems">
      <Parameters>
         <Parameter Name="listName">
            <DefaultValue>{GUID of the list}</DefaultValue>      
         </Parameter>      
      </Parameters>
   </Method>
   <ElementPath IgnoreNamespaces="True">*</ElementPath>
</Query>

 

When I try to execute th

Error 1259 The type initializer for 'System.Web.Compilation.CompilationLock' threw an exception.

  

In my asp.net application i  have getting an error

Error 1259 The type initializer for 'System.Web.Compilation.CompilationLock' threw an exception.  
 How to solve this one

I configured this application in iis.

As per the many forum result . i changed the framworkwortion in asp.net  tab of iis proprty.

So kindly give a good solution for it

<%

 

@ Page AutoEventWireup="false" CodeFile="IDNotification.aspx.vb" Inherits="IDNotification" Language

Compilation Error

  

There is a Compilation Error at the web site located at http://cforedu.com

 

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30451: Name 'First' is not declared.

Source Error:

 
Line 12:         .ParameterName = "@First", _
Line 13:         .DbType = SqlDbType.NVarChar, _
Line 14:         .Value = First.Text _
Line 15:       })
Line 16:       cmd.Parameters.Add(New SqlParameter() With { _


Source File: d:\hosting\cfored\Default.aspx.vb    Line: 14 

 

Code reads as follows:

Imports System.Data
Imports System.Data.SqlClient
Partial Class _Default
    Inherits System.Web.UI.Page
    Protected Sub FormView1_PageIndexChanging(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.FormViewPage

Compilation Error

  

There is a Compilation Error at the web site located at http://cforedu.com

 

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30451: Name 'First' is not declared.

Source Error:

 
Line 12:         .ParameterName = "@First", _
Line 13:         .DbType = SqlDbType.NVarChar, _
Line 14:         .Value = First.Text _
Line 15:       })
Line 16:       cmd.Parameters.Add(New SqlParameter() With { _

Source File: d:\hosting\cfored\Default.aspx.vb    Line: 14


VS2008 fails to create TLB file during compilation

  
I have a COM visible library originally created in VS2005. When I compile this project in VS2008 it creates a tlb file automatically. Now I've created a new COM visible library in VS2008 and I've set the ComVisible attributes and guids in the same way as the other project but when I compile it I get 2 warnings '... does not contain any types that can be unregistered for COM interop' and '... does not contain any types that can be registered for COM interop'. I don't know why this is happening has anyone got any ideas?
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend