Showing posts with label plan. Show all posts
Showing posts with label plan. Show all posts

Wednesday, March 28, 2012

More info

In the the Log File Viewer, I select Maintenace Plan and there I see to rows
marked with a green icon and a + sign to the left... I clicked on the + to
reveal what's under the row.. then it revealed a row with an red stop icon
to the left...
On one of the rows with red stop icon, I read this error message:
Could not generate mail report.An exception occurred while executing a
Transact-SQL statement or batch.No global profile is configured. Specify a
profile name in the @.profile_name parameter.
any suggestions?Hi Jeff
It looks like it is having problems sending the email notification. Try
changing the maintenance plan to remove these. There is probably a notify
operator task that needs to be re-configured. Also check that you can send
test emails for database mail and SQL Agent mail configuration (in the
properties)
John
"Jeff" wrote:

> In the the Log File Viewer, I select Maintenace Plan and there I see to ro
ws
> marked with a green icon and a + sign to the left... I clicked on the + to
> reveal what's under the row.. then it revealed a row with an red stop icon
> to the left...
> On one of the rows with red stop icon, I read this error message:
> Could not generate mail report.An exception occurred while executing a
> Transact-SQL statement or batch.No global profile is configured. Specify a
> profile name in the @.profile_name parameter.
> any suggestions?
>
>|||I modifyed the Maintenance Plan -> selected the Maintenance plan I selected
"Modify". then I opened the "Reporting and Logging" window and unchecked
"Send report to an email recipient". Maybe the error was here... the agent
operator set as recipient was an domain account which not exist anymore
It's a long time since this domain account was removed - strange if caused
problem for sqlserver now
I saved my modifications to the maintenance plan...
How do I manually test if this actually solved the problem'
Best Regards
Jeff|||Hi Jeff
It may be that the account had been disabled but the mailbox remained until
more recently!!
At least everything works now!
John
"Jeff" wrote:

> I modifyed the Maintenance Plan -> selected the Maintenance plan I selecte
d
> "Modify". then I opened the "Reporting and Logging" window and unchecked
> "Send report to an email recipient". Maybe the error was here... the agent
> operator set as recipient was an domain account which not exist anymore
> It's a long time since this domain account was removed - strange if caused
> problem for sqlserver now
> I saved my modifications to the maintenance plan...
> How do I manually test if this actually solved the problem'
> Best Regards
> Jeff
>
>|||Right click on the maintanence plan and select Execute from the popup menu
and View History for that plan (by right clicking on it again...)
Ekrem nsoy
"Jeff" <donot@.spam.me> wrote in message
news:eDsSQBLQIHA.4584@.TK2MSFTNGP03.phx.gbl...
>I modifyed the Maintenance Plan -> selected the Maintenance plan I selected
>"Modify". then I opened the "Reporting and Logging" window and unchecked
>"Send report to an email recipient". Maybe the error was here... the agent
>operator set as recipient was an domain account which not exist anymore
> It's a long time since this domain account was removed - strange if caused
> problem for sqlserver now
> I saved my modifications to the maintenance plan...
> How do I manually test if this actually solved the problem'
> Best Regards
> Jeff
>

Monday, March 26, 2012

More details

I plan to upgrade my server to SQL 2005. It is a rather old machine, but still ok with the recommended hardware requirements.

It runs Windows 2000 (SBS) server, which is also a PDC, DHCP, DNS, Exchange server (I stop here but the list is long), with SQL Server 2000 Standard Edition (one single named instance). Everything localized (Italian).

I upgraded the database in a development machine and it works perfectly.

I installed SQL 2005 Standard Edition (English locale) on the server (default instance, MSSQLSERVER), and I have run in a lot of troubles.

The problem seems to reside in the TCPIP network protocols. If I enable TCPIP in the 2005 Server Configuration Manager, the new instance (MSSQLSERVER) does not start (this prevented me from upgrading to SP1 until I realized the cause, disabled TCPIP protocol and was finally able to update).

If I understand correctly, the problem is that both instances, the old 2000 one and the new one, try to listen to 1433 port. I changed manually the port to 1434 in the Server Configuration Manager. The result is that both SQL servers work, but none is working ok. I have several applications accessing the server. The asp application works. The .NET aspx one doesn't.

A tipical error I get is:

Codice evento: 3005
Messaggio evento: Eccezione non gestita. (Unhandled exception)
Ora evento: 04/05/2006 13.42.26
Ora evento (UTC): 04/05/2006 11.42.26
ID evento: 7c2749235b7d4c578591871217f74046
Sequenza evento: 175
Occorrenza evento: 24
Codice dettagli evento: 0
Informazioni applicazione:

