473,792 Members | 3,076 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem with COM Object Wrapper or with Remoting... which one?

Hi,

I have a web project in VS 2005 and I'm using a wrapper to work with a COM
object. this object must work in a remoting environment. So we've done a
simple console app to give us the access to the remote object.

In our test web app, everything works fine... if we copy paste all the code
from the test app to the real app so we can have exactly the same thing in
each one, the real application raise an exception on the first call I do
after the "new MyObject()" line. My first guess would be that the problem
comes from the remoting, but I use exactly the same config file than the
test app.

The wrapper was in Framework 1.1, so I converted it to 2.0, I don't know if
it can change something, but for now, it does not work.

Does someone have an idea of what it would be? I mean, even with the same
code and the same config file. Is there a setting or something like it that
could cause the problem?

Thanks

ThunderMusic

May 10 '06 #1
1 1068
hi,
finaly, I found it... it was a security problem... thanks anyways... ;)

"ThunderMus ic" <NOdanlatSPAM@h otmaildotcom> wrote in message
news:Ow******** ******@TK2MSFTN GP02.phx.gbl...
Hi,

I have a web project in VS 2005 and I'm using a wrapper to work with a COM
object. this object must work in a remoting environment. So we've done a
simple console app to give us the access to the remote object.

In our test web app, everything works fine... if we copy paste all the
code from the test app to the real app so we can have exactly the same
thing in each one, the real application raise an exception on the first
call I do after the "new MyObject()" line. My first guess would be that
the problem comes from the remoting, but I use exactly the same config
file than the test app.

The wrapper was in Framework 1.1, so I converted it to 2.0, I don't know
if it can change something, but for now, it does not work.

Does someone have an idea of what it would be? I mean, even with the same
code and the same config file. Is there a setting or something like it
that could cause the problem?

Thanks

ThunderMusic

May 10 '06 #2

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

Similar topics

0
1234
by: Maurice | last post by:
Our product is build using the .NET framework 1.1. We have WinForm application that communicates a server via Remoting (tcp channel). We have two ways communication: From application to server using a singleton remoting connection (using Activator) From server to application using delegate (using delegate wrapper – a simple
9
2257
by: Sudesh Sawant | last post by:
Hello, We have an application which communicates using remoting. There is a server which is a Windows Service. The server exposes an object which is a singleton. The client is a Web Application which makes calls to the service. We are using tcp channel which is using binaryformatter by default. The problem is that after a certain number of remoting calls the calls dont get through to the server. The client application makes the call and...
1
2693
by: David Krmpotic | last post by:
Hi All! I have a .NET remoting Client-Server application with Server Activated Objects only.. something is worrying me.. sometimes (rarely), I can't connect to the server although it is running. I get the exception saying "A socket operation was attempted to an unreachable host".. it means that it behaves the same as if the server
0
2463
by: Martijn Damen | last post by:
Hi, At the moment I am trying to develop an application that uses another app over .net remoting and having some problems with it (ok, that is ofcourse why I am here), hope somebody can shine a light on the following: I have been given a sample winforms app, which works without problem, I can connect, send queries and become response from the other application. When I try to implement this in webforms, this unfortunately does not...
15
2415
by: Ron L | last post by:
We are working on a distributed VB.Net application which will access a SQL database located on a known server. Each client will run on the user's local machine. To implement this, we are trying to use remoting for our access to the SQL server, with the remoting being via IIS. Since all of our users will have accounts in the destination domain, we want to have IIS handle the security for us and not allow anonymous. We have set this up...
6
1914
by: Picho | last post by:
Hi all. I have a webservice and a windows app. both of them reference the same class library called WebServiceTest.Core that defines a class called Class1. the webservice exposes a method that looks like this: public WebServiceTest.Core.Class1 GetClass1()
3
2664
by: Ron L | last post by:
I have an application that I am working on with 2 other developers. The applciation uses Remoting for our calls to SQL Server. We have been developing and testing against our development machines (win XP), and remoting is working fine, but yesterday we attempted to install our application on our shared server and we keep getting 401 - Not Authorized errors whenever a remoting call is made. To get the application to the server, we got...
1
2091
by: Thomee Wright | last post by:
I'm having a problem with a pair of applications I'm developing. I have a server application which interacts with several instruments, and a client app which connects to the server and provides a UI for interacting with the instruments. Readings from the instruments are periodically sent to the clients, and clients will send commands to the server based on user input. In normal usage there will be around 6 clients connected, with a...
3
1201
by: Brian | last post by:
I have run into an issue with a web service I am working on that uses an object defined in a COM Wrapper. There can be only once instance of this object initialized at a time on the system, which is naturally causing problems in ASP.NET 2.0 Web Service. How does one go about managing this type of resource? Is it possible to create an instance of an object that is shared across all the threads created by multiple users hitting a web...
0
9670
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9518
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10430
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10211
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7538
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3719
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.