Showing posts with label address. Show all posts
Showing posts with label address. Show all posts

Tuesday, March 20, 2012

Can I connect SQL Enterprise Manager ...

To an internet address (ip).
Is this done by registering the "IP" instead of the server name?
Many thanks
MP
You can use the IP address instead of the server name. Just try 127.0.0.1 to
connect to your local server. If you think the ip addresses are confusing in
Enterprise Manager, you can use the Client Network Utility to set up an
alias that you can use instead.
Jacco Schalkwijk
SQL Server MVP
"Michael Persaud" <michaelsrpersaud@.hotmail.com> wrote in message
news:eG5W5bmeEHA.3944@.tk2msftngp13.phx.gbl...
> To an internet address (ip).
> Is this done by registering the "IP" instead of the server name?
> Many thanks
> MP
>

Can I connect SQL Enterprise Manager ...

To an internet address (ip).
Is this done by registering the "IP" instead of the server name'
Many thanks
MPYou can use the IP address instead of the server name. Just try 127.0.0.1 to
connect to your local server. If you think the ip addresses are confusing in
Enterprise Manager, you can use the Client Network Utility to set up an
alias that you can use instead.
Jacco Schalkwijk
SQL Server MVP
"Michael Persaud" <michaelsrpersaud@.hotmail.com> wrote in message
news:eG5W5bmeEHA.3944@.tk2msftngp13.phx.gbl...
> To an internet address (ip).
> Is this done by registering the "IP" instead of the server name'
> Many thanks
> MP
>

Thursday, March 8, 2012

Can connect to 'ServerName' but not to its IP address

I'm using SQL Manager from my Enterprise server to connect to my SQL Express server that will act as a witness to a db mirroring system. If I try to connect to the SQL Express server using its IP address, I get a "named pipes error 53." If I connect by browsing the network and connect to the Name of the Server "Machinename\SQLExpress", I am successful. I would like to be able to connect to the IP directly as it's not dependant upon certain services to be started or configured a certain way.

Thank you,

ChadTry Data Source=tcp:192.168.0.3,1433 in your connection string using applicable IP and port number (remember to setup port number in SQL Configuration Manager on the SQL Express machine).

Saturday, February 25, 2012

Can Anyone help us

Hi,
I encounter a problem when setting a subscription in rs(with sp2)
:
Failure sending mail: The server rejected the sender address. The
server response was: 503 Authentication needed for local user.
this is my configuration in rsreportserver.config:
<Configuration>
<RSEmailDPConfiguration>
<SMTPServer>mail.gillion.com.cn</SMTPServer>
<SMTPServerPort>25</SMTPServerPort>
<SMTPAccountName></SMTPAccountName>
<SMTPConnectionTimeout></SMTPConnectionTimeout>
<SMTPServerPickupDirectory></SMTPServerPickupDirectory>
<SMTPUseSSL></SMTPUseSSL>
<SendUsing></SendUsing>
<SMTPAuthenticate>0</SMTPAuthenticate>
<From>houlh@.gillion.com.cn</From>
<EmbeddedRenderFormats>
<RenderingExtension>MHTML</RenderingExtension>
</EmbeddedRenderFormats>
<PrivilegedUserRenderFormats></PrivilegedUserRenderFormats>
<ExcludedRenderFormats>
<RenderingExtension>HTMLOWC</RenderingExtension>
<RenderingExtension>NULL</RenderingExtension>
</ExcludedRenderFormats>
<SendEmailToUserAlias>True</SendEmailToUserAlias>
<DefaultHostName></DefaultHostName>
<PermittedHosts></PermittedHosts>
</RSEmailDPConfiguration>
</Configuration>
IS anythig wrong?
thx a lot!It sounds like your SMTP server requires authentication. RS only support
anonymous and NTLM authentication. If you server uses NTLM then you need to
make sure the user that the ReportServer service runs under has permission
to send mail. If you server requires basic auth then you can use the local
SMTP server to relay the messages. Set the SMTPServerPickupDirectory to the
local SMTP's pickup directory and the SendUsing element to 1. Then
configure the local SMTP server to relay the messages.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"weiyf" <weiyf@.gillion.com.cn> wrote in message
news:%23oQUFspYFHA.3356@.TK2MSFTNGP15.phx.gbl...
> Hi,
> I encounter a problem when setting a subscription in rs(with sp2)
> :
> Failure sending mail: The server rejected the sender address. The
> server response was: 503 Authentication needed for local user.
> this is my configuration in rsreportserver.config:
> <Configuration>
> <RSEmailDPConfiguration>
> <SMTPServer>mail.gillion.com.cn</SMTPServer>
> <SMTPServerPort>25</SMTPServerPort>
> <SMTPAccountName></SMTPAccountName>
> <SMTPConnectionTimeout></SMTPConnectionTimeout>
> <SMTPServerPickupDirectory></SMTPServerPickupDirectory>
> <SMTPUseSSL></SMTPUseSSL>
> <SendUsing></SendUsing>
> <SMTPAuthenticate>0</SMTPAuthenticate>
> <From>houlh@.gillion.com.cn</From>
> <EmbeddedRenderFormats>
> <RenderingExtension>MHTML</RenderingExtension>
> </EmbeddedRenderFormats>
> <PrivilegedUserRenderFormats></PrivilegedUserRenderFormats>
> <ExcludedRenderFormats>
> <RenderingExtension>HTMLOWC</RenderingExtension>
> <RenderingExtension>NULL</RenderingExtension>
> </ExcludedRenderFormats>
> <SendEmailToUserAlias>True</SendEmailToUserAlias>
> <DefaultHostName></DefaultHostName>
> <PermittedHosts></PermittedHosts>
> </RSEmailDPConfiguration>
> </Configuration>
> IS anythig wrong?
> thx a lot!
>

Friday, February 24, 2012

Can any body help me for creating user datatype

I am new to sql2005... how can i create user defined datatype containing different types
ex : address with
name as varchar.
id as integeryou can find the details regarding your question here or here
Hope that solves your problem.

Tuesday, February 14, 2012

Can 2000 Reqporting Services use RightFax?

I'm trying to get a RightFax email address to work
in some of my subscriptions, and it's not liking the address format.
[RFAX:xxxx@./FN=1-760-xxx-xxxx]Hi ISIDeveloper,
Welcome to use MSDN Managed Newsgroup!
Is this the same issue of the Email Validation post in the discussion
group?
To keep the integrity of newsgroup, we encourage you post only one post in
the newsgroup so that other communities may also benefit from this. I will
reply the post in microsoft.public.sqlserver.programming and follow up your
any questions there.
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are always here to be of
assistance!
Thanks & Regards,
Justin Shen
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.
This and other support options are available here:
BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469
Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/
If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default.aspx?scid=%2finternational.aspx.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--
| From: "isideveloper" <isideveloper@.newsgroups.nospam>
| Subject: Can 2000 Reqporting Services use RightFax?
| Date: Fri, 27 Jan 2006 09:38:26 -0800
| Lines: 6
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
| Message-ID: <e5tU7h2IGHA.1676@.TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: 67.96.36.252
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.sqlserver.reportingsvcs:67693
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| I'm trying to get a RightFax email address to work
| in some of my subscriptions, and it's not liking the address format.
|
| [RFAX:xxxx@./FN=1-760-xxx-xxxx]
|
|
|

Sunday, February 12, 2012

Can / Should I use a trigger

Hi All
I have two tables CustomerDetails and CustomerAccounts
CustomerDetails
CustomerId
Name
Address
Town
Postcode
Email
SearchDetails
CustomerAccounts (Many)
Accountid
CustomerId
AccountNumber
CreateDate
Etc
Currently the CustomerDetails.SearchDetails column is a Computed column
which holds all of the address / name / email data which has been Trimmed and
uppered.
In my search for a customer screen a user can search for a whole or partial
words and I generate a simple select statement
SELECT * FROM CUSTOMER DETAILS WHERE SEARCHDETAILS LIKE 'XXX'
a list of possible matches is then displayed to the user. This works fine.
I now have to add a list of accountid's / account numbers from the related
CustomerAccounts table. So a use could type in a partial name and account
number. I can't display multiple rows per account number.
So I'd like my CustomerDetails.SearchDetails tO contain the value
'DAVIDDASHERADDRESS1ADDRESS2TOWNPOSTCODEDAVIDDASHER@.EMAIL.COM ACCOUNTNUMBER1
ACCOUNTNUMBER2'
I know this is possible in Oracle, just not too sure about my options in sql
server 2005
Any help would be most appreciated
Regards
DavidDavid
create table CustomerDetails
(CustomerId int,
[name] varchar(50),
address varchar(50),
email varchar(50),
SearchDetails as address +','+email)
insert into CustomerDetails (CustomerId,[name],address,email)
values (100,'John Smith','5 street','john@.hotmail.com')
insert into CustomerDetails (CustomerId,[name],address,email)
values (200,'David Blant','15 street','david@.gmail.com')
Create table CustomerAccounts
(
Accountid int,
CustomerId int
)
insert into CustomerAccounts values (1,100)
insert into CustomerAccounts values (2,100)
insert into CustomerAccounts values (1,200)
insert into CustomerAccounts values (2,200)
insert into CustomerAccounts values (3,200)
select SearchDetails from CustomerDetails where SearchDetails like
'%hotmail%'
union all
select cast(Accountid as varchar(50))Accountid
from CustomerAccounts ca join CustomerDetails cd on
ca.CustomerId=cd.CustomerId
where SearchDetails like '%hotmail%'
"David Dasher" <DavidDasher@.discussions.microsoft.com> wrote in message
news:E81751DC-D736-4006-AD2B-11FDB6ADB5F3@.microsoft.com...
> Hi All
> I have two tables CustomerDetails and CustomerAccounts
> CustomerDetails
> CustomerId
> Name
> Address
> Town
> Postcode
> Email
> SearchDetails
> CustomerAccounts (Many)
> Accountid
> CustomerId
> AccountNumber
> CreateDate
> Etc
> Currently the CustomerDetails.SearchDetails column is a Computed column
> which holds all of the address / name / email data which has been Trimmed
> and
> uppered.
> In my search for a customer screen a user can search for a whole or
> partial
> words and I generate a simple select statement
> SELECT * FROM CUSTOMER DETAILS WHERE SEARCHDETAILS LIKE 'XXX'
> a list of possible matches is then displayed to the user. This works fine.
> I now have to add a list of accountid's / account numbers from the related
> CustomerAccounts table. So a use could type in a partial name and account
> number. I can't display multiple rows per account number.
> So I'd like my CustomerDetails.SearchDetails tO contain the value
> 'DAVIDDASHERADDRESS1ADDRESS2TOWNPOSTCODEDAVIDDASHER@.EMAIL.COM
> ACCOUNTNUMBER1
> ACCOUNTNUMBER2'
> I know this is possible in Oracle, just not too sure about my options in
> sql
> server 2005
> Any help would be most appreciated
> Regards
>
> David|||Hi Uri
Thanks for your help.
That's great
David
"Uri Dimant" wrote:
> David
> create table CustomerDetails
> (CustomerId int,
> [name] varchar(50),
> address varchar(50),
> email varchar(50),
> SearchDetails as address +','+email)
> insert into CustomerDetails (CustomerId,[name],address,email)
> values (100,'John Smith','5 street','john@.hotmail.com')
> insert into CustomerDetails (CustomerId,[name],address,email)
> values (200,'David Blant','15 street','david@.gmail.com')
>
> Create table CustomerAccounts
> (
> Accountid int,
> CustomerId int
> )
> insert into CustomerAccounts values (1,100)
> insert into CustomerAccounts values (2,100)
> insert into CustomerAccounts values (1,200)
> insert into CustomerAccounts values (2,200)
> insert into CustomerAccounts values (3,200)
>
>
> select SearchDetails from CustomerDetails where SearchDetails like
> '%hotmail%'
> union all
> select cast(Accountid as varchar(50))Accountid
> from CustomerAccounts ca join CustomerDetails cd on
> ca.CustomerId=cd.CustomerId
> where SearchDetails like '%hotmail%'
>
>
> "David Dasher" <DavidDasher@.discussions.microsoft.com> wrote in message
> news:E81751DC-D736-4006-AD2B-11FDB6ADB5F3@.microsoft.com...
> > Hi All
> >
> > I have two tables CustomerDetails and CustomerAccounts
> >
> > CustomerDetails
> > CustomerId
> > Name
> > Address
> > Town
> > Postcode
> > Email
> > SearchDetails
> >
> > CustomerAccounts (Many)
> > Accountid
> > CustomerId
> > AccountNumber
> > CreateDate
> > Etc
> >
> > Currently the CustomerDetails.SearchDetails column is a Computed column
> > which holds all of the address / name / email data which has been Trimmed
> > and
> > uppered.
> >
> > In my search for a customer screen a user can search for a whole or
> > partial
> > words and I generate a simple select statement
> >
> > SELECT * FROM CUSTOMER DETAILS WHERE SEARCHDETAILS LIKE 'XXX'
> >
> > a list of possible matches is then displayed to the user. This works fine.
> >
> > I now have to add a list of accountid's / account numbers from the related
> > CustomerAccounts table. So a use could type in a partial name and account
> > number. I can't display multiple rows per account number.
> >
> > So I'd like my CustomerDetails.SearchDetails tO contain the value
> >
> > 'DAVIDDASHERADDRESS1ADDRESS2TOWNPOSTCODEDAVIDDASHER@.EMAIL.COM
> > ACCOUNTNUMBER1
> > ACCOUNTNUMBER2'
> >
> > I know this is possible in Oracle, just not too sure about my options in
> > sql
> > server 2005
> >
> > Any help would be most appreciated
> >
> > Regards
> >
> >
> > David
>
>