Showing posts with label following. Show all posts
Showing posts with label following. Show all posts

Thursday, March 29, 2012

Excel files are too large

I have the following problem with Reporting Services:
My report has about 6500 lines and 100 columns. When I export it into Excel
the size of the end file is about 20 Mb. As I have to send it using
subscriptions, it is a problem â' too large file for e-mail. Are there any
ways to minimize the size of output Excel file?
Regards,
Boris.Workaround:
Create a webpage containing your report, post it on the webserver, and
e-mail a link to this page to your customer.
It is faster, and more friendly designed ( and it began to be a
standard in modern distributed applications)
You also have to take care about "Garbage Collection": set an
expiration date for reports to be deleted from the webserver.
Have fun :)|||Are you using Service Pack 1? We did some sizing work but it still might be
too big for you.
--
Brian Welcker
Group Program Manager
Microsoft SQL Server
This posting is provided "AS IS" with no warranties, and confers no rights.
"Boris" <frolovBA@.trytoguessHM.com> wrote in message
news:CBAA6D77-E111-469F-8261-C0CC9A78A82B@.microsoft.com...
>I have the following problem with Reporting Services:
> My report has about 6500 lines and 100 columns. When I export it into
> Excel
> the size of the end file is about 20 Mb. As I have to send it using
> subscriptions, it is a problem - too large file for e-mail. Are there any
> ways to minimize the size of output Excel file?
> Regards,
> Boris.
>|||Thank you for your advice, but users of this report want to receive it in
Excel.
Iâ've made a workaround: Reporting Services save the Excel file into
directory and then my program archive it and send it through e-mail. But may
be I miss some details that can optimize the size of Report?
Regards,
Boris
"katzirina" wrote:
> Workaround:
> Create a webpage containing your report, post it on the webserver, and
> e-mail a link to this page to your customer.
> It is faster, and more friendly designed ( and it began to be a
> standard in modern distributed applications)
> You also have to take care about "Garbage Collection": set an
> expiration date for reports to be deleted from the webserver.
> Have fun :)
>|||Yes I use SP1.
Regards,
Boris.
"Brian Welcker [MS]" wrote:
> Are you using Service Pack 1? We did some sizing work but it still might be
> too big for you.
> --
> Brian Welcker
> Group Program Manager
> Microsoft SQL Server
> This posting is provided "AS IS" with no warranties, and confers no rights.
> "Boris" <frolovBA@.trytoguessHM.com> wrote in message
> news:CBAA6D77-E111-469F-8261-C0CC9A78A82B@.microsoft.com...
> >I have the following problem with Reporting Services:
> > My report has about 6500 lines and 100 columns. When I export it into
> > Excel
> > the size of the end file is about 20 Mb. As I have to send it using
> > subscriptions, it is a problem - too large file for e-mail. Are there any
> > ways to minimize the size of output Excel file?
> >
> > Regards,
> > Boris.
> >
>
>|||When you create the spreadsheet manually, how large is it? I just tried a
very simple sheet with no formatting and a single number per cell and it was
5 MB. The only way this would work through compression in the delivery
provider. We do not support this but there might be a 3rd party that does.
--
Brian Welcker
Group Program Manager
Microsoft SQL Server
This posting is provided "AS IS" with no warranties, and confers no rights.
"Boris" <frolovBA@.trytoguessHM.com> wrote in message
news:6A26B3A5-0CF5-4F3B-8B1A-3CB4F36B453E@.microsoft.com...
> Yes I use SP1.
> Regards,
> Boris.
> "Brian Welcker [MS]" wrote:
>> Are you using Service Pack 1? We did some sizing work but it still might
>> be
>> too big for you.
>> --
>> Brian Welcker
>> Group Program Manager
>> Microsoft SQL Server
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> "Boris" <frolovBA@.trytoguessHM.com> wrote in message
>> news:CBAA6D77-E111-469F-8261-C0CC9A78A82B@.microsoft.com...
>> >I have the following problem with Reporting Services:
>> > My report has about 6500 lines and 100 columns. When I export it into
>> > Excel
>> > the size of the end file is about 20 Mb. As I have to send it using
>> > subscriptions, it is a problem - too large file for e-mail. Are there
>> > any
>> > ways to minimize the size of output Excel file?
>> >
>> > Regards,
>> > Boris.
>> >
>>|||When I create it manually itâ's about 6 Mb. Even if I made export to Excel
from Reporting Server, then open this 24 Mb file and save it â' it gets size
about 7 Mb. The only formatting I use are 0.5pt borders and number/date
formats.
Regards,
Boris.
"Brian Welcker [MS]" wrote:
> When you create the spreadsheet manually, how large is it? I just tried a
> very simple sheet with no formatting and a single number per cell and it was
> 5 MB. The only way this would work through compression in the delivery
> provider. We do not support this but there might be a 3rd party that does.
> --
> Brian Welcker
> Group Program Manager
> Microsoft SQL Server
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Boris" <frolovBA@.trytoguessHM.com> wrote in message
> news:6A26B3A5-0CF5-4F3B-8B1A-3CB4F36B453E@.microsoft.com...
> > Yes I use SP1.
> >
> > Regards,
> > Boris.
> >
> > "Brian Welcker [MS]" wrote:
> >
> >> Are you using Service Pack 1? We did some sizing work but it still might
> >> be
> >> too big for you.
> >>
> >> --
> >> Brian Welcker
> >> Group Program Manager
> >> Microsoft SQL Server
> >>
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.
> >>
> >> "Boris" <frolovBA@.trytoguessHM.com> wrote in message
> >> news:CBAA6D77-E111-469F-8261-C0CC9A78A82B@.microsoft.com...
> >> >I have the following problem with Reporting Services:
> >> > My report has about 6500 lines and 100 columns. When I export it into
> >> > Excel
> >> > the size of the end file is about 20 Mb. As I have to send it using
> >> > subscriptions, it is a problem - too large file for e-mail. Are there
> >> > any
> >> > ways to minimize the size of output Excel file?
> >> >
> >> > Regards,
> >> > Boris.
> >> >
> >>
> >>
> >>
>
>

Monday, March 26, 2012

Excel destination fails

Hi All!

I am trying to create a table destination to excel which fails with the following error that " Table cannot be created " System Error in Field definition" where as the same works in the Falt File Destination. What could be the problem?

Thanks

jas

It maybe due to the fact that excel has in built data types and column sizes attached to the columns whereas a flat file does not have that.

Try creating a table first and then map the excel columns to it to extract the records from the excel spreadsheet. When you import into a staging table, it is best to just keep the columns as varchar(255). If you have fields like remarks field that could be even bigger, you might want to customize your staging table.sql

Friday, March 23, 2012

excel data pivot/unpivot to sql server 2005 table

The following is a SAMPLE data from an excel spreadsheet. This SAMPLE data has many other fields as date. Here I have only used two date columns i.e. 28 Dec 2006 and 29 Dec 2006
This data needs to be exported into sql server 2005 table which has the fields below where I have placed the data into a table.
How can this be done please?

data:

Ref Sector Name 28 Dec 2006 29 Dec 2006
1 Sovereign RUSSIA 05 null 173.21
2 Sovereign RUSSIA 07 102.99 102.22
3 Sovereign RUSSIA 10 114.33 104.63
4 Sovereign RUSSIA 18 115.50 145.50
...

sql server table

create table tblData
(
DataID int,
Ref int,
Sector varchar(20),
Name varchar(20),
Date datetime,
value decimal(6,2)
)

DataID Ref Sector Name Date value
1 1 Sovereign RUSSIA 05 28 Dec 2006 null
2 1 Sovereign RUSSIA 05 29 Dec 2006 173.21
3 2 Sovereign RUSSIA 07 28 Dec 2006 102.99
4 2 Sovereign RUSSIA 07 29 Dec 2006 102.22
5 3 Sovereign RUSSIA 10 28 Dec 2006 114.33
6 3 Sovereign RUSSIA 10 29 Dec 2006 104.63
7 4 Sovereign RUSSIA 18 28 Dec 2006 115.50
8 4 Sovereign RUSSIA 18 29 Dec 2006 145.50
...

First import the data into temp table..

Then use the UNPIVOT operator to get the required data..

Here the complete query,

Code Snippet

/*

create table tblData

(

DataID int identity(1,1),

Ref int,

Sector varchar(20),

Name varchar(20),

Date datetime,

value decimal(6,2)

)

*/

Code Snippet

Create Table #tempdata (

[Ref] int ,

[Sector] Varchar(100) ,

[Name] Varchar(100) ,

[28-Dec-2006] float ,

[29-Dec-2006] float

);

Insert Into #tempdata Values('1','Sovereign','RUSSIA05',NULL,'173.21');

Insert Into #tempdata Values('2','Sovereign','RUSSIA07','102.99','102.22');

Insert Into #tempdata Values('3','Sovereign','RUSSIA10','114.33','104.63');

Insert Into #tempdata Values('4','Sovereign','RUSSIA18','115.50','145.50');

Go

Code Snippet

Declare @.UnPivotColumns as varchar(max)

Select@.UnPivotColumns = ''

Select @.UnPivotColumns = @.UnPivotColumns + ',[' + name + ']' from tempdb.Sys.columns

Where object_id = object_id('tempdb..#tempdata')

and column_id > 3

Select@.UnPivotColumns = Substring(@.UnPivotColumns, 2, len(@.UnPivotColumns)-1)

Insert Into tblData(ref,sector,name,date,value)

Exec ('Select ref,sector,Name,cast(date as datetime),[value]

from #tempdata unpivot([value] for [date]

in (' + @.UnPivotColumns + ') )as uptv')

Drop table #tempdata;

--To fill the missed values when the value is null

Insert Into tblData

select

fulldata.*,

tbl.value

from

(

select * from

(select distinct ref,sector,namefrom tblData) data

cross join (select distinctDatefrom tblData) dates

) fulldata

left outer join tblData tbl

on tbl.ref = fulldata.ref

and tbl.sector = fulldata.sector

and tbl.name = fulldata.name

and tbl.Date = fulldata.date

where

tbl.Date is null

Select * from tblData

Excel Browser error

Hi

I'm trying to browse a cube using excel. I get through the pivot table wizrd ok but when I click finish I am getting the following error:

XML for Analysis parser: The localeidentifier property is not overwritable and cannot be assigned a new value

I get the message regardless of whether I am trying to connect to my own cubes or the Adventure Works sample. Any idea of cause & remedy please

Thanks

Wayne

A couple of things you may want to try.

This error seems to occur if local language is anything other than English-US

a) Refer to post http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=961463&SiteID=17. This relates to CTP2, but there are a couple of tips that may be of use.

b) Had a similar issue, & narrowed down to a conflict between AS_OLEDB Version 8 & 9 installed on same PC. Seems the upgrade to 9 doesn't clean up the old version. To resolve this, run uninstall of the existing oledb driver, go to C:\Program Files\Common Files\System\Ole DB & delete all files in this directory if they exist, re-install AS_OLEDB 9.0.

P.S. Microsoft SQL Server 2005 Analysis Services 9.0 OLE DB Provider (OLEDB 9.0) available at www.microsoft.com/downloads/details.aspx?FamilyID=d09c1d60-a13c-4479-9b91-9e8b9d835cdc

