473,796 Members | 2,740 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What is the ideal platform?? only .Net Framework or .Net Framework with SDK

Hi All
We are facing problems like unable to cast object of a type to same type while calling Activator.GetOb ject() function. But the same problem disappears when Visual Studio .Net in installed on the server. I have gone through a lot of articles where people have talked about debugging in production enviornment. But in almost all case they have assumed that SDK along with .Net Framework is there. I am curious about what is ideal production enviornment platform. Only .Net Framework is sufficient or .Net Framework SDK should also be present

If some body can through some light on this then it will be a great help to us as we are trying to debug the problem since almost a month

Thanks in anticipation

Regard
Arvind Kumar Maury
Senior Member Technical Staf
HCL Technologies
Jul 21 '05 #1
3 1819
Cor
Hi Arvind,

When you are deploying using the deploying and setup from VS.net, the right
..Net framework version should normaly be sufficient.

Although I think it is better to do a windows update on the client to be
more sure.

I hope this helps?

Cor
Jul 21 '05 #2
Hi Cor
Thanks for the reply
Actually we are compiling our code written in C# using makefiles where nmake is being used for compilation. Right now we are doing deployment manually. We are hosting components on IIS 5.0 and installing only .Net Framework on server.
We are having scenerio where a .Net client calls a component hosted on IIS using .Net Remoting. Sometimes this calls succeed but sometimes call from .Net client fails while getting remoting object using Activator.GetOb ject() API. We have tried to debug the cause but found that Activator.GetOb ject() API is returning the object with Type we have requested for(say X). But when we typecast it to the X, it fails with exception Unable to cast object of type X to X

The same problem disappears when we install Visual Studio .Net on the server

Can you through some light on it

Regard
Arvind Kumar Maury
----- Cor wrote: ----

Hi Arvind

When you are deploying using the deploying and setup from VS.net, the righ
..Net framework version should normaly be sufficient

Although I think it is better to do a windows update on the client to b
more sure

I hope this helps

Co

Jul 21 '05 #3
Cor
Hi Arvind,

The greath advantage from using managed code should be that there never
would be anymore problems as you have now.

Unless you are using non managing code in your programs, than you have to do
yourself that terrible job to find out what dll's are extra needed (as done
by the deployment and setup).

One thing is better, you are almost sure that it are dll which has to do
with your API and not with the managed code because that is in the
framework. (Not the Com referenced, that you have to check if it is complete
on the user computer and allowed to deploy)

I have no better answer than lets hope that in future all is managed code
and this kind of problems are gone.

Cor
Jul 21 '05 #4

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

Similar topics

44
4289
by: lester | last post by:
a pre-beginner's question: what is the pros and cons of .net, compared to ++ I am wondering what can I get if I continue to learn C# after I have learned C --> C++ --> C# ?? I think there must be many know the answer here. thanks
3
1406
by: Newbee Adam | last post by:
what OS come with .NET framework!? How can I install .Net Framework on say a win 98 and win 2000 machine? does the .Net framework need for the win 98 and 2000 machone come with visual studio .NET? -- Adam S
3
1475
by: Newbie | last post by:
I am extremely new to the working of XML. Our client wants us to access their Website. They also want us to retrieve XML (files?) from their site. We will then somehow import it into our SQL database where we do our own thing with our custom software and then send it back to the client via XML again. My question is..what do I need to set up in terms of hardware and software to be able to download the XML files into my environment. ...
1
1756
by: Satish Appasani | last post by:
Is there any ideal way of passing values to another page using Post method and avoiding Sessions and Viewstate? I have used Viewstate unsuccessfully. Though I've set all the required attributes to the form including enableviewstatemac property to false. But it did not work. The I used the following code: In the source page add the code:
13
5459
by: Kyle Adams | last post by:
I don't know where is the right place to ask this so I will start here. Can someone explain to me what these represent? I think they all have to do with the middleware level, but I really don't understand what a DCOM Server is or a Microsoft Transaction Server, etc. I have no idea.... Kyle
3
293
by: Arvind Maurya | last post by:
Hi All We are facing problems like unable to cast object of a type to same type while calling Activator.GetObject() function. But the same problem disappears when Visual Studio .Net in installed on the server. I have gone through a lot of articles where people have talked about debugging in production enviornment. But in almost all case they have assumed that SDK along with .Net Framework is there. I am curious about what is ideal production...
5
2348
by: Matias | last post by:
I'm not asking if it's better or not than php... I want to know the opinions of web developers about this new toy... Byee..
39
3236
by: windandwaves | last post by:
Hi Folk I have to store up to eight boolean bits of information about an item in my database. e.g. with restaurant drive-through facility yellow windows
123
6497
by: plenty900 | last post by:
I was looking over someone's C++ code today and despite having written perfectly readable C++ code myself, the stuff I was looking at was worse than legalese. The people who are guiding the development of C++ have really made a mess of things, I mean templates and competing libraries and all that just render the code impossible to comprehend. Sure there is going to be a certain amount of complexity, that's a given, but if code is not...
0
9685
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
10467
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...
1
10201
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9061
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7558
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
5454
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...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4130
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3744
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.