Topaz Filer: if you use e-mail for business, we can save you money and decrease your risk.
Using mscorsvr.dll
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.performance.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Pranav Nabar
Hi,
We have implemented a windows service in C# supposed to deployed on the
Windows 2000 server on a multiproc machine. However I found that, by
default, mscorwks.dll is loaded. What changes do I need to make so that
mscorsvr.dll os loaded as the runtime?

Thanks,
Pranav.

Reply to this message...
Vote that this is a GOOD answer...
 
Auto-following on Twitter
Ubuntu and XP on one “desktop”
 
    
Raghu
The only way you can load mscorsvc.dll is when you host runtime from
unmanaged code. Actually, this is how ASP.NET actually does its work. There
is no supported way to load this dll if all of your code is in .net.

So, here is how to use the unsupported environment variable trick for
COMPLUS_BUILDFLAVOR=SVR.

**YOU MUST REBOOT AFTERWARDS**
Create a system environment variable named:
COMPLUS_BUILDFLAVOR
Assign this environment variable the value: SVR
**YOU MUST REBOOT AFTERWARDS**

"Pranav Nabar" <Click here to reveal e-mail address> wrote in message
news:Oda%Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
Outlook interop - stopping user properties appearing on Outlook message print
Seriously, why is “cut and paste” majorly newsworthy???
 
    
Pranav Nabar
It worked. Thanks Raghu.

"Raghu" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
 
    
Ice
What version of the framework are you running? 1.0 or 1.1, I read somewhere
that the environment variable doesn't work in 1.1.

ice
"Pranav Nabar" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
Email Archiving and Email Filing - what’s the difference?
Web-based task/todo list management
 
    
Maoni Stephens (VIP)
In whidbey we will add config APIs so you can specify which flavor you want.

-Maoni
--------------------
[Original message clipped]

phx.gbl
>Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.performance:6515
[Original message clipped]

--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.

Reply to this message...
Vote that this is a GOOD answer...
 
 
 




Ad
BootFX
Reliable and powerful .NET application framework.
Recession Busting Bespoke Software
Get through the recession by investing in bespoke software to decrease costs and create commercial opportunities.
Other DN247 Network Sites
.NET 247
SQL Server Wins
Old Skool Developer
 
Copyright © AMX Software Ltd 2008-2009. Portions copyright © Matthew Baxter-Reynolds 2001-2009. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - .NET 247 is a member of the DN247 Network - 4.0.30129.1734