c) Check analysis server default language.

i.e. SQL Management studio, connect to Analysis Server, Properties (right click on server), Language/Collation, set to US English.

Excel Browser error

Hi

I'm trying to browse a cube using excel. I get through the pivot table wizrd ok but when I click finish I am getting the following error:

XML for Analysis parser: The localeidentifier property is not overwritable and cannot be assigned a new value

I get the message regardless of whether I am trying to connect to my own cubes or the Adventure Works sample. Any idea of cause & remedy please

Thanks

Wayne

A couple of things you may want to try.

This error seems to occur if local language is anything other than English-US

a) Refer to post http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=961463&SiteID=17. This relates to CTP2, but there are a couple of tips that may be of use.

b) Had a similar issue, & narrowed down to a conflict between AS_OLEDB Version 8 & 9 installed on same PC. Seems the upgrade to 9 doesn't clean up the old version. To resolve this, run uninstall of the existing oledb driver, go to C:\Program Files\Common Files\System\Ole DB & delete all files in this directory if they exist, re-install AS_OLEDB 9.0.

P.S. Microsoft SQL Server 2005 Analysis Services 9.0 OLE DB Provider (OLEDB 9.0) available at www.microsoft.com/downloads/details.aspx?FamilyID=d09c1d60-a13c-4479-9b91-9e8b9d835cdc

c) Check analysis server default language.

i.e. SQL Management studio, connect to Analysis Server, Properties (right click on server), Language/Collation, set to US English.

Monday, March 19, 2012

exceeded access limit !?!?!?!?

hello
i've been receiving the following error on my report server:
"The server you are attempting to access has exceeded its Client Access
License limit"
i have 45 licenses and less than 10 people accessing the report server.
so... what's going on? i have the latest service pack installed as well.
it looks like report server is not dropping connections... i also get a lot
of "connection pool timeout" errors.
what's happening here? my users are getting quite frustrated...
dushan bilbijaWhat operating system are you running on? Reporting Services has no software
CAL detection limit but I believe the operating system does.
--
Brian Welcker
Group Program Manager
SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Dushan Bilbija" <dbilbija@.msn.com> wrote in message
news:ueAF0ujeEHA.592@.TK2MSFTNGP11.phx.gbl...
> hello
> i've been receiving the following error on my report server:
> "The server you are attempting to access has exceeded its Client Access
> License limit"
> i have 45 licenses and less than 10 people accessing the report server.
> so... what's going on? i have the latest service pack installed as well.
> it looks like report server is not dropping connections... i also get a
> lot
> of "connection pool timeout" errors.
> what's happening here? my users are getting quite frustrated...
> dushan bilbija
>

Examples for these.

Have come across the following guidelines in a few sites:
-> Avoid using data conversion functions in the WHERE clause of a query.
-> Use of a derived query in place of a cursor.
Although the reasoning is allright, can someone please provide examples
that can be used to illustrate these?
Thank you
sqlcatz
sql
SELECT * FROM Orders WHERE OrderDate <'20040101' AND OrderDate>='19970704'
SELECT * FROM
(
SELECT OrderID,CONVERT(CHAR(8),OrderDate,112) AS OrderDate
FROM Orders
) AS Deriv
WHERE OrderDate <'20040101' AND OrderDate>='19970704'
"SQLCatz" <SQLCatz@.discussions.microsoft.com> wrote in message
news:01B15B2B-322A-4EB4-9429-F58EE5B797AE@.microsoft.com...
> Have come across the following guidelines in a few sites:
> -> Avoid using data conversion functions in the WHERE clause of a query.
> -> Use of a derived query in place of a cursor.
> Although the reasoning is allright, can someone please provide examples
> that can be used to illustrate these?
> Thank you
> sqlcatz
>
|||Uri,
Thank you for the quick response!
What I was looking out for was something along these lines:
Write a Query that uses a data conversion function in the where clause - it
gives a particluar resultset.
How can I get the same resultset without using a data conversion function in
the where clause?
I want to illustrate the fact that you can achieve the same result without
having a data conversion function in the where clause.
Same holds true for the Cursor - derived table...
Cheers!
|||SQL
>How can I get the same resultset >without using a data conversion >function
in
>the where clause?
SELECT * FROM
(
SELECT OrderID,CONVERT(CHAR(8),OrderDate,112) AS OrderDate
FROM Orders
) AS Deriv
WHERE OrderDate <'20040101' AND OrderDate>='19970704'
"SQLCatz" <SQLCatz@.discussions.microsoft.com> wrote in message
news:AF1ED9E1-6C47-4789-B589-B2D9460DC80E@.microsoft.com...
> Uri,
> Thank you for the quick response!
> What I was looking out for was something along these lines:
> Write a Query that uses a data conversion function in the where clause -
it
> gives a particluar resultset.
> How can I get the same resultset without using a data conversion function
in
> the where clause?
> I want to illustrate the fact that you can achieve the same result without
> having a data conversion function in the where clause.
> Same holds true for the Cursor - derived table...
> Cheers!
>
|||> Write a Query that uses a data conversion function in the where clause -
it
> gives a particluar resultset.
> How can I get the same resultset without using a data conversion function
in
> the where clause?
What "same resultset"?
http://www.aspfaq.com/
(Reverse address to reply.)
|||One example you can find in my article on datetime: http://www.karaszi.com/SQLServer/info_datetime.asp
Search for below query:
SELECT c1, dt FROM #dts WHERE CONVERT(char(8), dt, 112) = '20040305'
And you'll find reasoning behind it and finally my suggested query, which doesn't do a CONVERT on the column
side.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"SQLCatz" <SQLCatz@.discussions.microsoft.com> wrote in message
news:AF1ED9E1-6C47-4789-B589-B2D9460DC80E@.microsoft.com...
> Uri,
> Thank you for the quick response!
> What I was looking out for was something along these lines:
> Write a Query that uses a data conversion function in the where clause - it
> gives a particluar resultset.
> How can I get the same resultset without using a data conversion function in
> the where clause?
> I want to illustrate the fact that you can achieve the same result without
> having a data conversion function in the where clause.
> Same holds true for the Cursor - derived table...
> Cheers!
>

