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

Thursday, March 29, 2012

export fails using https

Hi
Running the unpatched Reporting Services (ie no service pack) I find
everything is working great other than exporting.
After playing around with things I find that if I use http then the
exports work fine, but if I reconfigure for https, they don't.
So,
http://myRSserver/Reports/Pages/Report.aspx?ItemPath=%2fGeneral%2fTestList
is generated perfectly, and exporting as PDF works too.
Once I change things to work with https,
https://myRSserver/Reports/Pages/Report.aspx?ItemPath=%2fGeneral%2fTestList
is still fine, but I can no longer export. Instead I get the
depressingly familiar
"Internet explorer cannot download format = PDF from myRSserver"
message.
Has anyone else encountered and overcomt this?
Thanks
StewartIs your report server (web service, etc.) configured for HTTPS too in the RS
config files? I'm wondering if that makes a difference...
--
Cheers,
'(' Jeff A. Stucker
\
Business Intelligence
www.criadvantage.com
---
"sdm" <macneisd-www@.dcs.gla.ac.uk> wrote in message
news:1108396598.676768.161140@.l41g2000cwc.googlegroups.com...
> Hi
> Running the unpatched Reporting Services (ie no service pack) I find
> everything is working great other than exporting.
> After playing around with things I find that if I use http then the
> exports work fine, but if I reconfigure for https, they don't.
> So,
> http://myRSserver/Reports/Pages/Report.aspx?ItemPath=%2fGeneral%2fTestList
> is generated perfectly, and exporting as PDF works too.
> Once I change things to work with https,
> https://myRSserver/Reports/Pages/Report.aspx?ItemPath=%2fGeneral%2fTestList
> is still fine, but I can no longer export. Instead I get the
> depressingly familiar
> "Internet explorer cannot download format = PDF from myRSserver"
> message.
> Has anyone else encountered and overcomt this?
> Thanks
> Stewart
>|||I encounter that message when using HTTPS as well. The dreaded
"Internet explorer cannot download format = PDF from myRSserver"
message."
I have tried changing the config files, changing the URL, re-issuing
the certificate, re-issueing to a new URL, etc, etc to no avail. It
works great when not using SSL, but I would like to eventually make
this server publicly available, so SSL is a requirement.
Erik|||Have you tried a fresh install of RS? There is a step where it prompts you
to select SSL or not. That is probably overkill, but if others haven't seen
your error, then it might be your shortest route to success.
--
Cheers,
'(' Jeff A. Stucker
\
Business Intelligence
www.criadvantage.com
---
"cybermud" <cybermud@.gmail.com> wrote in message
news:1108499154.037629.202680@.o13g2000cwo.googlegroups.com...
>I encounter that message when using HTTPS as well. The dreaded
> "Internet explorer cannot download format = PDF from myRSserver"
> message."
> I have tried changing the config files, changing the URL, re-issuing
> the certificate, re-issueing to a new URL, etc, etc to no avail. It
> works great when not using SSL, but I would like to eventually make
> this server publicly available, so SSL is a requirement.
> Erik
>|||Jeff:
Thanks for the reply. According to "Hitchhikers Guide To Reporting
Services" you can change this setting after the install by editing the
RSReportServer.config file, which I have done and it does affect the
usage of SSL. But perhaps there is some setting that is set in the
install and canot be changed by modifying that file. I am pretty sure
that I did have the SSL box checked at install, though, because I
remember creating the SSL certificate for the machine prior to
installing, but I could be mistaken. If I can't figure it out, I will
probably re-install next week. Thanks for the advice.
Erik|||Thanks for the replies, apologies for being offline the past 2 days.
I think Erik's replies mirror my own experiences. I tried with https
selected at setup, then again with no https selected at setup.
Everything worked on the second go until I manually changed things to
use https, as Erik described. I've tried reinstalling.
The only thought I have as I write this is that my certificate is
simply for 'myRSserver' rather than the fully qualified domain name.
I'll perhaps get a different certificate and try on a fresh install.
I'll post again if I have any success.
Stewart|||Stewart:
At one point I was using a certificate named only for the computer
name, and tought that may be the issue. So I joined the computer to my
domain, and issued a certificate for the fully qualified domain name,
but that did not solve anything. I am still having the same problems
with export.
Erik|||Ah, okay, thanks for that.
I've been looking (unsuccessfully) for some place that defines the URL
used by the export call - I don't know if the error is caused by an
incorrect URL or authentication failure, or something completely
different.
Thanks anyway.
Stewart|||Stewart:
I was looking at the URL, and broke it down, and compared when its set
up to use SSL and when its set up not to use SSL. The only difference
is HTTPS vs HTTP...I have not been able to find anything in the
configuration relating to export location, though.
Erik|||Hi,
I had a similar problem.Basically it is a browser problem.I came to know
about it when I tried it over Netscape and it worked. It also worked with
win-xp.This made me think about a security setting in the browser.
It was solved when I unchecked the checkbox for "Do not save encrypted
pages to disk" which resides in tools -> internet options-> Advanced ->
Security section of the browser.
Regards.|||Thanks for that, I'll give it a go on a test server!
Stewart|||SQLReporter, you are my hero!! This solved my problem!

