globalization of remote objects?

dotnet framework

    Sponsored Links

    Next

  • 1. Remoting problems in VS2005?
    Hi, all, Recently, a few people have told me that they've read about bugs/issues in VS2005 remoting....things that worked in VS2003 that are "broken" in VS2005. I asked them where they read about it, and they couldn't specifically recalll....it was on some blogs or forums. Can anyone give me a top-line of any issues. or point me to a URL that goes into any details? Thanks, Kevin
  • 2. How can I restrict remoting access to the local machine?
    I am hosting a TCP remoting object in a managed C++ application. Is there any way that I can determine on the server side whether the caller is originating from the local machine? I want to restrict access to the remoting methods to allow only callers that are on the local machine. Wasn't sure if there is a built in security mechanism for this or if there is some other way to do it. -- ----------------------------------- Ken Varn Senior Software Engineer Diebold Inc. EmailID = varnk Domain = Diebold.com -----------------------------------
  • 3. Remoting calls stop working in ASP.NET 1.1 with SP1 after updating web.config.
    I have a weird problem that just started occurring after installing .net framework sp1. My ASP.NET application calls a remoting object located in a managed C++ assembly. This has always worked fine. For some reason, now if I modify web.config or modify a dll on the web site, the remoting call fails. It will only start working again if I restart IIS. This problem did not happen prior to installing sp1 for .net framework 1.1. Any ideas? -- ----------------------------------- Ken Varn Senior Software Engineer Diebold Inc. EmailID = varnk Domain = Diebold.com -----------------------------------
  • 4. Client IP Address
    When a SAO receives a call from a client, how can I get the IP adrress of the caller?

globalization of remote objects?

Postby news.microsoft.com » Wed, 13 Oct 2004 21:23:09 GMT

I have a the following problem:
In a client/server application clients must be able to run in different
languages (culture's).

situation:
The resourcestrings are located on the server. The server is accross the
application boundaries; the client(s) use a remote object to translate the
strings.

what goes wrong:
When 2 clients use different culture's the
Thread.Currenthread.CultureUICulture and CurrentCulture (on the server) are
set to whatever the settings are on the last started client. So client 1
gets a the string in a wrong language.

what doesnt work:
I cannot use the overloaded function getstring from the resourcemanager
(with the culture as extra parameter) since we use third party components
which dont have these overloaded functions.
I cannot set the Thread.Currenthread.CultureUICulture and CurrentCulture on
the server every time i do something on the client. Not only is it not good
for performance, but more important: it is possible that before the server
provides an answer, client2 could have set a different culture.

Does anyone have a solution for the problem? What is the best way to handle
this (threadpool?!)? Anyone has an example somewhere?

Thanks in advance




Similar Threads:

1.Object reference not set to an instance of an object using globalization

Hi

in my page load

i use

ConfigurationSettings.AppSettings["PgDesc"].ToString();

to retreive to info to output to the file

the thing is for some values i get an error : object reference not set
....

when i use ConfigurationSettings.AppSettings["rootPath"].ToString()

it works fine 

does anyone know what is going on 

thanks

2.Remote Object cannot instantiate new COM objects on remote machine

My Current .NET remoting solution does not allow my 
remote object to create new instances of COM objects on 
the remote machine.  

I am confident with my setup, because i've been able to 
successfully execute the below "createMyFile()".
The problem arises when i attempt to execute 
the "createMyWord()".  I am not even able to catch any 
exceptions.  The CreateObject("Word.Application") call 
just hangs.  The call is being made over a TcpChannel 
from a client using a proxy to the "rmtObject" which is 
on a remote machine.  The "WellKnownObjectMode" 
is "SingleCall"

To complicate things even further....you should know that 
this scenario works fine when done on the localhost!!!

'***********************
'***my remotable object
'***********************
Public Class rmtObject
    Inherits MarshalByRefObject
        Public Sub createFile()
          Dim fso as Object
          fso = CreateObject("Scripting.FileSystemObject")
          Dim txt = fso.CreateTextFile("C:\myfile")
          txt.WriteLine("blah")
          txt.Close()
        End Sub
        Public Sub createMyWord()
            Dim word_app as Object 
            word_app = CreateObject("Word.Application")
            word_app.Visible = True
            word_app.Activate()
         End Sub
End Class


PLEASE HELP!
I've spent to much time on this without any progress.
Any help will be greatly appreciated!

Thanks in advance.

Val

3.SecurityException thrown out when passing remote object to another remote object

4.call a remote object from within an other remote object

Hi 
I've got a problem with remoting and can't find a solution 
by myself.
I have 2 remote objects, 2 servers to host the remote 
objects and a client. The client uses one of these remote 
objects, which should use the other remote object. But I'm 
not able to get the reference of the 2nd remote object 
from inside the first one. (both remote objects work when 
they are used from client application).

Is it possible to call a remote object from an other one 
and if yes how can I do that?

Thanks a lot for a fast answer.
Regards Chris

5.Problem calling a remote object from within a remote a object

Hello,

Would be interested if anyone has come accross this problem? Have some 
SingleCall SOA remote objects and communicating with them using http channel. 
Theres is a lot of extra client and server formatters.

I have  a problem when: 
1. Client calls a method on remote object (Obj1) provided by Server A. 
Client and server formatters execute correctly.
2. Obj1 then calls a method on remote object (Obj2) provided by Server B. 
Client formatters on Server A are skipped and seems to directly jump to the 
server formatters on Server B. It then errors as the server formatters are 
expecting a specific format produced by client formatters that never executed.

Would appreciate any ideas on what may be causing this? I'm using .Net 
Framework v1.1 and VS .Net 2003.

Thanks is advance



6. Remote object - is it possible to call some of methods of remote object in "local" mode

7. Remoting : Event Handing of the Remote Object on Server Hosting the Remote Object

8. Remote client is using local object instead of remote object



Return to dotnet framework

 

Who is online

Users browsing this forum: No registered users and 82 guest