Monday, March 12, 2012

Example Needed

I am new to XML in SQL Server 2005. I was wondering if someone would be so
kind as to show me how I might do the following? In the AdventureWorks
database there is a table named HumanResources.JobCandidate. There is an XML
field in that table named 'Resume'. How would I retrieve say the last name
and job title of each record in that table? What would the SQL statement
look like to do that?
Thanks very much. Amos.
Hello Amos,
select Resume.value(
'declare namespace r="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/Resume";
(r:Resume/r:Name/r:Name.Last)[1]', 'nvarchar(100)') as [Last Name],
Resume.value('declare namespace r="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/Resume";
(r:Resume/r:Employment/r:Emp.JobTitle)[1]', 'nvarchar(100)') as [Job Title]
FROM HumanResources.JobCandidate
Dan

> I am new to XML in SQL Server 2005. I was wondering if someone would
> be so kind as to show me how I might do the following? In the
> AdventureWorks database there is a table named
> HumanResources.JobCandidate. There is an XML field in that table named
> 'Resume'. How would I retrieve say the last name and job title of each
> record in that table? What would the SQL statement look like to do
> that?
> Thanks very much. Amos.
>
|||Thank you Dan. Very kind of you.
Amos.
"Dan" <dsullivanATdanal.com> wrote in message
news:d25ffa451d4758c7df7ede9676b6@.news.microsoft.c om...
> Hello Amos,
> select Resume.value(
> 'declare namespace
> r="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/Resume";
> (r:Resume/r:Name/r:Name.Last)[1]', 'nvarchar(100)') as [Last Name],
> Resume.value('declare namespace
> r="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/Resume";
> (r:Resume/r:Employment/r:Emp.JobTitle)[1]', 'nvarchar(100)') as [Job
> Title]
> FROM HumanResources.JobCandidate
> Dan
>
>

Example Needed

I am new to XML in SQL Server 2005. I was wondering if someone would be so
kind as to show me how I might do the following? In the AdventureWorks
database there is a table named HumanResources.JobCandidate. There is an XML
field in that table named 'Resume'. How would I retrieve say the last name
and job title of each record in that table? What would the SQL statement
look like to do that?
Thanks very much. Amos.Hello Amos,
select Resume.value(
'declare namespace r="http://schemas.microsoft.com/sqlserver/2004/07/adventu
re-works/Resume";
(r:Resume/r:Name/r:Name.Last)[1]', 'nvarchar(100)') as [Last Name],
Resume.value('declare namespace r="http://schemas.microsoft.com/sqlserver/20
04/07/adventure-works/Resume";
(r:Resume/r:Employment/r:Emp.JobTitle)[1]', 'nvarchar(100)') as [Job Title]
FROM HumanResources.JobCandidate
Dan

> I am new to XML in SQL Server 2005. I was wondering if someone would
> be so kind as to show me how I might do the following? In the
> AdventureWorks database there is a table named
> HumanResources.JobCandidate. There is an XML field in that table named
> 'Resume'. How would I retrieve say the last name and job title of each
> record in that table? What would the SQL statement look like to do
> that?
> Thanks very much. Amos.
>|||Thank you Dan. Very kind of you.
Amos.
"Dan" <dsullivanATdanal.com> wrote in message
news:d25ffa451d4758c7df7ede9676b6@.news.microsoft.com...
> Hello Amos,
> select Resume.value(
> 'declare namespace
> r="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/Resume";
> (r:Resume/r:Name/r:Name.Last)[1]', 'nvarchar(100)') as [Last Name],
> Resume.value('declare namespace
> r="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/Resume";
> (r:Resume/r:Employment/r:Emp.JobTitle)[1]', 'nvarchar(100)') as [Job
> Title]
> FROM HumanResources.JobCandidate
> Dan
>
>

Wednesday, March 7, 2012

Events 311, 312, 318.

Each time I clear the event log on two of our SQL servers, I get the
following errors a few seconds later (see below). Config is as follows:
Win2k3, IIS, SQL2000SP4, NOT Active Directory (these are primarily web
servers).
Any help in clearing up these annoying error messages would be appreciated.
----
Event Type: Warning
Event Source: SQLSERVERAGENT
Event Category: Alert Engine
Event ID: 312
Date: 27.10.2005
Time: 08:53:31
User: N/A
Computer: DNS3
Description:
Successfully re-opened the local eventlog - NOTE: Some events may have been
missed.
----
Event Type: Information
Event Source: SQLSERVERAGENT
Event Category: Alert Engine
Event ID: 311
Date: 27.10.2005
Time: 08:53:31
User: N/A
Computer: DNS3
Description:
Attempting to to re-open the local eventlog...
----
Event Type: Error
Event Source: SQLSERVERAGENT
Event Category: Alert Engine
Event ID: 318
Date: 27.10.2005
Time: 08:53:31
User: N/A
Computer: DNS3
Description:
Unable to read local eventlog (reason: The event log file has changed
between read operations).
----It's chicken and egg. The reason you get the messages is because you cleared
the event log. SQLAgent monitors the event log for alerting purposes and
when you clear it, it has to try and re-establish its monitoring. However,
if you don't use SQL Agent alerts you can delete the demo alerts that are
created when you install SQL Server (they all start with Demo) and you will
no longer get these messages (because with no alerts defined there is no
reason for SQL Agent to monitor the event log)
--
HTH
Jasper Smith (SQL Server MVP)
http://www.sqldbatips.com
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"The Vogon" <The Vogon@.discussions.microsoft.com> wrote in message
news:14E7C465-925F-4B88-9222-7CA5DED549DD@.microsoft.com...
> Each time I clear the event log on two of our SQL servers, I get the
> following errors a few seconds later (see below). Config is as follows:
> Win2k3, IIS, SQL2000SP4, NOT Active Directory (these are primarily web
> servers).
> Any help in clearing up these annoying error messages would be
> appreciated.
> ----
> Event Type: Warning
> Event Source: SQLSERVERAGENT
> Event Category: Alert Engine
> Event ID: 312
> Date: 27.10.2005
> Time: 08:53:31
> User: N/A
> Computer: DNS3
> Description:
> Successfully re-opened the local eventlog - NOTE: Some events may have
> been
> missed.
> ----
> Event Type: Information
> Event Source: SQLSERVERAGENT
> Event Category: Alert Engine
> Event ID: 311
> Date: 27.10.2005
> Time: 08:53:31
> User: N/A
> Computer: DNS3
> Description:
> Attempting to to re-open the local eventlog...
> ----
> Event Type: Error
> Event Source: SQLSERVERAGENT
> Event Category: Alert Engine
> Event ID: 318
> Date: 27.10.2005
> Time: 08:53:31
> User: N/A
> Computer: DNS3
> Description:
> Unable to read local eventlog (reason: The event log file has changed
> between read operations).
> ----
>|||Thankyou Jasper!
I have no need for SQL Agent Alerts, so the demo alerts have been deleted
and the problem is now resolved...
"Jasper Smith" wrote:
> It's chicken and egg. The reason you get the messages is because you cleared
> the event log. SQLAgent monitors the event log for alerting purposes and
> when you clear it, it has to try and re-establish its monitoring. However,
> if you don't use SQL Agent alerts you can delete the demo alerts that are
> created when you install SQL Server (they all start with Demo) and you will
> no longer get these messages (because with no alerts defined there is no
> reason for SQL Agent to monitor the event log)
> --
> HTH
> Jasper Smith (SQL Server MVP)
> http://www.sqldbatips.com
> I support PASS - the definitive, global
> community for SQL Server professionals -
> http://www.sqlpass.org
> "The Vogon" <The Vogon@.discussions.microsoft.com> wrote in message
> news:14E7C465-925F-4B88-9222-7CA5DED549DD@.microsoft.com...
> > Each time I clear the event log on two of our SQL servers, I get the
> > following errors a few seconds later (see below). Config is as follows:
> > Win2k3, IIS, SQL2000SP4, NOT Active Directory (these are primarily web
> > servers).
> >
> > Any help in clearing up these annoying error messages would be
> > appreciated.
> >
> > ----
> > Event Type: Warning
> > Event Source: SQLSERVERAGENT
> > Event Category: Alert Engine
> > Event ID: 312
> > Date: 27.10.2005
> > Time: 08:53:31
> > User: N/A
> > Computer: DNS3
> > Description:
> > Successfully re-opened the local eventlog - NOTE: Some events may have
> > been
> > missed.
> > ----
> > Event Type: Information
> > Event Source: SQLSERVERAGENT
> > Event Category: Alert Engine
> > Event ID: 311
> > Date: 27.10.2005
> > Time: 08:53:31
> > User: N/A
> > Computer: DNS3
> > Description:
> > Attempting to to re-open the local eventlog...
> > ----
> > Event Type: Error
> > Event Source: SQLSERVERAGENT
> > Event Category: Alert Engine
> > Event ID: 318
> > Date: 27.10.2005
> > Time: 08:53:31
> > User: N/A
> > Computer: DNS3
> > Description:
> > Unable to read local eventlog (reason: The event log file has changed
> > between read operations).
> > ----
> >
>
>

Eventlog Warning reg SQL Tools 2005

I installed SQL Server 2005 with SQL tools on a Windows 2000 platform, and
get the following warning every 20-30 seconds.
Source is MSIInstaller, and user is ASPNET.
I reinstalled the SQL Tools, to no avail. I do not have any functional
problem with SQL Server or any installed component.
Detection of product '{1DD463C0-A50A-4394-B7E4-5895C02F9E0D}', feature
'SQL_Tools90', component '{653612B2-2738-4F92-936D-65DE042BD1BB}' failed.
The resource '' does not exist.
Detection of product '{1DD463C0-A50A-4394-B7E4-5895C02F9E0D}', feature
'SQL_Tools90' failed during request for component
'{6EC5DFBD-F6B5-4F02-8432-BFB8B03562B8}'
Failed to connect to server. Error: 0x80070005
Does user ASPNET have permissions to access the relevant folders, and/or to
install software?
Interesting, I would have never attempted using such a 'limited access' user
to install software products. Let us know how it works out.
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"patsql" <patsql@.discussions.microsoft.com> wrote in message
news:FD0720A9-D698-4088-B214-AD89A1B8A7A3@.microsoft.com...
>I installed SQL Server 2005 with SQL tools on a Windows 2000 platform, and
> get the following warning every 20-30 seconds.
> Source is MSIInstaller, and user is ASPNET.
> I reinstalled the SQL Tools, to no avail. I do not have any functional
> problem with SQL Server or any installed component.
> Detection of product '{1DD463C0-A50A-4394-B7E4-5895C02F9E0D}', feature
> 'SQL_Tools90', component '{653612B2-2738-4F92-936D-65DE042BD1BB}' failed.
> The resource '' does not exist.
> Detection of product '{1DD463C0-A50A-4394-B7E4-5895C02F9E0D}', feature
> 'SQL_Tools90' failed during request for component
> '{6EC5DFBD-F6B5-4F02-8432-BFB8B03562B8}'
> Failed to connect to server. Error: 0x80070005
>
|||If I only knew what was going on.
Which are the relevant folders?
The right to install software? I can not find a (group) policy (the server
is not using Active Directory) that would prevent ASPNET to install the
software, whatever software that may be...
"Arnie Rowland" wrote:

> Does user ASPNET have permissions to access the relevant folders, and/or to
> install software?
> Interesting, I would have never attempted using such a 'limited access' user
> to install software products. Let us know how it works out.
> --
> Arnie Rowland, Ph.D.
> Westwood Consulting, Inc
> Most good judgment comes from experience.
> Most experience comes from bad judgment.
> - Anonymous
> You can't help someone get up a hill without getting a little closer to the
> top yourself.
> - H. Norman Schwarzkopf
>
> "patsql" <patsql@.discussions.microsoft.com> wrote in message
> news:FD0720A9-D698-4088-B214-AD89A1B8A7A3@.microsoft.com...
>
>
|||If I only knew what was going on.
Which are the relevant folders?
The right to install software? I can not find a (group) policy (the server
is not using Active Directory) that would prevent ASPNET to install the
software, whatever software that may be...
"Arnie Rowland" wrote:

> Does user ASPNET have permissions to access the relevant folders, and/or to
> install software?
> Interesting, I would have never attempted using such a 'limited access' user
> to install software products. Let us know how it works out.
> --
> Arnie Rowland, Ph.D.
> Westwood Consulting, Inc
> Most good judgment comes from experience.
> Most experience comes from bad judgment.
> - Anonymous
> You can't help someone get up a hill without getting a little closer to the
> top yourself.
> - H. Norman Schwarzkopf
>
> "patsql" <patsql@.discussions.microsoft.com> wrote in message
> news:FD0720A9-D698-4088-B214-AD89A1B8A7A3@.microsoft.com...
>
>

Sunday, February 26, 2012

Event Log Warnings: Event 19011

Hi,
Anyone know the cause of the following 2 event log
warning messages that continue to appear every time the
MSSQLSERVER service is started?
1.
SuperSocket info: (SpnRegister) : Error 1355.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
2.
The description for Event ID ( 19011 ) in Source (
MSSQL$NETSDK ) cannot be found. The local computer may
not have the necessary registry information or message
DLL files to display messages from a remote computer. You
may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The
following information is part of the event:
(SpnRegister) : Error 1355.
Any leads would be appreciated.
Thanks,
RonBaisong,
Thank you for your reply and KB link.
I now understand what the cause of the warning messages
are, and how to deal with it.
Issue resolved. ;-))
Regards,
Ron
>--Original Message--
>Hi Ron,
>
>Thank you for using MSDN Newsgroup! It's my pleasure to
assist you with
>your issue.
>From your description, you got the following warning
>SuperSocket Info: (SPNRegister) : Error 1355 and Event
Category 8 / Event
>ID 19011 everytime the SQL Server Service is started.
>As I know, this message is not an error message. This
text is only a
>warning that SQL Server tries to write to the Active
Directory, and
>register the SPN (ServicePrincipalName or service name).
The warning
>indicates that it could not contact the Domain Controller
to accomplish
>this for security mechanism that will be used is
Microsoft Windows NT
>Challenge\Response (NTLM) authentication instead of
Kerberos.
>For detailed information about this message, please refer
to:
>http://support.microsoft.com/default.aspx?
scid=http://support.microsoft.com:
>80/support/kb/articles/q303/4/11.asp&NoWebContent=1
>To avoid this message again, with Microsoft Windows 2000
Service Pack 3
>(SP3), you can enable Kerberos authentication on server
clusters. For
>instructions on how to do this, see the following article
in the Microsoft
>Knowledge Base:
>http://support.microsoft.com/default.aspx?kbid=319723
>If you still have problems, please feel free to post new
messages here and
>I am ready to help!
>
>Best regards
>Baisong Wei
>Microsoft Online Support
>----
>Get Secure! - www.microsoft.com/security
>This posting is provided "as is" with no warranties and
confers no rights.
>Please reply to newsgroups only. Thanks.
>
>.
>|||Hi Ron,
Thank you for using MSDN Newsgroup! It's my pleasure to assist you with
your issue.
From your description, you got the following warning
SuperSocket Info: (SPNRegister) : Error 1355 and Event Category 8 / Event
ID 19011 everytime the SQL Server Service is started.
As I know, this message is not an error message. This text is only a
warning that SQL Server tries to write to the Active Directory, and
register the SPN (ServicePrincipalName or service name). The warning
indicates that it could not contact the Domain Controller to accomplish
this for security mechanism that will be used is Microsoft Windows NT
Challenge\Response (NTLM) authentication instead of Kerberos.
For detailed information about this message, please refer to:
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:
80/support/kb/articles/q303/4/11.asp&NoWebContent=1
To avoid this message again, with Microsoft Windows 2000 Service Pack 3
(SP3), you can enable Kerberos authentication on server clusters. For
instructions on how to do this, see the following article in the Microsoft
Knowledge Base:
http://support.microsoft.com/default.aspx?kbid=319723
If you still have problems, please feel free to post new messages here and
I am ready to help!
Best regards
Baisong Wei
Microsoft Online Support
----
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only. Thanks.

Event log error after SQL 2005 developer install

I get the following errors in my application event log on each reboot after
installing SQL Server 2005 developer edition.
..NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Failed
to compile: Microsoft.ReportingServices.QueryDesigners, Version=9.0.242.0,
Culture=neutral, PublicKeyToken=89845dcd8080cc91 . Error code = 0x80070002
and
..NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Failed
to compile: Microsoft.ReportingServices.QueryDesigners, Version=9.0.242.0,
Culture=neutral, PublicKeyToken=89845dcd8080cc91 . Error code = 0x80070002
While they are the same error, it appears twice right after a reboot.
Any ideas? Is this a problem?
jim
Jim,
I am getting the same error and was wondering if you had any luck with
finding an answer or explaination to what this is?
Thanks -
Fred W.
"Jim H" wrote:

> I get the following errors in my application event log on each reboot after
> installing SQL Server 2005 developer edition.
> ..NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Failed
> to compile: Microsoft.ReportingServices.QueryDesigners, Version=9.0.242.0,
> Culture=neutral, PublicKeyToken=89845dcd8080cc91 . Error code = 0x80070002
> and
> ..NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Failed
> to compile: Microsoft.ReportingServices.QueryDesigners, Version=9.0.242.0,
> Culture=neutral, PublicKeyToken=89845dcd8080cc91 . Error code = 0x80070002
> While they are the same error, it appears twice right after a reboot.
>
> Any ideas? Is this a problem?
> jim
>
>
|||Nope, still waiting.
jim
"Memic" <Memic@.discussions.microsoft.com> wrote in message
news:ED2A87FE-C42D-48DA-8101-358EB483F430@.microsoft.com...[vbcol=seagreen]
> Jim,
> I am getting the same error and was wondering if you had any luck with
> finding an answer or explaination to what this is?
> Thanks -
> Fred W.
> "Jim H" wrote:

Event log error after SQL 2005 developer install

I get the following errors in my application event log on each reboot after
installing SQL Server 2005 developer edition.
.NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Failed
to compile: Microsoft.ReportingServices.QueryDesigners, Version=9.0.242.0,
Culture=neutral, PublicKeyToken=89845dcd8080cc91 . Error code = 0x80070002
and
.NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Failed
to compile: Microsoft.ReportingServices.QueryDesigners, Version=9.0.242.0,
Culture=neutral, PublicKeyToken=89845dcd8080cc91 . Error code = 0x80070002
While they are the same error, it appears twice right after a reboot.
Any ideas? Is this a problem?
jimJim,
I am getting the same error and was wondering if you had any luck with
finding an answer or explaination to what this is?
Thanks -
Fred W.
"Jim H" wrote:
> I get the following errors in my application event log on each reboot after
> installing SQL Server 2005 developer edition.
> ..NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Failed
> to compile: Microsoft.ReportingServices.QueryDesigners, Version=9.0.242.0,
> Culture=neutral, PublicKeyToken=89845dcd8080cc91 . Error code = 0x80070002
> and
> ..NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Failed
> to compile: Microsoft.ReportingServices.QueryDesigners, Version=9.0.242.0,
> Culture=neutral, PublicKeyToken=89845dcd8080cc91 . Error code = 0x80070002
> While they are the same error, it appears twice right after a reboot.
>
> Any ideas? Is this a problem?
> jim
>
>|||Nope, still waiting.
jim
"Memic" <Memic@.discussions.microsoft.com> wrote in message
news:ED2A87FE-C42D-48DA-8101-358EB483F430@.microsoft.com...
> Jim,
> I am getting the same error and was wondering if you had any luck with
> finding an answer or explaination to what this is?
> Thanks -
> Fred W.
> "Jim H" wrote:
>> I get the following errors in my application event log on each reboot
>> after
>> installing SQL Server 2005 developer edition.
>> ..NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) -
>> Failed
>> to compile: Microsoft.ReportingServices.QueryDesigners,
>> Version=9.0.242.0,
>> Culture=neutral, PublicKeyToken=89845dcd8080cc91 . Error code =>> 0x80070002
>> and
>> ..NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) -
>> Failed
>> to compile: Microsoft.ReportingServices.QueryDesigners,
>> Version=9.0.242.0,
>> Culture=neutral, PublicKeyToken=89845dcd8080cc91 . Error code =>> 0x80070002
>> While they are the same error, it appears twice right after a reboot.
>>
>> Any ideas? Is this a problem?
>> jim
>>

Event log error after SQL 2005 developer install

I get the following errors in my application event log on each reboot after
installing SQL Server 2005 developer edition.
.NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Failed
to compile: Microsoft.ReportingServices.QueryDesigners, Version=9.0.242.0,
Culture=neutral, PublicKeyToken=89845dcd8080cc91 . Error code = 0x80070002
and
.NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Failed
to compile: Microsoft.ReportingServices.QueryDesigners, Version=9.0.242.0,
Culture=neutral, PublicKeyToken=89845dcd8080cc91 . Error code = 0x80070002
While they are the same error, it appears twice right after a reboot.
Any ideas? Is this a problem?
jimJim,
I am getting the same error and was wondering if you had any luck with
finding an answer or explaination to what this is?
Thanks -
Fred W.
"Jim H" wrote:

> I get the following errors in my application event log on each reboot afte
r
> installing SQL Server 2005 developer edition.
> ..NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Fail
ed
> to compile: Microsoft.ReportingServices.QueryDesigners, Version=9.0.242.0,
> Culture=neutral, PublicKeyToken=89845dcd8080cc91 . Error code = 0x80070002
> and
> ..NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Fail
ed
> to compile: Microsoft.ReportingServices.QueryDesigners, Version=9.0.242.0,
> Culture=neutral, PublicKeyToken=89845dcd8080cc91 . Error code = 0x80070002
> While they are the same error, it appears twice right after a reboot.
>
> Any ideas? Is this a problem?
> jim
>
>|||Nope, still waiting.
jim
"Memic" <Memic@.discussions.microsoft.com> wrote in message
news:ED2A87FE-C42D-48DA-8101-358EB483F430@.microsoft.com...[vbcol=seagreen]
> Jim,
> I am getting the same error and was wondering if you had any luck with
> finding an answer or explaination to what this is?
> Thanks -
> Fred W.
> "Jim H" wrote:
>

Event log entries - what do they mean?

I am new to SQL Server so any help would be greatly appreciated!
I have checked our event viewer, and the following are listed as information entries. I would like to know why they are appearing and what can I do to prevent them from displaying?

8128 Using sqlmap70.dll version 2000.80.534 to execute extended stored procedures xp_findnextmsg

15457 Serverity 0 state 1
Configuration option nested triggers changed from 0 to 1. Run teh RECONFIGURE statement to install

8128 Using xpstai.dll version 2000.80.534 to execute extend stored procedure xp_instances_regread

8128 Using xpslqbot.dll version 2000.80.194 to execute extended stored procedures xp_qvThese entries merely reflect activity that is occurring on the server. I don't think
there's any way to suppress them.

"8128 Using sqlmap70.dll version 2000.80.534 to execute extended stored procedures
xp_findnextmsg" These types of messages occur the first time an extended stored
procedure (xp) is executed. The xp could be called explicitly by a user, or it could
be the result of an internal process such as SQLDiag.

"15457 Serverity 0 state 1 Configuration option nested triggers changed from 0 to 1.
Run teh RECONFIGURE statement to install" This message means someone either ran
sp_configure or used SEM's server properties tab to change the settings for the
listed configuration value. BOL has information on sp_configure.

Cindy Gross, MCDBA, MCSE
http://cindygross.tripod.com (http://cindygross.tripod.com/) This posting
is provided "AS IS" with no warranties, and confers no rights.

Friday, February 24, 2012

Event ID:19011

Since applying MS04-011 - several machines (windows 2000 SP3) running
SQL Server 2000 get the following error on boot up.
Any way around this ?
Event Type: Error
Event Source: MSSQLServer
Event Category: (8)
Event ID: 19011
Date: 6/12/2004
Time: 19:40:54
User: N/A
Computer: DEV
Description:
SuperSocket info: Failed to get Exclusive port use(MSAFD Tcpip [TCP/IP])
: Error 10013.Hi,
Here is a link that may help:
http://support.microsoft.com/default.aspx?scid=kb;en-
us;830215&Product=sql
hth
DeeJay
>--Original Message--
>Since applying MS04-011 - several machines (windows 2000
SP3) running
>SQL Server 2000 get the following error on boot up.
>Any way around this ?
>Event Type: Error
>Event Source: MSSQLServer
>Event Category: (8)
>Event ID: 19011
>Date: 6/12/2004
>Time: 19:40:54
>User: N/A
>Computer: DEV
>Description:
>SuperSocket info: Failed to get Exclusive port use(MSAFD
Tcpip [TCP/IP])
>: Error 10013.
>.
>|||Thanks - I tried that - the SQL Server account was added to the local
admin group - same error
In article <1d03501c45308$001b2800$a001280a@.phx.gbl>,
deejaypuar@.yahoo.com says...
> http://support.microsoft.com/default.aspx?scid=kb;en-
> us;830215&Product=sql

Event ID: 17806 - Attack on SQL Server

Hi,
I see the following event error : failure attempt to access my SQL Server by
some hacker.
Source: MS SQL Server
Event ID: 17806
SSPI handshake failed with error code 0x8009030c while establishing a
connection with integrated security; the connection has been closed.
What preventive measures i can take ?
Please help.
Message posted via droptable.com
http://www.droptable.com/Uwe/Forum...server/200707/1What make you think this is a hacker?
Is youre db connected with iis on the internet?
Most companies get more then 10.000 hack attemps a day ;)
Just make sure you got the latest security updates --run security baseline
analyser on youre pc to scan for leaks.
If somebody is doing a attack(SQL injection) you should see multiple login
failed messages attempts in youre logs.
Cheers

Event ID: 17806 - Attack on SQL Server

Hi,
I see the following event error : failure attempt to access my SQL Server by
some hacker.
Source: MS SQL Server
Event ID: 17806
SSPI handshake failed with error code 0x8009030c while establishing a
connection with integrated security; the connection has been closed.
What preventive measures i can take ?
Please help.
Message posted via droptable.com
http://www.droptable.com/Uwe/Forums.aspx/sql-server/200707/1
What make you think this is a hacker?
Is youre db connected with iis on the internet?
Most companies get more then 10.000 hack attemps a day ;)
Just make sure you got the latest security updates --run security baseline
analyser on youre pc to scan for leaks.
If somebody is doing a attack(SQL injection) you should see multiple login
failed messages attempts in youre logs.
Cheers

Event ID: 17806 - Attack on SQL Server

Hi,
I see the following event error : failure attempt to access my SQL Server by
some hacker.
Source: MS SQL Server
Event ID: 17806
SSPI handshake failed with error code 0x8009030c while establishing a
connection with integrated security; the connection has been closed.
What preventive measures i can take ?
Please help.
--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server/200707/1What make you think this is a hacker?
Is youre db connected with iis on the internet?
Most companies get more then 10.000 hack attemps a day ;)
Just make sure you got the latest security updates --run security baseline
analyser on youre pc to scan for leaks.
If somebody is doing a attack(SQL injection) you should see multiple login
failed messages attempts in youre logs.
Cheers