Monday, March 19, 2012

Explanation wanted about the Service Principal Name ( SPN )

Hello,

In the ErrorLog of my Sql Server , i found this line :

2007-06-26 05:35:18.37 Serveur The SQL Network Interface library could not register the Service Principal Name (SPN) for the SQL Server service. Error: 0x54b, state: 3. Failure to register an SPN may cause integrated authentication to fall back to NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies.

Operating System XP Home SP2

SQL Server 2005 Express Edition with Advanced SP1 )

( idem for another workstation with XP Pro SP2 and same version of SQL Server 2005 Express

My problem is :

i want use the windows authentification but my computers are on Worhkgroup linked by a router ( no window server )

i have read that's possible to connect from a remote computer to a computer having a SQL Server 2005 Express through SPN

How can i do it ? ( activating NTLM ? but how ?)

I'm writing a C# program which must be executing on several computers with a SQL Server 2005 Express installed on a particular computer. These computers will belong to a domain of Windows Server 2003.

As i can't connect to this "normal" network, i am trying to simulate this network at home because i want to test this program and especially the possible locks problems.

I don't know whether i'm querying with the "correct" forum.

Sorry for my poor english.

I shall appreciate any help about this problem

Have a nice day

hi,

actually is not "a problem", as the message in the log already states.. it's informational only..

http://blogs.msdn.com/sql_protocols/archive/2005/10/12/479871.aspx

http://support.microsoft.com/kb/909801/en-us

regards

Explanation of Security Groups for 2005

I've been reconfiguring my Windows service accounts for the SQL Server service and the SQL Agent service to comply with the security best practices for SQL Server 2005. Specifically, I created two new network accounts. One account runs the SQL Server service, the other runs the SQL Agent service.

Each account is an ordinary user account with no administrative privileges, althought the SQL Agent account is a member of the "Pre-Windows 2000 compatible access" group on the domain controller. This group membership was specified in Books Online ("Selecting an Account for SQL Server Agent Service").

If you have installed the September CTP, you will notice several new local Windows groups on your server. These groups simply the process of configuring accounts used to run SQL Server services. All you need to do is add the account you wish to use for the specified service to the group and the account will have all the appropriate permissions it needs to run the service.

Two of these groups have very similar descriptions:

The first group is named:
"SQLServer2005MSFTEUser$ComputerName$InstanceName"

The second group is named:
"SQLServer2005MSSQLUser$ComputerName$InstanceName"

The description for these groups is identical:
"Members in the group have the required access and privileges to be assigned as the log on account for the associated instance of SQL Server and SQL Server FullText Search in SQL Server 2005"

Could someone from Microsoft explain the differences between these two groups?

I'm not sure why these have the same description. Someone in SQL Server Setup & Upgrade might be able to provide more information on that.

For "SQLServer2005MSFTEUser$ComputerName$InstanceName", the description should be: "Members in the group have the required access and privileges to be assigned as the log on account for the associated instance of SQL Server FullText Search in SQL Server 2005".

And for "SQLServer2005MSSQLUser$ComputerName$InstanceName", the description should be: "Members in the group have the required access and privileges to be assigned as the log on account for the associated instance of SQL Server in SQL Server 2005".

If you setup different service accounts for SQLServer and SQL Server FullText via the SQL Server Configuration Manager (SCM), you will notice that each group will include the corresponding account. If you use SCM, you won't need to manually add accounts to these groups, they are managed automatically by the SCM tool.

Thanks
Laurentiu

Monday, March 12, 2012

Experts Please Help

Dear All,
I am trying to implement FULL TEXT service on my table but for some reason
its not working. What i want to achieve is that I should be able search text
in my word documents also
Here is the Structure of my table:
ItemID int (Primary Key)
ModuleID int,
CreatedByUser nvarchar(100),
CreatedDate datetime,
FileFriendlyName nvarchar(250),
FileNameUrl nvarchar(150),' The path o fthe file
Content image(16),
ContentType nvarchar(50) ' it has all the file extensions
ContentSize int
I am creating Full TEXT index using Enterprise Manager. Below are the steps
I am following:
1) I right click my table which is called Documents
2)I select the unique index
3) I check the columns CreatedByUser ,CreatedDate ,FileNameUrl
,FriendlyFileName,ContentSize when it comes to Content column I also add
ContentType column in the Main Document Column a new catalog and give it a
name
5) I skip Select or Create Population Schedules
6) I click finish
7) Again I go back to my table and right click it and select Start Full
Population.
8) The Full population Starts and stops
9) I go to Full-text Catalogs and and see the name of my Catalog with its
status idle.
10) Full Text indexing is finished.
Now I am using ASPX.Net web Form I Have a Text Box and a search button . I
have a Doc file called MyWork.doc in the database. When I type MyWork in the
text box it returns the MyWork file.Thats fine with me. But The problem is
that I cant search content in MyWork. In MyWork.doc I have a sentence called
"My
Name is Sunil". When I type the word Sunil in the text box its not
returning any Document
Can some 1 tell me where is the problem. I am using SQL Server Developer
Edition.
Below is my Query.
SELECT
FileFriendlyName,FileNameUrl,CreatedDate,Content,C ontentType,CreatedByUser,ItemID FROM rb_Documents WHERE FREETEXT(*,'Sunil')
I am really sruggling Any help would be greatly appreciated.
cheers,
Sunil Sabir
what do you get if you issue this query?
sp_help_fulltext_catalogs --obtaain the name of your full text catalog
select FULLTEXTCATALOGPROPERTY ( 'test', 'uniquekeycount' )--replace test
with the name of your full text catalog.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Sunil Sabir" <SunilSabir@.discussions.microsoft.com> wrote in message
news:2874536E-011C-4F35-8B10-04695CF67E4A@.microsoft.com...
> Dear All,
> I am trying to implement FULL TEXT service on my table but for some reason
> its not working. What i want to achieve is that I should be able search
text
> in my word documents also
> Here is the Structure of my table:
> ItemID int (Primary Key)
> ModuleID int,
> CreatedByUser nvarchar(100),
> CreatedDate datetime,
> FileFriendlyName nvarchar(250),
> FileNameUrl nvarchar(150),' The path o fthe file
> Content image(16),
> ContentType nvarchar(50) ' it has all the file extensions
> ContentSize int
> I am creating Full TEXT index using Enterprise Manager. Below are the
steps
> I am following:
> 1) I right click my table which is called Documents
> 2)I select the unique index
> 3) I check the columns CreatedByUser ,CreatedDate ,FileNameUrl
> ,FriendlyFileName,ContentSize when it comes to Content column I also add
> ContentType column in the Main Document Column a new catalog and give it a
> name
> 5) I skip Select or Create Population Schedules
> 6) I click finish
> 7) Again I go back to my table and right click it and select Start Full
> Population.
> 8) The Full population Starts and stops
> 9) I go to Full-text Catalogs and and see the name of my Catalog with its
> status idle.
> 10) Full Text indexing is finished.
> Now I am using ASPX.Net web Form I Have a Text Box and a search button . I
> have a Doc file called MyWork.doc in the database. When I type MyWork in
the
> text box it returns the MyWork file.Thats fine with me. But The problem is
> that I cant search content in MyWork. In MyWork.doc I have a sentence
called
> "My
> Name is Sunil". When I type the word Sunil in the text box its not
> returning any Document
> Can some 1 tell me where is the problem. I am using SQL Server Developer
> Edition.
> Below is my Query.
> SELECT
>
FileFriendlyName,FileNameUrl,CreatedDate,Content,C ontentType,CreatedByUser,I
temID FROM rb_Documents WHERE FREETEXT(*,'Sunil')
> I am really sruggling Any help would be greatly appreciated.
> cheers,
> Sunil Sabir
>
>
|||Dear Hilary,
Thanks for your reply. when i issue
"Hilary Cotter" wrote:

