CS1595: "x is defined in multiple places..." w/ ascx controls

J

Jouni Heikniemi

Hi,

This has been asked before, in <http://groups.google.fi/groups?
selm=ureiu7b04kv839%40corp.supernews.com> for example; however, I haven't
found any real answers, so I'll post this with some new data.


I've encountered strange behavior with .ascx control files. If I have two
controls with the same name (obviously residing in different directories)
and I use both on a single page, I occasionally get:

--
Compiler Error Message: CS1595: '_ASP.sivupohja_ala_ascx' is defined in
multiple places; using definition from
'c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\b680a984\14ebf2f1\tkhbmqg2.dll'
--

As far as I understand, this is not a trivial DLL deployment issue (as it
is an ASP.net generated identifier that overlaps). It has now occurred
twice, and both times I've been able to fix it by touching either of the
..ascx files so that they've been recompiled. The issue pops up randomly -
the last time it did, it was on one of three AC synchronized cluster
servers, which run identical configurations. Two of the servers ran
perfectly normally, and after touching the .ascx file, all three of them
were fine again.

Ideas?
 

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

Members online

No members online now.

Forum statistics

Threads
473,967
Messages
2,570,148
Members
46,694
Latest member
LetaCadwal

Latest Threads

Top