|
Hi,
I have created a COM Visible .NET dll that is deployed on a Citrix server (regasm.exe). What the dll does is that it calls a web service on a remote machine.
Everything works fine running as an administration, but running as a "normal user" the COM Client can´t create the .NET dll.
What could be wrong? Could it be a sequrity issue?
Br,
Jonas
|
|
|
|
|
Did you put it in the GAC?
|
|
|
|
|
Is it possible to get code comments included in the generated WSDL file ?
|
|
|
|
|
Hi,
I have a .net application that does a lot of number crunching and I run it on a 64-Bit machine with quad CPU. The machine has 4GB RAM.
When I compile the application to explicitly target x86 machine the application runs faster than when I compile it to target x64 machine. The difference is around 50% !!!
I don't change anything in the application except the target machine.
The application is a pure .net application.
Any idea, what is the reason for this?
Ami
|
|
|
|
|
Hi,
can you tell more about your app, what it is doing, what the most common data types are?
why would you expect it to run faster? is your data basically 64-bit wide? 32-bit? 16-bit?
is it text processing?
what language are you using?
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Hi,
The common type is double, which is 8 bytes long.
The application does a lot for number operations (simple adding, multiplying, etc.)
I expect the x64 version to run at least as fast as the x86 version.
I am using C#.
Ami
|
|
|
|
|
Hi Ami,
assuming the calculations outweigh the memory transfers and general program flow,
I expect no difference whatsoever between a 32-bit and a 64-bit version of your app:
they both will spend their time mostly on processing 64-bit data that sits in the
float registers and/or the data cache.
So if your 64-bit app is slower, something definitely is wrong. Are you comparing equal
things (e.g. both release builds, identical jobs)?
If you have been trying to optimize things by using multiple threads, then maybe the two
systems you compare are not equally happy about your threading approach. If this applies,
it has to be looked at more thoroughly... As a first measure, you could reduce to one thread
and compare these (again expecting equality).
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Hi Luc,
Luc Pattyn wrote: So if your 64-bit app is slower, something definitely is wrong. Are you comparing equal
things (e.g. both release builds, identical jobs)?
It is the exact project (Release mode), the only difference is the target CPU x86 or x64.
Luc Pattyn wrote: If you have been trying to optimize things by using multiple threads, then maybe the two
systems you compare are not equally happy about your threading approach. If this applies,
it has to be looked at more thoroughly... As a first measure, you could reduce to one thread
and compare these (again expecting equality).
I am using some multithreading, I'll try to do it in one thread and check the results.
Thanks for the advice.
Ami
|
|
|
|
|
Just wanted to know if shutdownTimeout has any edge over the traditional executionTimeout at least with respect to ASP.NET.
I have my application wait for a slow network response. But sometimes when the servicing network is slow, the front-end web application goes astray. Here is my query:
Can I be able to keep my ASP.NET worker process alive in a particular session from within ? I am sure that one possible reply would be that this would open up loopholes for hackers to break into. But I can ensure that this code resides well within a httpmodule and parsed only one genuine needs.
|
|
|
|
|
Have you resolved this?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I'm going to bind data set to combo boxes. Data set is compound from 2 tables and joined by relation. The declaration is as follows:
Private tablePRAgent As PRAgentDataTable<br />
<br />
Private tablePRAgentLocation As PRAgentLocationDataTable<br />
<br />
Private relationPRAgentPRAgentLocation As DataRelation<br />
The table PRAgentDataTable has main rows with details in table PRAgentLocationDataTable . So first combo is bound to PRAgentDataTable and second - to PRAgentLocationDataTable , by relation. Filling adapters (and in consequence combos) while I add clause "WHERE col=@parameter" ends with "exception of type 'System.Data.ConstraintException'". When there is no WHERE clause everything goes right.
How could I overcome this problem?
|
|
|
|
|
Hello,
I have created a DLL with
signed key , com visibility is true and registered it with regasm but still when i try to use it in ASP page by calling server.createobject() i can not use.
Please suggest.
Pavas
|
|
|
|
|
Ha anyone converted the NCrypto library to .Net 2.0?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Any luck at converting it?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Nope - I had to move on at work.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Hey all
I'm developing an .NET application (C#) which hosts a WebBrowser control. The WebBrowser contains a Java Applet. I'm experiencing serious problems with ComboBoxes in this Java Applet. It seems like the comboboxes don't respond to mouseclicks. I can open the dropdown list, but I can't select any items. If I instead use the keyboard it works perfectly...But that's just not good enough
If I open the Java Applet in a "standalone" browser everything is peachy...
Has anyone experienced this ?? And maybe even got a solution ? :-P
|
|
|
|
|
Greetings,
I am having C# project that make the Executable also. The system use over 20 users' machines. Currently I installed the exe indidual machines coping the source and it is tedious task to do! When i have to do any modification in existing, then again i have to make the setup.exe and installed individual machine.
Are their any way to do this task simple? like one VB.exe(in share folder in LAN), create shortcut and running ncely noh! like that!!!
Any learning resources, plz send me!!! U r Welcome!
Thanks in advance!
|
|
|
|
|
Take a look at ClickOnce, you can install the application onto their machines using this but it'll automatically check for updates and download and install them if configured to do so.
|
|
|
|
|
http://www.15seconds.com/issue/040121.htm Read this article this ll help you a lot. This article is about .net code access security
best regards,
krishna
|
|
|
|
|
Does anybody know how to organize dialog between 2 sites?
For example, site1 sends a message to site2. Site2 recieves the message and sends "The message was recieved"
|
|
|
|
|
Hi all,
suppose the current application is running in ur version 1.0.0.3 and now u are required to use new version 1.0.0.4 .
Now i need to know where can i make the changes i.e for the update to effect
in GAC or Application's web.config
Can anyone suggest me the answer
Thanks
kumar
|
|
|
|
|
Make changes in web.config , make a dll and store it in GAC
|
|
|
|
|
Dear Code Project Users,...
I'm using VS 2005 C# .NET to create a windows forms application. The application uses two .NET components, Dundas Gauge and Cognitance VideoCog.
I've written the software on my development machine and it runs well in release or debug mode. I have the .NET 2.0 SDK installed. I've also tried the software on my laptop. This has .NET 2.0 installed too. All works well. However, typically, as these things always do... the one machine it doesn't work on is end users machine! This machine also has .NET 2.0 installed.
I have tracked the problem down to InitializeComponet, by placing a try catch around it. The error is as follows:
Exception in Form1 System.IO.FileNotFoundException. The specified module could not be found. (HRESULT: 0x8007007E)
at ... Form1.InitializeComponent
I've placed a MessageBox on the first line of InitializeComponent, however it never calls it. So it appears that its not my code causing a problem. So anybody any idea what file InitializeComponent is looking for, and more importantly how do I solve it?
Note, I don't have VS2005 installed on the end users machine for debugging, and putting it on there is my last resort!
|
|
|
|
|
Since you are using two third-party components, have you verified that those DLLs are also on the end user machine? You don't need to install them, but the DLLs should be part of your install process, even if it is to copy them to the application directory.
|
|
|
|
|
Hello,
I am facing the problem using dtpicker.
Im my vb.net application on selecting dtate from dtpicker i am displaying records from database in agrid
By default i am displaying the today's date in the format 08/09/2007.
When i execute my application and changes the date using keyboard for instacnce pressing 06 for date
and 08 for month it accepts date without moving cursor from the current position and i get result.
But if i press 6 (instead 06) it doesn't accept. I tried to trace tthis value in dtpickers keyup, keydown , text changed and keypress events but not getting the current value unless and until i move cursor from it.
I am terribly stuck to this problem.
Please help me. Anyone who knows how it read current text of dtpicker please let me know.
any help will be highly appreciated.
Thanks a lot in advance.
|
|
|
|