473,395 Members | 1,554 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Error on ASP.NET application; Compiler Error Message: CS1595

Hello there

I am lost. i receive the output in the bottom, from a site that runs
excellently on our development server, but dies on the customer. We have had
a first version running at the customer, did some changes, recompiled,
zipped and sent it back to them, but then it screwed up.

As a part of the debugging process, the ASP.NET has been set to run as
SYSTEM, and all folders described in
http://support.microsoft.com/default...B;EN-US;318274 and
http://www.winnetmag.com/Articles/Ar...38/pg/2/2.html and then IIS
was reset (iisreset.exe).

The really weird thing is, that I have never seen this happen before. And
have been throwing a lot of ASP.NET apps around :/

If anyone has encountered this before, and has some suggestions, I would be
very grateful!

Yours

Kim

Server Error in '/' 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: 'emisdb.front' is defined in multiple
places; using definition from
'c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET
Files\root\bc3d6cf7\6df23cd\assembly\dl2\cd89a388\ 0a01dda2_9ac4c301\emis.DLL
'

Source Error:
Line 27:
Line 28:
[System.Runtime.CompilerServices.CompilerGlobalScop eAttribute()]
Line 29: public class front_aspx : emisdb.front,
System.Web.SessionState.IRequiresSessionState {
Line 30:
Line 31:

Source File: c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempora ry ASP.NET
Files\root\bc3d6cf7\6df23cd\cemlgzcq.0.cs Line: 29
Nov 18 '05 #1
5 2087
Kim,

Have a look at this:

318274 PRB: "Compiler Error Message: CS1595" Error Message When You Use the
C#
http://support.microsoft.com/?id=318274

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Kim Nørby Andersen" <kn*@removethis.multihouse.dk>
Subject: Error on ASP.NET application; Compiler Error Message: CS1595
Date: Thu, 18 Dec 2003 12:00:26 +0100
Lines: 55
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <eL**************@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 0x50a3f17a.unknown.tele.dk 80.163.241.122
Path: cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!TK2MSFTNGP11.
phx.gblXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:197123
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hello there

I am lost. i receive the output in the bottom, from a site that runs
excellently on our development server, but dies on the customer. We have hada first version running at the customer, did some changes, recompiled,
zipped and sent it back to them, but then it screwed up.

As a part of the debugging process, the ASP.NET has been set to run as
SYSTEM, and all folders described in
http://support.microsoft.com/default...B;EN-US;318274 and
http://www.winnetmag.com/Articles/Ar...38/pg/2/2.html and then IIS
was reset (iisreset.exe).

The really weird thing is, that I have never seen this happen before. And
have been throwing a lot of ASP.NET apps around :/

If anyone has encountered this before, and has some suggestions, I would be
very grateful!

Yours

Kim

Server Error in '/' Application.
--------------------------------------------------------------------------- -----

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

Compiler Error Message: CS1595: 'emisdb.front' is defined in multiple
places; using definition from
'c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\root\bc3d6cf7\6df23cd\assembly\dl2\cd89a388 \0a01dda2_9ac4c301\emis.DL L'

Source Error:
Line 27:
Line 28:
[System.Runtime.CompilerServices.CompilerGlobalScop eAttribute()]
Line 29: public class front_aspx : emisdb.front,
System.Web.SessionState.IRequiresSessionState {
Line 30:
Line 31:

Source File: c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempora ry ASP.NET
Files\root\bc3d6cf7\6df23cd\cemlgzcq.0.cs Line: 29


Nov 18 '05 #2
Kim,

My mistake. Poor reading. I see that you have already seen that article.

Let me do some looking and I'll post back soon.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Kim Nørby Andersen" <kn*@removethis.multihouse.dk>
Subject: Error on ASP.NET application; Compiler Error Message: CS1595
Date: Thu, 18 Dec 2003 12:00:26 +0100
Lines: 55
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <eL**************@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 0x50a3f17a.unknown.tele.dk 80.163.241.122
Path: cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!TK2MSFTNGP11.
phx.gblXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:197123
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hello there

I am lost. i receive the output in the bottom, from a site that runs
excellently on our development server, but dies on the customer. We have hada first version running at the customer, did some changes, recompiled,
zipped and sent it back to them, but then it screwed up.

As a part of the debugging process, the ASP.NET has been set to run as
SYSTEM, and all folders described in
http://support.microsoft.com/default...B;EN-US;318274 and
http://www.winnetmag.com/Articles/Ar...38/pg/2/2.html and then IIS
was reset (iisreset.exe).

The really weird thing is, that I have never seen this happen before. And
have been throwing a lot of ASP.NET apps around :/

If anyone has encountered this before, and has some suggestions, I would be
very grateful!

Yours

Kim

Server Error in '/' Application.
--------------------------------------------------------------------------- -----

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

Compiler Error Message: CS1595: 'emisdb.front' is defined in multiple
places; using definition from
'c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\root\bc3d6cf7\6df23cd\assembly\dl2\cd89a388 \0a01dda2_9ac4c301\emis.DL L'

Source Error:
Line 27:
Line 28:
[System.Runtime.CompilerServices.CompilerGlobalScop eAttribute()]
Line 29: public class front_aspx : emisdb.front,
System.Web.SessionState.IRequiresSessionState {
Line 30:
Line 31:

Source File: c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempora ry ASP.NET
Files\root\bc3d6cf7\6df23cd\cemlgzcq.0.cs Line: 29


Nov 18 '05 #3
Kim,

A couple of things:

1) Can you please send me the HTML code from your .aspx? You can post it
here if you'd like. What I'm looking for is the content of the Page
directive at the top of the file.

2) Can you run a Filemon log while the problem occurs? Here are
instructions:

* Go to http://www.sysinternals.com and download File Monitor.
* Unzip File Monitor into the directory of your choice.
* Run Filemon.exe to start File Monitor.
* Hit Ctrl-E to stop capturing and then hit Ctrl-X to clear the display.
* Get set up so that you are ready to generate the error. We want the
smallest amount of time to pass between the time that we start capturing
with File Monitor and the time the error occurs.
* Hit Ctrl-E in File Monitor to start capturing.
* Immediately generate the error.
* As soon as the error occurs, switch to File Monitor and hit Ctrl-E to
stop capturing.

Now choose Save on the File menu in File Monitor and send the log to me so
that I can analyze it.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
From: "Kim Nørby Andersen" <kn*@removethis.multihouse.dk>
Subject: Error on ASP.NET application; Compiler Error Message: CS1595
Date: Thu, 18 Dec 2003 12:00:26 +0100
Lines: 55
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <eL**************@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 0x50a3f17a.unknown.tele.dk 80.163.241.122
Path: cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!TK2MSFTNGP11.
phx.gblXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:197123
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hello there

I am lost. i receive the output in the bottom, from a site that runs
excellently on our development server, but dies on the customer. We have hada first version running at the customer, did some changes, recompiled,
zipped and sent it back to them, but then it screwed up.

As a part of the debugging process, the ASP.NET has been set to run as
SYSTEM, and all folders described in
http://support.microsoft.com/default...B;EN-US;318274 and
http://www.winnetmag.com/Articles/Ar...38/pg/2/2.html and then IIS
was reset (iisreset.exe).

The really weird thing is, that I have never seen this happen before. And
have been throwing a lot of ASP.NET apps around :/

If anyone has encountered this before, and has some suggestions, I would be
very grateful!

Yours

Kim

Server Error in '/' Application.
--------------------------------------------------------------------------- -----

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

Compiler Error Message: CS1595: 'emisdb.front' is defined in multiple
places; using definition from
'c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\root\bc3d6cf7\6df23cd\assembly\dl2\cd89a388 \0a01dda2_9ac4c301\emis.DL L'

Source Error:
Line 27:
Line 28:
[System.Runtime.CompilerServices.CompilerGlobalScop eAttribute()]
Line 29: public class front_aspx : emisdb.front,
System.Web.SessionState.IRequiresSessionState {
Line 30:
Line 31:

Source File: c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempora ry ASP.NET
Files\root\bc3d6cf7\6df23cd\cemlgzcq.0.cs Line: 29


Nov 18 '05 #4
Thanks for the help, Jim
1) Can you please send me the HTML code from your .aspx? You can post it
here if you'd like. What I'm looking for is the content of the Page
directive at the top of the file.
<%@ Page language="c#" Codebehind="front.aspx.cs" AutoEventWireup="false"
Inherits="emisdb.front" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
etc
2) Can you run a Filemon log while the problem occurs? Here are
instructions:

