Showing posts with label files. Show all posts
Showing posts with label files. Show all posts

Friday, March 23, 2012

MS SQL Server 2005 data folder

It seems SQL Server 2005 can store data in both C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data and C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Data. But what's the difference of the 2 folders? I accidentally found identical mdf files in the two folders and got confused. Thanks.This is assuming you have more than one database in your SQL Server if you find all your MDF files and LDF files in one and not the other then the second one was created by VS for SQL Server I will leave it alone. Hope this helps.|||

The difference is that the 2 folders are default data folders of 2 different SQL2005 instance. In SQL 2005 the machanism of resolving instance names has been changed, as well as the file locations. For more information, you can refer to:

File Locations for Default and Named Instances of SQL Server 2005

Wednesday, March 21, 2012

ms sql server 2000 personal edition

Error is occured such as "c:\Program Files\Microsoft SQL Server\80\
tools\BINN\Resources\1033\SEMCROS.RLL could not be loaded" while installing in windows xp sp2Question moved to SQL Server Forum.

Monday, March 19, 2012

MS SQL Reporting Services Server - Activation errors

When running the following:

C:\Program Files\Microsoft SQL Server\80\Tools\Binn>rsactivate -c
"C:\Program Files\Microsoft SQL
Server\MSSQL\ReportingServices\ReportServer\RSRepo rtServer.co
nfig" -t

I get the following error:

Failure starting the web service:
System.Exception: The local NT Service is disabled 0x80090005 -->
System.E
xception: 0x80090005
-- End of inner exception stack trace --
at
Microsoft.ReportingServices.RSActivate.RSActivate. RpcActivateService(Int32
clientType)
at Microsoft.ReportingServices.RSActivate.RSActivate. InstanceMain()
at Microsoft.ReportingServices.BaseCmdLine.CommandLin eMain(String[]
args, BaseCmdLine instance)
Any insight into this. What am I doing wrong."moedap" <moedap@.yahoo.com> wrote in message
news:1105721152.907594.241730@.c13g2000cwb.googlegr oups.com...
> When running the following:
>
> C:\Program Files\Microsoft SQL Server\80\Tools\Binn>rsactivate -c
> "C:\Program Files\Microsoft SQL
> Server\MSSQL\ReportingServices\ReportServer\RSRepo rtServer.co
> nfig" -t
>
> I get the following error:
> Failure starting the web service:
> System.Exception: The local NT Service is disabled 0x80090005 -->
> System.E
> xception: 0x80090005
> -- End of inner exception stack trace --
> at
> Microsoft.ReportingServices.RSActivate.RSActivate. RpcActivateService(Int32
> clientType)
> at Microsoft.ReportingServices.RSActivate.RSActivate. InstanceMain()
> at Microsoft.ReportingServices.BaseCmdLine.CommandLin eMain(String[]
> args, BaseCmdLine instance)
> Any insight into this. What am I doing wrong.

See this thread for one possible reason:

http://groups.google.ch/groups?hl=e...FTNGP09.phx.gbl

Simon

Monday, March 12, 2012

ms sql mdf database file attached vs created on sql server

Hi all

I have a question concerning sql database mdf files. In the old days I would user a ms access database. This file would be stored with the actual web files and would utilise a dsn connection.

I have noted when designing with vwd 2005 express it allows you to use 2 methods of creating a mdf database. You can either create it as an attachment mdf or you can create it directly using sql manager.

My question is, if you create the mdf database as an attachement file can you store it in the same manner as if you where using a ms access database, meaning can you store it with the web site's files so it uses the file storage allocated size and then create a connection similar to a dsn (but for sql) to the isp's sql engine or does it have to be uploaded to the isp' s sql server.

The reason for this question is some of my customers do not want to pay the extra cost to have an sql allocation, however I do not want to go back to using old asp methods to create advanced sites as I prefer using stored procedures.

Any help will be appreciated

Hi,

you can attach your .mdf file (SQL Server Express) to a database (Attaching a .mdf file when you don't have the .ldf file available). However I think the hosting company will charge your customers for attaching it. To my knowledge you don't have a replacement available like DSN.

Grz, Kris.

|||

Hi there,

My first website I did using Visual Studio I used an sql express database. Most hosting companys only use SQL server so you'll have to do some changes to your express database to get it hosted. So it doesnt really matter which way you design your database.

The hosting company will usually place your database on a separate secure server where you'll be able to access through SQL Server Manager once you have a static IP address. I'm not sure which hosting company you use but I live in Ireland and the best company here for windows hosting iswww.blacknight.ie

I use the standard windows hosting which allows you have up to 16 websites and 16 SQL server databases. An excellent company.

I recommend if you are going to use this a lot, upgrade your package to Visual Studio pro and this includes SQL Server Developer edition which allows you to create a SQL Server 2005 database which makes it easier when you go to publish your application.

Hope this is some use to you.

Anthony

|||

Hi Kris

So what you are saying is you can attach a database to an sql server without having to import it directly. Which means the database can run externally from the sql server. My hosting company I think offers it for free if you are attaching and they have a control panel which makes it user friendly to do this by yourself. I will contact them again to verify. www.sahost.co.za

|||

Hi,

about 1,5 years ago I tried out a free hosting for ASP.NET 2.0 where you could upload a .mdf file to and in their admin pages they provided such an attach procedure. Unfortunately I don't remember their name.

Grz, Kris.

Monday, February 20, 2012

MS SQL .mdf .ldf files corrupeted.

I have lost my my database due to hardware failure some how I have recovered it now but the problem is when I add in my database Sql unable to recocnize it. I tried some software but all i vain. Any good software or way to recover it.I'm guessing that someone here can help, but at least I need more details to figure out what you need.

I don't understand how you've recovered your database if you can't get SQL Server to recognize it. That seems like a pretty fundamental part of "recovery" to me.

Can you explain what you've actually got, what you've tried, and the results of those attempts? I'm pretty sure someone here can help, I'm just not clear on how that might be yet.

-PatP|||Well I have recovered it via a data recovery tool but when I add it to my database sql give me an error that sql is unable to recognise it and its not a valid sql file bla bla.|||One thing more I already tried mssqlrecovery software from officerecovery.com|||so are u saying that u recovered a .mdf and .ldf file and trying to attach it back or something??
as pat mentioned, u need to explain what exactly u have got recovered and what steps u have taken... then and then some one here might be able to help u with the situation in hand.