473,378 Members | 1,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Web App Deploy Problem

All,

I have a web app that uses a Web Service from an external provider. The
app works while hosted on my local dev machine. I used the "Copy Project"
option from within the IDE to deploy to an interal web server. However, the
aspx page that calls the web service does nothing. No errors are raised
either. I also tried creating a web deployment project, but the same thing
happens. The web service call seems to do nothing and no errors are
generated.

On my local dev machine, under "Inetpub\wwwroot\myWebApp", there is also a
"Web References" folder. This did not get installed on the target web
server. The rest of the web app functions as expected, just the web service
call does nothing. Any ideas? Does the web reference info get compiled
into the myWebApp.dll or should extra files get created and deployed?

Thanks,
Anthony
Nov 21 '05 #1
3 1611
When you add a web reference, VS creates a few files for you, one of the
more significant is reference.vb. This file has the proxy classes of the
objects the web service sends and receives. Because the file is always
reference.vb, VS puts each web reference into its own directory.

Because they are .vb files, these get compiled into your application's
DLL. You do not need to copy any of those files to the server.

Now, to troubleshoot your problem. The web service call works on one
machine and not another. The most obvious thing to check is connectivity
from the bad machine to the web service. Copy the web service URL and
paste it in a browser window on the server. It could be a DNS problem or
a firewall issue or system policy.

Make sure in your code you're not supressing any errors with Try/Catch
blocks. You're probably looking for an HTTPException to come up.

You might also make sure the code is running. Turn on tracing and be
generous with the trace.write statements.

Hopefully this will get you farther.

"Anthony" <no*****@no.spam.com> wrote in
news:#j**************@TK2MSFTNGP12.phx.gbl:
All,

I have a web app that uses a Web Service from an external provider.
The
app works while hosted on my local dev machine. I used the "Copy
Project" option from within the IDE to deploy to an interal web
server. However, the aspx page that calls the web service does
nothing. No errors are raised either. I also tried creating a web
deployment project, but the same thing happens. The web service call
seems to do nothing and no errors are generated.

On my local dev machine, under "Inetpub\wwwroot\myWebApp", there is
also a
"Web References" folder. This did not get installed on the target web
server. The rest of the web app functions as expected, just the web
service call does nothing. Any ideas? Does the web reference info
get compiled into the myWebApp.dll or should extra files get created
and deployed?

Thanks,
Anthony


Nov 21 '05 #2
Well...it's working. I have no idea what I didn't do initially, and I have
no idea what I did do to make it work. I did browse to the service in
question to verify connectivity. Then I tried the app and FM took over and
I'm moving forward. I figured the reference.vb got compiled in with the
app.dll, but it was a long, unproductive, and frustrating day.

Thanks,
Anthony

"cbDevelopment" <de*********@remove.700cb.net> wrote in message
news:Xn***************************@207.46.248.16.. .
When you add a web reference, VS creates a few files for you, one of the
more significant is reference.vb. This file has the proxy classes of the
objects the web service sends and receives. Because the file is always
reference.vb, VS puts each web reference into its own directory.

Because they are .vb files, these get compiled into your application's
DLL. You do not need to copy any of those files to the server.

Now, to troubleshoot your problem. The web service call works on one
machine and not another. The most obvious thing to check is connectivity
from the bad machine to the web service. Copy the web service URL and
paste it in a browser window on the server. It could be a DNS problem or
a firewall issue or system policy.

Make sure in your code you're not supressing any errors with Try/Catch
blocks. You're probably looking for an HTTPException to come up.

You might also make sure the code is running. Turn on tracing and be
generous with the trace.write statements.

Hopefully this will get you farther.

"Anthony" <no*****@no.spam.com> wrote in
news:#j**************@TK2MSFTNGP12.phx.gbl:
All,

I have a web app that uses a Web Service from an external provider.
The
app works while hosted on my local dev machine. I used the "Copy
Project" option from within the IDE to deploy to an interal web
server. However, the aspx page that calls the web service does
nothing. No errors are raised either. I also tried creating a web
deployment project, but the same thing happens. The web service call
seems to do nothing and no errors are generated.

On my local dev machine, under "Inetpub\wwwroot\myWebApp", there is
also a
"Web References" folder. This did not get installed on the target web
server. The rest of the web app functions as expected, just the web
service call does nothing. Any ideas? Does the web reference info
get compiled into the myWebApp.dll or should extra files get created
and deployed?

