Resources for IT Professionals > Forums Home > BizTalk Server Forums > BizTalk Server General > Error while importing MSI file from DEV to Test Environment....
Ask a questionAsk a question
 

QuestionError while importing MSI file from DEV to Test Environment....

  • Tuesday, July 28, 2009 9:31 PMVanSud Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I am trying to Import an MSI file from DEV to Test Environment with Biztalk Server 2009 on Windows server 2008.

    I am getting the following error:I did some googling on this issue but nothing helped.
    Can anyone tell me the resolution for this?

    This is the error I am getting:

    TITLE: Import Error
    ------------------------------
    Failed to import "E:\MyFolder\Exchange\msi\Exchange.msi".
    Location of the log file is provided in the Results page.
    ------------------------------
    ADDITIONAL INFORMATION:
    Change requests failed for some resources. (mscorlib)
    For help, click: http://go.microsoft.com/fwlink/?LinkId=47400&ProdName=Microsoft+BizTalk+Server+2009&ProdVer=3.8.368.0&EvtSrc=Microsoft.BizTalk.ApplicationDeployment&EvtID=ChangeRequestsFailed&EvtChain=Microsoft.BizTalk.ApplicationDeployment+%2cEndTypeChangeRequestError
    ------------------------------
    BizTalkAssemblyResourceManager failed to complete end type change request. (Microsoft.BizTalk.ResourceManagers)
    For help, click: http://go.microsoft.com/fwlink/?LinkId=47400&ProdName=Microsoft+BizTalk+Server+2009&ProdVer=3.8.368.0&EvtSrc=Microsoft.BizTalk.ApplicationDeployment&EvtID=EndTypeChangeRequestError
    ------------------------------
    Could not load file or assembly 'C:\Users\username1\AppData\Local\Temp\tmpB501\BizTalkAssembly\1e50b99ec0721429398bca0bf80b5caa\schemas.dll' or one of its dependencies. The system cannot find the file specified. (mscorlib)
    ------------------------------
    BUTTONS:OK
    ------------------------------

    This is the description of the error in in event log file:

    Import Wizard[7/28/2009 5:23:51 PM]: Error in Importing Application
    Import Wizard[7/28/2009 5:23:51 PM]: Change requests failed for some resources.
    BizTalkAssemblyResourceManager failed to complete end type change request.
    Could not load file or assembly 'C:\Users\username1\AppData\Local\Temp\tmpB501\BizTalkAssembly\1e50b99ec0721429398bca0bf80b5caa\schemas.dll' or one of its dependencies. The system cannot find the file specified.

    Import Wizard[7/28/2009 5:23:51 PM]: Entering Page Results
    The import process for the application Exchange to the group BizTalk Group failed.

    And I tried also installing msi file but keep giving me the same error:
    tried like chaning destination file directory to %BTAD_InstallDir%, if i do that it says "The specified path is unavailable".

    What is causing this error.

    can anyone help me.

    Thanks.


    Reddy
    • Edited byVanSud Tuesday, July 28, 2009 10:15 PMMisspelled
    •  

