Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • vaibhav 119 posts 139 karma points
    Apr 15, 2011 @ 11:00
    vaibhav
    0

    Problem with created package....

    hi,

    I have created package using this guide .......

    http://www.bayshield.com/2010/1/4/creating-a-package-in-umbraco

    But when i install my package to some other machine then it shows some error ...

    error is ....

     

    Conversion failed when converting the nvarchar value 'Solutions' to data type int.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Data.SqlClient.SqlException: Conversion failed when converting the nvarchar value 'Solutions' to data type int.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

     

    [SqlException (0x80131904): Conversion failed when converting the nvarchar value 'Solutions' to data type int.]

       System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +404

       System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +412

       System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1363

       System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6312253

       System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +6313986

       System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +538

       System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +689

       System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +327

       Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +167

       umbraco.DataLayer.SqlHelper`1.ExecuteNonQuery(String commandText, IParameter[] parameters) +150

     

    [SqlHelperException: Umbraco Exception (DataLayer): SQL helper exception in ExecuteNonQuery]

       umbraco.DataLayer.SqlHelper`1.ExecuteNonQuery(String commandText, IParameter[] parameters) +261

       umbraco.cms.businesslogic.datatype.DefaultData.set_Value(Object value) +1229

       umbraco.cms.businesslogic.web.Document.Import(Int32 ParentId, User Creator, XmlElement Source) +1644

       umbraco.cms.businesslogic.packager.Installer.InstallBusinessLogic(Int32 packageId, String tempDir) +3850

       umbraco.presentation.developer.packages.Installer.processInstall(String currentStep) +1161

       umbraco.presentation.developer.packages.Installer.Page_Load(Object sender, EventArgs e) +573

       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25

      umbraco.BasePages.BasePage.OnLoad(EventArgs e) +19

       System.Web.UI.Control.LoadRecursive() +71

       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3048

     

     

    Can any 1 help me solve possible problems.....

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Apr 16, 2011 @ 13:58
    Sebastiaan Janssen
    0

    Is the other machine using a different SQL engine (SQL CE, MySql)? What is the value of "Solutions" and where is it? Is it a property on a document type, is it a macro paramater maybe?

Please Sign in or register to post replies

Write your reply to:

Draft