> what do you get if you issue this query? when i issue this command select FULLTEXTCATALOGPROPERTY ( 'test', 'uniquekeycount' ). I get the following results
(No Column Name)
46
Sorry I dont know what this means. Please kindly help me.
cheers,
Sunil Sabir
> sp_help_fulltext_catalogs --obtaain the name of your full text catalog
> select FULLTEXTCATALOGPROPERTY ( 'test', 'uniquekeycount' )--replace test
> with the name of your full text catalog.
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
> "Sunil Sabir" <SunilSabir@.discussions.microsoft.com> wrote in message
> news:2874536E-011C-4F35-8B10-04695CF67E4A@.microsoft.com...
> text
> steps
> the
> called
> FileFriendlyName,FileNameUrl,CreatedDate,Content,C ontentType,CreatedByUser,I
> temID FROM rb_Documents WHERE FREETEXT(*,'Sunil')
>
>

Friday, February 24, 2012

Execution Time Out in Sql Reporting Service 2000

Hi

How do I set the Report execution Time Out Property of Report Server using ReportingService.asmx.I am using Sql Reporting Services 2000?

I don't beleive it has changed in 2005 so you should just call SetSystemProperties setting SystemReportTimeout.

See info here:

http://msdn2.microsoft.com/en-us/library/ms155025.aspx

