473,480 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Error Reference.cs Web Application using WebService

I have a WebApplication which is consuming a WebService.
Basically the problem I am facing is such that everything is working fine
when I am developing on my local machine. Then I do "Copy Project" from
withing the VS2003 to copy the project to a shared webserver. My project
references some web services. Upto here everything is withing our firewall.
Then in order to deploy it to the customer we upload those files from the
"Deployed" (Shared webserver) location to a FTP site. When we install at
customer site and try to use the application, it throws the exception
complaining about Reference.cs file and also surprisingly includes the path
to the out machine inside our firewall where we initially deployed the
project using "Copy Project" through VS2003.

Any suggestion greatly appreciated...
Thanks
--Mayur Hirpara
Jan 20 '06 #1
1 1725
JC
I would work with a dynamic web reference as follows:

http://support.microsoft.com/kb/316928/en-us
"mike" wrote:
I have a WebApplication which is consuming a WebService.
Basically the problem I am facing is such that everything is working fine
when I am developing on my local machine. Then I do "Copy Project" from
withing the VS2003 to copy the project to a shared webserver. My project
references some web services. Upto here everything is withing our firewall.
Then in order to deploy it to the customer we upload those files from the
"Deployed" (Shared webserver) location to a FTP site. When we install at
customer site and try to use the application, it throws the exception
complaining about Reference.cs file and also surprisingly includes the path
to the out machine inside our firewall where we initially deployed the
project using "Copy Project" through VS2003.

Any suggestion greatly appreciated...
Thanks
--Mayur Hirpara

Jan 31 '06 #2

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

Similar topics

1
1440
by: Programatix | last post by:
Hi, I upgraded my application from dotNetFramework 1.0 to dotNetFramework 1.1 When calling a WebService method which returns a dataset, I get the following error, "There is an error in XML...
12
4097
by: Jose Fernandez | last post by:
Hello. I'm building a web service and I get this error. NEWS.News.CoverNews(string)': not all code paths return a value This is the WebMethod public SqlDataReader CoverNews(string Sport)...
4
2906
by: Sanjay | last post by:
I have written a web service to return information from the database. This works and the data is returned in XML format from the database and displayed on the web page as well when this web service...
2
1728
by: sean | last post by:
Hi there, I am trying to call a C# web service from an aspx page, I have the asmx file, a user control file ascx and the aspx file. I have verified that the web service is returning correct...
1
1033
by: timb | last post by:
Hi all, am developing an vb dotnet application (windows exe) which references a (vbdotnet) dll. This dll makes use of a webservice and as such has a webreference set in the visual studio project...
7
3063
by: Jorgen Haukland, Norway | last post by:
Hi, I have created a Java webservice which runs in IBM WebSphere appserver. I take the WSDL-file and create a VS.NET WinForm application and calls the service running on my PC and everything...
2
2197
by: Naeem Sarfraz | last post by:
Any advice for the following situation? I've deployed my webservice on a remote server, e.g. http://mywebservice.co.uk/summary.asmx. The windows clients attempts to access this webservice and...
3
4396
by: Lance Wynn | last post by:
Hello, I am receiving this error when trying to instantiate a webservice component. I have 2 development machines, both are XP sp2 with VS 2008 installed. On one machine, the code works fine. On...
1
7746
by: santoshsri | last post by:
Hi All, My C# web application calls a webservice to process a report. It sends XMLs as parameter and in response gets an XML node which stores Binay datatype bin.base64. It makes an instance of...
0
7040
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,...
0
6905
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...
0
7041
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,...
1
6736
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...
0
5331
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,...
0
2994
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...
0
2980
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1299
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 ...
0
178
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...

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.