473,327 Members | 2,071 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,327 software developers and data experts.

CS1595

I am getting this error while I am trying to run
my web server app.

Compiler Error Message: CS1595: 'LiveWeb.Global' is
defined in multiple places; using definition
from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
\Temporary ASP.NET Files\liveweb\ab66a079\709df2e7
\assembly\dl2\90eff9dc\ebf496c0_bf98c301\ALKLiveWe b.DLL'

Does anyone have any ideas why my ALKLiveWeb.dll is
getting copied to the Windows directory (according to my
project settings, it should only go into the bin folder).

Thanks,
Igor
Nov 17 '05 #1
4 1730
That's a shadow folder which the asp.net runtime uses when firing up your
asp.net application no need to worry,

your problem is that you have two classes named Global in your project, find
them and remove one of them and you'll be fine.

--
Patrik Löwendahl
cshrp.net - ' Elegant code by witty programmers '
cornerstone.se - ' IT Training for proffesionals '

"Igor" <ig**@alk.com> wrote in message
news:00****************************@phx.gbl...
I am getting this error while I am trying to run
my web server app.

Compiler Error Message: CS1595: 'LiveWeb.Global' is
defined in multiple places; using definition
from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
\Temporary ASP.NET Files\liveweb\ab66a079\709df2e7
\assembly\dl2\90eff9dc\ebf496c0_bf98c301\ALKLiveWe b.DLL'

Does anyone have any ideas why my ALKLiveWeb.dll is
getting copied to the Windows directory (according to my
project settings, it should only go into the bin folder).

Thanks,
Igor

Nov 17 '05 #2
Igor wrote:
I am getting this error while I am trying to run
my web server app.

Compiler Error Message: CS1595: 'LiveWeb.Global' is
defined in multiple places; using definition
from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
\Temporary ASP.NET Files\liveweb\ab66a079\709df2e7
\assembly\dl2\90eff9dc\ebf496c0_bf98c301\ALKLiveWe b.DLL'

Does anyone have any ideas why my ALKLiveWeb.dll is
getting copied to the Windows directory (according to my
project settings, it should only go into the bin folder).

Thanks,
Igor


One way to get this problem is to have a compiled version of the class
in a DLL in the bin directory, and also have the @Page directive specify
the code-behind source ("src=somefile.cs") so that ASP.NET also compiles
a new DLL with the class.

If you have a pre-compiled code-behind DLL, you do not want to specify a
src file in the Page directive.

--
mikeb

Nov 17 '05 #3
Use a texteditor and look into your Global.asax, it might be that you've
referenced another file ther, or built a class in there

--
Patrik Löwendahl
cshrp.net - " Elegant code by witty programmers "
cornerstone.se - " IT Training for professionals "

"Igor" <ig**@alk.com> wrote in message
news:00****************************@phx.gbl...
Thank you Patrik,
I have only been able to find one declaration for class
named Global in my project.
-----Original Message-----
That's a shadow folder which the asp.net runtime uses when firing up yourasp.net application no need to worry,

your problem is that you have two classes named Global in your project, findthem and remove one of them and you'll be fine.

--
Patrik Löwendahl
cshrp.net - ' Elegant code by witty programmers '
cornerstone.se - ' IT Training for proffesionals '

"Igor" <ig**@alk.com> wrote in message
news:00****************************@phx.gbl...
I am getting this error while I am trying to run
my web server app.

Compiler Error Message: CS1595: 'LiveWeb.Global' is
defined in multiple places; using definition
from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
\Temporary ASP.NET Files\liveweb\ab66a079\709df2e7
\assembly\dl2\90eff9dc\ebf496c0_bf98c301 \ALKLiveWeb.DLL'
Does anyone have any ideas why my ALKLiveWeb.dll is
getting copied to the Windows directory (according to my project settings, it should only go into the bin folder).
Thanks,
Igor

.

Nov 17 '05 #4
Igor,

Have you take a look at this
http://support.microsoft.com/default...b;EN-US;318274

compilerOptions="/nostdlib" in machine.config

Khoi

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #5

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

Similar topics

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...
1
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...
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,...
5
by: Kim Nørby Andersen | last post by:
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...
0
by: jhe | last post by:
I have a user control HeaderControl which was shared by multiple Asp.Net Pages (.aspx), sometimes when I make some changes to our website and restart iis, it will have the CS1595 error, but when I...
1
by: Jouni Heikniemi | last post by:
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...
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: ...
5
by: brentbackup | last post by:
I know I'm some years behind, but I just have the go-ahead to start developing on .Net 2.0. While the development process goes ahead, I'm to maintain the .Net 1.1 stuff on the same machine. I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.