SQL Server Won't Open DB Created By Visual Studio?

Jan 8, 2010

I've built an ASP.Net site in Visual Studio, and created the DB inside it (the .mdf file is in the APP_data folder).

Now, when I want to deploy in the customer site, I think about maintaining the DB without open Visual Studio, and by using the SQL Server Express tools (back up etc.).

I've searched how to do this, and learned that I should attach the .mdf file to sql server.

I've tried to do this and failed!

The error is: Unable to open the physical file "< .mdf >". Operating system error 5: "5(failed to retrieve text for this error. Reason: 15105)". (Microsoft SQL Server, Error: 5120)

Now I have 2 options:

1. To give up and deploy the site in the current situation where the DB is an .mdf file and ASP.Net can connect to it by the SQL server express compact (in the proccess).

To extract all the data (I need to think how...) and import it to new DB, this time in SQL Server DB.

View 3 Replies


Similar Messages:

Visual Studio :: How To Open Project Created By Someone Else

May 20, 2010

How to open project created by someone else in visual studio

I have copy of project created by some one and now I want to be able to open that project and work further on it.

View 1 Replies

Visual Studio :: Open Sql Server Management Studio 2008 In 2010 Ultimate?

Apr 30, 2010

I have installed a vs 2010 ulitimate . it's have Sql server 2008, but i want to Open SQL Server Management Studio 2008,

View 1 Replies

DataSource Controls :: Custom Database Created In Visual Studio 2008 Not Showing Up In .NET SQL Server Setup Wizard?

Apr 11, 2010

I created and populated a database inside Visual Studio 2008 instead of using Management Studio.I need to run the script to create the schema for users and roles.The database does not show up in ASP.NET SQL Server Setup Wizard or in Management StudioThe only databases that do show up are master, model, msdb, and tempdb

Is there anything I can do to fix this or would it be easier for me to just create a new database starting in Management Studio and then connect to it from within Visual Studio?

View 4 Replies

Can Run A Project In Visual Studio 2005 That Is Created In Visual Studio?

Apr 20, 2010

Can i run a project in Visual Studio 2005 that is created in Visual Studio Team Edition 2005

View 1 Replies

Visual Studio :: Can't Open A SourceSafe 6 Database With Visual Studio 2005?

May 25, 2010

I know both these software are old and that I can update to newer version. But I need to do it with those software in particular.I have Visual Studio 2005 and Visual SourceSafe 6 installed on my computer. When I try to open Visual SourceSafe 6 database using Visual SourceSafe 6 directly, I have no problem at all.Then I try to open a project solution I took from SourceSafe using Visual Studio 2005. Right away I receive this messageThe solution appears to be under source control, but its binding information cannot be found. It is possible that the MSSCCPRJ.SCC file or another item that holds the source control settings for the solution, has been deleted. Because it is not possible to recover this missing information automatically, the projects whose bindings are missing will be treated as not under source control.