Dominio applicazione: /LM/W3SVC/1/Root/intranet-1-127912101551093750
Livello di attendibilità: Full
Percorso virtuale applicazione: /intranet
Percorso applicazione: F:\Inetpub\wwwroot\intranet\
Nome computer: IQ
Informazioni processo:
ID processo: 684
Nome processo: aspnet_wp.exe
Nome account: mycompany\IWAM_IQ
Informazioni eccezione:
Tipo di eccezione: SqlException
Messaggio eccezione: Login failed for user 'mycompany\stefania'.
Informazioni richiesta:
URL richiesta: http://intranet/intranet/articoli/venditeProd.aspx?Codice=SOL T1
Percorso richiesta: /intranet/articoli/venditeProd.aspx
Indirizzo host utente: 10.0.0.127
Utente: mycompany\stefania
Autenticazione: True
Tipo di autenticazione: NTLM
Nome account thread: mycompany\IWAM_IQ
Informazioni thread:
ID thread: 1
Nome account thread: mycompany\IWAM_IQ
Rappresentazione: True
Analisi dello stack: in System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
in System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
in System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
in System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
in System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
in System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
in System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
in System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
in System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
in System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
in System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
in System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
in System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
in System.Data.SqlClient.SqlConnection.Open()
in intranet.Global.Session_Start(Object sender, EventArgs e)
in System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e)
in System.Web.SessionState.SessionStateModule.CompleteAcquireState()
in System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
in System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
in System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

I also tried to use named pipes on the 2005, but I was unable to access the SQL 2005 server instance from a network computer running the Management Studio. I need to have the new SQL server working besides the old one, for a short period, to evaluate in the production environment if the legacy hardware is actually ok to support it. Any ideas?

You should probably try a different group than Setup & Upgrade. Looks like your upgrade went through fine but now have connectivity issues.|||

Actually this IS a "setup" issue, of course tied to a connectivity problem. I could not find a more appropriate "SQL connectivity" forum anyway.

I even run in installation issues, and maybe someone at MS is interested to know: the setup routine installed the SQL 2005 server engine, but was unable to install the reporting services because it was unable to run the engine (it turned on TCPIP listening on port 1433 by default, which collided with the old 2000 instance).

I did some more research yesterday. Things are really strange. I installed the SQL Server Management Studio Express also locally on the server (I didn't originally install the management tools with the 2005 installation, because I counted on administering from the network). If I turn on either named pipes or TCPIP on the new 2005 instance (which is the default instance), the mess begins as I described above. Some applications work, correctly connecting to the 2000 named instance (namely the old ASP application). Some other not (namely the new ASPX application, which probably tries to connect to the new 2005 instance, and reports the impossibility to authenticate, because the user login is not registered in that instance).

The funny thing is that if I run the Management Studio Express, I can connect to both the default instance (which is supposed to be 2005) and the named instance. But actually both connections point to the old instance (with the old db's, and a 8.0.2039 server version string). And the Management Studio shouldn't even use named pipes or TCPIP, but instead should use shared memory to connect to local db's!

If I turn off the TCPIP or named pipes protocols for the 2005 instance, everything works ok, and I correctly connect to both instances in Management Studio (but I cannot connect from the network!).

|||

Well, after more trying, here is what I found.

I disabled shared memory in both Network Configuration and Native Client on the server, using the SQL Server Configuration Manager. I enabled just TCPIP on port 1434. I started the 2005 instance. It starts ok, no problem with any application.

But I cannot see the 2005 instance, no way. The SQL Sever Management Studio (in both the server or a network client computer) seem to connect to both the default instance (2005) and the named instance (2000). But they actually connect to the same instance (the 2000 one).

At this point I think the problem arises installing a new 2005 default instance when there is a 2000 named instance. I must say in that server I previously had a 2000 default instance, which was uninstalled long time ago. Maybe that has left traces that now are messing up the configuration and confuse the SQL browser?

I could probably try installing a new 2005 named instance to see if this leads to anything. But I will instead migrate the databases to the 2005, assuming everything will work. I will do that through backup, shut down the 2000 for good, and restore in 2005 hoping there will be no necessity of turning back!

Wednesday, March 7, 2012

Monitor server

I plan to create a Monitor server to monitor tasks. My goal is to avoid
using the data servers (5 servers) to perform tasks.
Some of the tasks are log shipping, generate reports, run batch file and add
users.
What is some to the drawback of using the Monitor Server?
Can Monitor Server managing users from other servers?
Any suggestions would be greatly apprecated,
Culam
"culam" <culam@.discussions.microsoft.com> wrote in message
news:D1A477E7-B9BB-4558-A8C2-A4F04D377832@.microsoft.com...
> I plan to create a Monitor server to monitor tasks. My goal is to avoid
> using the data servers (5 servers) to perform tasks.
> Some of the tasks are log shipping, generate reports, run batch file and
add
> users.
> What is some to the drawback of using the Monitor Server?
> Can Monitor Server managing users from other servers?
> Any suggestions would be greatly apprecated,
> Culam
>
|||It is better to have a monitor server which is independent of the production
servers it is monitoring...That's good.
There is no Microsoft single interface which will allow you to add users to
multiple servers, if that is what you are asking for... You could write your
own sp or interface, but I think there are probably some 3rd party tools
which may do this for you... ( Embarcadero used to have a tool for DBAs
which did this kind of thing.)
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"culam" <culam@.discussions.microsoft.com> wrote in message
news:D1A477E7-B9BB-4558-A8C2-A4F04D377832@.microsoft.com...
> I plan to create a Monitor server to monitor tasks. My goal is to avoid
> using the data servers (5 servers) to perform tasks.
> Some of the tasks are log shipping, generate reports, run batch file and
add
> users.
> What is some to the drawback of using the Monitor Server?
> Can Monitor Server managing users from other servers?
> Any suggestions would be greatly apprecated,
> Culam
>

Monitor server

I plan to create a Monitor server to monitor tasks. My goal is to avoid
using the data servers (5 servers) to perform tasks.
Some of the tasks are log shipping, generate reports, run batch file and add
users.
What is some to the drawback of using the Monitor Server?
Can Monitor Server managing users from other servers?
Any suggestions would be greatly apprecated,
Culam"culam" <culam@.discussions.microsoft.com> wrote in message
news:D1A477E7-B9BB-4558-A8C2-A4F04D377832@.microsoft.com...
> I plan to create a Monitor server to monitor tasks. My goal is to avoid
> using the data servers (5 servers) to perform tasks.
> Some of the tasks are log shipping, generate reports, run batch file and
add
> users.
> What is some to the drawback of using the Monitor Server?
> Can Monitor Server managing users from other servers?
> Any suggestions would be greatly apprecated,
> Culam
>|||It is better to have a monitor server which is independent of the production
servers it is monitoring...That's good.
There is no Microsoft single interface which will allow you to add users to
multiple servers, if that is what you are asking for... You could write your
own sp or interface, but I think there are probably some 3rd party tools
which may do this for you... ( Embarcadero used to have a tool for DBAs
which did this kind of thing.)
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"culam" <culam@.discussions.microsoft.com> wrote in message
news:D1A477E7-B9BB-4558-A8C2-A4F04D377832@.microsoft.com...
> I plan to create a Monitor server to monitor tasks. My goal is to avoid
> using the data servers (5 servers) to perform tasks.
> Some of the tasks are log shipping, generate reports, run batch file and
add
> users.
> What is some to the drawback of using the Monitor Server?
> Can Monitor Server managing users from other servers?
> Any suggestions would be greatly apprecated,
> Culam
>

Monitor server

I plan to create a Monitor server to monitor tasks. My goal is to avoid
using the data servers (5 servers) to perform tasks.
Some of the tasks are log shipping, generate reports, run batch file and add
users.
What is some to the drawback of using the Monitor Server?
Can Monitor Server managing users from other servers?
Any suggestions would be greatly apprecated,
Culam"culam" <culam@.discussions.microsoft.com> wrote in message
news:D1A477E7-B9BB-4558-A8C2-A4F04D377832@.microsoft.com...
> I plan to create a Monitor server to monitor tasks. My goal is to avoid
> using the data servers (5 servers) to perform tasks.
> Some of the tasks are log shipping, generate reports, run batch file and
add
> users.
> What is some to the drawback of using the Monitor Server?
> Can Monitor Server managing users from other servers?
> Any suggestions would be greatly apprecated,
> Culam
>|||It is better to have a monitor server which is independent of the production
servers it is monitoring...That's good.
There is no Microsoft single interface which will allow you to add users to
multiple servers, if that is what you are asking for... You could write your
own sp or interface, but I think there are probably some 3rd party tools
which may do this for you... ( Embarcadero used to have a tool for DBAs
which did this kind of thing.)
--
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"culam" <culam@.discussions.microsoft.com> wrote in message
news:D1A477E7-B9BB-4558-A8C2-A4F04D377832@.microsoft.com...
> I plan to create a Monitor server to monitor tasks. My goal is to avoid
> using the data servers (5 servers) to perform tasks.
> Some of the tasks are log shipping, generate reports, run batch file and
add
> users.
> What is some to the drawback of using the Monitor Server?
> Can Monitor Server managing users from other servers?
> Any suggestions would be greatly apprecated,
> Culam
>