473,698 Members | 1,901 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

change works in Localhost but not on the server

1 New Member
Recently we promoted a change to one of our applications. We use an application called CruiseControl that builds a label and stores the current changes to a staging server where the web engineering group uses to get the created label and deploy the changes to the different servers.

We checked-out and checked-in our changes in Visual Soursafe. We then did a 'Force Build' via CruiseControl. The label generated by the cruise control was moved to the development server. Our changes works like a charm in development server, but when the same label is promoted to the Test server it is not working fine. We get an error:

System.NullRefe renceException: Object reference not set to an instance of an object.

I tried to connect to the test database through localhost and run it thus using the test data as if I was using the test server, but there was NO error when the SAVE button is clicked. The code-behind we promoted to the TST server is the same as the one I have in localhost and dev server.

I'm stuck right now and can't figure-out what is wrong since no error is being generated when i run it through local and i can't trace the problem. I'm not sure if it's data related since connecting to test database through local works.

Can anyone help?
Aug 16 '07 #1
1 1171
radcaesar
759 Recognized Expert Contributor
Try with some thing other than cruise control since it has some thing problem on String cast (Googling on this ?).
Aug 16 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
8195
by: Sam Fisher | last post by:
Hi, I have a crystal reports hosted on the IIS as web service. Everything works fine except that I can not access the database other than the one on which the report originally created. I am using the LogOnInfo of the viewer to set the user name, password, database location and server names But the following kb article says 'When using the viewer's LogOnInfo collection, you are unable to change the database/table information for a report...
9
2303
by: Seum-Lim Gan | last post by:
Hi, In 7.4, I noticed there is this ::1 and ffff: (x8 of them) for IPv6. I looked at the documentation and there is nothing that says what the ::1 is for. Commenting out that line will prevent access to PostgreSQL from psql unless I put trust for that line.
3
10567
by: Andy | last post by:
If I use Visual Studio.Net 2003 to generate "web references" for clients using either sproxy.exe (for C++) client or wsdl.exe (for C#) clients, the web service endpoint gets "baked" into the generated code, making it difficult, if not impossible, to change the server that the client connects to at runtime. e.g. sproxy.exe generated code that looks like this ... static const _soapmap __CCluProvider_GetCertificate_atlsoapheader_map = {
5
2239
by: Grigs | last post by:
Hello, I have a project that contains a WebService that works great when connecting to it on my Localhost. Once we post the files to the test web server, all of the pages that do not touch the webservice work fine. However, the ones that do touch it get the following error: The request failed with HTTP status 404: Not Found Here is the full error:
5
1353
by: Mark Olbert | last post by:
I'm running into a repeatable oddity in porting a bunch of ASPNET1.1 websites to ASPNET2. Calls like this: MapPath("/path/fromroot") result in exceptions under ASPNET2, but worked fine under ASPNET1.1. Changing the calls to: MapPath("~/path/fromroot")
10
6094
by: IchBin | last post by:
I am trying to set the state of a radio button. I do not see what I am doing wrong. Sorry, I am new at this.. I need another set of eyes to look at this snip of code. I am trying to set the radio button with this link of code: echo 'SCRIPT language=JavaScript setCheckedValue("'.$_SESSION.'");</SCRIPT>'; //? <snip of code>
1
4320
by: John Kotuby | last post by:
In VS2003 (VB) I am trying to open a solution that contains a couple web projects. It was zipped from another developer's machine and sent to me. I unzipped it a folder on my C drive and placed a WindowsXP Web Share on the folder. I can access the webshare by typing in http://localhost/dmedibiz. However, when I open the solution and it tries to open the Web Project parts, it says "Contacting Web Server to Open Web Project, followed by an...
11
26608
by: cybervigilante | last post by:
I can't seem to change the include path on my local winmachine no matter what I do. It comes up as includ_path .;C:\php5\pear in phpinfo() but there is no such file. I installed the WAMP package and PEAR is in c:\wamp\php\pear I modified php.ini in the c:\wamp\php directory to reflect the actual path, but even stopping and restarting my server shows the c: \php5\pear path. I can't change it no matter what I do I also tried the...
4
56916
by: =?Utf-8?B?RGFuaWVs?= | last post by:
Hi, How could I change a WCF client endpoint address programatically? The client is generated by Visual Studio. The purpose of doing this is to use different service address under different configuration. Thanks. Daniel
0
8600
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
9156
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
8892
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
8860
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...
0
7712
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...
0
4361
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
4614
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2323
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1998
bsmnconsultancy
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.