Unfortunately I don't have access to the customers server until the
beginning of the new year, since they are situated far from where my company
is located. But I will surely use the File Monitor tool if I get a chance.

I hope you can make some sence out of the page directive - which was
auto-created by VS.NET (2k), and the name of the final dll is emis.dll.

Yours

Kim


* Go to http://www.sysinternals.com and download File Monitor.
* Unzip File Monitor into the directory of your choice.
* Run Filemon.exe to start File Monitor.
* Hit Ctrl-E to stop capturing and then hit Ctrl-X to clear the display.
* Get set up so that you are ready to generate the error. We want the
smallest amount of time to pass between the time that we start capturing
with File Monitor and the time the error occurs.
* Hit Ctrl-E in File Monitor to start capturing.
* Immediately generate the error.
* As soon as the error occurs, switch to File Monitor and hit Ctrl-E to
stop capturing.

Now choose Save on the File menu in File Monitor and send the log to me so
that I can analyze it.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
From: "Kim Nørby Andersen" <kn*@removethis.multihouse.dk>
Subject: Error on ASP.NET application; Compiler Error Message: CS1595
Date: Thu, 18 Dec 2003 12:00:26 +0100
Lines: 55
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <eL**************@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 0x50a3f17a.unknown.tele.dk 80.163.241.122
Path:

cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!TK2MSFTNGP11. phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:197123X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hello there

I am lost. i receive the output in the bottom, from a site that runs
excellently on our development server, but dies on the customer. We have

had
a first version running at the customer, did some changes, recompiled,
zipped and sent it back to them, but then it screwed up.

As a part of the debugging process, the ASP.NET has been set to run as
SYSTEM, and all folders described in
http://support.microsoft.com/default...B;EN-US;318274 and
http://www.winnetmag.com/Articles/Ar...38/pg/2/2.html and then IISwas reset (iisreset.exe).

The really weird thing is, that I have never seen this happen before. And
have been throwing a lot of ASP.NET apps around :/

If anyone has encountered this before, and has some suggestions, I would bevery grateful!

Yours

Kim

Server Error in '/' Application.


---------------------------------------------------------------------------
-
----

Compilation Error
Description: An error occurred during the compilation of a resource

required
to service this request. Please review the following specific error detailsand modify your source code appropriately.

Compiler Error Message: CS1595: 'emisdb.front' is defined in multiple
places; using definition from
'c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET


Files\root\bc3d6cf7\6df23cd\assembly\dl2\cd89a388 \0a01dda2_9ac4c301\emis.DL
L
'

Source Error:
Line 27:
Line 28:
[System.Runtime.CompilerServices.CompilerGlobalScop eAttribute()]
Line 29: public class front_aspx : emisdb.front,
System.Web.SessionState.IRequiresSessionState {
Line 30:
Line 31:

Source File: c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempora ry ASP.NET
Files\root\bc3d6cf7\6df23cd\cemlgzcq.0.cs Line: 29

Nov 18 '05 #5
Kim,

That Page directive looks fine. What I was looking for was a
double-reference.

Filemon will show us if there is some problem accessing the assembly. You
can also use fuslogvw.exe to see where the binding is failing.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Kim Nørby Andersen" <kn*@removethis.multihouse.dk>
References: <eL**************@TK2MSFTNGP11.phx.gbl> <Mh**************@cpmsftngxa07.phx.gbl>Subject: Re: Error on ASP.NET application; Compiler Error Message: CS1595
Date: Fri, 19 Dec 2003 10:28:24 +0100
Lines: 141
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <Oe**************@TK2MSFTNGP09.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 0x50a3f17a.unknown.tele.dk 80.163.241.122
Path: cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!TK2MSFTNGP09.
phx.gblXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:197356
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Thanks for the help, Jim
1) Can you please send me the HTML code from your .aspx? You can post it here if you'd like. What I'm looking for is the content of the Page
directive at the top of the file.
<%@ Page language="c#" Codebehind="front.aspx.cs" AutoEventWireup="false"
Inherits="emisdb.front" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
etc
2) Can you run a Filemon log while the problem occurs? Here are
instructions:


