SocketException On Deployment But Not On Development Machine?

Oct 22, 2009

I have written an async UDP client to talk to a server at my company. When I run on my developer machine all is well. When I deploy to another machine I get a socket exception on EndReceive the first time I send data over the socket. My dev box is Win7 and I have deployed to both an XP SP3 machine and a Server 2003 R2 machine. Below is the receive code:

[code]...

View 1 Replies


ADVERTISEMENT

WCF Can Only Serialize Parameters On Development Machine?

Jul 3, 2010

I have created a WCF service using vb.net. Everything works fine on my development machine but when I deployed it it failed with the following error'There was an error while trying to deserialize parameter [URL] I call a single method on the service and it has a single parameter called 'querys'. This parameter was a list(Of CustomType). I then created a new method with a single parameter of type ArrayList. Thinking that this should serialize. Again it works fine on my development machine but fails when I deploy it with the same error a above.

I am completely stumped how it can serialize a parameter on one machine and not on another. I've tried it on 2 other machine and it doesn't work on either of them. So that rules out a problem with the machine itself.All machines are running Win XP and .Net v3.5. The service was developed using VB .net in Visual Studio 2008.I have not included any code because the error is happening System.ServiceModel and as I mentioned above the code does work on the development machine.

View 3 Replies

Why Does SMTP Code Work On Development Machine

Sep 25, 2010

I don't THINK it should be a credentials issue.I'm reading the credentials out of a database and using the same ones whether the program is running on my development machine (Win7) or my production server (Win 2008 R2).[code]

View 4 Replies

IDE :: Size Parameters Change When Development Machine Has Different Screen Resolution?

Mar 18, 2010

We did development of a VB application on a machine with a high resolution screen. Also the machine where the real application runs has a high resolution screen. After a while we wanted to do minnor changes on the application and we wanted to use a low resolution laptop for that. When we opened the application for editing we saw that all forms changed their sized automatically AND unwanted.How can we build and change applications in one form size that does not change depending on the resolution of the machine on which edits are made?

View 2 Replies

2010 Deployment To 32 Bit Machine

Jul 20, 2011

If I develop a VB2010 Windows Forms application on a 64 bit machine, can I deploy it to a 32 bit machine?The 32 bit machine has .NET Framework 4 Extended on it.Or can I tell the 64 bit compiler to go 32 bit? I have VS Pro on the 64 bit machine.I don't want to leave any development package on the 32 bit machine, which will be transferred to a client.jeyoung

View 5 Replies

Deployment Fails On XP Machine?

Apr 7, 2012

I have just finished my application using VB in Visual Studio 2005 and it works fine on my Win 7 development machine. But when I install and run it on an XP machine it fails with an unhandled exception:System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {E8D851FA-9967-4ADF-9644-0183B9B1EA68} failed due to the following error: 80040154.

I've googled the error message and the solutions seem to be 1) compile as x86 (was doing that anyway), and 2) register the dll on the machine But firstly I'm not sure which dll I need to register, and secondly I don't want to be going around registering dlls - the whole point of the installation programs is that it should just install and configure everything automatically..

View 10 Replies

Deployment :: Using 32 Bit COM Object On 64bit Machine?

Dec 2, 2009

I wonder if/how to use a 32 bit DLL on a 64 bit machine. The situation is like follows:Autocad Inventor(64 bit program) can launch plugin DLL's. The plugin DLL in this case is programmed with VB.NET 2008 Express edition. As far as I know, I can only choose "Any CPU" when building the DLL with the Express edition. This DLL makes uses of a COM object called Isah IERPlink, a piece of software that is used with a 32 bit package. So in my bin directory this DLL will be added "interop.IERPlink.dll". I guess this DLL is specified for 32 bit CPU's, but I'm not sure.

View 2 Replies

VS 2005 - Deployment Error On XP Machine

Mar 29, 2010

I am getting the following error on a users machine who is running XP method not found 'system.string system.windows.forms.openfiledialog.get_safefilename
Do I need netframework 3.5 ?

View 12 Replies

Deployment :: Performing A Serial Port Function Halts / Locks Up On The Vista Machine

Sep 16, 2009

