|
Normally when I have issues with a web service the first thing I do is try to access it in a web browser from the problem PC. So if you type in the url including the asmx file you should get a page back depending on how you set up your web service. If you can see the webservice in the brower it should work with your app.
My best guess without more info is that your webservice is perhap only internally DNS on your local intranet. Since it doesn't have an External DNS an outside user can't get to it, but that is pretty much a complete guess.
Ben
|
|
|
|
|
Thanks for taking the time to consider my problem.
Unfortunately, I am not able to recreate the problem that this particular user has. And I am able to access the web service via a web browser just fine. I haven't asked the user if he can, but I didn't see how the answer to that would help me. I figured it would give me the same error message, but I suppose it is worth a try.
I know that the webservice is not just on the local intranet, because other users have been able to access it without problems. That is why this is so confusing, I thought everything was working just fine and now I have this one user who is having problems and I can't figure out what is different between his computer and everyone else who has been able to get access. The only thing I can think of is that the user has dial-up internet access provided by Earthlink. Would they have some kind of security or setting that would prevent a webservice from working?
Again, thanks for your help. If you have any other ideas or advice please let me know.
|
|
|
|
|
You are right about they will probably be the same error, but at least then you know for sure it is some sort of DNS issue. I am not totally sure how it works with dial-up, but I am pretty sure it works the same, anyway, you could manually point your url to the correct IP address by updating their local hosts file. Before you do that you could try accessing the url with an IP address instead of a name. If that works then you might just be able to update your configuration file, I am assuming your web service url is in a config file.
Hope that helps.
Ben
|
|
|
|
|
By the way, if the web browser does work, it might be a rights thing. If your appliction is marked as partially trusted then your app would not have rights to access the internet.
Ben
|
|
|
|
|
Hello,
I need to add a database where people can search and pull up results. The database is currnetly in Access.
What tools, software, or languages will I be using in order to implement this. And will Access work fine. Thanks you
Steve Vondras
Red Lake Nation
MIS Tech
svondras@redlakenation.org
|
|
|
|
|
If Access is fine or not, depends on how many users you will have. You've not said what you're writing this in ( asp/php/asp.net/etc ), so yuo can't hope for more specific help until you say what it's in. Any of those would allow you to use a DB, however.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thanks for the quick reply
I am planning on using php
Steve Vondras
Red Lake Nation
MIS Tech
svondras@redlakenation.org
|
|
|
|
|
OK - I'm sure that will be fine, so long as Access scales to your app's size. I have never used PHP, so I can't help more than that.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
New to web services here. I know web services have a URI, but do individual web methods also have their own URI? I think the answer is most likely no, but I'm curious.
|
|
|
|
|
NO. (AFAIK)
but You can call like http://webservice/webmethod1 or http://webservice/webmethod2 with HTTP_POST.
|
|
|
|
|
Well, according to everything I've read on the net, you can call a javascript function from vbscript (and vice-versa). However, When I try to do this, IE6 reports a "Type mismatch" on the javascript function. Here's a code snippet:
<%@ LANGUAGE="VBSCRIPT" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<script language='JavaScript1.2' type='text/javascript'>
function jsGetScreenWidth()
{
return screen.width;
}
</script>
<%
Dim njsScreen: njsScreen = jsGetScreenWidth()
%>
<body></body>
</html>
Can anyone shed any light for me?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Wow - this brings back bad memories.
IE can run VBscript on the client. However, you seem to be running it on the server, in which case, the answer is no. You can't call client code from the server, for a variety of reasons.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
well i would like to ask one Christian,
as u said client code can not be called from server side, but how abt the statement below:
btnPlaceOrder.Attributes.Add("onclick","javascript:alert('how are u');")
i mean statement is on the server side and is using client side code. thts the way i think. i might be wrong. what do u say?
|
|
|
|
|
The statement is on the server side, and it puts a string in the onclick property of an element. The code in the string is not executed on the server, it's put in the html code that is generated. When the page reaches the browser, it parses the html code and put the value of the property as an event in the element. When you click on the element, the code is executed.
The code is wrong, by the way. You don't use the javascript: protocol in events. That's only used when you put Javascript code in an URL.
---
single minded; short sighted; long gone;
|
|
|
|
|
I'd say that it depresses me how many people are using ASP.NET and have no idea of the server/client division or how web development works.
Like Guffa said, you can inject javascript into the page on the server side, in fact, the server side is one huge engine for generating HTML and javascript, precisely because that's all you can serve to the client, and expect the client to do anything with. So, again, the javascript can only run on the client, getting it to the client is the whole reason the server side exists.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
well i would like to ask one question Christian,
as u said client code can not be called from server side, but how abt the statement below:
btnPlaceOrder.Attributes.Add("onclick","javascript:alert('how are u');")
i mean statement is on the server side and is using client side code. thts the way i think. i might be wrong. what do u say?
|
|
|
|
|
Hi all,
How can I offer the functionality 4 a software to be downloaded after purchasing it (instead of shipping it)..
The problem is that I want a secure access to the software so that only the people who purchase it can download it (only once for each customer), not any1 who knows the URL can download it..
Thanks a looot in advance
|
|
|
|
|
1- provide an account for each customer.
2- store the software(binary data) in a database.
3- when the user clicks to download the software, perform any checks you want before getting the software from the database.
|
|
|
|
|
The problem is that I'm using SQL Server 2000 so the size of the software will be much larger than the size of a binary column in the database..
Any Clue??
Thanks a lot
|
|
|
|
|
You can store the files locally and store paths in your SQL Server database.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi guys
i am using frame work 1.1, win xp, i am having the following the following erroe while try to open a new web project
"visual studio.net has detected that the specified web server is not running asp.net version 1.1 . you will be unable to run asp.net web applications"
why is that?
thanks in advance
hello
|
|
|
|
|
- Type aspnet_regiis -i in 2003 Command.
- Type "iisreset" in Command.
|
|
|
|
|
re-register the ASPNET user account by running the following at a command prompt:
%windir%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
i'm working on the "contact us" page on a website, i need to create two boxes, one for the email adress of the sender and the other for writing the message, and both contents should go directly to my e-mail account.
please i'm sure that anyone have the answer,but i need urgently
thank you in advance
|
|
|
|
|
/create the mail message<br />
MailMessage mail = new MailMessage();<br />
<br />
mail.From = new MailAddress("me@mycompany.com");<br />
mail.To.Add("you@yourcompany.com");<br />
<br />
mail.Subject = "This is an email";<br />
mail.Body = "this is a sample body with html in it. This is bold <font color=#336699>This is blue</font>";<br />
mail.IsBodyHtml = true;<br />
<br />
SmtpClient smtp = new SmtpClient("127.0.0.1");<br />
smtp.Send(mail);
More Info : http://www.systemnetmail.com/
|
|
|
|