Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Accessing NS Instance on a Database Server from a Web Server

 
   Database Forums (Home) -> Notification Services RSS
Next:  how to assigned float number to DB ?  
Author Message
LegacySARK

External


Since: Jun 22, 2007
Posts: 1



(Msg. 1) Posted: Fri Jun 22, 2007 9:43 pm
Post subject: Accessing NS Instance on a Database Server from a Web Server
Archived from groups: microsoft>public>sqlserver>notificationsvcs (more info?)

Hello. I'm new to SQL Server 2005 Notification Services. I'm trying to
access an Instance of SQL 2005 NS on a remote Database Server from a Web
Service on a different web server, using the following code:

<C#>
using Microsoft.SqlServer.NotificationServices;

 >> Stay informed about: Accessing NS Instance on a Database Server from a Web Server 
Back to top
Login to vote
Joe Webb1

External


Since: Apr 28, 2004
Posts: 408



(Msg. 2) Posted: Wed Jun 27, 2007 4:48 am
Post subject: Re: Accessing NS Instance on a Database Server from a Web Server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 22 Jun 2007 21:43:35 +0000, LegacySARK wrote:

> Hello. I'm new to SQL Server 2005 Notification Services. I'm trying to
> access an Instance of SQL 2005 NS on a remote Database Server from a Web
> Service on a different web server, using the following code:
>
> <C#>
> using Microsoft.SqlServer.NotificationServices;

I take it you are receiving an error of some kind? If you can share more
details, we'll be glad to offer whatever help we can.

BTW - One common mistake is forgetting to register the instance on the web
server.

HTH...

--
Joe Webb
SQL Server MVP
http://www.sqlns.com

 >> Stay informed about: Accessing NS Instance on a Database Server from a Web Server 
Back to top
Login to vote
LegacySARK via SQLMonster

External


Since: Jun 27, 2007
Posts: 2



(Msg. 3) Posted: Wed Jun 27, 2007 1:56 pm
Post subject: Re: Accessing NS Instance on a Database Server from a Web Server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks, Joe. The issue was that I had not registered the instance on the web
server. I'm beyond that point, and getting a new erorr when I try to
instantiate the NSInstance object in the web service.

"An error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact that
under the default settings SQL Server does not allow remote connections.
(provider: TCP Provider, error: 0 - No such host is known.)"

I get the same error when I run the check status command from the
Notification Services command prompt. Could this be a firewall setting?

Thanks,
Joe

Joe Webb wrote:
>> Hello. I'm new to SQL Server 2005 Notification Services. I'm trying to
>> access an Instance of SQL 2005 NS on a remote Database Server from a Web
>> Service on a different web server, using the following code:
>>
>> <C#>
>> using Microsoft.SqlServer.NotificationServices;
>
>I take it you are receiving an error of some kind? If you can share more
>details, we'll be glad to offer whatever help we can.
>
>BTW - One common mistake is forgetting to register the instance on the web
>server.
>
>HTH...
>

--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-notification/200706/1
 >> Stay informed about: Accessing NS Instance on a Database Server from a Web Server 
Back to top
Login to vote
LegacySARK via SQLMonster

External


Since: Jun 27, 2007
Posts: 2



(Msg. 4) Posted: Wed Jun 27, 2007 2:23 pm
Post subject: Re: Accessing NS Instance on a Database Server from a Web Server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ignore the question below. It's been resolved. Thanks.

LegacySARK wrote:
>Thanks, Joe. The issue was that I had not registered the instance on the web
>server. I'm beyond that point, and getting a new erorr when I try to
>instantiate the NSInstance object in the web service.
>
>"An error has occurred while establishing a connection to the server. When
>connecting to SQL Server 2005, this failure may be caused by the fact that
>under the default settings SQL Server does not allow remote connections.
>(provider: TCP Provider, error: 0 - No such host is known.)"
>
>I get the same error when I run the check status command from the
>Notification Services command prompt. Could this be a firewall setting?
>
>Thanks,
>Joe
>
>>> Hello. I'm new to SQL Server 2005 Notification Services. I'm trying to
>>> access an Instance of SQL 2005 NS on a remote Database Server from a Web
>[quoted text clipped - 10 lines]
>>
>>HTH...

--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-notification/200706/1
 >> Stay informed about: Accessing NS Instance on a Database Server from a Web Server 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Remote Database Server - Hello I installed notification service and it is working great , but now we need to seperate the the server that contain the notification service and the server that contains the database. i found a tutorial called remote Database server deployment..

serperate database server and server that contains the ser.. - can i install the service on a machine and its database on another machine?

sql 2000 notification services - moving the database to a .. - Is this possible? If so, are there are tools or special steps we need to take? We have restored the db to a new server and registered the services using the new server and sql name but it does not work. I still see refs to the old sql instance name in th...

Custom Content Formatter - accessing external data - Hi, I think I want to use a custom content formatter in my app. The reason is that I will probably want to access external data from my own database... The problem is that I need to be able to specify to my custom content formatter the connection..

Instance name for SQL 2005 - Hi, If I try to create a notification service instance where the SQL 2005 instance is having (\) in the name, it gives error saying that \ are not allowed. GS
   Database Forums (Home) -> Notification Services All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]