I have created an application using VB 2008 Express on an XP machine. I created a deployment package and installed it on other XP machines with no problems. I tried it on a Vista machine and all seemed well until performing a serial port function. It simply halts/locks up. I have to close it in task mangler. I thought I would circumvent the problem by building and publishing it on the Vista machine. While running the program from VB express the program functions perfectly on that Vista machine, but when I publish and install it on same it still crashes at the serial portion of the program.

View 2 Replies

C# - SocketException When Consuming Web Service?

Nov 23, 2009

I have a webservice being consumed in the WinForm application. I generated a web service wrapper and invoked a web service method asynchronously. I get following exception in my result completed event handler (the event is raised from within the web service wrapper class).

System.Reflection.TargetInvocationException: An exception occurred during the operation, making the result invalid. Check InnerException for exception details.
---> System.Net.WebException: Unable to connect to the remote server

[code]....

View 1 Replies

Communications :: SocketException, Invalid Argument?

Jul 9, 2008

I have a user that is getting a SocketException immediately upon app startup. The really strange thing is that my app does not uses sockets at all.This is the only information that I am getting from {smartassembly}, which I use for obfuscation.

[Code]...

View 10 Replies

Cannot Access The Database From Server Machine To Client Machine Using .net 3.5?

Dec 9, 2010

I develop an application using vb.net.application will run on client server architecture.when we try to execute the program in client side then it will give me an error which is related to sqlclientexception.how can i handle this situation.i used vb.net 3.5 as front end and sql server 2000 as back end.i have done total coding with system.data.sqlclient namespace.

View 6 Replies

Deployment :: Deployment Of SQLEXPR32.EXE Using Template.ini File

Feb 24, 2009

I am deploying sql express as a prerequisite. I have created a custom prerquisite using bootstrap manifest generator. The problem I have is replacing the template.ini file which exists in the sqlexpr32.exe cab file. Winrar and winzip allow me to open the sqlexpr32.exe but will not allow me to edit, add or replace the template.ini.I also cannot find the path where the sqlexpr32.exe extracts to as I want to use that path for the settings file eg "template.ini".[code]

View 1 Replies

Deployment :: Setup And Deployment Project With Ms Sql Server?

Nov 3, 2009

i'm developing an application vb.net with mssql server as database. on my pc it works. but i don't know how to make it works on my customer's pc.anybody have some tutorial regarding the creation of a setup and deployment project with ms sql server.my first doubt is: how can i determinate the right connection string?

View 1 Replies

.Net Software Behaves Differently From Machine To Machine?

Dec 21, 2010

I've inherited a lot of custom made software for an office, and, while managing it, I've found it performs differently from machine to machine.I mean, some controls get painted in weird ways in some machines but well in another, or just work differently, like in some machines clicking something selects it, and in the next machine clicking the same thing makes it editable.I suspect, o course, of the myriad of DLL the software loads

View 2 Replies

Deployment :: Deployment And MS Power Pack?

Jun 25, 2009

I have a windows app that uses the shape control which is part of the MS power pack and requires Microsoft.VisualBasic.PowerPacks.Vs.dll. I am using Publish to build my app and I have tried to change the dll to Include in the properties page but nothing seems to work.

I need a way to have the file included and I am unable to find a external copy and I understand that I cannot just copy the dll from my PC into the installation folder

View 1 Replies

Blocking A Particular Machine From Accessing A Machine On LAN?

Jan 21, 2008

I want to block a perticular machine from accessing my machine..Both the machines are in LAN..I dont want a perticular machine to access my computer How can i achieve this...I want to do this using VB.NetAny idea....

View 9 Replies

Deployment :: Setup & Deployment - Copy/import 2 Folders And There Sub-files/folders Into S&d Project?

May 7, 2012

