Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Strange Error in ASP.NET C# Application

Thread Tools

Strange Error in ASP.NET C# Application

Peter van der Goes
Posts: n/a
This one has me stumped. I'm looking at support files for a C# textbook,
including three ASP.NET applications that use Access databases. I create
virtual directories for the applications in IIS (running Win XP SP1 and Win
2000 SP4 dual boot - error occurs under either OS), then load the app into
the VS.NET 2003 IDE. When I attempt to run the application, I get the
following error in my browser, instead of the startup page:

Server Error in '/RoadSignReview' Application.

Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.

Compiler Error Message: CS1595: 'RoadSignReview.RoadSigns' is defined in
multiple places; using definition from
'c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET
Files\roadsignreview\cebae5e1\8b8437d2\assembly\dl 2\da6e1f98\00031afb_ea55c3

Source Error:

Line 27:
Line 28:
[System.Runtime.CompilerServices.CompilerGlobalScop eAttribute()]
Line 29: public class RoadSigns_aspx : RoadSignReview.RoadSigns,
System.Web.SessionState.IRequiresSessionState {
Line 30:
Line 31:

Source File: c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempora ry ASP.NET
Files\roadsignreview\cebae5e1\8b8437d2\ss6l2cvv.0. cs Line: 29

The above does not, of course, refer to anything the developer created.
And, just to make it even more fun, if I create this application myself on
the same PC (using the source code in the book), it runs OK.
Remember, this same phenomenon in *three different* apps.

If anybody has seen this and/or has any idea how to deal with it, I'd very
much appreciate some feedback.

************************************************** ********************
** All opinions are mine alone.Do not attribute elsewhere!
************************************************** ********************
** Peter van der Goes, Professor, Computers & Information Technology
** Rose State College
*********************** Contact ************************************
** Office e-mail: Removed)
** Home e-mail: (E-Mail Removed)
** Web Page:
************************************************** ********************

Reply With Quote
Peter van der Goes
Posts: n/a

"codewriter" <(E-Mail Removed)> wrote in message
news:hcfXa.319$(E-Mail Removed)...
> This question has been asked hundreds of times before, as far as I

> The couse is either conflicting assemblies for the same source or code
> behind tags are screwed up.
> Delete your dlls and recompile.

I appreciate the information. Works like a charm.
Somehow, I was unable to find this simple fix on my own, but I won't forget
Thanks very much!

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASPNET 2.0 Application exhibits strange behavior. Method calls return "False" until we recycle application pool. Dan D. ASP .Net 0 09-12-2006 02:33 PM
AVG Email Scanner activating at strange times with strange IP addresses Computer Support 1 08-26-2006 04:27 AM
Quartus II error - use clause error... - very strange behaviour Jan VHDL 2 12-16-2004 03:33 PM
'current custom error settings for application prevent details of application error from being viewed. ' Damian ASP .Net 3 12-30-2003 08:01 PM
Question About Strange 'C' Code Syntax ( Well strange to me anyway ) Harvey Twyman C Programming 8 10-25-2003 05:54 AM