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

Which .net framework settings are being saved from one launch to another ? When is csc.exe being run without my command ?


I got an application with an html,css and js UI.
The UI basically creates an ActiveX object, which is an unmanaged C++ COM
dll which in his turn creates other COM C++ dlls and C# assemblies.
At some point there is the reading of some XML files and the loading of
localized resources.
The result of all this is a localized dialog presented to the user.
All of this works great on every platform and language besides one specific
model of machine manufacturer and the Chinese language OS installed on that
machine where getting to the dialog takes 13 minutes. Perhaps on another non
English OS it doesn't work as well.
I had no resources to investigate that.
The behavior also only appears on the first try. If I close the application
and launch it again everything is great.
In order to reproduce the problem I need to reinstall the application.
While I am reinstalling the app to reproduce the problem again and I need to
reboot.
A cmd line window is hanging (and can not be terminated by the OS), which
appears to be running the csc.exe file from the Microsoft.net framework
folders. The description of the file indicates that this is a C# compiler
(?!). Obviously I did not run it.
After a couple of reinstallations the problem disappears at all and the only
thing that brings it back is restoring the machine's image.
I did try another machine of the same model and manufacturer and it happens
on both.
Once I exchange the dlls with the same ones, compiled on a different machine
than the original ones, where the only differences is the addition of
message boxes, to tell me at what stage are we now, it works well.
I tried to exchange the resource dlls with a previous version, exchanging
that ActiveX dll with a previous version, installing msxml4 for those XML
files.
Tried to apply .net framework 1.1 sp1, Microsoft hotfix.
Nothing helps.

It seems like a .net problem since the code doesn't change from the first
launch of the app to the second and that hanging c# compiler is disturbing.
I guess something is being configured and remembered since on the second
launch I got no hang.

What could be those settings that are remembered ?
Any specific sources I can read up on what could those remembered settings
be ?

Anything leads would help!!!

Thank you!!!
Sep 7 '05 #1
1 1608
Take a look at:

http://blogs.msdn.com/jasonz/archive.../24/53574.aspx

(Jason Zander's NGEN Overview)

for starters.
--
MichKa [Microsoft]
NLS Collation/Locale/Keyboard Technical Lead
Globalization Infrastructure, Fonts, and Tools
Blog: http://blogs.msdn.com/michkap

This posting is provided "AS IS" with
no warranties, and confers no rights.
"Lady_A" <al*****@wavesys.com> wrote in message
news:uV**************@TK2MSFTNGP11.phx.gbl...

I got an application with an html,css and js UI.
The UI basically creates an ActiveX object, which is an unmanaged C++ COM
dll which in his turn creates other COM C++ dlls and C# assemblies.
At some point there is the reading of some XML files and the loading of
localized resources.
The result of all this is a localized dialog presented to the user.
All of this works great on every platform and language besides one
specific
model of machine manufacturer and the Chinese language OS installed on
that
machine where getting to the dialog takes 13 minutes. Perhaps on another
non English OS it doesn't work as well.
I had no resources to investigate that.
The behavior also only appears on the first try. If I close the
application and launch it again everything is great.
In order to reproduce the problem I need to reinstall the application.
While I am reinstalling the app to reproduce the problem again and I need
to reboot.
A cmd line window is hanging (and can not be terminated by the OS), which
appears to be running the csc.exe file from the Microsoft.net framework
folders. The description of the file indicates that this is a C# compiler
(?!). Obviously I did not run it.
After a couple of reinstallations the problem disappears at all and the
only thing that brings it back is restoring the machine's image.
I did try another machine of the same model and manufacturer and it
happens on both.
Once I exchange the dlls with the same ones, compiled on a different
machine than the original ones, where the only differences is the addition
of
message boxes, to tell me at what stage are we now, it works well.
I tried to exchange the resource dlls with a previous version, exchanging
that ActiveX dll with a previous version, installing msxml4 for those XML
files.
Tried to apply .net framework 1.1 sp1, Microsoft hotfix.
Nothing helps.

It seems like a .net problem since the code doesn't change from the first
launch of the app to the second and that hanging c# compiler is
disturbing.
I guess something is being configured and remembered since on the second
launch I got no hang.

What could be those settings that are remembered ?
Any specific sources I can read up on what could those remembered settings
be ?

Anything leads would help!!!

Thank you!!!

Sep 13 '05 #2

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

Similar topics

106
by: cfmortgagepro | last post by:
Hi, I know that I'm an extreme newb by asking this overly beaten question, but I am leaning toward C#, becuase the perception is that it is better to learn than VB.Net. I guess it makes you...
1
by: Lady_A | last post by:
I got an application with an html,css and js UI. The UI basically creates an ActiveX object, which is an unmanaged C++ COM dll which in his turn creates other COM C++ dlls and C# assemblies. At...
8
by: mike2036 | last post by:
I have an application (that has unmanaged code) and when I launch it without 'FullTrust' permissions (LocalIntranet_Zone), it crashes. When I set 'FullTrust' permissions, it launches fine. Is...
10
by: jimmy | last post by:
Hi again, sorry for posting two questions so close together but im working on a school project which is due in soon and running into some difficulties implementing the database parts. I have the...
0
by: steve | last post by:
I am using vb.net 2005 Express Edition. Application Settings would be a very useful thing, as a global program database that persists; if only it would work! Does anyone know a hack or a...
1
by: Darin | last post by:
I have upgraded our application from .NET 1.1 to .NET 2.0, all works fine from my local machine. But, when I put the program on the server and try to run it from the server (via a mapped drive),...
8
by: deciacco | last post by:
I created a deployment project for my .net 2 application in vs 2005. In the properties of the deployment project, under prerequisites i have "Create setup program to install prerequisite components"...
17
by: Peter Anthony | last post by:
Can the 3.5 version of .NET Framework (currently Beta 2) be installed on pre-Vista machines? Or is it Vista-only? And, why doesn't .NET Framework come pre-installed with the operating system? I...
1
by: Stefan Pascal | last post by:
Hello. I have a very strange problem on my system with running C# applications from a longer than usual (>127 chars) path. I was able to reproduce the following 2 cases: 1. Socket s = new...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.