Our software is going through some changes, in the next 6 months the database
structure will have changed. I have written reports against the current
structure, is there any "easier" way to update reports other than going in
and giving an alias for the "new field name's"? I attempted this with the
most simplistic report we have and even though the change to the query was
just an alias it required me to change each field manually.
Is there an easier way? Maybe edit the rdl direct?
Thanks for any help.You could create a view which has the old names. Then edit the RDL to use
that instead of the current table name.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"DigitalVixen" <DigitalVixen@.discussions.microsoft.com> wrote in message
news:358965CE-B1EA-44E0-92BB-753631D9105B@.microsoft.com...
> Our software is going through some changes, in the next 6 months the
> database
> structure will have changed. I have written reports against the current
> structure, is there any "easier" way to update reports other than going in
> and giving an alias for the "new field name's"? I attempted this with the
> most simplistic report we have and even though the change to the query was
> just an alias it required me to change each field manually.
> Is there an easier way? Maybe edit the rdl direct?
> Thanks for any help.|||Thanks for the quick reply ;) Will this take care of the stored procedures
as well as tables?
"Bruce L-C [MVP]" wrote:
> You could create a view which has the old names. Then edit the RDL to use
> that instead of the current table name.
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "DigitalVixen" <DigitalVixen@.discussions.microsoft.com> wrote in message
> news:358965CE-B1EA-44E0-92BB-753631D9105B@.microsoft.com...
> > Our software is going through some changes, in the next 6 months the
> > database
> > structure will have changed. I have written reports against the current
> > structure, is there any "easier" way to update reports other than going in
> > and giving an alias for the "new field name's"? I attempted this with the
> > most simplistic report we have and even though the change to the query was
> > just an alias it required me to change each field manually.
> >
> > Is there an easier way? Maybe edit the rdl direct?
> >
> > Thanks for any help.
>
>|||If you are using stored procedures then this is easier. Either you modify
the stored procedure to alias the fields in which case you don't need to
have a view or you create a view that does the aliasing and then modify the
stored procedure. Either way, if the change is in the stored procedure you
don't have to make any change to the report.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"DigitalVixen" <DigitalVixen@.discussions.microsoft.com> wrote in message
news:31CA7232-F5DA-494B-A908-44ACA4C2BC76@.microsoft.com...
> Thanks for the quick reply ;) Will this take care of the stored
> procedures
> as well as tables?
> "Bruce L-C [MVP]" wrote:
>> You could create a view which has the old names. Then edit the RDL to use
>> that instead of the current table name.
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>> "DigitalVixen" <DigitalVixen@.discussions.microsoft.com> wrote in message
>> news:358965CE-B1EA-44E0-92BB-753631D9105B@.microsoft.com...
>> > Our software is going through some changes, in the next 6 months the
>> > database
>> > structure will have changed. I have written reports against the
>> > current
>> > structure, is there any "easier" way to update reports other than going
>> > in
>> > and giving an alias for the "new field name's"? I attempted this with
>> > the
>> > most simplistic report we have and even though the change to the query
>> > was
>> > just an alias it required me to change each field manually.
>> >
>> > Is there an easier way? Maybe edit the rdl direct?
>> >
>> > Thanks for any help.
>>
Showing posts with label software. Show all posts
Showing posts with label software. Show all posts
Thursday, March 22, 2012
Wednesday, March 21, 2012
DB Schema / Architecture software assessment tools?
Hello all,
I have been asked to research the tools available for reporting database
schema / links within SQL 2000.
I need a tool which will go through objects and also stored procedures /
queries and report all references / links. The idea being to end up with a
complete list of items in a db and what is effected by each.
Has anyone used such a tool or perhaps knows of one they could recommend I
look into?
All help is greatly appreciated, Simon.
Not so sure about the dependencies but you might want to check out these:
http://www.imceda.com/Change_Management.htm
www.red-gate.com
http://www.innovartis.co.uk/home.aspx
Andrew J. Kelly SQL MVP
"Simon" <reply@.togroup.com> wrote in message
news:OjmQjCpOFHA.3280@.TK2MSFTNGP10.phx.gbl...
> Hello all,
> I have been asked to research the tools available for reporting database
> schema / links within SQL 2000.
> I need a tool which will go through objects and also stored procedures /
> queries and report all references / links. The idea being to end up with a
> complete list of items in a db and what is effected by each.
> Has anyone used such a tool or perhaps knows of one they could recommend I
> look into?
> All help is greatly appreciated, Simon.
>
>
|||thank you but these tools relate to backups, rolling out from test platform,
database design but not analysis of current schema.
Any other suggestions would be appreciated, thanks again, Simon.
"Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
news:emueAUqOFHA.3828@.TK2MSFTNGP10.phx.gbl...
> Not so sure about the dependencies but you might want to check out these:
> http://www.imceda.com/Change_Management.htm
> www.red-gate.com
> http://www.innovartis.co.uk/home.aspx
>
> --
> Andrew J. Kelly SQL MVP
>
> "Simon" <reply@.togroup.com> wrote in message
> news:OjmQjCpOFHA.3280@.TK2MSFTNGP10.phx.gbl...
>
sql
I have been asked to research the tools available for reporting database
schema / links within SQL 2000.
I need a tool which will go through objects and also stored procedures /
queries and report all references / links. The idea being to end up with a
complete list of items in a db and what is effected by each.
Has anyone used such a tool or perhaps knows of one they could recommend I
look into?
All help is greatly appreciated, Simon.
Not so sure about the dependencies but you might want to check out these:
http://www.imceda.com/Change_Management.htm
www.red-gate.com
http://www.innovartis.co.uk/home.aspx
Andrew J. Kelly SQL MVP
"Simon" <reply@.togroup.com> wrote in message
news:OjmQjCpOFHA.3280@.TK2MSFTNGP10.phx.gbl...
> Hello all,
> I have been asked to research the tools available for reporting database
> schema / links within SQL 2000.
> I need a tool which will go through objects and also stored procedures /
> queries and report all references / links. The idea being to end up with a
> complete list of items in a db and what is effected by each.
> Has anyone used such a tool or perhaps knows of one they could recommend I
> look into?
> All help is greatly appreciated, Simon.
>
>
|||thank you but these tools relate to backups, rolling out from test platform,
database design but not analysis of current schema.
Any other suggestions would be appreciated, thanks again, Simon.
"Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
news:emueAUqOFHA.3828@.TK2MSFTNGP10.phx.gbl...
> Not so sure about the dependencies but you might want to check out these:
> http://www.imceda.com/Change_Management.htm
> www.red-gate.com
> http://www.innovartis.co.uk/home.aspx
>
> --
> Andrew J. Kelly SQL MVP
>
> "Simon" <reply@.togroup.com> wrote in message
> news:OjmQjCpOFHA.3280@.TK2MSFTNGP10.phx.gbl...
>
sql
DB Schema / Architecture software assessment tools?
Hello all,
I have been asked to research the tools available for reporting database
schema / links within SQL 2000.
I need a tool which will go through objects and also stored procedures /
queries and report all references / links. The idea being to end up with a
complete list of items in a db and what is effected by each.
Has anyone used such a tool or perhaps knows of one they could recommend I
look into?
All help is greatly appreciated, Simon.Not so sure about the dependencies but you might want to check out these:
http://www.imceda.com/Change_Management.htm
www.red-gate.com
http://www.innovartis.co.uk/home.aspx
Andrew J. Kelly SQL MVP
"Simon" <reply@.togroup.com> wrote in message
news:OjmQjCpOFHA.3280@.TK2MSFTNGP10.phx.gbl...
> Hello all,
> I have been asked to research the tools available for reporting database
> schema / links within SQL 2000.
> I need a tool which will go through objects and also stored procedures /
> queries and report all references / links. The idea being to end up with a
> complete list of items in a db and what is effected by each.
> Has anyone used such a tool or perhaps knows of one they could recommend I
> look into?
> All help is greatly appreciated, Simon.
>
>|||thank you but these tools relate to backups, rolling out from test platform,
database design but not analysis of current schema.
Any other suggestions would be appreciated, thanks again, Simon.
"Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
news:emueAUqOFHA.3828@.TK2MSFTNGP10.phx.gbl...
> Not so sure about the dependencies but you might want to check out these:
> http://www.imceda.com/Change_Management.htm
> www.red-gate.com
> http://www.innovartis.co.uk/home.aspx
>
> --
> Andrew J. Kelly SQL MVP
>
> "Simon" <reply@.togroup.com> wrote in message
> news:OjmQjCpOFHA.3280@.TK2MSFTNGP10.phx.gbl...
>
I have been asked to research the tools available for reporting database
schema / links within SQL 2000.
I need a tool which will go through objects and also stored procedures /
queries and report all references / links. The idea being to end up with a
complete list of items in a db and what is effected by each.
Has anyone used such a tool or perhaps knows of one they could recommend I
look into?
All help is greatly appreciated, Simon.Not so sure about the dependencies but you might want to check out these:
http://www.imceda.com/Change_Management.htm
www.red-gate.com
http://www.innovartis.co.uk/home.aspx
Andrew J. Kelly SQL MVP
"Simon" <reply@.togroup.com> wrote in message
news:OjmQjCpOFHA.3280@.TK2MSFTNGP10.phx.gbl...
> Hello all,
> I have been asked to research the tools available for reporting database
> schema / links within SQL 2000.
> I need a tool which will go through objects and also stored procedures /
> queries and report all references / links. The idea being to end up with a
> complete list of items in a db and what is effected by each.
> Has anyone used such a tool or perhaps knows of one they could recommend I
> look into?
> All help is greatly appreciated, Simon.
>
>|||thank you but these tools relate to backups, rolling out from test platform,
database design but not analysis of current schema.
Any other suggestions would be appreciated, thanks again, Simon.
"Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
news:emueAUqOFHA.3828@.TK2MSFTNGP10.phx.gbl...
> Not so sure about the dependencies but you might want to check out these:
> http://www.imceda.com/Change_Management.htm
> www.red-gate.com
> http://www.innovartis.co.uk/home.aspx
>
> --
> Andrew J. Kelly SQL MVP
>
> "Simon" <reply@.togroup.com> wrote in message
> news:OjmQjCpOFHA.3280@.TK2MSFTNGP10.phx.gbl...
>
DB Schema / Architecture software assessment tools?
Hello all,
I have been asked to research the tools available for reporting database
schema / links within SQL 2000.
I need a tool which will go through objects and also stored procedures /
queries and report all references / links. The idea being to end up with a
complete list of items in a db and what is effected by each.
Has anyone used such a tool or perhaps knows of one they could recommend I
look into?
All help is greatly appreciated, Simon.Not so sure about the dependencies but you might want to check out these:
http://www.imceda.com/Change_Management.htm
www.red-gate.com
http://www.innovartis.co.uk/home.aspx
Andrew J. Kelly SQL MVP
"Simon" <reply@.togroup.com> wrote in message
news:OjmQjCpOFHA.3280@.TK2MSFTNGP10.phx.gbl...
> Hello all,
> I have been asked to research the tools available for reporting database
> schema / links within SQL 2000.
> I need a tool which will go through objects and also stored procedures /
> queries and report all references / links. The idea being to end up with a
> complete list of items in a db and what is effected by each.
> Has anyone used such a tool or perhaps knows of one they could recommend I
> look into?
> All help is greatly appreciated, Simon.
>
>|||thank you but these tools relate to backups, rolling out from test platform,
database design but not analysis of current schema.
Any other suggestions would be appreciated, thanks again, Simon.
"Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
news:emueAUqOFHA.3828@.TK2MSFTNGP10.phx.gbl...
> Not so sure about the dependencies but you might want to check out these:
> http://www.imceda.com/Change_Management.htm
> www.red-gate.com
> http://www.innovartis.co.uk/home.aspx
>
> --
> Andrew J. Kelly SQL MVP
>
> "Simon" <reply@.togroup.com> wrote in message
> news:OjmQjCpOFHA.3280@.TK2MSFTNGP10.phx.gbl...
>> Hello all,
>> I have been asked to research the tools available for reporting database
>> schema / links within SQL 2000.
>> I need a tool which will go through objects and also stored procedures /
>> queries and report all references / links. The idea being to end up with
>> a complete list of items in a db and what is effected by each.
>> Has anyone used such a tool or perhaps knows of one they could recommend
>> I look into?
>> All help is greatly appreciated, Simon.
>>
>
I have been asked to research the tools available for reporting database
schema / links within SQL 2000.
I need a tool which will go through objects and also stored procedures /
queries and report all references / links. The idea being to end up with a
complete list of items in a db and what is effected by each.
Has anyone used such a tool or perhaps knows of one they could recommend I
look into?
All help is greatly appreciated, Simon.Not so sure about the dependencies but you might want to check out these:
http://www.imceda.com/Change_Management.htm
www.red-gate.com
http://www.innovartis.co.uk/home.aspx
Andrew J. Kelly SQL MVP
"Simon" <reply@.togroup.com> wrote in message
news:OjmQjCpOFHA.3280@.TK2MSFTNGP10.phx.gbl...
> Hello all,
> I have been asked to research the tools available for reporting database
> schema / links within SQL 2000.
> I need a tool which will go through objects and also stored procedures /
> queries and report all references / links. The idea being to end up with a
> complete list of items in a db and what is effected by each.
> Has anyone used such a tool or perhaps knows of one they could recommend I
> look into?
> All help is greatly appreciated, Simon.
>
>|||thank you but these tools relate to backups, rolling out from test platform,
database design but not analysis of current schema.
Any other suggestions would be appreciated, thanks again, Simon.
"Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
news:emueAUqOFHA.3828@.TK2MSFTNGP10.phx.gbl...
> Not so sure about the dependencies but you might want to check out these:
> http://www.imceda.com/Change_Management.htm
> www.red-gate.com
> http://www.innovartis.co.uk/home.aspx
>
> --
> Andrew J. Kelly SQL MVP
>
> "Simon" <reply@.togroup.com> wrote in message
> news:OjmQjCpOFHA.3280@.TK2MSFTNGP10.phx.gbl...
>> Hello all,
>> I have been asked to research the tools available for reporting database
>> schema / links within SQL 2000.
>> I need a tool which will go through objects and also stored procedures /
>> queries and report all references / links. The idea being to end up with
>> a complete list of items in a db and what is effected by each.
>> Has anyone used such a tool or perhaps knows of one they could recommend
>> I look into?
>> All help is greatly appreciated, Simon.
>>
>
Monday, March 19, 2012
DB Restore
Hi all,
We are in need to perform a restore on our staging db box, and we seem to ha
ve a problem. The backup software we use does not have a DB Connector, and a
pparently the .mdf file is simply copied to tape at night! Without SQL Serve
r or the Backup software pr
eforming any detachment or backup process on the file. So we now have a .mdf
file and desperatly need to restore it to a different DB Server - is this p
ossible, or should we forget it?
TIA
AdamYou cold try sp_attach_db or sp_attach_single_file_db, it might work. It is
only documented to work if you actually detached the database (and for
_single_file_, there are more restrictions, check Books Online). I suggest
you do the backup using SQL Server's backup command and pick up the backup
file(s) to tape in the future :-).
Tibor Karaszi, SQL Server MVP
Archive at:
http://groups.google.com/groups?oi=...ublic.sqlserver
"Adam Stewart" <anonymous@.discussions.microsoft.com> wrote in message
news:76D720B7-3E5E-4900-B2AA-8C66DCF9FB7B@.microsoft.com...
> Hi all,
> We are in need to perform a restore on our staging db box, and we seem to
have a problem. The backup software we use does not have a DB Connector, and
apparently the .mdf file is simply copied to tape at night! Without SQL
Server or the Backup software preforming any detachment or backup process on
the file. So we now have a .mdf file and desperatly need to restore it to a
different DB Server - is this possible, or should we forget it?
> TIA
> Adam
We are in need to perform a restore on our staging db box, and we seem to ha
ve a problem. The backup software we use does not have a DB Connector, and a
pparently the .mdf file is simply copied to tape at night! Without SQL Serve
r or the Backup software pr
eforming any detachment or backup process on the file. So we now have a .mdf
file and desperatly need to restore it to a different DB Server - is this p
ossible, or should we forget it?
TIA
AdamYou cold try sp_attach_db or sp_attach_single_file_db, it might work. It is
only documented to work if you actually detached the database (and for
_single_file_, there are more restrictions, check Books Online). I suggest
you do the backup using SQL Server's backup command and pick up the backup
file(s) to tape in the future :-).
Tibor Karaszi, SQL Server MVP
Archive at:
http://groups.google.com/groups?oi=...ublic.sqlserver
"Adam Stewart" <anonymous@.discussions.microsoft.com> wrote in message
news:76D720B7-3E5E-4900-B2AA-8C66DCF9FB7B@.microsoft.com...
> Hi all,
> We are in need to perform a restore on our staging db box, and we seem to
have a problem. The backup software we use does not have a DB Connector, and
apparently the .mdf file is simply copied to tape at night! Without SQL
Server or the Backup software preforming any detachment or backup process on
the file. So we now have a .mdf file and desperatly need to restore it to a
different DB Server - is this possible, or should we forget it?
> TIA
> Adam
Sunday, March 11, 2012
DB read only after reattached
I am running into a problem that I need help with. The problem is
preventing me from successfully installing our software at a new
customer site. The system configuration is Windows Server 2000 SP 4
with SQL 2005 SP 1.
The problem is that when our install tries to attach the mdf and ldf
files, the process fails because the database is read-only and this
prevents the files from being upgraded from SQL 2005 (they are from a
SQL 2000 system). I have seen this problem in the past and it has
always been due to a permissions issue. If the service that SQL
Server is running under does not have write permission to the folder
that the files are located in, then this problem will show up.
However, this does not seem to be the case at present. In trouble-
shooting this problem, I have discovered that I can create a new
database with no problem at all (showing that I do have write
permission), but if I detach that database and then reattach the
associated mdf file, it will be reattached as a read-only database. I
can change the read-only option setting of this database to False and
that will then allow me to write to the db once again, but why did SQL
Server make it read-only when I reattached it?
Try to dig something in this
http://www.dbtalk.net/microsoft-public-sqlserver-setup/attach-database-became-readonly-301452.html
Manu
"Brandon Wilhite" wrote:
> I am running into a problem that I need help with. The problem is
> preventing me from successfully installing our software at a new
> customer site. The system configuration is Windows Server 2000 SP 4
> with SQL 2005 SP 1.
> The problem is that when our install tries to attach the mdf and ldf
> files, the process fails because the database is read-only and this
> prevents the files from being upgraded from SQL 2005 (they are from a
> SQL 2000 system). I have seen this problem in the past and it has
> always been due to a permissions issue. If the service that SQL
> Server is running under does not have write permission to the folder
> that the files are located in, then this problem will show up.
> However, this does not seem to be the case at present. In trouble-
> shooting this problem, I have discovered that I can create a new
> database with no problem at all (showing that I do have write
> permission), but if I detach that database and then reattach the
> associated mdf file, it will be reattached as a read-only database. I
> can change the read-only option setting of this database to False and
> that will then allow me to write to the db once again, but why did SQL
> Server make it read-only when I reattached it?
>
|||Hooray!!! The problem has been resolved!
The problem with attaching databases always being set to a Read-Only
status was corrected by upgrading the server from Windows Server 2000
to Windows Server 2003. My bet is that the real cause of this issue
was due to the fact that the customer had set this server up as a
backup domain controller, and I think that because it was a Windows
2000 system, it was not communicating properly with the primary domain
controller (which is their Windows 2003 SBS server). This was
probably causing some ambiguity in determining permissions.
On Dec 12, 8:51 am, manu <m...@.discussions.microsoft.com> wrote:
> Try to dig something in thishttp://www.dbtalk.net/microsoft-public-sqlserver-setup/attach-databas...
> Manu
>
> "Brandon Wilhite" wrote:
>
> - Show quoted text -
preventing me from successfully installing our software at a new
customer site. The system configuration is Windows Server 2000 SP 4
with SQL 2005 SP 1.
The problem is that when our install tries to attach the mdf and ldf
files, the process fails because the database is read-only and this
prevents the files from being upgraded from SQL 2005 (they are from a
SQL 2000 system). I have seen this problem in the past and it has
always been due to a permissions issue. If the service that SQL
Server is running under does not have write permission to the folder
that the files are located in, then this problem will show up.
However, this does not seem to be the case at present. In trouble-
shooting this problem, I have discovered that I can create a new
database with no problem at all (showing that I do have write
permission), but if I detach that database and then reattach the
associated mdf file, it will be reattached as a read-only database. I
can change the read-only option setting of this database to False and
that will then allow me to write to the db once again, but why did SQL
Server make it read-only when I reattached it?
Try to dig something in this
http://www.dbtalk.net/microsoft-public-sqlserver-setup/attach-database-became-readonly-301452.html
Manu
"Brandon Wilhite" wrote:
> I am running into a problem that I need help with. The problem is
> preventing me from successfully installing our software at a new
> customer site. The system configuration is Windows Server 2000 SP 4
> with SQL 2005 SP 1.
> The problem is that when our install tries to attach the mdf and ldf
> files, the process fails because the database is read-only and this
> prevents the files from being upgraded from SQL 2005 (they are from a
> SQL 2000 system). I have seen this problem in the past and it has
> always been due to a permissions issue. If the service that SQL
> Server is running under does not have write permission to the folder
> that the files are located in, then this problem will show up.
> However, this does not seem to be the case at present. In trouble-
> shooting this problem, I have discovered that I can create a new
> database with no problem at all (showing that I do have write
> permission), but if I detach that database and then reattach the
> associated mdf file, it will be reattached as a read-only database. I
> can change the read-only option setting of this database to False and
> that will then allow me to write to the db once again, but why did SQL
> Server make it read-only when I reattached it?
>
|||Hooray!!! The problem has been resolved!
The problem with attaching databases always being set to a Read-Only
status was corrected by upgrading the server from Windows Server 2000
to Windows Server 2003. My bet is that the real cause of this issue
was due to the fact that the customer had set this server up as a
backup domain controller, and I think that because it was a Windows
2000 system, it was not communicating properly with the primary domain
controller (which is their Windows 2003 SBS server). This was
probably causing some ambiguity in determining permissions.
On Dec 12, 8:51 am, manu <m...@.discussions.microsoft.com> wrote:
> Try to dig something in thishttp://www.dbtalk.net/microsoft-public-sqlserver-setup/attach-databas...
> Manu
>
> "Brandon Wilhite" wrote:
>
> - Show quoted text -
Labels:
database,
installing,
ispreventing,
microsoft,
mysql,
newcustomer,
oracle,
reattached,
running,
server,
software,
sql,
successfully
DB read only after reattached
I am running into a problem that I need help with. The problem is
preventing me from successfully installing our software at a new
customer site. The system configuration is Windows Server 2000 SP 4
with SQL 2005 SP 1.
The problem is that when our install tries to attach the mdf and ldf
files, the process fails because the database is read-only and this
prevents the files from being upgraded from SQL 2005 (they are from a
SQL 2000 system). I have seen this problem in the past and it has
always been due to a permissions issue. If the service that SQL
Server is running under does not have write permission to the folder
that the files are located in, then this problem will show up.
However, this does not seem to be the case at present. In trouble-
shooting this problem, I have discovered that I can create a new
database with no problem at all (showing that I do have write
permission), but if I detach that database and then reattach the
associated mdf file, it will be reattached as a read-only database. I
can change the read-only option setting of this database to False and
that will then allow me to write to the db once again, but why did SQL
Server make it read-only when I reattached it?Try to dig something in this
http://www.dbtalk.net/microsoft-public-sqlserver-setup/attach-database-became-readonly-301452.html
Manu
"Brandon Wilhite" wrote:
> I am running into a problem that I need help with. The problem is
> preventing me from successfully installing our software at a new
> customer site. The system configuration is Windows Server 2000 SP 4
> with SQL 2005 SP 1.
> The problem is that when our install tries to attach the mdf and ldf
> files, the process fails because the database is read-only and this
> prevents the files from being upgraded from SQL 2005 (they are from a
> SQL 2000 system). I have seen this problem in the past and it has
> always been due to a permissions issue. If the service that SQL
> Server is running under does not have write permission to the folder
> that the files are located in, then this problem will show up.
> However, this does not seem to be the case at present. In trouble-
> shooting this problem, I have discovered that I can create a new
> database with no problem at all (showing that I do have write
> permission), but if I detach that database and then reattach the
> associated mdf file, it will be reattached as a read-only database. I
> can change the read-only option setting of this database to False and
> that will then allow me to write to the db once again, but why did SQL
> Server make it read-only when I reattached it?
>|||Hooray!!! The problem has been resolved!
The problem with attaching databases always being set to a Read-Only
status was corrected by upgrading the server from Windows Server 2000
to Windows Server 2003. My bet is that the real cause of this issue
was due to the fact that the customer had set this server up as a
backup domain controller, and I think that because it was a Windows
2000 system, it was not communicating properly with the primary domain
controller (which is their Windows 2003 SBS server). This was
probably causing some ambiguity in determining permissions.
On Dec 12, 8:51 am, manu <m...@.discussions.microsoft.com> wrote:
> Try to dig something in thishttp://www.dbtalk.net/microsoft-public-sqlserver-setup/attach-databas...
> Manu
>
> "Brandon Wilhite" wrote:
> > I am running into a problem that I need help with. The problem is
> > preventing me from successfully installing our software at a new
> > customer site. The system configuration is Windows Server 2000 SP 4
> > with SQL 2005 SP 1.
> > The problem is that when our install tries to attach the mdf and ldf
> > files, the process fails because the database is read-only and this
> > prevents the files from being upgraded from SQL 2005 (they are from a
> > SQL 2000 system). I have seen this problem in the past and it has
> > always been due to a permissions issue. If the service that SQL
> > Server is running under does not have write permission to the folder
> > that the files are located in, then this problem will show up.
> > However, this does not seem to be the case at present. In trouble-
> > shooting this problem, I have discovered that I can create a new
> > database with no problem at all (showing that I do have write
> > permission), but if I detach that database and then reattach the
> > associated mdf file, it will be reattached as a read-only database. I
> > can change the read-only option setting of this database to False and
> > that will then allow me to write to the db once again, but why did SQL
> > Server make it read-only when I reattached it... Hide quoted text -
> - Show quoted text -
preventing me from successfully installing our software at a new
customer site. The system configuration is Windows Server 2000 SP 4
with SQL 2005 SP 1.
The problem is that when our install tries to attach the mdf and ldf
files, the process fails because the database is read-only and this
prevents the files from being upgraded from SQL 2005 (they are from a
SQL 2000 system). I have seen this problem in the past and it has
always been due to a permissions issue. If the service that SQL
Server is running under does not have write permission to the folder
that the files are located in, then this problem will show up.
However, this does not seem to be the case at present. In trouble-
shooting this problem, I have discovered that I can create a new
database with no problem at all (showing that I do have write
permission), but if I detach that database and then reattach the
associated mdf file, it will be reattached as a read-only database. I
can change the read-only option setting of this database to False and
that will then allow me to write to the db once again, but why did SQL
Server make it read-only when I reattached it?Try to dig something in this
http://www.dbtalk.net/microsoft-public-sqlserver-setup/attach-database-became-readonly-301452.html
Manu
"Brandon Wilhite" wrote:
> I am running into a problem that I need help with. The problem is
> preventing me from successfully installing our software at a new
> customer site. The system configuration is Windows Server 2000 SP 4
> with SQL 2005 SP 1.
> The problem is that when our install tries to attach the mdf and ldf
> files, the process fails because the database is read-only and this
> prevents the files from being upgraded from SQL 2005 (they are from a
> SQL 2000 system). I have seen this problem in the past and it has
> always been due to a permissions issue. If the service that SQL
> Server is running under does not have write permission to the folder
> that the files are located in, then this problem will show up.
> However, this does not seem to be the case at present. In trouble-
> shooting this problem, I have discovered that I can create a new
> database with no problem at all (showing that I do have write
> permission), but if I detach that database and then reattach the
> associated mdf file, it will be reattached as a read-only database. I
> can change the read-only option setting of this database to False and
> that will then allow me to write to the db once again, but why did SQL
> Server make it read-only when I reattached it?
>|||Hooray!!! The problem has been resolved!
The problem with attaching databases always being set to a Read-Only
status was corrected by upgrading the server from Windows Server 2000
to Windows Server 2003. My bet is that the real cause of this issue
was due to the fact that the customer had set this server up as a
backup domain controller, and I think that because it was a Windows
2000 system, it was not communicating properly with the primary domain
controller (which is their Windows 2003 SBS server). This was
probably causing some ambiguity in determining permissions.
On Dec 12, 8:51 am, manu <m...@.discussions.microsoft.com> wrote:
> Try to dig something in thishttp://www.dbtalk.net/microsoft-public-sqlserver-setup/attach-databas...
> Manu
>
> "Brandon Wilhite" wrote:
> > I am running into a problem that I need help with. The problem is
> > preventing me from successfully installing our software at a new
> > customer site. The system configuration is Windows Server 2000 SP 4
> > with SQL 2005 SP 1.
> > The problem is that when our install tries to attach the mdf and ldf
> > files, the process fails because the database is read-only and this
> > prevents the files from being upgraded from SQL 2005 (they are from a
> > SQL 2000 system). I have seen this problem in the past and it has
> > always been due to a permissions issue. If the service that SQL
> > Server is running under does not have write permission to the folder
> > that the files are located in, then this problem will show up.
> > However, this does not seem to be the case at present. In trouble-
> > shooting this problem, I have discovered that I can create a new
> > database with no problem at all (showing that I do have write
> > permission), but if I detach that database and then reattach the
> > associated mdf file, it will be reattached as a read-only database. I
> > can change the read-only option setting of this database to False and
> > that will then allow me to write to the db once again, but why did SQL
> > Server make it read-only when I reattached it... Hide quoted text -
> - Show quoted text -
Labels:
customer,
database,
installing,
microsoft,
mysql,
oracle,
preventing,
reattached,
running,
server,
software,
sql,
successfully
DB read only after reattached
I am running into a problem that I need help with. The problem is
preventing me from successfully installing our software at a new
customer site. The system configuration is Windows Server 2000 SP 4
with SQL 2005 SP 1.
The problem is that when our install tries to attach the mdf and ldf
files, the process fails because the database is read-only and this
prevents the files from being upgraded from SQL 2005 (they are from a
SQL 2000 system). I have seen this problem in the past and it has
always been due to a permissions issue. If the service that SQL
Server is running under does not have write permission to the folder
that the files are located in, then this problem will show up.
However, this does not seem to be the case at present. In trouble-
shooting this problem, I have discovered that I can create a new
database with no problem at all (showing that I do have write
permission), but if I detach that database and then reattach the
associated mdf file, it will be reattached as a read-only database. I
can change the read-only option setting of this database to False and
that will then allow me to write to the db once again, but why did SQL
Server make it read-only when I reattached it?Try to dig something in this
http://www.dbtalk.net/microsoft-pub...nly-301452.html
Manu
"Brandon Wilhite" wrote:
> I am running into a problem that I need help with. The problem is
> preventing me from successfully installing our software at a new
> customer site. The system configuration is Windows Server 2000 SP 4
> with SQL 2005 SP 1.
> The problem is that when our install tries to attach the mdf and ldf
> files, the process fails because the database is read-only and this
> prevents the files from being upgraded from SQL 2005 (they are from a
> SQL 2000 system). I have seen this problem in the past and it has
> always been due to a permissions issue. If the service that SQL
> Server is running under does not have write permission to the folder
> that the files are located in, then this problem will show up.
> However, this does not seem to be the case at present. In trouble-
> shooting this problem, I have discovered that I can create a new
> database with no problem at all (showing that I do have write
> permission), but if I detach that database and then reattach the
> associated mdf file, it will be reattached as a read-only database. I
> can change the read-only option setting of this database to False and
> that will then allow me to write to the db once again, but why did SQL
> Server make it read-only when I reattached it?
>|||Hooray!!! The problem has been resolved!
The problem with attaching databases always being set to a Read-Only
status was corrected by upgrading the server from Windows Server 2000
to Windows Server 2003. My bet is that the real cause of this issue
was due to the fact that the customer had set this server up as a
backup domain controller, and I think that because it was a Windows
2000 system, it was not communicating properly with the primary domain
controller (which is their Windows 2003 SBS server). This was
probably causing some ambiguity in determining permissions.
On Dec 12, 8:51 am, manu <m...@.discussions.microsoft.com> wrote:
> Try to dig something in thishttp://www.dbtalk.net/microsoft-public-sqlserv
er-setup/attach-databas...
> Manu
>
> "Brandon Wilhite" wrote:
>
>
> - Show quoted text -
preventing me from successfully installing our software at a new
customer site. The system configuration is Windows Server 2000 SP 4
with SQL 2005 SP 1.
The problem is that when our install tries to attach the mdf and ldf
files, the process fails because the database is read-only and this
prevents the files from being upgraded from SQL 2005 (they are from a
SQL 2000 system). I have seen this problem in the past and it has
always been due to a permissions issue. If the service that SQL
Server is running under does not have write permission to the folder
that the files are located in, then this problem will show up.
However, this does not seem to be the case at present. In trouble-
shooting this problem, I have discovered that I can create a new
database with no problem at all (showing that I do have write
permission), but if I detach that database and then reattach the
associated mdf file, it will be reattached as a read-only database. I
can change the read-only option setting of this database to False and
that will then allow me to write to the db once again, but why did SQL
Server make it read-only when I reattached it?Try to dig something in this
http://www.dbtalk.net/microsoft-pub...nly-301452.html
Manu
"Brandon Wilhite" wrote:
> I am running into a problem that I need help with. The problem is
> preventing me from successfully installing our software at a new
> customer site. The system configuration is Windows Server 2000 SP 4
> with SQL 2005 SP 1.
> The problem is that when our install tries to attach the mdf and ldf
> files, the process fails because the database is read-only and this
> prevents the files from being upgraded from SQL 2005 (they are from a
> SQL 2000 system). I have seen this problem in the past and it has
> always been due to a permissions issue. If the service that SQL
> Server is running under does not have write permission to the folder
> that the files are located in, then this problem will show up.
> However, this does not seem to be the case at present. In trouble-
> shooting this problem, I have discovered that I can create a new
> database with no problem at all (showing that I do have write
> permission), but if I detach that database and then reattach the
> associated mdf file, it will be reattached as a read-only database. I
> can change the read-only option setting of this database to False and
> that will then allow me to write to the db once again, but why did SQL
> Server make it read-only when I reattached it?
>|||Hooray!!! The problem has been resolved!
The problem with attaching databases always being set to a Read-Only
status was corrected by upgrading the server from Windows Server 2000
to Windows Server 2003. My bet is that the real cause of this issue
was due to the fact that the customer had set this server up as a
backup domain controller, and I think that because it was a Windows
2000 system, it was not communicating properly with the primary domain
controller (which is their Windows 2003 SBS server). This was
probably causing some ambiguity in determining permissions.
On Dec 12, 8:51 am, manu <m...@.discussions.microsoft.com> wrote:
> Try to dig something in thishttp://www.dbtalk.net/microsoft-public-sqlserv
er-setup/attach-databas...
> Manu
>
> "Brandon Wilhite" wrote:
>
>
> - Show quoted text -
Labels:
database,
installing,
ispreventing,
microsoft,
mysql,
newcustomer,
oracle,
reattached,
running,
server,
software,
sql,
successfully
Tuesday, February 14, 2012
db error
hi all,
my hardisk for the server was error. then i try to save the database using a
software tools. finnaly i can run the database. but sometimes the error is
found like this :
error: (location: recbase.cpp:1378
expression: m_offBeginVar < m_SizeRec
SPID: 56
Process ID: 1620 (01000)) attemping to access a record
from the TITIPD file. Returning to previous window.
what's wrong ? what must i do to solve this problem ?
using sql server 2000.
regards,
meYou seem to have a corrupt database and most likely the best think is to restore from your most
recent clean backup. See http://www.karaszi.com/SQLServer/info_corrupt_suspect_db.asp for more
information.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
<adi_bangun@.yahoo.com> wrote in message news:euTGahETGHA.2816@.TK2MSFTNGP10.phx.gbl...
> hi all,
> my hardisk for the server was error. then i try to save the database using a software tools.
> finnaly i can run the database. but sometimes the error is found like this :
> error: (location: recbase.cpp:1378
> expression: m_offBeginVar < m_SizeRec
> SPID: 56
> Process ID: 1620 (01000)) attemping to access a record
> from the TITIPD file. Returning to previous window.
> what's wrong ? what must i do to solve this problem ?
> using sql server 2000.
> regards,
> me
>
my hardisk for the server was error. then i try to save the database using a
software tools. finnaly i can run the database. but sometimes the error is
found like this :
error: (location: recbase.cpp:1378
expression: m_offBeginVar < m_SizeRec
SPID: 56
Process ID: 1620 (01000)) attemping to access a record
from the TITIPD file. Returning to previous window.
what's wrong ? what must i do to solve this problem ?
using sql server 2000.
regards,
meYou seem to have a corrupt database and most likely the best think is to restore from your most
recent clean backup. See http://www.karaszi.com/SQLServer/info_corrupt_suspect_db.asp for more
information.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
<adi_bangun@.yahoo.com> wrote in message news:euTGahETGHA.2816@.TK2MSFTNGP10.phx.gbl...
> hi all,
> my hardisk for the server was error. then i try to save the database using a software tools.
> finnaly i can run the database. but sometimes the error is found like this :
> error: (location: recbase.cpp:1378
> expression: m_offBeginVar < m_SizeRec
> SPID: 56
> Process ID: 1620 (01000)) attemping to access a record
> from the TITIPD file. Returning to previous window.
> what's wrong ? what must i do to solve this problem ?
> using sql server 2000.
> regards,
> me
>
Subscribe to:
Posts (Atom)