Parser Errors

A

Adam Smith

Thought I'd post this here as I've yet to find a working solution despite
the frequency with which its asked.

Full error displayed below.

Now the situation is this.... I was trying create a server control, and
failing misserably. So I tried an example located here:
http://www.asp101.com/articles/misc/usercontrol/default.asp
The only difference in code is that I created it in vs.net and had to change
the assembly name.

Suggestions I've found include

permission problems (file and user)
IIS web instance not setup as an application
Missing DLL.
DLL version mismatch.

VS.net does all that for you, in fact I've another application that uses a
user control very successfully running on the same machine.

For information purposes I am using VS.NET 2003 running on Win2K3 Server on
NTFS. I've tested the code on a Win2k Server on Fat32 (don't ask), the
error is the same on both machines.

Can anyone shed any light on the situation? Any suggestions of where I'm
going wrong (I've little doubt that its something I've not done).

Thanks in advance,
Adam Smith


Error:
Parser 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: Could not load type listControl.ShowList from assembly
findimage, Version=1.0.1642.24200, Culture=neutral, PublicKeyToken=null.

Source Error:

Line 26: <h2>Build Your Own Bullet and Numbering Control Component</h2><br>
Line 27:
Line 28: <listControl:ShowList id="dbBound" Title="Coffee Shop Menu"
Line 29: Format="bullet" Runat="Server"/>
Line 30:

Source File: C:\Inetpub\wwwroot\asptest\webform1.aspx Line: 28
 
A

admin

Go to Projects/Properties, under General make sure to leave the Root Namespace blank then build the solution. If you don't want to remove the Root Namespace then you should use Namespace="<Namespace>.<Namespace>" when you place the @Register statement.
For some reason vbc does not do that.
You can use ildasm.exe (SDK) to compare the two compiled versions (from VS and vbc).
Hope this solves the problem for you.

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top