Showing posts with label remote. Show all posts
Showing posts with label remote. Show all posts

Thursday, March 29, 2012

end conversation : security context could not be retrieved

HI

I have a service broker setup between 2 remote server. The message send does get sent to the target, but I am having a problem where the end conversation message from the target is failing. I did a trace on both the target and the source server. here's what I found

On the Target Server:

on Broker: Message undeliverable This message could not be delivered because it is a duplicate

On the Source Server

on Broker: Message undeliverable This message could not be delivered because the security context could not be retrieved,

I do not understand why the message is delivered, but the end conversation message is not getting thru. On the Target transmission_queue. I have millions of messages like this

conversation_handle to_service_name is_end_of_dialog message_body transmission_status

E0C69E8F-37E9-DB11-AB7A-00145E7A209C source 1 NULL

I reinstalled the broker several times, but always get this problem.

thanks

Paul

Each Broker: Message undeliverable This message could not be delivered because the security context could not be retrieved event should also be accompanied by an event of type Security Audit/Audit Broker Conversation. That info should explain why the 'security context could not be retrieved'.|||

Hi

I did trace with audit broker conversation, there is this event after it, but there are not error message? I recently ungraded to sp3, could this be a problem

thanks

Paul

|||

HI

I was reading the other thread about no security header and check the time in the enqueue time, which was ahead of the server time

the last enqueue_time on the target was

2007-04-13 22:27:16

but when I did a select getdate()

I get 2007-04-13 20:24:03

how can the enqueue time be in the future?

thanks

Paul

|||what is the event subclass?|||Because of the distributed nature of messaging, all SSB times are UTC|||

it is : no security header. but I check the time on both machines, they are the same. If they were different, the send message would have the same error as the end dialog message?

Paul

|||Check if UTC time is the same, using getutcdate(). A problem could be if latest daylight savings patch was applied on one machine and not on other.|||

hum? I did a getutcdate() on both machines, they show the same time. If the time was the problem, wouldn't the sent message fail too? But I am unable to verify whether KB931836 was installed on one of the machines. I'll need to ask the SA on Monday. But the date change patch you bring up is an interesting point. If one of the machine does not have the patch, it would explain another problem we had last week regarding insert records from another machines where its was 1 hr late. thanks for the help. we'll see monday

Paul

|||

HI

I still have this problem, I was told that the servers where both patched with sp2 several weeks ago. I did more tracing on the sender and target. It seems the end dialog message from the target was successfully pocessed by the sender queue. Only after when the queue process the end dialog do I see "security context could not be retrieved" in the trace. Does Service Broker send another message to the the target after the sender ends the conversation?

Paul

|||

I met the same problem in our environment. our environment is:

Sender: SQL 2005 SP1, 64Bit CPU, windows 2003, 32G memory (currently only has SSB run on it, seems use more than 20g memory and about 40 % cpu resource)

Target: SQL 2005 SP1 ,32bit CPU, widnows 2003, 16G? memory.

the same situation, when the sender END CONVERSATION... i get the "security context could not be retrieved" from profiler90.

end conversation : security context could not be retrieved

HI

I have a service broker setup between 2 remote server. The message send does get sent to the target, but I am having a problem where the end conversation message from the target is failing. I did a trace on both the target and the source server. here's what I found

On the Target Server:

on Broker: Message undeliverable This message could not be delivered because it is a duplicate

On the Source Server

on Broker: Message undeliverable This message could not be delivered because the security context could not be retrieved,

I do not understand why the message is delivered, but the end conversation message is not getting thru. On the Target transmission_queue. I have millions of messages like this

conversation_handle to_service_name is_end_of_dialog message_body transmission_status

E0C69E8F-37E9-DB11-AB7A-00145E7A209C source 1 NULL

I reinstalled the broker several times, but always get this problem.

thanks

Paul

Each Broker: Message undeliverable This message could not be delivered because the security context could not be retrieved event should also be accompanied by an event of type Security Audit/Audit Broker Conversation. That info should explain why the 'security context could not be retrieved'.|||

Hi

I did trace with audit broker conversation, there is this event after it, but there are not error message? I recently ungraded to sp3, could this be a problem

thanks

Paul

|||

HI

I was reading the other thread about no security header and check the time in the enqueue time, which was ahead of the server time

the last enqueue_time on the target was

2007-04-13 22:27:16

but when I did a select getdate()

I get 2007-04-13 20:24:03

how can the enqueue time be in the future?

thanks

Paul

|||what is the event subclass?|||Because of the distributed nature of messaging, all SSB times are UTC|||

it is : no security header. but I check the time on both machines, they are the same. If they were different, the send message would have the same error as the end dialog message?

Paul

|||Check if UTC time is the same, using getutcdate(). A problem could be if latest daylight savings patch was applied on one machine and not on other.|||

hum? I did a getutcdate() on both machines, they show the same time. If the time was the problem, wouldn't the sent message fail too? But I am unable to verify whether KB931836 was installed on one of the machines. I'll need to ask the SA on Monday. But the date change patch you bring up is an interesting point. If one of the machine does not have the patch, it would explain another problem we had last week regarding insert records from another machines where its was 1 hr late. thanks for the help. we'll see monday

Paul

|||

HI

I still have this problem, I was told that the servers where both patched with sp2 several weeks ago. I did more tracing on the sender and target. It seems the end dialog message from the target was successfully pocessed by the sender queue. Only after when the queue process the end dialog do I see "security context could not be retrieved" in the trace. Does Service Broker send another message to the the target after the sender ends the conversation?

Paul

|||

I met the same problem in our environment. our environment is:

Sender: SQL 2005 SP1, 64Bit CPU, windows 2003, 32G memory (currently only has SSB run on it, seems use more than 20g memory and about 40 % cpu resource)

Target: SQL 2005 SP1 ,32bit CPU, widnows 2003, 16G? memory.

the same situation, when the sender END CONVERSATION... i get the "security context could not be retrieved" from profiler90.

end conversation : security context could not be retrieved

HI

I have a service broker setup between 2 remote server. The message send does get sent to the target, but I am having a problem where the end conversation message from the target is failing. I did a trace on both the target and the source server. here's what I found

On the Target Server:

on Broker: Message undeliverable This message could not be delivered because it is a duplicate

On the Source Server

on Broker: Message undeliverable This message could not be delivered because the security context could not be retrieved,

I do not understand why the message is delivered, but the end conversation message is not getting thru. On the Target transmission_queue. I have millions of messages like this

conversation_handle to_service_name is_end_of_dialog message_body transmission_status

E0C69E8F-37E9-DB11-AB7A-00145E7A209C source 1 NULL

I reinstalled the broker several times, but always get this problem.

thanks

Paul

Each Broker: Message undeliverable This message could not be delivered because the security context could not be retrieved event should also be accompanied by an event of type Security Audit/Audit Broker Conversation. That info should explain why the 'security context could not be retrieved'.|||

Hi

I did trace with audit broker conversation, there is this event after it, but there are not error message? I recently ungraded to sp3, could this be a problem

thanks

Paul

|||

HI

I was reading the other thread about no security header and check the time in the enqueue time, which was ahead of the server time

the last enqueue_time on the target was

2007-04-13 22:27:16

but when I did a select getdate()

I get 2007-04-13 20:24:03

how can the enqueue time be in the future?

thanks

Paul

|||what is the event subclass?|||Because of the distributed nature of messaging, all SSB times are UTC|||

it is : no security header. but I check the time on both machines, they are the same. If they were different, the send message would have the same error as the end dialog message?

Paul

|||Check if UTC time is the same, using getutcdate(). A problem could be if latest daylight savings patch was applied on one machine and not on other.|||

hum? I did a getutcdate() on both machines, they show the same time. If the time was the problem, wouldn't the sent message fail too? But I am unable to verify whether KB931836 was installed on one of the machines. I'll need to ask the SA on Monday. But the date change patch you bring up is an interesting point. If one of the machine does not have the patch, it would explain another problem we had last week regarding insert records from another machines where its was 1 hr late. thanks for the help. we'll see monday

Paul

|||

HI

I still have this problem, I was told that the servers where both patched with sp2 several weeks ago. I did more tracing on the sender and target. It seems the end dialog message from the target was successfully pocessed by the sender queue. Only after when the queue process the end dialog do I see "security context could not be retrieved" in the trace. Does Service Broker send another message to the the target after the sender ends the conversation?

Paul

|||

I met the same problem in our environment. our environment is:

Sender: SQL 2005 SP1, 64Bit CPU, windows 2003, 32G memory (currently only has SSB run on it, seems use more than 20g memory and about 40 % cpu resource)

Target: SQL 2005 SP1 ,32bit CPU, widnows 2003, 16G? memory.

the same situation, when the sender END CONVERSATION... i get the "security context could not be retrieved" from profiler90.

sql

Wednesday, March 21, 2012

Encrypting the Configuration Settings in SSIS package

Hello Everybody,

I have developed a SSIS package to pull data from a remote SQL Server.

I have specified Database related settings in a dtsconfig file.

I was just wondering if we have any way of encrypting the config file so that only my package can read information out of it.

Or is there any other better way where i can store my database configuration (uid, pwd) so that it is not viewed by anyone.

please help me with this issude, thanks in advance...

Regards,

Sudhir Kesharwani

SSIS will not store passwords in configurations files.

Look up the ProtectionLevel property. There are a few settings there that would interest you.

sql

Wednesday, March 7, 2012

Enabling remote errors

Hi. I am trying to get remote errors to display in Report Manager. I've set the "EnableRemoteErrors" configuration value to True in the ReportServer.ConfigurationInfo table. Then I restarted both the Reporting Services Service and IIS. However, I am still seeing the following message when running a report:

  • An error has occurred during report processing.

    What am I missing?

    Thanks

    Has anyone had a chance to look into this? Please let me know if you need more information. Thanks.

    - Mark

    |||

    Check the reportserver logfiles (not the service logfiles!). They may contain more details about the error.

    The logfiles are typically located in: \Program Files\Microsoft SQL Server\MSSQL.x\Reporting Services\Logfiles

    -- Robert

    |||

    The problem has fixed itself. I am not sure how, but it did. I haven't made any changes. The only thing I did was reload my data processing extension. I doubt that's what fixed the problem because afterwards I was able to change the "EnableRemoteErrors" value back and forth and see the effect immediately, without restarting or reloading anything.

    Strange...

    |||

    Hi,

    I am pretty new to reporting services, can you please help me on how to set the 'EnableRemoteErrors' ?

    Thanks in advance.

    |||

    Please read this related thread: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=230593&SiteID=1

    -- Robert

  • Enabling remote errors

    Hi. I am trying to get remote errors to display in Report Manager. I've set the "EnableRemoteErrors" configuration value to True in the ReportServer.ConfigurationInfo table. Then I restarted both the Reporting Services Service and IIS. However, I am still seeing the following message when running a report:

  • An error has occurred during report processing.

    What am I missing?

    Thanks

    Has anyone had a chance to look into this? Please let me know if you need more information. Thanks.

    - Mark

    |||

    Check the reportserver logfiles (not the service logfiles!). They may contain more details about the error.

    The logfiles are typically located in: \Program Files\Microsoft SQL Server\MSSQL.x\Reporting Services\Logfiles

    -- Robert

    |||

    The problem has fixed itself. I am not sure how, but it did. I haven't made any changes. The only thing I did was reload my data processing extension. I doubt that's what fixed the problem because afterwards I was able to change the "EnableRemoteErrors" value back and forth and see the effect immediately, without restarting or reloading anything.

    Strange...

    |||

    Hi,

    I am pretty new to reporting services, can you please help me on how to set the 'EnableRemoteErrors' ?

    Thanks in advance.

    |||

    Please read this related thread: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=230593&SiteID=1

    -- Robert

  • Friday, February 24, 2012

    Enable SQL Server Remote Connections via Script

    Hi,
    I am connecting to my SQL server 2005 database using a remote connection.
    Can someone provide me with a SQL script which will enable connections
    via TCP/IP to the database? (i.e. I'd like to do the step of going to
    the configuration manager and enabling the TCP/IP protocol for the SQL
    Server Instance using a SQL Script instead of doing through the UI).
    Thanks in advance!
    - ramaduHello Ramadu,
    Thank you for posting in the MSDN newsgroup.
    From your description, I understand that you're wondering how to configure
    the SQL Server 2005 database instance's remote connectivity settings(the
    allowed protocols) programmatically (through commandline or script file),
    correct?
    Based on my research, as for the remote connection setting, generally we
    can configure it in the SQL Server 2005's "Surface Area Configuration" tool
    which is a GUI component. However, it has a commandline version (SAC.EXE)
    which can execute command based on a XML file, and the xml file can be
    exported from an existing server and use the SAC.exe to
    import the setting on another machine with SQL 2005.
    #sac Utility
    http://msdn2.microsoft.com/en-us/ms162800.aspx
    And here is a web article which demonstrate on the most common
    configuration tools in SQL SERVER 2005:
    #SQL Server 2005 Management Tools
    http://www.informit.com/guides/cont...seqNum=178&rl=1
    Also, if you're familiar with WMI programming, you can have a look at the
    new WMI provider interfaces provided in SQL SERVER 2005:
    #WMI Provider for Configuration Management
    http://msdn2.microsoft.com/en-us/library/ms180499.aspx
    http://blogs.msdn.com/sql_protocols.../19/482840.aspx
    Hope this helps.
    Regards,
    Steven Cheng
    Microsoft MSDN Online Support Lead
    ========================================
    ==========
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    ========================================
    ==========
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Get Secure! www.microsoft.com/security
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)|||Hi Steven,
    I'm not looking for a command line tool. I am rather looking for a
    Stored Procedure / SQL Script which I can execute using the Query
    Analyzer to enable remote connections.
    The reason for this is that we are in the process of migrating from SQL
    Server 2000 to SQL Server 2005 and in our application we provide a SQL
    Script which out clients execute for doing updates to their database. I
    wanted to include the enabling of remote connections in the same.
    Hope you understood what I am looking for.
    - ramadu
    :
    > Hello Ramadu,
    > Thank you for posting in the MSDN newsgroup.
    > From your description, I understand that you're wondering how to configure
    > the SQL Server 2005 database instance's remote connectivity settings(the
    > allowed protocols) programmatically (through commandline or script file),
    > correct?
    > Based on my research, as for the remote connection setting, generally we
    > can configure it in the SQL Server 2005's "Surface Area Configuration" too
    l
    > which is a GUI component. However, it has a commandline version (SAC.EXE)
    > which can execute command based on a XML file, and the xml file can be
    > exported from an existing server and use the SAC.exe to
    > import the setting on another machine with SQL 2005.
    > #sac Utility
    > http://msdn2.microsoft.com/en-us/ms162800.aspx
    > And here is a web article which demonstrate on the most common
    > configuration tools in SQL SERVER 2005:
    > #SQL Server 2005 Management Tools
    > http://www.informit.com/guides/cont...seqNum=178&rl=1
    >
    > Also, if you're familiar with WMI programming, you can have a look at the
    > new WMI provider interfaces provided in SQL SERVER 2005:
    > #WMI Provider for Configuration Management
    > http://msdn2.microsoft.com/en-us/library/ms180499.aspx
    > http://blogs.msdn.com/sql_protocols.../19/482840.aspx
    > Hope this helps.
    > Regards,
    > Steven Cheng
    > Microsoft MSDN Online Support Lead
    >
    > ========================================
    ==========
    > When responding to posts, please "Reply to Group" via your newsreader so
    > that others may learn and benefit from your issue.
    > ========================================
    ==========
    >
    > This posting is provided "AS IS" with no warranties, and confers no rights
    .
    >
    > Get Secure! www.microsoft.com/security
    > (This posting is provided "AS IS", with no warranties, and confers no
    > rights.)
    >|||Study the registry. this setting is stored in the registry, so look at it be
    fore and after you
    modify using the tool. Then you can use xp_instance_regwrite to do the modif
    ication from within SQL
    Server. This xp isn't documented so use at your own risk, and a method which
    it really preferable is
    to ship with a CLR proc that you wrote and that does the registry modificati
    ons for you. Another
    thought is to have the CLR proc use SMO to do this instead of hacking the re
    gistry directly.
    Tibor Karaszi, SQL Server MVP
    http://www.karaszi.com/sqlserver/default.asp
    http://www.solidqualitylearning.com/
    "ramadu" <tnr@.newsgroups.nospam> wrote in message news:%23NMu$7ujGHA.3304@.TK2MSFTNGP03.phx.
    gbl...
    > Hi Steven,
    > I'm not looking for a command line tool. I am rather looking for a Stored
    Procedure / SQL Script
    > which I can execute using the Query Analyzer to enable remote connections.
    > The reason for this is that we are in the process of migrating from SQL Se
    rver 2000 to SQL Server
    > 2005 and in our application we provide a SQL Script which out clients exec
    ute for doing updates to
    > their database. I wanted to include the enabling of remote connections in
    the same.
    > Hope you understood what I am looking for.
    > - ramadu
    > :|||Thanks for Tibor's informative input.
    Hi Ramadu,
    I'm sorry for the misunderstand, I originally think that you're wantting
    some shell script(vbscript, jscript) code to run such task on commandline.
    Actually, to enable remote connections in SQL Server 2005 it'll involve
    multiple steps:
    #How to configure SQL Server 2005 to allow remote connections
    http://support.microsoft.com/?id=914277
    and not all of them are possible to do in pure T-SQL script.
    1) Based on my research, as for the "Surface Area configuration" setting,
    we need to use "SAC.exe" utility, and if we want to integrate this command
    into T-SQL script, we can consider use the "xp_cmdshell" extender command
    which can help execute external commandline utility(such as the SAC.exe).
    You need to enable it through sp_configure in script since it is disabled
    by default:
    #xp_cmdshell
    http://msdn.microsoft.com/library/e...jxo.asp?frame=t
    rue
    However, since SAC.exe will execute based on a xml file, it will still
    require external resources(can not completely be done in T-SQL). BTW, do
    you think it convenient that you put all such external resource file(such
    as the xml import/export file) in a shared folder location so that it can
    be conveniently referenced by commandline tool(through xp_cmdshell)?
    2) As for enabling server protocol, there are serveral approaches, however,
    most of them rely on some external programming interfaces, such as WMI or
    .net framework SMO objects(new in SQL 2005). If none of them is possible
    for your scenario, I'm afraid the only way is to manipulate the registry
    directly (frankly speaking, this is not what I would prefer or recommend).
    The server protocols setting is under the following registry path (specific
    to each instance):
    ===========
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Mi
    crosoft SQL
    Server\MSSQL. 1\MSSQLServer\SuperSocketNetLib\Tcp\@.Ena
    bled
    ===========
    and there is some internal system SP which can help manipulate registry
    values. e.g.
    the below command enable the "TCP" protocol for the certain instance:
    =============
    EXEC master..xp_regwrite @.rootkey='HKEY_LOCAL_MACHINE',
    @.key='SOFTWARE\Microsoft\Microsoft SQL
    Server\MSSQL.1\MSSQLServer\SuperSocketNetLib\Tcp', @.value_name='Enabled',
    @.type='REG_DWORD', @.value=1
    ===============
    Here is a web article introduce some other such undocumented system
    extended sps:
    http://www.sql-server-performance.c..._procedures.asp
    3) If there is also windows firewall enabled on the server, here is a kb
    article discussing on programmatically open firewall ports for sqlserver:
    #How to use a script to programmatically open ports for SQL Server to use
    on systems that are running Windows XP Service Pack 2
    http://support.microsoft.com/kb/839980
    Hope this also helps.
    Regards,
    Steven Cheng
    Microsoft MSDN Online Support Lead
    ========================================
    ==========
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    ========================================
    ==========
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Get Secure! www.microsoft.com/security
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)
    |||Thanks Steven! I will look into these.
    - Sri
    Steven Cheng[MSFT] wrote:
    > Thanks for Tibor's informative input.
    > Hi Ramadu,
    > I'm sorry for the misunderstand, I originally think that you're wantting
    > some shell script(vbscript, jscript) code to run such task on commandline.
    > Actually, to enable remote connections in SQL Server 2005 it'll involve
    > multiple steps:
    > #How to configure SQL Server 2005 to allow remote connections
    > http://support.microsoft.com/?id=914277
    > and not all of them are possible to do in pure T-SQL script.
    > 1) Based on my research, as for the "Surface Area configuration" setting,
    > we need to use "SAC.exe" utility, and if we want to integrate this command
    > into T-SQL script, we can consider use the "xp_cmdshell" extender command
    > which can help execute external commandline utility(such as the SAC.exe).
    > You need to enable it through sp_configure in script since it is disabled
    > by default:
    > #xp_cmdshell
    > [url]http://msdn.microsoft.com/library/en-us/tsqlref/ts_xp_aa-sz_4jxo.asp?frame=t[/ur
    l]
    > rue
    > However, since SAC.exe will execute based on a xml file, it will still
    > require external resources(can not completely be done in T-SQL). BTW, do
    > you think it convenient that you put all such external resource file(such
    > as the xml import/export file) in a shared folder location so that it can
    > be conveniently referenced by commandline tool(through xp_cmdshell)?
    >
    > 2) As for enabling server protocol, there are serveral approaches, however
    ,
    > most of them rely on some external programming interfaces, such as WMI or
    > .net framework SMO objects(new in SQL 2005). If none of them is possible
    > for your scenario, I'm afraid the only way is to manipulate the registry
    > directly (frankly speaking, this is not what I would prefer or recommend).
    > The server protocols setting is under the following registry path (specifi
    c
    > to each instance):
    > ===========
    > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Mi
    crosoft SQL
    > Server\MSSQL. 1\MSSQLServer\SuperSocketNetLib\Tcp\@.Ena
    bled
    > ===========
    > and there is some internal system SP which can help manipulate registry
    > values. e.g.
    > the below command enable the "TCP" protocol for the certain instance:
    > =============
    > EXEC master..xp_regwrite @.rootkey='HKEY_LOCAL_MACHINE',
    > @.key='SOFTWARE\Microsoft\Microsoft SQL
    > Server\MSSQL.1\MSSQLServer\SuperSocketNetLib\Tcp', @.value_name='Enabled',
    > @.type='REG_DWORD', @.value=1
    > ===============
    > Here is a web article introduce some other such undocumented system
    > extended sps:
    > http://www.sql-server-performance.c..._procedures.asp
    >
    > 3) If there is also windows firewall enabled on the server, here is a kb
    > article discussing on programmatically open firewall ports for sqlserver:
    > #How to use a script to programmatically open ports for SQL Server to use
    > on systems that are running Windows XP Service Pack 2
    > http://support.microsoft.com/kb/839980
    > Hope this also helps.
    > Regards,
    > Steven Cheng
    > Microsoft MSDN Online Support Lead
    >
    > ========================================
    ==========
    > When responding to posts, please "Reply to Group" via your newsreader so
    > that others may learn and benefit from your issue.
    > ========================================
    ==========
    >
    > This posting is provided "AS IS" with no warranties, and confers no rights
    .
    >
    > Get Secure! www.microsoft.com/security
    > (This posting is provided "AS IS", with no warranties, and confers no
    > rights.)|||Thanks for your response Sri,
    Hope that will help you resolve the problem. If you meet any further
    problem, please feel free to post here.
    Regards,
    Steven Cheng
    Microsoft MSDN Online Support Lead
    ========================================
    ==========
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    ========================================
    ==========
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Get Secure! www.microsoft.com/security
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    Enable SQL Server Remote Connections via Script

    Hi,
    I am connecting to my SQL server 2005 database using a remote connection.
    Can someone provide me with a SQL script which will enable connections
    via TCP/IP to the database? (i.e. I'd like to do the step of going to
    the configuration manager and enabling the TCP/IP protocol for the SQL
    Server Instance using a SQL Script instead of doing through the UI).
    Thanks in advance!
    - ramaduHi Ramadu,
    Thank you for posting.
    Regarding on this issue, I've also found your another duplicated thread in
    the
    microsoft.public.sqlserver.programming
    newsgroup. I've posted my response there. I'd appreciate if you have a look
    there. Also, if you feel it convenient that we continue to discuss in that
    thread, please feel free to post there.
    Regards,
    Steven Cheng
    Microsoft MSDN Online Support Lead
    ========================================
    ==========
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    ========================================
    ==========
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Get Secure! www.microsoft.com/security
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)|||Hi Ramadu,
    Thank you for posting.
    Regarding on this issue, I've also found your another duplicated thread in
    the
    microsoft.public.sqlserver.programming
    newsgroup. I've posted my response there. I'd appreciate if you have a look
    there. Also, if you feel it convenient that we continue to discuss in that
    thread, please feel free to post there.
    Regards,
    Steven Cheng
    Microsoft MSDN Online Support Lead
    ========================================
    ==========
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    ========================================
    ==========
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Get Secure! www.microsoft.com/security
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    Enable SQL Server Remote Connections via Script

    Hi,
    I am connecting to my SQL server 2005 database using a remote connection.
    Can someone provide me with a SQL script which will enable connections
    via TCP/IP to the database? (i.e. I'd like to do the step of going to
    the configuration manager and enabling the TCP/IP protocol for the SQL
    Server Instance using a SQL Script instead of doing through the UI).
    Thanks in advance!
    - ramaduHi Ramadu,
    Thank you for posting.
    Regarding on this issue, I've also found your another duplicated thread in
    the
    microsoft.public.sqlserver.programming
    newsgroup. I've posted my response there. I'd appreciate if you have a look
    there. Also, if you feel it convenient that we continue to discuss in that
    thread, please feel free to post there.
    Regards,
    Steven Cheng
    Microsoft MSDN Online Support Lead
    ==================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    ==================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Get Secure! www.microsoft.com/security
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    Enable SQL Server 2005 Remote Connections in Windows 2000

    Hi,
    I setup SQL Server 2005 on a Windows 2000 Professional machine. The
    MSSQLSERVER service seems to be running fine in the beginning but does
    not restart if I enable connections via TCP/IP.
    I have this problem only on a Windows 2000 machine and it works fine if
    I setup SQL Server 2005 on a Windows XP machine.
    - ramadu
    :
    > Thanks for your response Sri,
    > Hope that will help you resolve the problem. If you meet any further
    > problem, please feel free to post here.
    > Regards,
    > Steven Cheng
    > Microsoft MSDN Online Support Lead
    >
    > ========================================
    ==========
    > When responding to posts, please "Reply to Group" via your newsreader so
    > that others may learn and benefit from your issue.
    > ========================================
    ==========
    >
    > This posting is provided "AS IS" with no warranties, and confers no rights
    .
    >
    > Get Secure! www.microsoft.com/security
    > (This posting is provided "AS IS", with no warranties, and confers no
    > rights.)
    >Hi Ramadu,
    Thank you for your post.
    Since Steven is Out of Office, I will take response of this issue.
    Would you please provide some detailed information for me to troubleshoting?
    1. Please let me know if there is any error in Event log when you start SQL
    Server.
    2. Please let me know if there is any error message in the SQL error log.
    By default, the error log is located at Program Files\Microsoft SQL
    Server\MSSQL.n\MSSQL\LOG\ERRORLOG
    Please let me know the result and so that I can provide further assistance.
    Sincerely,
    Wei Lu
    Microsoft Online Community Support
    ========================================
    ==========
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    ========================================
    ==========
    This posting is provided "AS IS" with no warranties, and confers no rights.

    enable remote errors option?

    Hello,

    Reporting Services 2005 error messagess always state that for details the report should be run on the local machine or that remote errors should be enabled.

    It might be a silly question, but how does one enable the remote errors?
    I searched the BOL and the net but found no clues, just many error samples Big Smile

    We are facing situations where we can not log onto the server and rune the report from localhost/Reports....

    ThanksNot sure but sounds like a .net error - it may be in the .config files?
    CustomErrors="RemoteOnly" should be CustomErrors="Off" or something to that effect.|||

    You could set the "EnableRemoteErrors" configuration value to True in the ReportServer.ConfigurationInfo database table.

    Alternatively, you can use the SetSystemProperties SOAP call:
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm/rsp_ref_soapapi_service_lz_63le.asp

    -- Robert

    |||Hi Robert,

    Thanks. Thats what I was looking for. How about adding that to the Site settings form on the report manager?

    P.S. I had to restart iis (5.0 ...) to make it take effect.

    Thanks again for the quick reply

    Sunday, February 19, 2012

    Enable remote connections with an SQL server created with Visual Webdeveloper 2005

    Hi there, I just recently started using visual webdeveloper SQL in general, and have been driven insane by my problem. I dont really know how to use the SQL express, but i need to enable remote connections on the database so that the membership and login will work. Essentially, i Build my entire website in visual webdebeloper 2005, and it works fine when i browse it. But when i upload it to the webserver, i find the the SQL database does not have remote connections enabled. Please tell me how i can enable remote connections, preferably through Web developer express. Thanks!

    Have a look at the KB Article, it goes through turning on Remote connections to the database server.

    |||thx, but i dont know how to load the sever that was made for my website, or my instance into sql express 2005 in order to use the surface editor, any idea?