Unfortunately I don't have access to the customers server until the
beginning of the new year, since they are situated far from where my

companyis located. But I will surely use the File Monitor tool if I get a chance.

I hope you can make some sence out of the page directive - which was
auto-created by VS.NET (2k), and the name of the final dll is emis.dll.

Yours

Kim


* Go to http://www.sysinternals.com and download File Monitor.
* Unzip File Monitor into the directory of your choice.
* Run Filemon.exe to start File Monitor.
* Hit Ctrl-E to stop capturing and then hit Ctrl-X to clear the display.
* Get set up so that you are ready to generate the error. We want the
smallest amount of time to pass between the time that we start capturing
with File Monitor and the time the error occurs.
* Hit Ctrl-E in File Monitor to start capturing.
* Immediately generate the error.
* As soon as the error occurs, switch to File Monitor and hit Ctrl-E to
stop capturing.

Now choose Save on the File menu in File Monitor and send the log to me so that I can analyze it.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
>From: "Kim Nørby Andersen" <kn*@removethis.multihouse.dk>
>Subject: Error on ASP.NET application; Compiler Error Message: CS1595
>Date: Thu, 18 Dec 2003 12:00:26 +0100
>Lines: 55
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <eL**************@TK2MSFTNGP11.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 0x50a3f17a.unknown.tele.dk 80.163.241.122
>Path:

cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP11

Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Peter van der Goes | last post by:
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...
1
by: René Meinecke | last post by:
hi there, i have created a webservice which is running well on the developer computer. for this i also created a windows installer setup which also works well on the developer computer, but if i...
3
by: Prem S | last post by:
Hi all I have a C#.NET solution that contains about 10 projects. One of the projects is a set of user built controls which gets referenced in a couple of projects. Some of the these projects,...
6
by: Joachim | last post by:
I made some project changes (which seems it doesn't help if I undo) which have created compilation error: " Server Error in '/PCSWebApp1' Application....
2
by: James Zhuo | last post by:
Hi all I've been getting the following compilation error. I should explain the background of the project that i am taking over. This is a project that has been developed by someone else a while...
2
by: suicidaltendencies | last post by:
Does anyone know how to fix this problem. I'm trying to create some Crystal Reports Thanks Harol Compilation Error Description: An error occurred during the compilation of a resource required...
9
by: JTrigger | last post by:
When I compile my project using the IDE on a development machine it works just fine. When I compile it on the server using csc.exe, I get the following error when I try to bring it up in the web...
1
by: abh1508 | last post by:
Following a release of code the following problem occurs on certain asp ..net pages. This is not a problem on other testing/demo environments. IIS seems to be creating certain files twice in the...
2
by: CtrlAltDel | last post by:
I have an ASP.NET application that runs just fine on our servers (Win2003, in dev/staging/prod) when the debug attribute of <system.web><compilation /></system.webis set to true, thusly: ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.