Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

VS 2003

Posted on 2011-10-21
1
Medium Priority
?
220 Views
Last Modified: 2012-06-22
Problem:  Hosted website has changed URL of websvc.   There are no changes to the parameters.  
I have a VS2005 windows app that works fine with the new URL.  I have a VS2003 web app that crashes with the new URL.   The production web app runs fine on the old URL.   If I take the source, modify the URL, it crashes with the  error shown below..    
If I change the URL back to where it was, it runs fine after the build.

I do have VS2010, but right now, I just need to get the VS2003 running.   If all I changed was the URL at the following places, why would be be getting a crash?

Web_interface.wisdl
Web_interface.disco
Reference.map
Reference.cs

When I build the code, I use Rebuild Solution.


ERROR:
[FormatException: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +2782219
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +112
   System.Int32.Parse(String s) +20
   pqtmx._default.Verify_Courses() in C:\Inetpub\wwwroot\PQTMX\default.aspx.cs:92
   pqtmx._default.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\PQTMX\default.aspx.cs:71
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436

 

0
Comment
Question by:Jon Davidson
1 Comment
 
LVL 28

Accepted Solution

by:
strickdd earned 2000 total points
ID: 37008194
Instead of changing the URL in those mappings, you should be able to just update it in your config file. Point that URL to the new location and everything *should work just fine.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question