Have built a project and associated it with a Setup&Deployment Project. The S&D project needs to contain 2 main folders (under User's Desktop) with various formats of files (xmls, txts, dlls) inside them and several subfolders. How can i copy/import these 2 folders and there sub-files/folders into my s&d project?

When adding them in the usual way, they are copied and defined a source path onto the current pc. You can understand what errors this might create when an another targeted pc does not contain those files to the exact location. Is there any way to copy them locally or somehow import them?

View 5 Replies

Deployment :: Windows 7 (64 Bit) Deployment?

Feb 24, 2010

I have compiled my app to x86 so that it will run in a 64 bit processor, the issue I am facing right now is that when I install the app in under application folder I am not able to edit the config file which is in the same folder of the exe. how to give admin previlages to the application ?

PS: the app runs fine when installed in a different folder other than applicaitonfolder

View 3 Replies

Use VS 2010 For All New App Development?

Feb 4, 2011

Is VS 2010 just IDE features - or do I need to use it to target more recent framework versions?Starting a big project and want to make sure I'm aware of what VS 2010 offers over VS 2008.

View 2 Replies

.net - Active X Development: VC++ Or VB Or Other Technologies?

Mar 6, 2010

We are in the process of creating active-x controls used within our application. Since Microsoft stopped supporting classic Visual Basic, is it wise to use Visual Basic to develop the Active X control or the latest VC++/ATL/MFC libraries provide more feature where we can create controls faster by leaving Visual Basic flexibility?

We will not be able to use .NET/VB.NET/C# since the application is supposed to work inside containers and containers may not support latest .NET runtime.

View 4 Replies

.net Windows Application Development?

Mar 31, 2010

I am working on a VB6 project and my organization is planning to upgrade the technology from VB6 to VB.net. As I am new to VB.net windows application development, I dont know where to start and what to include in code. I have read that VB.net windows applications code should have AssemblyInfo, CultureInfo, Windows Security authentication etc. But I have still not found any article, code sample or VB.net windows application sample that could give me a complete list of features that an organization level VB.net windows application must have.

View 2 Replies

Asp.net - Find A Clean API For VB Development?

Feb 18, 2010

I am completely new to ASP.NET programming, and was asked to work on a small project involving ASP.NET, VB (which I am new to as well) and Microsoft SQL Server 2005.Being used to php/java I was hoping to find some kind of similar API to php.net and the javadoc. It would be very useful to have as I would prefer to work with a text editor, instead of using DreamWeaver or Visual Web Developer.In the project I basically only need to use ASP.NET to read from a SQL 2005 database and write to JSON files. where to find a clean and decent API to work with?

View 4 Replies

Best Language To Choose For Development

Jul 18, 2010

Which language, VB.Net or C# is the best language to choose for development right now? Needing users to have the .Net framework is something that I see as a drawback to Vb.NET, but what are the pro's and con's of each language? What can be achieved with one but not the other?

View 1 Replies

C# :: Sharepoint Development In What Language?

Jun 9, 2010

I know this might sound a little silly. but I'm confused as to what language does sharepoint code behind uses? do they use vb or c#? or is it possible to use eithe

View 2 Replies

Code In .net For Application Development?

Feb 17, 2009

I am new developer and i need code for my tools which i had to develop for my desktop Application like pan add data show attribute table

View 1 Replies

Development Of A Text Editor?

Oct 8, 2010

I've programmed a text editor and controlled through its sound as a program, but I want to distinguish it from other software

View 5 Replies

Getting Recommendation For VB Development Computer?

Jan 12, 2010

I currently develop VB programs on a Dell Dimension 9150 with XP Pro SP3 that I bought in 2006.I use my computer to develop VB 3.0 to VS 2010 programs. I also use Microsoft Office 2007, Expression Studio 4.0 and other email and internet searching and reading.I'm not a game player or music player. I mainly do just development and other utilities to aid in my programming efforts.

I am going to buy another computer and I was wondering what others would recommend as far as how much memory and hard drive space
and which processor to get. I would also like a recommendation as to which operating system to get, Windows 7 I'm sure, but which version?

View 1 Replies

Id Card Software Development?

Mar 1, 2010

I want to develop a software that can be used to design and print plastic Id card. The software will consist of toolbox where user can select item for drawing and data entry, i.e. label and picture control. The Label could be linked to database and should give user to save and retrieve the project in the feature.

View 3 Replies

IDE :: D3D Game Hack Development?

Jun 24, 2010

compile this game hack. I get syntax error and GetModuleName.

#include <windows.h>
#include <detours.h>
#include <d3d8.h>
#include <d3dx8.h>
#include "log.h"

[Code]...

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved