Ive been developing a program for a while nwo and am wanting to release the version ive been working on. now before i do i need to test on a few other machines than my own. So at my work we have a pc with vmwar eon thats helpful for testing.
so i ran it in release mode and then went and copied the needed files into another folder and transfered them to the other pc. I ran teh confgiuration setup just to make sure the database was available etc.
My application gets almost to the end and then fails on a certain page/process. Its the page which gathers the information. i thought it was odd how ti works on my devlopment pc and not on the vmware.
So i transfered it back just to make sure and it works fine from my pc. runs perfect. I managed to get an error from it ealier saying null refereance occured but i havent been able to reproduce this error nor find any others. Ive been sitting here doing try catchs 4 lines at a time trying to find it and ive not found anything wrong.
Its starting to get extremly frustrating now. Has anyone got any ideas what i can do to try get this working? or tips to debugging a problem like this?
To say the vmware session im installing on had a older version installed which worked fine.. so i dont think its a .net version error.
Any ideas before i go and find a sledge hammer lol ?
Thanks,
Piercy
4 1470 RedSon 5,000
Recognized Expert Expert
Ive been developing a program for a while nwo and am wanting to release the version ive been working on. now before i do i need to test on a few other machines than my own. So at my work we have a pc with vmwar eon thats helpful for testing.
so i ran it in release mode and then went and copied the needed files into another folder and transfered them to the other pc. I ran teh confgiuration setup just to make sure the database was available etc.
My application gets almost to the end and then fails on a certain page/process. Its the page which gathers the information. i thought it was odd how ti works on my devlopment pc and not on the vmware.
So i transfered it back just to make sure and it works fine from my pc. runs perfect. I managed to get an error from it ealier saying null refereance occured but i havent been able to reproduce this error nor find any others. Ive been sitting here doing try catchs 4 lines at a time trying to find it and ive not found anything wrong.
Its starting to get extremly frustrating now. Has anyone got any ideas what i can do to try get this working? or tips to debugging a problem like this?
To say the vmware session im installing on had a older version installed which worked fine.. so i dont think its a .net version error.
Any ideas before i go and find a sledge hammer lol ?
Thanks,
Piercy
You got some error messages? Code snips? Call stacks? Anything concrete for us to help you with?
Plater 7,872
Recognized Expert Expert
Do both the machines have the same version of .net?
Sometimes if you use a .net2.0 function in a .net1.1 environment you get funky results.
Do both the machines have the same version of .net?
Sometimes if you use a .net2.0 function in a .net1.1 environment you get funky results.
its only coded in 1.1 :) and yes there both the same .net version.
You got some error messages? Code snips? Call stacks? Anything concrete for us to help you with?
No, Im cant seem to get an error message. So the call stacks i presume you can only get if it errors? As for code, I cant find where it is and i dont really want to post that whole form. my collegue devlopers are back in today im going to see if they can help me. If i get anywhere ill post back some code or the solution.
Thanks,
Piercy
Ok, i found the problem. I partially blame VS2003 but it was my fault in the first place. There was a line that checked the length of a string however there wasnt one check if ti was null. Thus, it was erroring there. i dont quite know why vs2003 didnt return and errors for this. Usually you would get an exception. It now works on both machines. I think the main reason why it didnt work on the other one is because the databases where different. So on my machine there was more data there, Less likely to fail. Where as the other machine had hardly any data.
Not sure why VS didnt help me.
Thanks for your help :)
Piercy
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: skiz |
last post by:
I have an application written in ms access 97. Just recently certain
queries have been giving various errors -- one of which is "there was
an error executing the command".
When I ran the application in access 2000, no errors occurred.
Any ideas? If I open the database file in 2000 it asks me if I want to
convert the database -- so, I know...
|
by: John |
last post by:
Hi, I have an asp.net page with some validation. On one machine the button
click event works fine, whilst on another the button click event does not
fire at all
Any suggestions welcome!
Thanks
Mark
|
by: Cindy |
last post by:
I have an Access 2003 database with a query that works fine on my PC
but does not work on another PC. My PC has older versions of Access
installed as well as 2003 - the other PC only has Access 2003.
The query is as follows:
SELECT tblOrganization.strOrgName, tblPerson.strNameL,
tblPerson.strNameF, tblPersonFCL_Courses.lngIDPerson,...
|
by: Stever1975 |
last post by:
I'm working on something similiar to a shopping cart item page. There
is a table of items. Each item has an image, a textbox for the qty
and an image for the add button.
When the add image is clicked it adds the item to the cart array and
sums it if the item already exists in the cart.
This code works perfectly fine in Internet explorer and...
|
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...
| |
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...
|
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...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |