Showing posts with label service. Show all posts
Showing posts with label service. Show all posts

Tuesday, March 27, 2012

Creating Additional Instances

How do I create additional instances of any MSSQL 2005 service(specifically database and analysis) given that a default instance is present?

You just need to run setup.exe again but this time do not install it as the default instance. In stead, you install it as a named instance. Under UI, you need to choose a different instance name. If you use a command line, the parameter INSTANCENAME=<NEW INSTANCE NAME> should be use.

|||

During the instance selection screen of the install, you can also click on the button to show currently installed instances to make sure that you don't pick the same instance name again.

Thanks,
Sam Lester (MSFT)

Monday, March 19, 2012

creating a partition table in developer edition (2005)

Hi Guys,
I have 2 environments i work on , one is SQL server 2005 enterprise
edition and the other is developer edition (both with Service Pack).
i have a scripts creating a partition table who runs well on the
Enterprise version but when i run it over the Development server it
does nothing (it doesn't fail and no warnings are thrown but the
resulting table is not partitioned).
anyone has a clue ?
according to Microsoft developer edition should support partition
tables .
below is the code relevant :
-- drop partition schema
-- drop partition function
-- create partition function
-- create partition schema
CREATE TABLE [dbo].[Fact_DaySales22](
[Day_Key] [int] NOT NULL,
[DW_Store_Key] [smallint] NOT NULL,
[DW_Item_Key] [int] NOT NULL,
[DW_Supplier_Key] [int] NOT NULL,
[MatrixMemberId] [smallint] NOT NULL,
[Sales] [decimal](13, 2) NULL,
[Discount] [decimal](13, 3) NULL,
[Qty] [int] NULL,
[WeightedQty] [decimal](9, 3) NULL,
[Tax] [decimal](9, 3) NULL,
[Cost] [decimal](13, 3) NULL
CONSTRAINT [PK_Fact_DaySales22] PRIMARY KEY NONCLUSTERED
(
[MatrixMemberId] ASC,
[Day_Key] ASC,
[DW_Store_Key] ASC,
[DW_Item_Key] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [MonthlyDataPScheme22]([Day_Key])
) ON [MonthlyDataPScheme22]([Day_Key])
Have the filegroups been created on the development server? Are the
appropriate partitioning function and the partitioning schema in place?
These things are not evident from your post.
ML
Matija Lah, SQL Server MVP
http://milambda.blogspot.com/

creating a partition table in developer edition (2005)

Hi Guys,
I have 2 environments i work on , one is SQL server 2005 enterprise
edition and the other is developer edition (both with Service Pack).
i have a scripts creating a partition table who runs well on the
Enterprise version but when i run it over the Development server it
does nothing (it doesn't fail and no warnings are thrown but the
resulting table is not partitioned).
anyone has a clue '
according to Microsoft developer edition should support partition
tables .
below is the code relevant :
-- drop partition schema
-- drop partition function
-- create partition function
-- create partition schema
CREATE TABLE [dbo].[Fact_DaySales22](
[Day_Key] [int] NOT NULL,
[DW_Store_Key] [smallint] NOT NULL,
[DW_Item_Key] [int] NOT NULL,
[DW_Supplier_Key] [int] NOT NULL,
[MatrixMemberId] [smallint] NOT NULL,
[Sales] [decimal](13, 2) NULL,
[Discount] [decimal](13, 3) NULL,
[Qty] [int] NULL,
[WeightedQty] [decimal](9, 3) NULL,
[Tax] [decimal](9, 3) NULL,
[Cost] [decimal](13, 3) NULL
CONSTRAINT [PK_Fact_DaySales22] PRIMARY KEY NONCLUSTERED
(
[MatrixMemberId] ASC,
[Day_Key] ASC,
[DW_Store_Key] ASC,
[DW_Item_Key] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [MonthlyDataPScheme22]([Day_Key])
) ON [MonthlyDataPScheme22]([Day_Key])Have the filegroups been created on the development server? Are the
appropriate partitioning function and the partitioning schema in place?
These things are not evident from your post.
ML
Matija Lah, SQL Server MVP
http://milambda.blogspot.com/

Sunday, March 11, 2012

Creating a new Integration Service Component

Good morning everybody,

I made a Java application to pre-process portuguese texts (stopwords, stemming, BOW creating, etc.)

I want to transform this application on a Integration Service component. I understand I will have to code this new component from zero. But I have no idea on how to start.

I'm reading and testing several tutorials on Integration Services that came with the SQL Server install package but none of them has clues on developing new components. These tutorials seams more focused on demostrate the (awesome) capabilities of Integration Services.

Is there any tutorials on how to implement new components to Integration Services ?

Any help will be very appreciated.

Thanks a lot,

-Renan Souza

Hello, Renan

A few Integration Services Samples are available at codeplex : http://www.codeplex.com/MSFTISProdSamples

you might also want to check this out: "SQL Server Integration Services (SSIS) Hands on Training - Creating Custom Components" at http://www.microsoft.com/downloads/details.aspx?familyid=1c2a7dd2-3ec3-4641-9407-a5a337bea7d3&displaylang=en

Hope this helps

|||

Thanks a lot for your prompt reply.

It was very helpfull, as usual.

Thursday, March 8, 2012

Creating a huge tempdb size

If i create tempdb with 50GB allocated and if I read correctly that tempdb
gets rebuilt every time the SQL Server service starts up,does it mean that
the tempdb database gets dropped and recreated everytime at startup and if
so, will it cause some time to start up bcos it has to allocate 50GB. Using
SQL 2000
ThanksTempdb is only cleared at startup so there isn't much difference in startup
time with large tempdb files. The only time there is a startup time penalty
is when the files need to be recreated, such as when tempdb files are moved
with ALTER DATABASE.
--
Hope this helps.
Dan Guzman
SQL Server MVP
"Hassan" <fatima_ja@.hotmail.com> wrote in message
news:%23hEDXy61DHA.2000@.TK2MSFTNGP11.phx.gbl...
> If i create tempdb with 50GB allocated and if I read correctly that tempdb
> gets rebuilt every time the SQL Server service starts up,does it mean that
> the tempdb database gets dropped and recreated everytime at startup and if
> so, will it cause some time to start up bcos it has to allocate 50GB.
Using
> SQL 2000
> Thanks
>

Creating a huge tempdb size

If i create tempdb with 50GB allocated and if I read correctly that tempdb
gets rebuilt every time the SQL Server service starts up,does it mean that
the tempdb database gets dropped and recreated everytime at startup and if
so, will it cause some time to start up bcos it has to allocate 50GB. Using
SQL 2000
ThanksTempdb is only cleared at startup so there isn't much difference in startup
time with large tempdb files. The only time there is a startup time penalty
is when the files need to be recreated, such as when tempdb files are moved
with ALTER DATABASE.
Hope this helps.
Dan Guzman
SQL Server MVP
"Hassan" <fatima_ja@.hotmail.com> wrote in message
news:%23hEDXy61DHA.2000@.TK2MSFTNGP11.phx.gbl...
quote:

> If i create tempdb with 50GB allocated and if I read correctly that tempdb
> gets rebuilt every time the SQL Server service starts up,does it mean that
> the tempdb database gets dropped and recreated everytime at startup and if
> so, will it cause some time to start up bcos it has to allocate 50GB.

Using
quote:

> SQL 2000
> Thanks
>

Wednesday, March 7, 2012

creating a distributed service broker application without using certificate.

hi all,

i want to create a service broker application between two different instances.

can i achieve the dialog security and transport security with out using certificate?

like we can achieve the transport security using windows authentication (both the instances are in same domain).

so how to achieve the dialog security with out using certificates.

if any body has any link plz provide me.

Thanks a lot!!!!!!!!!!!!!!!!!!!!!!!!!!

No, the only option for dialog security is to use certificates.

One option is to rely entirely on transport security. Even if at the dialog level messages are not secured (signed and encrypted), the transport level will secure all the trafic (will encrypt everything).

|||

hi ,

thanks a lot fr ur reply!!!!!!

but one thing i want to know like how to rely on transport security.

because previuosly i configured master database for transport secutiry and the initiator and target database for dialog security and both using certificate.

now for this how to achieve transport security as a whole.is it necessary to create route and remote service binding?

how to achieve all this stuff?

I am very new to service broker. so plz help me in little bit details.

|||

Dialog security allows services to authenticate each other and provides end-to-end (service to service) security for SSB messages. If security is desired, it is always recommended, and is required if the path between services is not entirely controled (there are multiple hops that forward messages and some fall outside your administrative control). Dialog security encrypts only the message payload (whatever is passed in to the SEND verb) and does not encrypt the routing information (from service/to service) in order for intermediate forwarders to be able to forward the messages. The closest analogy to dialog security is S-MIME, the protocol to secure mail messages.

Transport security is basicaly encryption of the traffic between two servers (SSL). It will encrypt every single byte of traffic between the servers involved. Enabling transport security is orthogonal (unrelated) to dialog security.

If you consider just two SQL Servers instances and two services exchanging messages, the dialog security and transport security seem to overlap quite a bit. The differentiation becomes clear if you add a third SQL Server instances that acts as a forwarder between the previous two.

In your scenario if you want to rely entirely on transport security and not use dialog security you should make sure your application issues the BEGIN DIALOG verbs with the ENCRYPTION = OFF clause and there is no REMOTE SERVICE BINDING deployed. The target service must grant SEND to [public] in order to accept unsecured messages.

creating a distributed service broker application without using certificate.

hi all,

i want to create a service broker application between two different instances.

can i achieve the dialog security and transport security with out using certificate?

like we can achieve the transport security using windows authentication (both the instances are in same domain).

so how to achieve the dialog security with out using certificates.

if any body has any link plz provide me.

Thanks a lot!!!!!!!!!!!!!!!!!!!!!!!!!!

No, the only option for dialog security is to use certificates.

One option is to rely entirely on transport security. Even if at the dialog level messages are not secured (signed and encrypted), the transport level will secure all the trafic (will encrypt everything).

|||

hi ,

thanks a lot fr ur reply!!!!!!

but one thing i want to know like how to rely on transport security.

because previuosly i configured master database for transport secutiry and the initiator and target database for dialog security and both using certificate.

now for this how to achieve transport security as a whole.is it necessary to create route and remote service binding?

how to achieve all this stuff?

I am very new to service broker. so plz help me in little bit details.

|||

Dialog security allows services to authenticate each other and provides end-to-end (service to service) security for SSB messages. If security is desired, it is always recommended, and is required if the path between services is not entirely controled (there are multiple hops that forward messages and some fall outside your administrative control). Dialog security encrypts only the message payload (whatever is passed in to the SEND verb) and does not encrypt the routing information (from service/to service) in order for intermediate forwarders to be able to forward the messages. The closest analogy to dialog security is S-MIME, the protocol to secure mail messages.

Transport security is basicaly encryption of the traffic between two servers (SSL). It will encrypt every single byte of traffic between the servers involved. Enabling transport security is orthogonal (unrelated) to dialog security.

If you consider just two SQL Servers instances and two services exchanging messages, the dialog security and transport security seem to overlap quite a bit. The differentiation becomes clear if you add a third SQL Server instances that acts as a forwarder between the previous two.

In your scenario if you want to rely entirely on transport security and not use dialog security you should make sure your application issues the BEGIN DIALOG verbs with the ENCRYPTION = OFF clause and there is no REMOTE SERVICE BINDING deployed. The target service must grant SEND to [public] in order to accept unsecured messages.

Sunday, February 19, 2012

CreateSubscription service creates all the subscriptions as ASPNET user

I have a custom form which users can use to create subscriptions for specific
reprots. I am able to create subscriptions just fine but my issue is that all
the subscriptions are created as ASPNET user. Am I missing something in the
setup?
Thanks for your help.
--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-reporting/200508/1Hi,
Do you use Windows NT Authentication or anonymous access is enabled?
"akhan via SQLMonster.com" wrote:
> I have a custom form which users can use to create subscriptions for specific
> reprots. I am able to create subscriptions just fine but my issue is that all
> the subscriptions are created as ASPNET user. Am I missing something in the
> setup?
> Thanks for your help.
>
> --
> Message posted via SQLMonster.com
> http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-reporting/200508/1
>|||I am using Windows Authentication.
eralper wrote:
>Hi,
>Do you use Windows NT Authentication or anonymous access is enabled?
>> I have a custom form which users can use to create subscriptions for specific
>> reprots. I am able to create subscriptions just fine but my issue is that all
>> the subscriptions are created as ASPNET user. Am I missing something in the
>> setup?
>> Thanks for your help.
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-reporting/200508/1

CreateReport method delivers empty response

Hello,
I use the web service for the reporting services with Delphi 7.
I call the CreateReport method and it works fine (the RDL is uploaded to the
server), but the SOAP response raises in exception because the answer is
empty:
'<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<ServerInfoHeader
xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">
<ReportServerVersionNumber>Microsoft SQL Server Reporting Services, Version
8.00.1038.00</ReportServerVersionNumber>
<ReportServerEdition>Enterprise</ReportServerEdition></ServerInfoHeader>
</soap:Header>
<soap:Body>
<CreateReportResponse
xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices" />
</soap:Body></soap:Envelope>'
What can I do to circumvent this? I mean, CreateReport returns an array of
warnings if there are some. But when there are no warnings this error occurs.
What can I do?Hello,
I solved the problem. I wrote a function which edits the SOAP-Packet after
receiving it in Delphi.
I killed the empty response node and now it is working fine, because the
returned value is nil.
"Sandra Geisler" <SandraGeisler@.discussions.microsoft.com> schrieb im
Newsbeitrag news:2BBFAC0E-4DA3-4A3B-9E68-9A73D76D47E5@.microsoft.com...
> Hello,
> I use the web service for the reporting services with Delphi 7.
> I call the CreateReport method and it works fine (the RDL is uploaded to
> the
> server), but the SOAP response raises in exception because the answer is
> empty:
> '<?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="">http://www.w3.org/2001/XMLSchema">
> <soap:Header>
> <ServerInfoHeader
> xmlns="">http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices">
> <ReportServerVersionNumber>Microsoft SQL Server Reporting Services,
> Version
> 8.00.1038.00</ReportServerVersionNumber>
> <ReportServerEdition>Enterprise</ReportServerEdition></ServerInfoHeader>
> </soap:Header>
> <soap:Body>
> <CreateReportResponse
> xmlns="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices"
> />
> </soap:Body></soap:Envelope>'
> What can I do to circumvent this? I mean, CreateReport returns an array of
> warnings if there are some. But when there are no warnings this error
> occurs.
> What can I do?
>