Problem deploying Web App

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tomas Vera

    #1

    Problem deploying Web App

    Hello All,
    I've developed a Commerce Server application and am having deployment
    problems. The issue is not Commerce Server specific, so I'll ask here,
    since questions get answered here.

    The application is developed on a remote machine. My compiler runs locally,
    but the source files and destination is on the remote machine. The remote
    machine is running Framework 1.0.3705.

    This morning I PUP'd the Commerce Server site and deployed it my desktop
    (development) machine which is running Framework 1.0.3705 and 1.1.4322 on
    Windows Server 2003.

    When I first launched the web app, I received the following error:

    "File or assembly name Microsoft.Visua lBasic.Compatib ility, or one of its
    dependencies, was not found."

    I copied the Microsoft.Visua lBasic.Compatib ility.DLL to the applications
    \bin folder, since the Assembly load trace indicates that this path is
    searched for the file.

    I have these files in my C:\WINDOWS\Micr osoft.NET\Frame work\v1.0.3705
    folder, so I copied them to the App's \bin folder.

    Now, I get the error messages attached below. It's pretty clear that I have
    a compaibility problem, but I don't know how to attack this.

    Reading through the message, it seems that the DLL is loaded, then the
    FrameWork looks for a newer version:

    "LOG: Version redirect found in framework config: 7.0.3300.0 redirected to
    7.0.5000.0."

    The Framework then tries to load the same DLL with a version number of
    7.0.5000.0 but doesn't find it.

    How do I tell the framework that this app uses the 7.0.3300.0 version of
    the file?

    TIA,

    -tomas




    ===== Error Messages =======
    Configuration Error
    Description: An error occurred during the processing of a configuration
    file required to service this request. Please review the specific error
    details below and modify your configuration file appropriately.

    Parser Error Message: The located assembly's manifest definition with name
    'Microsoft.Visu alBasic.Compati bility' does not match the assembly
    reference.

    Source Error:


    Line 196: <add
    assembly="Syste m.EnterpriseSer vices, Version=1.0.500 0.0, Culture=neutral ,
    PublicKeyToken= b03f5f7f11d50a3 a"/>
    Line 197: <add assembly="Syste m.Web.Mobile,
    Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"/>
    Line 198: <add assembly="*"/>
    Line 199: </assemblies>
    Line 200: </compilation>


    Source File:
    c:\windows\micr osoft.net\frame work\v1.1.4322\ Config\machine. config Line:
    198

    Assembly Load Trace: The following information can be helpful to determine
    why the assembly 'Microsoft.Visu alBasic.Compati bility' could not be loaded.


    === Pre-bind state information ===
    LOG: DisplayName = Microsoft.Visua lBasic.Compatib ility
    (Partial)
    LOG: Appbase = file:///c:/inetpub/wwwroot/TapeWareCommerc e2002
    LOG: Initial PrivatePath = bin
    Calling assembly : (Unknown).
    ===

    LOG: Policy not being applied to reference at this time (private, custom,
    partial, or location-based assembly bind).
    LOG: Post-policy reference: Microsoft.Visua lBasic.Compatib ility
    LOG: Attempting download of new URL
    file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
    Files/tapewarecommerc e2002/e0c5b38e/ab678ec7/Microsoft.Visua lBasic.Compatib ility.DLL.
    LOG: Attempting download of new URL
    file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
    Files/tapewarecommerc e2002/e0c5b38e/ab678ec7/Microsoft.Visua lBasic.Compatib ility/Microsoft.Visua lBasic.Compatib ility.DLL.
    LOG: Attempting download of new URL
    file:///c:/inetpub/wwwroot/TapeWareCommerc e2002/bin/Microsoft.Visua lBasic.Compatib ility.DLL.
    LOG: Version redirect found in framework config: 7.0.3300.0 redirected to
    7.0.5000.0.
    LOG: Publisher policy file is not found.
    LOG: No redirect found in host configuration file
    (C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \aspnet.config) .
    LOG: Using machine configuration file from
    C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ config\machine. config.
    LOG: Post-policy reference: Microsoft.Visua lBasic.Compatib ility,
    Version=7.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a
    LOG: Attempting download of new URL
    file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
    Files/tapewarecommerc e2002/e0c5b38e/ab678ec7/Microsoft.Visua lBasic.Compatib ility.DLL.
    LOG: Attempting download of new URL
    file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
    Files/tapewarecommerc e2002/e0c5b38e/ab678ec7/Microsoft.Visua lBasic.Compatib ility/Microsoft.Visua lBasic.Compatib ility.DLL.
    LOG: Attempting download of new URL
    file:///c:/inetpub/wwwroot/TapeWareCommerc e2002/bin/Microsoft.Visua lBasic.Compatib ility.DLL.
    WRN: Comparing the assembly name resulted in the mismatch: Build Number


    ===== End of Error Messages =======
Working...