Friday, February 17, 2012

Execution plan for stored procedures w multiple statements

I read somewhere that SQL Server 2000 as of service pack
3, creates a separate execution plan for each sql
statement in a stored procedure so if the execution plan
for one statement needs to be recompiled only that
statement gets recompiled and not the entire stored
procedure. This way you don't have to create a wrapper
stored procedure that calls individual stored procedures
with a single sql statement in them. Now I can't find this
article. Could someone please shed some light on this
issue. Thanks.
ChrisChris,
Someone has been lying to you. SQL2K does not have statement level recompile
..
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Christian Mark Jensen" <anonymous@.discussions.microsoft.com> wrote in messa
ge
news:243ce01c45f52$817e1fa0$a401280a@.phx
.gbl...
> I read somewhere that SQL Server 2000 as of service pack
> 3, creates a separate execution plan for each sql
> statement in a stored procedure so if the execution plan
> for one statement needs to be recompiled only that
> statement gets recompiled and not the entire stored
> procedure. This way you don't have to create a wrapper
> stored procedure that calls individual stored procedures
> with a single sql statement in them. Now I can't find this
> article. Could someone please shed some light on this
> issue. Thanks.
> Chris
>

Execution plan for stored procedures w multiple statements

I read somewhere that SQL Server 2000 as of service pack
3, creates a separate execution plan for each sql
statement in a stored procedure so if the execution plan
for one statement needs to be recompiled only that
statement gets recompiled and not the entire stored
procedure. This way you don't have to create a wrapper
stored procedure that calls individual stored procedures
with a single sql statement in them. Now I can't find this
article. Could someone please shed some light on this
issue. Thanks.
ChrisChris,
Someone has been lying to you. SQL2K does not have statement level recompile...
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Christian Mark Jensen" <anonymous@.discussions.microsoft.com> wrote in message
news:243ce01c45f52$817e1fa0$a401280a@.phx.gbl...
> I read somewhere that SQL Server 2000 as of service pack
> 3, creates a separate execution plan for each sql
> statement in a stored procedure so if the execution plan
> for one statement needs to be recompiled only that
> statement gets recompiled and not the entire stored
> procedure. This way you don't have to create a wrapper
> stored procedure that calls individual stored procedures
> with a single sql statement in them. Now I can't find this
> article. Could someone please shed some light on this
> issue. Thanks.
> Chris
>

Execution plan for stored procedures w multiple statements

I read somewhere that SQL Server 2000 as of service pack
3, creates a separate execution plan for each sql
statement in a stored procedure so if the execution plan
for one statement needs to be recompiled only that
statement gets recompiled and not the entire stored
procedure. This way you don't have to create a wrapper
stored procedure that calls individual stored procedures
with a single sql statement in them. Now I can't find this
article. Could someone please shed some light on this
issue. Thanks.
Chris
Chris,
Someone has been lying to you. SQL2K does not have statement level recompile...
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Christian Mark Jensen" <anonymous@.discussions.microsoft.com> wrote in message
news:243ce01c45f52$817e1fa0$a401280a@.phx.gbl...
> I read somewhere that SQL Server 2000 as of service pack
> 3, creates a separate execution plan for each sql
> statement in a stored procedure so if the execution plan
> for one statement needs to be recompiled only that
> statement gets recompiled and not the entire stored
> procedure. This way you don't have to create a wrapper
> stored procedure that calls individual stored procedures
> with a single sql statement in them. Now I can't find this
> article. Could someone please shed some light on this
> issue. Thanks.
> Chris
>