Thanks,
Anthony

Nov 21 '05 #3
Actually, my problem was with Server Extensions. From tracing I learned
that my pop-up page did not have the same session Id as the app's initial
web page.

Under AdminTools->Server Extensions Admin, I selected Check Server
Extensions. It corrected _Private folder not found in my web site.

Thanks for waking me up to tracing,
Anthony

"cbDevelopment" <de*********@remove.700cb.net> wrote in message
news:Xn***************************@207.46.248.16.. .
When you add a web reference, VS creates a few files for you, one of the
more significant is reference.vb. This file has the proxy classes of the
objects the web service sends and receives. Because the file is always
reference.vb, VS puts each web reference into its own directory.

Because they are .vb files, these get compiled into your application's
DLL. You do not need to copy any of those files to the server.

Now, to troubleshoot your problem. The web service call works on one
machine and not another. The most obvious thing to check is connectivity
from the bad machine to the web service. Copy the web service URL and
paste it in a browser window on the server. It could be a DNS problem or
a firewall issue or system policy.

Make sure in your code you're not supressing any errors with Try/Catch
blocks. You're probably looking for an HTTPException to come up.

You might also make sure the code is running. Turn on tracing and be
generous with the trace.write statements.

Hopefully this will get you farther.

"Anthony" <no*****@no.spam.com> wrote in
news:#j**************@TK2MSFTNGP12.phx.gbl:
All,

I have a web app that uses a Web Service from an external provider.
The
app works while hosted on my local dev machine. I used the "Copy
Project" option from within the IDE to deploy to an interal web
server. However, the aspx page that calls the web service does
nothing. No errors are raised either. I also tried creating a web
deployment project, but the same thing happens. The web service call
seems to do nothing and no errors are generated.

On my local dev machine, under "Inetpub\wwwroot\myWebApp", there is
also a
"Web References" folder. This did not get installed on the target web
server. The rest of the web app functions as expected, just the web
service call does nothing. Any ideas? Does the web reference info
get compiled into the myWebApp.dll or should extra files get created
and deployed?

Thanks,
Anthony

Nov 21 '05 #4

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

Similar topics

0
by: mqsash | last post by:
Hi Problem : Unable to deploy an assembly in IE, as a cab file. (Works fine when deployed as a dll ) Description : I have created a assembly (dll with no user interface)in C# which I deploy in...
2
by: mqsash | last post by:
Hi Problem : Unable to deploy an assembly in IE, as a cab file. (Works fine when deployed as a dll ) Description : I have created a assembly (.dll) in C# which I deploy in IE. The dll name is...
2
by: John Spiegel | last post by:
Hi all, I'm attempting to deploy a pretty simple web service to a shared web server that was built w/ Visual Studio. According to MSDN, I should be able to just copy the asmx and bin folder (w/...
2
by: Marcus | last post by:
I have seen many posts of people with the same problem as me (attached below), but I have yet to see any solutions posted. Has anyone figured out how to deploy an Asp.net web site to the webserver...
2
by: Nils Hedström | last post by:
I have a ASP.NET 1.1 project that I want to be able to deploy on my web-servers while they have real traffic (40 requests/second). When I copy the projects assembly in the bin-directory of the...
1
by: alan | last post by:
I've try to deploy my application by using Setup Wizard. But after I build the setup application, it got a error said "unrecoverable error!". I don't know what's the problem. In order to the what...
5
by: Mahernoz | last post by:
Hi Everyone! I have a problem here. I have used the latest asp.net membership & profiles functionality in my site. I have 2 roles admin and user. I also have a user named admin. Now, my...
6
by: AGP | last post by:
I resisted for many years but I've just written my first app in .NET2005 and am looking to deploy my app with a third-party installer. ClickOnce and the VS Installer do not meed my needs and I am...
4
by: Christiano Donke | last post by:
i'm writing an app that uses an excel interop to convert the xls file to html.. while writing it, i had no problem... it problem is coming out when i try do deploy it... i've tried merging it...
6
by: =?Utf-8?B?QW5kcmV3X2QxMjM=?= | last post by:
Here is my problem. I have an app that has over 9 web services. For years I had not issues with clickonce but now it looks like the build is missing XmlSerializers.dll.deploy. I did have this...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.