Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

solidstore

@solidstore
About
Posts
51
Topics
36
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • InstallUtilLib.dll: Unknown error in CorBindToRuntimeHost
    S solidstore

    After creating a merge module using VS.Net 2003 and adding it to a setup, again created with VS.NET 2003, i got this error when running the setup."InstallUtilLib.dll: Unknown error in CorBindToRuntimeHost" on a Windows 2000 adv server machine with both frameworks 1.0 and 1.1 installed. My project uses the installer classes to perform various CAs during install (i.e. install a service) Anybody have an idea whats wrong? :( I've linked to a demo solution[^] which demonstrates the exact problem. Is this a bug in Visual Studio 2003?

    .NET (Core and Framework) help csharp visual-studio sysadmin question

  • Webservice over SSL with multiple servers
    S solidstore

    We have a similar topology with a DMZ but unfortunetly require ALL traffic to be secured with SSL (or other encryption) because of the sensitive data. How do we 'tell IIS to differentiate traffic', do you mean set different SSL requirements on different virtual directories? what if our internal & external clients are using the same pages? I'll have a read through WS-Security but I was hoping that IIS and ASP.NET could already handle this

    C# security com hosting cryptography regex

  • Webservice over SSL with multiple servers
    S solidstore

    We have four web servers each hosting our web service. We use DNS round robin to load balance across these four servers. In order to use SSL we have a certificate called for example, www.loadbalanced.com which is installed on all four machines. Things work beautifully. However, We now have a new internal application that needs to consume the web service over SSL but requires access to specific web servers, i.e. using they internal hostname, Unfortunely the SSL connection no longer works, I'm assuming this is because the hostname does not match the SSL certificate name. Can this be programmatically overriden? Just like clicking the security warning dialog box that appears when browsing a secure site using IE with a different hostname. Many thanks in advance. ps Alternative ways of depoloying the application to achieve the same affect also welcomed

    .NET (Core and Framework) security com hosting cryptography regex

  • Webservice over SSL with multiple servers
    S solidstore

    We have four web servers each hosting our web service. We use DNS round robin to load balance across these four servers. In order to use SSL we have a certificate called for example, www.loadbalanced.com which is installed on all four machines. Things work beautifully. However, We now have a new internal application that needs to consume the web service over SSL but requires access to specific web servers, i.e. using they internal hostname, Unfortunely the SSL connection no longer works, I'm assuming this is because the hostname does not match the SSL certificate name. Can this be programmatically overriden? Just like clicking the security warning dialog box that appears when browsing a secure site using IE with a different hostname. Many thanks in advance. ps Alternative ways of depoloying the application to achieve the same affect also welcomed

    C# security com hosting cryptography regex

  • Webservice over SSL with multiple servers
    S solidstore

    We have four web servers each hosting our web service. We use DNS round robin to load balance across these four servers. In order to use SSL we have a certificate called for example, www.loadbalanced.com which is installed on all four machines. Things work beautifully. However, We now have a new internal application that needs to consume the web service over SSL but requires access to specific web servers, i.e. using they internal hostname, Unfortunely the SSL connection no longer works, I'm assuming this is because the hostname does not match the SSL certificate name. Can this be programmatically overriden? Just like clicking the security warning dialog box that appears when browsing a secure site using IE with a different hostname. Many thanks in advance. ps Alternative ways of depoloying the application to achieve the same affect also welcomed

    ASP.NET security com hosting cryptography regex

  • aspnet_wp.exe restarting unexpectedly
    S solidstore

    Our web service occassionaly becomes unavailble to clients because the aspnet_wp.exe process is being restarted. We have some very strange event messages in the Application logs when this happens. Can anyone shed any light on these messages and what could be wrong? Event Type: Error Event Source: ASP.NET 1.1.4322.0 Event Category: None Event ID: 1000 Date: 05/09/2003 Time: 10:40:48 User: N/A Computer: SUENG01 Description: aspnet_wp.exe (PID: 1632) stopped unexpectedly. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Event Type: Error Event Source: .NET Runtime Event Category: None Event ID: 0 Date: 05/09/2003 Time: 10:40:48 User: N/A Computer: SUENG01 Description: The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: .NET Runtime version 1.1.4322.573- Setup Error: Failed to load resources from resource file Please check your Setup. Event Type: Error Event Source: ASP.NET 1.1.4322.0 Event Category: None Event ID: 1090 Date: 09/09/2003 Time: 00:34:23 User: N/A Computer: SUENG03 Description: Failed to execute request because QueryInterface for ASP.NET runtime failed. Error: 0x80004005 Unspecified error For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

    C# asp-net help csharp com windows-admin

  • aspnet_wp.exe restarting unexpectedly
    S solidstore

    Our web service occassionaly becomes unavailble to clients because the aspnet_wp.exe process is being restarted. We have some very strange event messages in the Application logs when this happens. Can anyone shed any light on these messages and what could be wrong? Event Type: Error Event Source: ASP.NET 1.1.4322.0 Event Category: None Event ID: 1000 Date: 05/09/2003 Time: 10:40:48 User: N/A Computer: SUENG01 Description: aspnet_wp.exe (PID: 1632) stopped unexpectedly. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Event Type: Error Event Source: .NET Runtime Event Category: None Event ID: 0 Date: 05/09/2003 Time: 10:40:48 User: N/A Computer: SUENG01 Description: The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: .NET Runtime version 1.1.4322.573- Setup Error: Failed to load resources from resource file Please check your Setup. Event Type: Error Event Source: ASP.NET 1.1.4322.0 Event Category: None Event ID: 1090 Date: 09/09/2003 Time: 00:34:23 User: N/A Computer: SUENG03 Description: Failed to execute request because QueryInterface for ASP.NET runtime failed. Error: 0x80004005 Unspecified error For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

    .NET (Core and Framework) asp-net help csharp com windows-admin

  • aspnet_wp.exe restarting unexpectedly
    S solidstore

    Our web service occassionaly becomes unavailble to clients because the aspnet_wp.exe process is being restarted. We have some very strange event messages in the Application logs when this happens. Can anyone shed any light on these messages and what could be wrong? Event Type: Error Event Source: ASP.NET 1.1.4322.0 Event Category: None Event ID: 1000 Date: 05/09/2003 Time: 10:40:48 User: N/A Computer: SUENG01 Description: aspnet_wp.exe (PID: 1632) stopped unexpectedly. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Event Type: Error Event Source: .NET Runtime Event Category: None Event ID: 0 Date: 05/09/2003 Time: 10:40:48 User: N/A Computer: SUENG01 Description: The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: .NET Runtime version 1.1.4322.573- Setup Error: Failed to load resources from resource file Please check your Setup. Event Type: Error Event Source: ASP.NET 1.1.4322.0 Event Category: None Event ID: 1090 Date: 09/09/2003 Time: 00:34:23 User: N/A Computer: SUENG03 Description: Failed to execute request because QueryInterface for ASP.NET runtime failed. Error: 0x80004005 Unspecified error For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

    ASP.NET asp-net help csharp com windows-admin

  • Web Service over HTTPS
    S solidstore

    I'm trying to call a web service method over HTTPS. However the certificate installed on the web server has the load-balanced dns name of the whole web farm. I need to call the web service on a specific machine. If I manually use a browser with the url that I programmatically use, I get a warn about mismatching name but I can continue and everything is fine. However programmatically I receive an error, how can I tell system to continue?

    ASP.NET question sysadmin cryptography help

  • HttpWebRequest and ThreadPool
    S solidstore

    I am calling a .NET web service from within a COM+ application component invoked from an ASP page. After some calls I get the following error "There were not enough free threads in the ThreadPool object to complete the operation.". I understand that by default they are only 25 thread per CPU available but when the system is under load why are the requests not queued. I was under the impression that this was one of the many advantages of using threadpooling! I have read the two MS articles on this () and I cant believe that this is by design. Surely you must be able to make multiple calls to web services without implementing your own queuing or throttling. I need to ship our product within the week. PLEASE HELP! ANYTHING CONSIDERED!

    ASP.NET help csharp wcf com design

  • Still no solution! Memory bug in Services?
    S solidstore

    We have a Windows Service written in C# that simply host some remote components. The service does nothing itself. We have an ASP.NET application that initialises the remoting in global.asax and has a single aspx page that creates the remote component and calls its method, which returns a small string. Thing is that the service process leaks memory. Now I've read most of the articles/books on the wonders of the GC and I know that what I'm seeing is not normal behavour. And here the catch: if I run the application as a standard process, i.e. I replace the call to ServiceBase.Run with a long Sleep statement - the application does not leak memory. The CLR memory performance counters show very different traces of #bytes on heaps running the same test. What could be causing this behaviour? Could anyone from Microsoft check to see if remoting components from a Service has memory issues. In the ASP.NET page I simply release the object by setting the reference to null. My tests run for several hours with several hour of low and high load but the service never reduces it memory. The process version remains very flat. I'm not using any unmanaged resources or any thing that consumes loads of memory just small string (100 characters or so).

    .NET (Core and Framework) csharp performance announcement asp-net dotnet

  • Still no solution! Memory bug in Services?
    S solidstore

    We have a Windows Service written in C# that simply host some remote components. The service does nothing itself. We have an ASP.NET application that initialises the remoting in global.asax and has a single aspx page that creates the remote component and calls its method, which returns a small string. Thing is that the service process leaks memory. Now I've read most of the articles/books on the wonders of the GC and I know that what I'm seeing is not normal behavour. And here the catch: if I run the application as a standard process, i.e. I replace the call to ServiceBase.Run with a long Sleep statement - the application does not leak memory. The CLR memory performance counters show very different traces of #bytes on heaps running the same test. What could be causing this behaviour? Could anyone from Microsoft check to see if remoting components from a Service has memory issues. In the ASP.NET page I simply release the object by setting the reference to null. My tests run for several hours with several hour of low and high load but the service never reduces it memory. The process version remains very flat. I'm not using any unmanaged resources or any thing that consumes loads of memory just small string (100 characters or so).

    C# csharp performance announcement asp-net dotnet

  • Performance counter bug?
    S solidstore

    When my C# service is configured to use any account otherthan SYSTEM it does not show up under the .NET CLR Memory performance counters. This seems like a bug? Can anyone else confirm this? I'm using version 1.0 in WinXP Pro.

    C# csharp performance dotnet help question

  • GC in Services
    S solidstore

    good idea! do you mean create a C# exe to test the Remoting by creating the objects natively? And create another C++ client to create the COM objects but without setting up the remoting configuration? Other tests just in: I've just tried make my service run under my local administrator account (instead of SYSTEM) and the memory performance counters appear normal (although my process no longer show up in the perfmon list - I'm having to use _Global_). Could the user account being used affect GC? Why has my process/service disappeared from perfmon now I've changed the user account?

    C# csharp data-structures performance help question

  • GC in Services
    S solidstore

    I'm using 1.0 framework with SP2. With less than a week to go v1.1 seems a bit risky + we have lots of other apps on v1.0 that need to ship together. I'm developing & testing on XP pro but we deploy onto Win2K advanced servers. Fully patched & serviced packed in both cases. I've also made an interesting discovery: I've downloaded the SciTech memory profiler which I've attached to the Service. Things continue to leak as usually during the test, however after I create the first snapshot, it seems to start garbage collecting correctly!!!! I dont know what the profiler does but you can see that is makes some forced GCs which kick things into action. I've tried to do this myself in code by forcing collection but it didnt work. What could be causing things to suddenly work when the profiler first does something?

    C# csharp data-structures performance help question

  • GC in Services
    S solidstore

    I'm using 1.0 framework with SP2. With less than a week to go v1.1 seems a bit risky + we have lots of other apps on v1.0 that need to ship together. I'm developing & testing on XP pro but we deploy onto Win2K advanced servers. Fully patched & serviced packed in both cases.

    C# csharp data-structures performance help question

  • GC in Services
    S solidstore

    Also is Remoting and COM Interop OK with the same object? Or should I create one object thats exposed to COM which internally calls my remote component?

    C# csharp data-structures performance help question

  • GC in Services
    S solidstore

    My remote objects derive from MarshalByRefObject and their custom COM interface. I read in a newsgroup somewhere that if you derive from this class you must call System.Runtime.Remoting.RemotingServices.Disconnect. But from where? How simple is hosting inside COM+? I'm meant to ship this week! Could anyone else confirm this is a bug in .NET? You only need a small application to test this I guess.

    C# csharp data-structures performance help question

  • GC in Services
    S solidstore

    see reply to leppie above - many thanks

    C# csharp data-structures performance help question

  • GC in Services
    S solidstore

    Basically I have a Windows Service which is hosting some Remotable objects. These objects are also registered with COM. Our test client in an ASP code which creates the COM objects. This activate the real .NET object inside my C# service. Everything work fine, except that memory allocs continue endlessly. In desperation I changed the service to run as a standard process whilst I was debugging. Now memory is being correctly garbage collected. I'm using the perfmon counter to view the zig-zag profile. Memory only increase when the code is run as a Service. I just have to replace the ServiceBase.Run method call with a long Sleep. To make my test run behave VERY differently. The objects I'm creating for each test call are very small & stateless. They return a small string ("foo") from they only method call. The ASP code sets the object to Nothing after the call. I'm assuming releasing the COM object, releases the CCW, which release the remote server object.

    C# csharp data-structures performance help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups