WebService Only Available To LocalHost

Apr 8, 2008

After creating a WebService using SQL Server 2005 HTTP Endpoints I can only browse to the wsdl file using localhost address and not via the machine name

For example http://MACHINENAME/SomeWebService?wsdl will ask for some authentication that can never be determined while

http://localhost/SomeWebService?wsdl will successfully generate the WSDL file

This happens on the actual machine and on all other machines in the domain which pretty much defeats the purpose of using Web Services to expose functionality.

Does anyone have any idea regarding

(a) what security features are at work here,
(b) Where are they documented
(c) How to set or use them in such a manner as to actually be able to use web services.


While investigating I have noticed that all examples conveniently use localhost and so either avoid or never address this issue.

Any suggestions appreciated.

Nadreck

View 7 Replies


ADVERTISEMENT

Localhost Question

Mar 9, 2004

I have always connected to my MS SQL DB's through a remote connection, like this:

<%
Dim oConn, oRS, sSQL
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open "Driver={SQL Server};" & _
"Database=mydb;" & _
"Server=myservername;" & _
"UID=mylogin;" & _
"PWD=mypwd"
%>

Is there a way to connect to an MS SQL DB locally with VBScript... I have seen code blocks use the keywork localhost... does that have something to do with it?

View 3 Replies View Related

Connecting Using Localhost

Sep 9, 2005

Hi all,

Sorry if this have been done before, does anyone know why I cannot connect to query analyzer using localhost? If I use my computer name, it would be fine. But not localhost. I think it might be something to do with protocols or security settings??

Thanks very much in advance.

View 3 Replies View Related

Localhost Question

Jun 12, 2006

I got a Sql Server running on my pc machine. I can access it as a localhost just fine. Its on a network and now I can't access it on other computers. When the odbc asks for the ip of the sql server is that in the normal ip format or the 9.0.1399 number that is next to the name of the server.

View 2 Replies View Related

Cannot Connect To Localhost

May 22, 2007

If I try to connect to localhost in the connection manager I get the error

"Test connection failed because of an error in initialising provider. Login timeout expired."



If I try to connect using server/instance in the connection mananger however, it connects just fine.



Any ideas?



Gary

View 1 Replies View Related

Can Not Deploy To Localhost

Apr 29, 2008

I am trying to deploy a project to localhost, but I get the following error. I have only one package in this project.

"Could not save the package "C:......lah.dtsx" to SQL Server "localhost".

I tried deploying other projects that I've successfully deployed before and those also fail with the same message. Am I missing something really basic here?

View 7 Replies View Related

Why To Use A Webservice?

Feb 20, 2008

Please tell me why to use a webservice? Which factor outperform webservice?


View 2 Replies View Related

Restoring Database On My Localhost

Sep 6, 2007

Hi there,
I am using VWD and have my production website hosted elsewhere. The hosting company provides a backup service that allows me to download a something.bak file as the backup of my website. My query is: how to export or copy the data in the something.bak file into the database on my own computer? Can anyone helps please?
Thanks in advance.

View 3 Replies View Related

Diffrence Between Local And Localhost

Jun 18, 2008

  <add key="con" value="Data Source=localhost;Initial Catalog=master;User ID=sa;Password=sa123;Max Pool Size=305;Timeout=30"/>
 <add key="con" value="Data Source=local;Initial Catalog=master;User ID=sa;Password=sa123;Max Pool Size=305;Timeout=30"/>
 
I found the 2 way to connect to database, in first  one it uses Localhost but in another it uses Local.
Please tell me which is the better way and what is the difrence between both?

View 1 Replies View Related

Can't Telnet X.x.x.x 1433 On Localhost

Oct 4, 2006

Hi,
I used Microsoft SQL server 2000 on Microsoft Windows Server 2003 for database server and used Redhat Linux Enterprise for Web server.

I wrote the PHP script (on Redhat) connect to database server, its does not work. And then I install freetds on Web server but not work too.

I have problem not be solve...
- on Redhat, cannot telnet x.x.x.x 1433 to database server. But telnet to other port is success.
- on database server, cannot telnet x.x.x.x 1433 and telnet 127.0.0.1 1433.
- between web server and database server can used ping !
- I used command 'netstat -an' on database server is not show for 1433 port.

please help me... :eek:

View 2 Replies View Related

SQL 2012 :: Connect To Localhost But Not 127.0.0.1?

Jul 5, 2014

I am struggling to set a SQL Server Express for remote access...

Since it is the only instance on this server, I have set it up to use port 1433 by amending the IPALL entry of the Server Network Configuration, TCP/IP Properties.

I have also disabled "Shared Memory" and "Named Pipes" to leave only TCP/IP enabled as a server network config.
I have stopped the Browser Service because I think I don't need it if I use port 1433.

From the server itself, I can connect to my SQL Server through "localhostSQLEXPRESS" or "servernameSQLEXPRESS" but not from "10.xxx.xxx.xxxSQLEXPRESS" or "127.0.0.1SQLEXPRESS"

I suppose until I can access my server from itself using the IPAddress, there is no chance connecting remotely...

View 5 Replies View Related

Binding SQL Server To Localhost?

Jul 23, 2005

Greetings all,I am a network security professional rather than a MS SQL admin, so Iapologize in advance if this is a bit of a basic question for thislist. I also cross-posted this to microsoft.public.sqlserver.server,so sorry if anyone's read it already.I know an admin setting up a SQL server that will only beaccesible by a webserver running on the same host (not happy aboutrunning private vs publicly avaialable services on the same host , butit's what we've got). As such, I'd like to recommend to him that theSQL server only listen on the localhost ip, 127.0.0.1, thereby makingit inaccesible to the outside world. I looked around the MSknowledgebase but couldn't find a clear document stating how to dothis. Is it even possible? Is there a better option for thisconfiguration?It's been suggested that firewalling is the only option, but I'd reallylike to do *both* (firewall & bind to localhost). The firewall in thiscase will have to be host-based instead (software) instead of hardwarefor non-technical reasons, so additionally if anyone recommends asoftware firewall they use for this purpose I'd appreciate it. My firsimpulse is to recommend Tiny, but I've never used a software firewallfor an MS SQL/Web server before.Thanks,Brian

View 2 Replies View Related

Connecting To 'localhost' Problems?

Nov 3, 2006

I'm taking a .NET class and I have SQL Server 2005 installed on mymachine. When I go into Studio and then select Server Explorer and tryto add a new Connection, it seems to bomb out when I type in'localhost' for the server name. It doesn't come back with anythingfor the DBS. Is there something I need to do to get my machine tounderstand 'localhost'?

View 1 Replies View Related

Http://localhost/reportserver

Feb 10, 2008



Hi. Does anybody know why I'm getting the following error when I go to http://localhost/reportserver in a browser? is there a problem with how to setup permission or Windows Vista?


Server Error in Application "Default Web Site"


HTTP Error 404.0 - Not Found

Description: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Error Code: 0x80070002

Notification: MapRequestHandler

Module: IIS Web Core

Requested URL: http://localhost:80/reportserver

Physical Path: C:inetpubwwwroot
eportserver

Logon User: Anonymous

Logon Method: Anonymous

Handler: StaticFile

Most likely causes:

The directory or file specified does not exist on the Web server.
The URL contains a typographical error.
A custom filter or module, such as URLScan, restricts access to the file.

What you can try:

Create the content on the Web server.
Review the browser URL.
Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.

More Information... This error means that the file or directory does not exist on the server. Create the file or directory and try the request again.


Server Version Information: Internet Information Services 7.0.

View 5 Replies View Related

Cannnot Connect To Localhost

Feb 7, 2007

I'm trying to log into a local sql 2005 exp server on my XP box. I've created a new user and create a new db. The new user is mapped to the db and has read/write access. When I try to log in directly to the server via the management studio express I get the following error:



==================================

Cannot connect to localhost.

===================================

A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (.Net SqlClient Data Provider)

------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=233&LinkId=20476 --- THIS LINK IS DEAD AS IT DOES NOT EXIST

------------------------------
Server Name: localhost
Error Number: 233
Severity: 20
State: 0


------------------------------
Program Location:

at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadPacket(Int32 bytesExpected)
at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
at System.Data.SqlClient.TdsParserStateObject.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorer.ValidateConnection(UIConnectionInfo ci, IServerType server)
at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

View 5 Replies View Related

I Can't See Http://localhost/Reports/

Apr 12, 2008

Hi I have problems when I try to see http://localhost/Reports/ send the follow message:

Failed to access IIS metabase.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.

The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.

I tried diferent commands

aspnet_regiis -u
aspnet_regiis -i
aspnet_regiis -ga ASPNET

that I found in the web but the problem is the same.

Someone can help me please?

Thank you.

View 1 Replies View Related

Http://localhost/reportserver

Jun 16, 2007

http://localhost/reportserver allows me to get to the reports, but there used to be another way I did it. I thought it was http://localhost/reports, which gave me a nicer looking page and put icons that says "new" on the new reports.



Am I imagining this?

View 3 Replies View Related

Sqldatasource And Webservice

Jan 10, 2008

hi
after connecting webservice with my vs.net2005 using sqldatasource in webservice for getting data's ,i faced following errors:-
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.InvalidCastException: Unable to cast object of type 'System.Data.DataView' to type 'System.Data.DataSet'.
Code which i used in Webservice is as follows:-
<WebMethod()> _Public Function getData() As DataSetDim ds As New DataSet
 
Dim sds As New SqlDataSourcesds.ConnectionString = ConfigurationManager.ConnectionStrings.Item("HRMSConnectionString").ToString
sds.DataSourceMode = SqlDataSourceMode.DataSet
sds.SelectCommand = "select * from EpmEmployeeDetail"ds = CType(sds.Select(DataSourceSelectArguments.Empty()), DataSet)
 Return ds
End Function
 
Thnks
mic

View 1 Replies View Related

Connecting To Webservice From DTS

Jul 23, 2005

I created a custom DTS object that does its work by calling awebservice. When you create the object in DTS, it lets you set theuser/pw you want to use to authenticate to the webservice. The problemI am having is that once I authenticate to the webservice within DTS,it always uses the same authentication when contacting the service.So, for example, I drop a new instance of my object into a package. Itconnects to the webservice as me. I set up the parameters of the task,including telling it to connect as User="test". If I run it, my codesets the credentials correctly on the webservice, but the webservicestill gets called as me.If I exit out of SQL Server and go back in, and run it, it correctlyconnects as User="test". But then if I try to edit the task, and givemy own user and password, it still always tries to connect as "test".It seems whoever I initially connect to the webservice as, that is theinformation that DTS will use for the entire session.Is there any way to do what I want to do?thanks

View 1 Replies View Related

Using WebService Task

Jul 29, 2005

Hello,

View 10 Replies View Related

Calling Webservice From CLR

Aug 30, 2007

I have a webservice that I would like to call from SQL Server 2005. I have done alot of testing and am pretty familiar with how CLR works and how to create assemblies in SQL. My problem is that I don't know much about .net and am not sure what kind of project I need to create in Visual Studios to accomplish calling the webservice. I've tried googling and have not found much that is of use to me.

Any help would be appreciated

Aaron

View 1 Replies View Related

WCF Webservice Through SSIS

Apr 30, 2008

Hi

I need to populate a table B by selecting a from table A but for every single record selected from Table A for some of the feilds i need to pass it to a WCF webservice and do some tasks.

Can somebody show me an example of this i am completely clueless on how to invoke a WCF webservice for every single row fetched from a database.

A step by step example would be of great help.

regards
Hrishy

View 6 Replies View Related

Bug With Report Using XML Webservice

Apr 25, 2008



I have noticed what seems to be a bug in Reports using an XML Webservice for a datasource.

I have the data source setup and working to query an XML webservice. All fields aren't always populated - so after the intial step that automatically builds your dataset and sets up the field names - I went in and manually added the remaining missing fields (which were blank).

Then I setup the report - dragging/dropping fields from the dataset.

I thought everything was working fine, UNTIL i noticed that IF the FIRST record contains ANY blank fields - ALL of those fields (on every record returned) show blank on the report.

For example my webservice might return something like this:




Code Snippet
<Root>
<Parent>
<Child_Name>Joe</Child_Name>
<Child_ID></Child_ID>
</Parent>
<Parent>
<Child_Name>Tim</Child_Name>
<Child_ID>123456</Child_ID>
</Parent>
</Root>



But when my report actually runs, it doesn't show any value for the second record:

My Report
Child_Name Child_ID
Joe
Tim

In this case, Tim should actually show the Child_ID value, but apparently because the first record didn't have a value - the report assumes NO RECORDS will have a value and doesn't bother printing them.

But if I run the report so that the first record DOES contain that field - then everything seems fine.

I can see that my Dataset hasn't changed - as it still contains all the fieldnames (even the ones that sometimes return empty).


Am I doing something wrong?

View 3 Replies View Related

Works With Visual Studio Bt Not On Localhost???

Nov 17, 2006

i ran my project on the visual studio 2005. but when i posted the same folder in teh wwwroot folder, it gave me the following error: 
An attempt to attach an auto-named database for file C:PreranaOnCitoRunningFoldercitoason1606App_DataDatabase.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
Can anybody help me show the way to get through it??
Any relevant comment/ suggestion is appreciated!!
 

View 1 Replies View Related

Setup On Localhost MSDE Permissions

Nov 20, 2003

I'm trying to setup the ASP.Net forum on my local XP Pro PC and am having problems with MSDE security. I had an old version of MSDE on the PC and uninstalled it and downloaded/setup the version on the download page with the forum.

Looking at the MSDE readme I did the Windows Authentication mode instead of the mised mode - was that wrong?

When setup tries to setup the DB I get the log entry:
Determined SQL Server version (8.00.194).

[Fail] Could not add ASPNET user to SQL Server.
SQL Server does not exist or access denied.

The server is up and running and I have already used another tool to setup its DB so the server is up an running and functioning fine.

I have search around on the net about MSDE persmissions but the hits have not been helpful - they usually refer to client tools not provided with MSDE. Even if I could find instructions on setting up a user the ASPForumSetup doesn't say what user name or permissons are needed.

I can't find any spot in the XP Pro environment to setup access permissions to MSDE - is finding that the key? My login is a member of the Administrators group.

Help!

View 3 Replies View Related

Can Not Access Localhost/ReportServer Or Reports

May 9, 2007

hi all,

I installed ReportServer with success I think, and I'm able to deploy my Report Model in BIDS (it says "success")..

But now, when I try to go to http://localhost/ReportServer, I get the error below:
The permissions granted to user 'EVO610IUSR_EVO610' are insufficient for performing this operation. (rsAccessDenied) Get Online Help

I really tried everything; I granted full permissions to the folder below for IUSR_EV0610, but it still says the same error.
C:Program FilesMicrosoft SQL ServerMSSQL.3Reporting ServicesReportServer

Is this not the correct solution?
Any other things that I don't know?

Thanks

View 7 Replies View Related

Http://localhost/reports Error

Mar 20, 2007

(in swedish)

http://localhost/reports gives :




Ett namn inleddes med ett ogiltigt tecken. Det gick inte att behandla resursen http://localhost/reports/. Rad 1, Position 2

<%@ Page language="c#" Codebehind="Home.aspx.cs" AutoEventWireup="false" Inherits="Microsoft.ReportingServices.UI.HomePag...

 




 

default installation. Even tried to reinstall all with the same result

Hints?

 

/Allan

 

OK

solved by further searching on msdn:

"problem loading report manager: The XML page cannot be displayed "

View 4 Replies View Related

Problem In Deploying A Report To Localhost

Jan 31, 2008

A report runs successfully on report design and successfully complete the build process but when I clicked Deploy button
an error message came out:

Microsoft Report Designer
A connection could not made to the report server http://localhost
Additional information:
The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version. (Microsoft ReportingServices.Designer)


What is the problem and how to solve it.

Thanks

View 7 Replies View Related

Http://localhost/reportserver Problem

Jun 21, 2007

Hello
i created a report and i deployed it using BIDS. i can access the report from iis . but when i try to open http://localhost/reportserver, it's asking me for a username and a password that i've never specified. i tried my windows account but it doesn't work.
When i try to export the report to pdf using IIS (Control Panel- Administration tools - IIS - browsing virtual directory) it asks me for authentification also. does anyone know how to fix this ?
PS: I'm running Windows XP PRO with iis 5.1
thanks a lot

View 4 Replies View Related

Can Not Browse To Http://localhost/reports

Feb 15, 2007

This is the error I get:
Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.
Error 404
localhost
Thursday, February 15, 2007 12:50:47
Apache/2.0.54 (NETWARE) mod_jk/1.2.14

View 4 Replies View Related

Can SSIS Package Be Run From WebService?

Feb 15, 2006

Dear,

Can SSIS package be run from WebService?

P.S. SSIS package and Webservice are located in the same computer.



Thanks much!

View 9 Replies View Related

Calling Webservice From A Trigger

Jun 26, 2007

Is it possible to call/fire a method in a webservice (.asmx) from a trigger in MS SQL 2005? I would like to send out a notification to all the admins whenever a new row is inserted into a table in our db. If possible, can someone show me an example of how to?

View 1 Replies View Related

RS Webservice Delete Folder

Apr 21, 2008



Hi,

Is there any way to delete folder in reportserver using RS webservice API?
I know there is a method: DeleteItem ( Item As string )
But I tried it and it didn't work for folders.
Thanks


JY

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved