Web App Deploy Problem

A

Anthony

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
 
C

cbDevelopment

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.
 
A

Anthony

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
 
A

Anthony

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top