By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,364 Members | 1,596 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,364 IT Pros & Developers. It's quick & easy.

Problem deploying Web App

P: n/a
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.VisualBasic.Compatibility, or one of its
dependencies, was not found."

I copied the Microsoft.VisualBasic.Compatibility.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\Microsoft.NET\Framework\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.VisualBasic.Compatibility' does not match the assembly
reference.

Source Error:
Line 196: <add
assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197: <add assembly="System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="*"/>
Line 199: </assemblies>
Line 200: </compilation>
Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Confi g\machine.config Line:
198

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'Microsoft.VisualBasic.Compatibility' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualBasic.Compatibility
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/TapeWareCommerce2002
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.VisualBasic.Compatibility
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/tapewarecommerce2002/e0c5b38e/ab678ec7/Microsoft.VisualBasic.Compatibility.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/tapewarecommerce2002/e0c5b38e/ab678ec7/Microsoft.VisualBasic.Compatibility/Microsoft.VisualBasic.Compatibility.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/TapeWareCommerce2002/bin/Microsoft.VisualBasic.Compatibility.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\Microsoft.NET\Framework\v1.1.4322\aspn et.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\confi g\machine.config.
LOG: Post-policy reference: Microsoft.VisualBasic.Compatibility,
Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/tapewarecommerce2002/e0c5b38e/ab678ec7/Microsoft.VisualBasic.Compatibility.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/tapewarecommerce2002/e0c5b38e/ab678ec7/Microsoft.VisualBasic.Compatibility/Microsoft.VisualBasic.Compatibility.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/TapeWareCommerce2002/bin/Microsoft.VisualBasic.Compatibility.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Build Number
===== End of Error Messages =======
Nov 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.