All Replies

  • Tuesday, July 28, 2009 10:25 PMBen Cline1MVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    When you exported the MSI from DEV, it looks like there was either an assembly missing or it could not be found at the expected location. Usually C:\Users\... is a local path on Vista so I am guessing this is where the schemas.dll was built at some point and then added to the BizTalk application from this same folder. I would go back to Dev and modify the properties of the assembly to point to a current copy of the assembly.

    Thanks,
    If this answers your question, please use the "Answer" button to say so | Ben Cline
  • Tuesday, July 28, 2009 10:53 PMVanSud Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks Ben,

    But the path it is showing here is a Test Environment path.
    Dev environment is windows server 2003 and Test Environment is Windows 2008 server.
    In the Dev we have a separate project for schemas which is added as project reference to orchestrations project.
    So When deploying them, I think it should take new dll of the schemas.
    Do you think this is the exact reason for this?

    Does anybody has any other resoultions?

    Thanks.
    Reddy
  • Wednesday, July 29, 2009 6:20 AMAjeet.Kumar Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I believe this is not the first deployment of your application to the Test Environment. If that is the case, then in Test env. check the Source of the Application in the Biztalk Administration console. It would be same path as mentioned in the error C:\Users\username1... Before exporting from Dev make sure destination is %BTAD_InstallDir% with dll name.

    Now in your case, when you are trying to deploy then BizTalk will look for old assembly , but here its not able to find the old dll.
    The resolution is for now place the old dll in the location mentioned (if directory structure is not present then create and can delete after deployment).

    Let me know if helps.
    Ajeet Kumar
  • Wednesday, July 29, 2009 12:35 PMVanSud Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thanks Ajeeth,

    But this is my first deployment on to Test server.I don't have any old dll's.

    Thanks.


    Reddy
  • Wednesday, July 29, 2009 12:42 PMAjeet.Kumar Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Can you try changing the destination location to %BTAD_InstallDir%.<dll> , export the MSI and then deploy to Test server.

    The error talks about schemas.dll , so check if you are referencing this dll, if yes then remove the dll from MSi if you havn't made any change to this schemas.dll . If you have made any change to schemas.dll then you have to follow the steps I mentioned as above for this dll.

    Let me know if it helps.

    Ajeet Kumar
  • Wednesday, July 29, 2009 12:49 PMVanSud Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Yes,
    I have the destination location as %BTAD_InstallDir%.<dll> in my Dev Biztalk application.
    Yea, as you said it is only complaining about schemas.dll and all the remaining .dlls are GACing cache without problem.
    It is something wrong with the schemas.dll.
    the schemas.dll is an other biztalk application which is referenced by other biztalk application.
    If i remove schemas reference the application wont work.

    Thanks.


    Reddy
  • Wednesday, July 29, 2009 1:06 PMAjeet.Kumar Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Are you using schemas.dll in the project you are deploying now may be Orchestration or Map?
    If yes then you can try to create the structure C:\Users\username1\AppData\Local\Temp\tmpB501\BizTalkAssembly\1e50b99ec0721429398bca0bf80b5caa\ and place the schema.dll (although it should have been there already) and then try to deploy.

    Ajeet Kumar
  • Wednesday, July 29, 2009 1:41 PMVanSud Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Ok sounds good, but the thing is everytime I try import or install it is taking the path as dynamically.
    it is same till Temp folder, then tmpB501 will be different for the next time import and the GUID also.
    I don't know what is exactly causing this problem.

    Thanks,


    Reddy
  • Wednesday, July 29, 2009 1:51 PMVanSud Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    If I try to install MSI file directly I am getting the following error:

    Event Type: Error
    Event Source: BizTalk Server Deployment
    Event Category: None
    Event ID: 769
    Date:  7/29/2009
    Time:  8:55:28 AM
    User:  N/A
    Computer: XXXXX
    Description:
    An error occurred while attempting to install the BizTalk application: Change requests failed for some resources.
    BizTalkAssemblyResourceManager failed to complete end type change request.
    Unable to add\update the assembly with LUID="Schemas, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0b1ef72ae44ce01f".
    Could not load file or assembly 'C:\Program Files (x86)\Generated by BizTalk\Exchange\185B8B6D-A480-4F08-9CC6-D4543B165CE3\BizTalkAssembly\1e50b99ec0721429398bca0bf80b5caa\schemas.dll' or one of its dependencies. The system cannot find the file specified.

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

    do these both errors mean same?
    Why it is causing for only schemas.dll as there are many other dlls which loading fine.


    Thanks,


    Reddy
  • Wednesday, July 29, 2009 2:54 PMAjeet.Kumar Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I guess both are same error.
    You can refer this link for more details on deployment http://msdn.microsoft.com/en-us/library/aa560022(BTS.10).aspx

    And can you browse to this location "C:\Program Files (x86)\Generated by BizTalk\Exchange\185B8B6D-A480-4F08-9CC6-D4543B165CE3\BizTalkAssembly\1e50b99ec0721429398bca0bf80b5caa\" and check is schema.dll is present or not.

    If that location is not present then I would create it (and remove after deployment is complete) and then try to import.




    Ajeet Kumar
  • Wednesday, July 29, 2009 3:12 PMVanSud Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Yes I could create this path and try, but the path changes everytime when I try install or import.
    you can see that GUID in the path that changes and tmp--- changes everytime so we can not create it.

    Thanks,
    Reddy
    • Edited byVanSud Wednesday, July 29, 2009 3:25 PMMisspelled
    •  
  • Wednesday, July 29, 2009 3:52 PMBen Cline1MVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    The "Change requests failed for some resources" error happens when the existing instance of something could not be replaced. Did you remove schemas.dll from the BizTalk application on test before trying to import the one from Dev?

    Thanks,
    If this answers your question, please use the "Answer" button to say so | Ben Cline
  • Wednesday, July 29, 2009 3:56 PMVanSud Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    No I didn't do anything on Test.The Test environment is kind of new,there is no application installed on it just Biztalk default application.
    Reddy
  • Wednesday, July 29, 2009 4:08 PMAjeet.Kumar Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
  • Wednesday, July 29, 2009 4:50 PMVanSud Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I have the destination path default as %BTAD_InstallDir%/.<dll>.
    This did not solve my problem.

    Thanks,
    Reddy
  • Wednesday, February 10, 2010 9:32 AMPayal Bhandari Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    Did you find any solution for this? I am facing similar error while trying to deploy the Schema project from Visual Studio.
  • Friday, February 12, 2010 4:08 PMVanSud Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Are you trying to Deploy from Visual Studio?
    What error you are getting?

    Regards,

    Reddy