Then an invite to chose a SourceSafe Database open. I click on BROWSE. First thing I noticed : The SourceSafe available databases list is empty (while I remind, it's not in SourceSafe 6. I can see there the COMMON database and the VSS database which is located on a different server on our network. Before that, I went in TOOLS->OPTIONS->SOURCE CONTROL, and make sure Visual Source Safe was selected as the Plug-in to use for a Source Control).So I click again on Browse, and locate my srcsafe.ini file. Everything is OK. It evens confirm me that my database path is
\dev2k3programmationVSS and that my database name is indeed VSS. So it found it. I then click on OK.

But when I do, the Database is not added to my available list, at all. The result, I can never select a source control, ever, which end in me not being able to work connected to the main source control of our network. Everything is working fine on every other computer in our company. Only this one have problem.Did I give enough description to my problem? I really need help on this one, because working disconnected from Source Safe can give a lot of pain to our team. Can anyone give me an hand? If you need any more info, just ask.

View 2 Replies

Microsoft Visual Web Developer 2008 Express Edition Not Possible To Open Visual Studio?

Jul 8, 2010

Microsoft Visual Web Developer 2008 Express Edition not possible to open Visual Studio?

[Code]....

View 4 Replies

Visual Studio :: App_offline.htm Created Automatically?

Jul 31, 2010

i found app_offline.htm created automaticaly in my project while i was working on my website offline.

View 4 Replies

The Application Data Folder For Visual Studio Cannot Be Created?

Jan 2, 2011

After i delete some files from my system to save space on my hard disk ::i face the following problem each time i click on any project exe the application data folder for visual studio cannot be created how to fix this problem?

View 1 Replies

Visual Studio :: From VS2008 To VS 2010 Created A New Class?

May 20, 2010

I've just upgrade my web application from vs2008 to vs2010, I create a new web app from vs2010, then copy across all the existing files from vs2008, then I add a new class file to App_Code folder, the intellisense is not showing up for everything and class etc is also not color in the right color. However, when I open the existing class I created earlier from vs2008, intellisense just working fine and all classes are in different color as well, if I make a copy of existing class, the copied class does not support the intellisense as well. However, if I shut my VS, and reopen it, they all appear to be support with intellisense for existing class, but once I created a new class, intellisense is not support.

View 4 Replies

Adding Menu Bar In A Website Created In Visual Studio 2010?

Jan 19, 2014

would like to ask about how can I insert a menu bar in a Web site that is created in visual studio 2010.

My toolbox seems to not have a menu tool inside.

Is there a way to drop a menu in my page like I drop a button?

View 2 Replies

Visual Studio :: Dynamically Created Directories Not Displaying In Solution Explorer?

Oct 17, 2010

I have noticed today that when you create a directory in code in a web application the resulting folder structure is not created in the solution explorer (It is fine on disk and app can still access all the files
I am not sure if there is a setting that I am missing or is this a bug?Steps to reproduce

Create a new C# web application in VS 2010. Create a new web page (Default.aspx) and add a file upload control and a button.on the click event on the button add the following code

[Code]....

When the form posts back refresh the solution explorer and the new directory does not appear.Check your file system and the file will be there.Not a massive issue but frustrating.

View 2 Replies

Visual Studio :: Open And Run Web Application?

Apr 13, 2010

I already have a web application running successfully develeoped using Classic ASP by the previous web pregrammer. Since I'm not familiar with Classic ASP, I tried running the source code in Visual Studio ASP.NET. However, I'm unable to run it (expliciltely denied). May I know whether there are special things to note when opeing and running a web application developed in Classic ASP in ASP.NET? The previous web application is connected to the school server, but I'm using my laptop's local host to run the application. Is that why I can't run the application? What are the steps needed to connect my ASP.NET application with the server.

View 1 Replies

How To Open A Solution In Visual Studio

Feb 4, 2011

I have a website which was created by someone; now I am trying to open it.

My doubt is will that project contain a solution? Within Visual Studio, I am trying to open through the open website option, but I didn't find a solution.

Is that right way? How best can I open a website with Visual Studio?

View 4 Replies

Visual Studio :: Can't Open The Database

Oct 14, 2010

i have created a small app wit VWDE 2008 Express.

Now i have dublicate this app and the sql database for a second project.

I renamed the databe and added to the sql express server.

My problem now is by clicking F11 i recieve this error message: can't logon with the user XPV1user

View 2 Replies

Configuration :: Site Works On Visual Studio But Not On IIS 7 - SQL Express Server Error "Cannot Open Database "AnimalSafe" Requested By The Login"

Jul 31, 2010

I'm having an issue that has made me loose too many hours already. My site works fine in VS2008 with SQL Express 2008. However, when I try to deploy the site following these steps:

1. Create a new site IIS 7.0
2. Copy all the files from my code folder to IIS 7.0, (I was planning to delete the code latter)
3. Browse to my Index.aspx

The error message I receive is Cannot open database "AnimalSafe" requested by the login. The login failed. Login failed for user 'NT AUTHORITYNetwork Service'. I've already changed the application pool to use Network Service to authenticate and have made sure that SQL is running under this account.

View 3 Replies

Visual Studio :: Published Successful But No File Is Created (output Folder Is Emtpy) ?

Jan 4, 2011

This is the output message after publishing

------ Build started: Project: RevUtility, Configuration: Debug Any CPU ------l
------ Build started: Project: RevTrackDAL, Configuration: Debug Any CPU ------[code]....

Encounter once and that was an easy on to spot on as it happen after a new page is added into the project. But this time, nothing was added and only a few line of code is changed in 1 page.I tried excluded that page and publish, the result is the same.

View 1 Replies

Open Aspx Files Directly By Clicking On Them Like Html Files Without From Within Visual Studio Or Visual Web Dev?

Feb 24, 2011

is it possible to open aspx files directly by clicking on them like html files without from within visual studio or visual web dev?

View 2 Replies

Visual Studio :: Not Able To Open Aspx.vb Files In VWD

Mar 28, 2010

I have a problem within a project in Visual Web Developer. The program will not allow me to open the aspx.vb file associated with an aspx file when I choose the "View Code" option. The aspx.vb file exists; however the program is prevented from loading it and seeing it in Solutions Explorer.

The problem may be related to how the entire project is loaded -- loading it as a project vs. as a website. When I load it as a project, I have compilation errors that do not exist otherwise, but can see the aspx.vb files. When it is loaded as a website, I can't open the aspx.vb files as described above.

View 5 Replies

How To Open .aspx Without Visual Studio And Make It LAN

Mar 27, 2011

I'm currently dealing with my final year project and of course, later I might need to present this whole things to my lecturer.

So, I would like to ask you guys about how to open my website without Visual Studio and make it LAN (can be accessed by two or more computer through LAN).

View 7 Replies

Visual Studio :: Cannot Open Web Projects Configured To Use IIS

Jun 23, 2010

I constant get the following error when I try to load existing web project in Visual studio

"The Web Application Project is configured to use IIS. To access Web sites on the local IIS Web server, you must run Visual Studio under an Administrator account."

It started happening after I had to re-install IIS because of metabase corruption. I have already tried following

1. create and re-create application in IIS
2. register aspnet using aspnet_regiis
3. I am already member of adminstrators group I also added aspnet to administrator group, no luck
4. I have tried repairing Visual studio 2008 and still same issue appears

I am using XP SP3, Visual Studio 2008 Team System and IIS 5.1. I have Visual Studio 2005, Visual Studio 2008 and Visual Studio 2010 installed on my machine.

View 6 Replies

Visual Studio :: 2010 - Can't Open Local IIS?

May 6, 2010

I've just downloaded VS2010 Express to play with on my personal laptop. However, when I try to open an existing website through the "Open Web Site..." / "Local IIS" button, the system trundles on for a bit and then says: "To access local IIS Web sites, you must install the following IIS components: In addition, you must run Visual Studio in teh context of an administrator account."

Note the blank line after the "you must install...." [strikeout]Is this a limitation of the "Express" editions of Visual Studio? [/strikeout] I've just installed VS2010 Premium from our MSDN DVD and it has the same problem.... Also, seems to have broken VS2008 as well since I can no longer browse Local IIS from VS 2008 either. Good thing I installed this on my backup machine first and I can still get work done on my main development machine!

View 12 Replies

Visual Studio :: Unable To Open .css Files In VWD2010

Feb 1, 2011

I have not been able to open css files in VWD, I must have sone something I don't know. I can open them in wordpad, and WebDevelopment Server still displays properly so the file is not currupt. Is there a setting I messed up in web.config or somewhere else?

View 5 Replies

Unable To Open Code Behind File In Visual Studio

Mar 24, 2010

In an ASP.NET web application using C#, when we double click on design it will go to code behind page (cs file), but problem here is, when we double click on design its going to script of source file. Why it is happening?

View 1 Replies

Visual Studio :: VWD 2008 Not Showing Last Project Open

Nov 24, 2010

why Visual Studio is not showing the last project open. Actually it's not showing any that I have had open. If there a clitch.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved