Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assembly Reference Parser Error

Status
Not open for further replies.

dushkin

Programmer
Mar 28, 2002
90
US
hi. does anybody know how to correct the below problem? The code i have and the assembly version i have are different. is this as simple as finding my current assembly version and replacing it with the assembly number below? how do i get my current assembly version? thanks in advance.

[ERROR]

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

Parser Error Message: The located assembly's manifest definition with name 'Microsoft.Web.UI.WebControls' does not match the assembly reference.

Source Error: (the second line was the one in red)

Line 1: <%@ Import Namespace="Microsoft.Web.UI.WebControls" %>
Line 2: <%@ Register TagPrefix="mytab"
Line 3: Namespace="Microsoft.Web.UI.WebControls"
Line 4: Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>

 
is this as simple as finding my current assembly version and replacing it with the assembly number below?

yes, theoretically. Keep in mind that it's got to be right on the server you deploy the app to, in the end.

You need to find your Global Assembly Cache (GAC) directory, usually C:\Winnt\Assembly.

If you look in there, you should be able to find what you are looking for.

Greetings,
Dragonwell
 
hi. thanks for your reply. I actually finally matched up the assembly reference with the file i was working with and everything worked out fine. i guess i jumped the gun a little. thanks again for your response.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top