I've managed to do this once, but all I get now is a generic message:

An error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact that
under the default settings SQL Server does not allow remote connections.
(provider: Named Pipes Provider, error: 40 - Could not open a connection to
SQL Server)


Any help is greatly appreciated.
Thanks,
Adam

Re: Anyone know how to rename CRM 4.0 Database Server? by Darren

Darren
Tue Jul 22 09:08:43 CDT 2008

Hi Adam,

Did you start the SQL agent?

Darren

On Jul 21, 10:08=A0am, AdamEdmonds
<AdamEdmo...@discussions.microsoft.com> wrote:
> I've managed to do this once, but all I get now is a generic message:
>
> An error has occurred while establishing a connection to the server. =A0W=
hen
> connecting to SQL Server 2005, this failure may be caused by the fact tha=
t
> under the default settings SQL Server does not allow remote connections.
> (provider: Named Pipes Provider, error: 40 - Could not open a connection =
to
> SQL Server)
>
> Any help is greatly appreciated. =A0
> Thanks,
> Adam


Re: Anyone know how to rename CRM 4.0 Database Server? by AdamEdmonds

AdamEdmonds
Tue Jul 22 09:24:01 CDT 2008

Yes, and I did a Repair on the CRM Server, which (I'm assuming) should have
fixed any permissions issues. I'm able to connect to the databases (using
the connection strings in the CRM server's registry) via Visual Studio. One
string uses a SQLOLEDB object and 2 use SQLConnections. All connected fine,
but still no luck on the CRM Server.

Thanks,
Adam

"Darren Liu" wrote:

> Hi Adam,
>
> Did you start the SQL agent?
>
> Darren
>
> On Jul 21, 10:08 am, AdamEdmonds
> <AdamEdmo...@discussions.microsoft.com> wrote:
> > I've managed to do this once, but all I get now is a generic message:
> >
> > An error has occurred while establishing a connection to the server. When
> > connecting to SQL Server 2005, this failure may be caused by the fact that
> > under the default settings SQL Server does not allow remote connections.
> > (provider: Named Pipes Provider, error: 40 - Could not open a connection to
> > SQL Server)
> >
> > Any help is greatly appreciated.
> > Thanks,
> > Adam
>
>

RE: Anyone know how to rename CRM 4.0 Database Server? by Matt

Matt
Wed Jul 23 14:29:08 CDT 2008

Adam-

I blogged this not too long ago. I hope this helps:

http://www.iccohio.com/blogs/mrichardson/archive/2008/07/17/changing-sql-server-name-for-dynamics-crm-4-0.aspx

Regards,
Matt

"AdamEdmonds" wrote:

> I've managed to do this once, but all I get now is a generic message:
>
> An error has occurred while establishing a connection to the server. When
> connecting to SQL Server 2005, this failure may be caused by the fact that
> under the default settings SQL Server does not allow remote connections.
> (provider: Named Pipes Provider, error: 40 - Could not open a connection to
> SQL Server)
>
>
> Any help is greatly appreciated.
> Thanks,
> Adam

Re: Anyone know how to rename CRM 4.0 Database Server? by MattRichardson

MattRichardson
Wed Jul 23 14:45:03 CDT 2008

Adam-

I need to update my blog, but I combed through the database, and changed
everything that mentioned my old server name. There is a GUID in there
somewhere that needs to be reset. The Configuration Manager is the tool that
can do it.

Another thing I ran into, that I wouldn't have if I the rename process steps
were followed, was that when I ran a:

select * from sys.servers

It brought back two instances. I had to delete them both, and create just
Instance 0 as the server name, and then it worked.

Sorry for the two separate posts.

Regards,
-Matt

"AdamEdmonds" wrote:

> Yes, and I did a Repair on the CRM Server, which (I'm assuming) should have
> fixed any permissions issues. I'm able to connect to the databases (using
> the connection strings in the CRM server's registry) via Visual Studio. One
> string uses a SQLOLEDB object and 2 use SQLConnections. All connected fine,
> but still no luck on the CRM Server.
>
> Thanks,
> Adam
>
> "Darren Liu" wrote:
>
> > Hi Adam,
> >
> > Did you start the SQL agent?
> >
> > Darren
> >
> > On Jul 21, 10:08 am, AdamEdmonds
> > <AdamEdmo...@discussions.microsoft.com> wrote:
> > > I've managed to do this once, but all I get now is a generic message:
> > >
> > > An error has occurred while establishing a connection to the server. When
> > > connecting to SQL Server 2005, this failure may be caused by the fact that
> > > under the default settings SQL Server does not allow remote connections.
> > > (provider: Named Pipes Provider, error: 40 - Could not open a connection to
> > > SQL Server)
> > >
> > > Any help is greatly appreciated.
> > > Thanks,
> > > Adam
> >
> >

RE: Anyone know how to rename CRM 4.0 Database Server? by AdamEdmonds

AdamEdmonds
Wed Jul 23 15:04:01 CDT 2008

Thank you Matt. Exellent work. One thing, though. I'm still having
problems with my sql reports. The seem to be looking for the Adventure Works
datasource, even though they were working with my organization before I
started the rename. Did you run into anyting like this.

Once again, thank you.

Adam

"Matt Richardson" wrote:

> Adam-
>
> I blogged this not too long ago. I hope this helps:
>
> http://www.iccohio.com/blogs/mrichardson/archive/2008/07/17/changing-sql-server-name-for-dynamics-crm-4-0.aspx
>
> Regards,
> Matt
>
> "AdamEdmonds" wrote:
>
> > I've managed to do this once, but all I get now is a generic message:
> >
> > An error has occurred while establishing a connection to the server. When
> > connecting to SQL Server 2005, this failure may be caused by the fact that
> > under the default settings SQL Server does not allow remote connections.
> > (provider: Named Pipes Provider, error: 40 - Could not open a connection to
> > SQL Server)
> >
> >
> > Any help is greatly appreciated.
> > Thanks,
> > Adam

RE: Anyone know how to rename CRM 4.0 Database Server? by MattRichardson

MattRichardson
Wed Jul 23 15:23:01 CDT 2008

Hi Adam-

I am giong to assume you followed the steps in my blog for reporting
services and renamed the destination server in the "Database Setup" section
of Reporting Services Configuration Wizard.

Other things I did were to apply the default settings on the Report Server
Virtual Directory section and the Report Manager Virtual Directory section.

Another thing I would do is verify that your Reporting Services is looking
in the right place. Do you have multiple instances on your SQL Server?
Check the Initialization tab to make sure Reporting Services is
connected/looking in the right place.

I've never had anything other than a clean installation of Reporting
Services (simulaneously with SQL) go smoothly :-/

Regards,
Matt


"AdamEdmonds" wrote:

> Thank you Matt. Exellent work. One thing, though. I'm still having
> problems with my sql reports. The seem to be looking for the Adventure Works
> datasource, even though they were working with my organization before I
> started the rename. Did you run into anyting like this.
>
> Once again, thank you.
>
> Adam
>
> "Matt Richardson" wrote:
>
> > Adam-
> >
> > I blogged this not too long ago. I hope this helps:
> >
> > http://www.iccohio.com/blogs/mrichardson/archive/2008/07/17/changing-sql-server-name-for-dynamics-crm-4-0.aspx
> >
> > Regards,
> > Matt
> >
> > "AdamEdmonds" wrote:
> >
> > > I've managed to do this once, but all I get now is a generic message:
> > >
> > > An error has occurred while establishing a connection to the server. When
> > > connecting to SQL Server 2005, this failure may be caused by the fact that
> > > under the default settings SQL Server does not allow remote connections.
> > > (provider: Named Pipes Provider, error: 40 - Could not open a connection to
> > > SQL Server)
> > >
> > >
> > > Any help is greatly appreciated.
> > > Thanks,
> > > Adam

RE: Anyone know how to rename CRM 4.0 Database Server? by AdamEdmonds

AdamEdmonds
Thu Jul 24 09:40:16 CDT 2008

Matt, the report issue finally got resolved thanks to Aamir Bashir. Here is
a link to the post if you are interested.
http://www.microsoft.com/Businesssolutions/Community/Newsgroups/dgbrowser/en-us/default.mspx?dg=microsoft.public.crm.deployment&mid=17c572b4-1a3d-4115-84c1-cf2df1b7b9c7&sloc=en-us

Also, I want to thank you for your help in renaming the server.

"Matt Richardson" wrote:

> Hi Adam-
>
> I am giong to assume you followed the steps in my blog for reporting
> services and renamed the destination server in the "Database Setup" section
> of Reporting Services Configuration Wizard.
>
> Other things I did were to apply the default settings on the Report Server
> Virtual Directory section and the Report Manager Virtual Directory section.
>
> Another thing I would do is verify that your Reporting Services is looking
> in the right place. Do you have multiple instances on your SQL Server?
> Check the Initialization tab to make sure Reporting Services is
> connected/looking in the right place.
>
> I've never had anything other than a clean installation of Reporting
> Services (simulaneously with SQL) go smoothly :-/
>
> Regards,
> Matt
>
>
> "AdamEdmonds" wrote:
>
> > Thank you Matt. Exellent work. One thing, though. I'm still having
> > problems with my sql reports. The seem to be looking for the Adventure Works
> > datasource, even though they were working with my organization before I
> > started the rename. Did you run into anyting like this.
> >
> > Once again, thank you.
> >
> > Adam
> >
> > "Matt Richardson" wrote:
> >
> > > Adam-
> > >
> > > I blogged this not too long ago. I hope this helps:
> > >
> > > http://www.iccohio.com/blogs/mrichardson/archive/2008/07/17/changing-sql-server-name-for-dynamics-crm-4-0.aspx
> > >
> > > Regards,
> > > Matt
> > >
> > > "AdamEdmonds" wrote:
> > >
> > > > I've managed to do this once, but all I get now is a generic message:
> > > >
> > > > An error has occurred while establishing a connection to the server. When
> > > > connecting to SQL Server 2005, this failure may be caused by the fact that
> > > > under the default settings SQL Server does not allow remote connections.
> > > > (provider: Named Pipes Provider, error: 40 - Could not open a connection to
> > > > SQL Server)
> > > >
> > > >
> > > > Any help is greatly appreciated.
> > > > Thanks,
> > > > Adam