473,699 Members | 2,701 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# web service/website ?

I have a strange problem with a website and a web service.

They're both on the same server, running Windows server 2003. The website is
set up as the default website for the server.

I've got the same code running in several different environments, it just so
happens this is the production server we're having problems with. Not ideal,
typically.

What happens is this.

When code tries to access the web service, it gets a "302 redirect" response
from the IIS.

If you go to a browser on a machine that can see the production server and
just type in the address of the web service, rather than getting the web
service interface page you get redirected to the default website and thrown
to the error page. Which doesn't come up, because you're not logged in :D

As best I can tell from looking thru the database activity the web service
is firing up, and not obviously throwing an error, altho it may be subtly
throwing an error. In any event, it's not logging anything anywhere, which is
should do if it catches an error.

This thing is secured out the wazzoo - SSL, only specific IP addresses
allowed, the whole bit.

Any ideas?

I'm going to crosspost this in one of the other news groups just to make
sure I've got all my bases covered.
--
C. Woody Butler
Nov 17 '05
16 3153


hi

change the extension from web.config to web.xml and then try to open it
in internet explorer.

does it appears well?

best regards

*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #11
It's fine.

-w

"Roni Schuetz" wrote:


hi

change the extension from web.config to web.xml and then try to open it
in internet explorer.

does it appears well?

best regards

*** Sent via Developersdex http://www.developersdex.com ***

Nov 17 '05 #12

:-(
now i'm out of idea . . . .

have you tried to get answers in IIS newsgroups? Maybe people there have
better idea's.

Good luck
roni

*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #13
Yup - so far it's just a request for info - I'm not at work today but I
emailed my cohorts so hopefully I'll have an answer for them.

-w

"Roni Schuetz" wrote:

:-(
now i'm out of idea . . . .

have you tried to get answers in IIS newsgroups? Maybe people there have
better idea's.

Good luck
roni

*** Sent via Developersdex http://www.developersdex.com ***

Nov 17 '05 #14
hi,

wish you good luck with it and keep us up-to-date with it. Im intersted
in to know whats the probleme.

best regards,
roni

*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #15
I got an IM from work that they'd fixed it.

Apparently the redirect decided to start messing things up.

I should point out that this has been set up for atleast 6 months, probably
more.

Why now? who knows, probably something changed deep in the network and it
just twitched enough to mess this up.

I love Windows and the Internet :).

-w

"Roni Schuetz" wrote:
hi,

wish you good luck with it and keep us up-to-date with it. Im intersted
in to know whats the probleme.

best regards,
roni

*** Sent via Developersdex http://www.developersdex.com ***

Nov 17 '05 #16
Hi Woody,

Nice to hear that you have had the problem resolved.

Thanks for sharing your experience with all the people here. If you have
any questions, please feel free to post them in the community.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 17 '05 #17

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

Similar topics

2
3303
by: msnews.microsoft.com | last post by:
Hello everyone I was wondering if anyone has come across my problem? I programmed a Windows Service that uses httpWebRequest and httpWebResponse in VB.NET. Everything works fine until I use the webresponse object. What the Windows Service does is when the timer in the windows service elapses, the request to the website is made and a response is retrieve in a simple myhttpWebrequest.GetResponse(). I don't even do anything with the...
2
1208
by: | last post by:
Hi all, I have vs.net 2003 locally installed on my XP PRO machine. I have a web server on the LAN which has a website configured at http://services. This is accessible via my web browser and already has a web service (built using sdk and notepad) at http://services/services/services.asmx. Now I am trying to create a new web service "services2.asmx" in vs.net. I click on File-->New-->Project. Then select Asp.net Web Service under VB...
2
1856
by: timsohn | last post by:
I am trying to deploy the most basic web service (Hello World) example to my website, but am having significant trouble doing so. Here is what I am doing: 1) Create a New Web Service in VS 2005 2) Build the website 3) Verify that it works by clicking "View in Browser" 4) Click Copy Website to copy to my webserver 5) Navigate to the website where I just deployed the service
10
1519
by: JLuis Estrada | last post by:
Hi there Its my 1st post in this group and I hope we could have a great time. well, this is my problem I was debbuging my app (a website) and the system get stuck and I had to reboot the system. Since that day, everytime I tried to open the VS2003 and run my app, the system showed me a message like:
8
14302
by: =?Utf-8?B?RGF2aWQrKw==?= | last post by:
Hi, I have been developing Web Services in VS2005. Usually I use the built in server in VS2005 to test and develop the Web Service. However I now want to make this Web Service available to other computers (and applications) in our local company network. When the service runs it accesses an Oracle database and pulls some data out. It works fine when running in VS2005 server. To allow the Web Service to
4
7913
by: =?Utf-8?B?VGFrdW1p?= | last post by:
I have a ASP.NET web page that calls a web service on a server with IIS installed on it. When it calls the web service, it gives a HTTP status 401 error stating that it is unauthorized to call the web service. After searching the Microsoft Knowledge Base, article ID 811318 describes my exact problem. However, when I try to implement the stated solution, I still receive the same error. Basically if I add the following line of code, it...
6
6983
by: Lalit | last post by:
I want to create an application possibly windows service that will generate PDF files and place them into a specific folder. I have a website that will use this service to generate PDF files and return them to user. Is it possible to call this win service from within the website? If yes how could we do this? thanks Lalit
5
5580
by: Oriane | last post by:
Hi, I have a .Net Visual Studio solution with one asp.net Web application, which uses a Asp.Net Web service. Both are compiled in debug mode, and both are using the Studio development web server for debugging. I have also add the Web reference to the web service with the "Add Web service in the solution" choice, that is the Web app starts the Web service with the Studio development web server. So I thought I could set breakpoints on...
0
1882
by: cosmo | last post by:
Hello, I would like to develop a: - Windows Service for doing specific Tasks - Web Service as a communication gateway between the Windows Service and a ASP.NET Website - ASP.NET Website The scenario: A user clicks a button on a ASP.NET website to get some forecast. The button invokes a web service method i.e. GetForecast(). Now the web method calls a task method on the Windows Service. Finally the windows service returns a result...
0
8613
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
9172
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...
0
9032
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8908
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
8880
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
7745
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
5869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3054
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 we have to send another system
3
2008
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.