|
So I was pretty close then.
Here's another question. How many CodeProject members get their jollies from voting '1' on posts?
led mike
|
|
|
|
|
I have registered a assembly in GAC.
The assembly can be used by windows application.
When ever I update the assembly and register the latest version in GAC the windows application should use the latest version.
How can I achieve this???
|
|
|
|
|
Siva19 wrote: I have registered a assembly in GAC.
The assembly can be used by windows application.
When ever I update the assembly and register the latest version in GAC the windows application should use the latest version.
How can I achieve this???
Well to start with, you might consider forming a specification that other people might actually understand.
led mike
|
|
|
|
|
My question is
I have a windows application.
The application used for calculating tax.
In this application i am refering a calCulateTax.dll.It is registered in GAC.
It is used for calculate the tax.
Whenever the tax rate is changed I am going to modify the calCulateTax. After that i registered calCulateTax.dll in the GAC in a different version.
But my application using the old version of the calCulateTax.dll.
It will not take new version of the calCulateTax.dll.
How i can set my application to use latest version of dll (whenever i registered a new version in gac)?
please give me the solution for that..
tnx..
|
|
|
|
|
Why are you registering this DLL in the GAC? Is it going to be shared by more than one application?
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines][ Articles][ Blog]
|
|
|
|
|
yes, its shared by more than one application.
|
|
|
|
|
i am registering assembly in GAC. It is shared by more than one application.
|
|
|
|
|
Well you are going to have to start reading information on MSDN (like this for example[^]) about how Assembly Version, GAC, and your application references assemblies in order to solve your problem.
The reason you need to do this is because there are many variables that are based on your project settings, deployment and .NET framework version.
led mike
|
|
|
|
|
Hi ,
I have an application written in .Net 2003 that runs every 5 mins from the task scheduler to send mail, but recently i am getting the error message shown below that i could not debug at all.
Right now I am just killing the process as it shows the error and then restarting the application again. This is just the temporary solution for me. The error message is as follows:
Application has generated and exception that could not be handled
process id=0x1760(5984), Thread id=0x16fc(5884)
click ok to terminate the application
click cancel to debug the application
I appreciate any comments on this thank you
The picture of the actual message is at the following link
http://rprateek.blogspot.com/2008/06/net-common-language-runtime-debugging.html
Interested in development projects
|
|
|
|
|
rprateek wrote: i am getting the error message shown below that i could not debug at all.
Why can you not debug it at all?
led mike
|
|
|
|
|
|
Please don't cross post. It is considered rude and doesn't help you get an answer any faster.
Even though this was the original post, you have started receiving responses to the duplicate post here[^].
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines][ Articles][ Blog]
|
|
|
|
|
Hello Friends,
I am facing a very wierd problem with this assembly. It is a windows application which will be deployed in a remote machine.
Problem is with Imports Microsoft.Practices.EnterpriseLibrary.Data
I am using this assembly for creating a database object as
Dim db As Database = DatabaseFactory.CreateDatabase("<instance name="">")
Then am using a DataReader to read database table rows
Program is throwing exception for very first record when it tries to run dr = db.ExecuteReader(CommandType.Text, sqlstr) statement on the remote client machine and but it works fine at my development machine.
The error that the program is catching in "Access denied to write to event log" though the program is not writing anything to eventlog.
Could it be some other error that the program is throwing which is bubbling up to this error?
I have not found any solution as of yet.
Need all your expertise on this. Pleeeeeeeeeeeease helpppp.
|
|
|
|
|
|
Does anyone here know of either an ABNF to Regex converter (that works and is not written in some 'other' language ) or perhaps a DotNet library that can take ABNF and do matches like using the built in Regex methods?
I need to write some parsers for some SIP messages and would love to use the SIP RFC and the ABNF notation in there to get the job done.
|
|
|
|
|
Ray Cassick wrote: an ABNF to Regex converter
I have no idea how to convert anything to regex but perhaps you could use something like this[^]?
led mike
|
|
|
|
|
i have installed an application on pc, when i run this application the application is shown in task manager but does not run actually.this application is made in .Net and works well on other machines.
abrar
|
|
|
|
|
if it's in the task manager, it's running. It's just not showing for some reason. Impossible to answer based on this lack of info.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
what may be the reasons of not showing?
abrar
|
|
|
|
|
Hi,
how about an exception inside the main form's constructor?
add a general try-catch in there, and show (Console.WriteLine) the entire exception,
i.e. use Exception.ToString().
|
|
|
|
|
Hi.
When i open my solution in vs2008 i get the following error:
"package 'visual studio explorer and designers package' has failed to load properly (GUID {XXXX....})"
When i try to build my solution, i get an error saying: "External component has thrown an exception."
I have tried googling the solution (uninstalling duplicate.outdated assemblies from "C:\WINDOWS\assembly" but it does not allow me to).
Can anyone help please?
Thanks
M
|
|
|
|
|
At first glance I would say their is an overlapping GUID that is used by multiple applications. GUIDs need to be unique from all other applications installed on the system. I would try reinstalling/repairing the installation of Visual Studio 2008.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
Hi All,
I wanted to install the .NET 1.1 (or any new version) on remote machine and that also in silent mode. The one option I have is to develop the Windows Service in VC++, install it on remote machine and through this service install the .NET Framework but I wanted to avoid this approach.
If anyone know how to do it or have any good URL which explains this then please let me know.
Thanks,
Pushawart
|
|
|
|
|
Pushawart wrote: I wanted to install the .NET 1.1 (or any new version) on remote machine
Well you need to figure out which one specifically because the installs can be different. Once you figure that out then you can find information on MSDN like this for 2.0[^]
led mike
|
|
|
|
|
We have added .net framework 3.5 as prerequisite in the installshield. But to install .net framwork it will require windows installer 3.1. Therfore we want to add windows installer 3.1 as prerequisite.
We have windows installer 3.1 ki redistributable exe but dont have prerequisite file.
how to add windows installer 3.1 prerequisite to installshield ?
and how to tell installshield that first check that whether the windows installer 3.1 is present or not?
|
|
|
|