View Complete Post
If the responsibility for creating, managing, and executing routine backups is yours, these tools will make it easier. Also see how you can browse folders and files from inside Visual Studio.
MSDN Magazine May 2009
I have Visual Studio 2010 Ultimate. And I've downloaded and installed Sql Server 2008 R2 Express.
I'm going through a Silverlight trainging module and using the
Silverlight Business Apps: Module 2 - WCF RIA Services
example application. The database included (as an .mdf file) won't attach in the project. I get this:
"Connections to SQL Server database files (.mdf) require SQL Server 2005 Express or SQL Server 2008 Express to be installed and running on the local computer. The current version of SQL Sever Express can be downloaded at the following URL:......"
But of course, I have the most recent version. Now I did have SQL Server 2005 Express Edition installed before and it wasn't working either. I got a different error concerning the version of the .mdf file. In an attempt to resolve this
I un-installed the 2005 version. Now I've got a functioning default instance of Sql Server, but I notice it's not listed as .\SqlExpress as the 2005 version was.
Can someone help me get this working? Do I need to change the name of the SQL Server instance in order to for Visual Studio to be able to attach?
I also can't attach the file using SQL Server Management Studio, but I think that's because the file has the path to the Log file somehow
I've look around the forums but I can't get the solution for my problem. I've installed Visual studio 2010 with sqlexpress edition. Then I have renamed my
computer. After renaming my computer I've deleted the directory
C:\Users\uporabnik\AppData\Local\Microsoft\Microsoft SQL Server
Data\SQLEXPRESS. After restart, I have started VS2010, open Server explorer and I've added the connection to a new database. I've been able to add new tabels, bu when I've tried to add a diagram, it didn't work. In properties window od the database I
saw, the the database owner was oldComputerName\username not newComputerName\userName. In
sql server management studio I've reanmed the user oldComputerName\userName to newComputerName\userName. After attaching the database it worked fine.
I've returned to Visual studio 2010. When creating new database, the owner of new database is oldComputerName\userName. The next tip was renaming the SQLServerMSSQLUser$ComputerName$SQLEXPRESS(and other names with sql...) in
Local Users and gorups in Mange My computer. After restarting the compter I've got the same result. When creating new .mdf file in server explorer of visual studio, the database owner is oldComputerName\userName.<
I am using visual studio 2005,
When I publish my asp.net project into C:\Documents and Settings\temp\example, then it publish successfully,but into C:\Documents and Settings\temp\example location , I dont see default.aspx.vb file. I do see Bin directory, PrecompiledApp.config file, webconfig file.
I am not sure , why it does not generate default.aspx.vb file (may be instead it is created PrecompiledApp.config file)
or is this because I am not publishing file into virtual directory.
Give me some advice on this.
I am in the process of adding my custom aspx pages to the LAYOUTS folder(a folder I created) in a WSPbuilder solution in VS08. The problem I am having is when I build the solution it fails because the controls(Load, Textboxes, dropdown lists,etc) in the code behind file for the custom aspx pages say they are not defined. They all have a blue squiggly line and I get over 100 errors. Does anyone know what to do to get the WSP to recognize the code behind pages. Is there a setting or something I am missing.
Please tell me the way to solved my problem to looking for a long time.
My System Info:
OS: Windows 7 - Ultimate - 64bit
VS: Visual Studio 2008 - Professional (and problem with my VS2010 installed)
I have a small project and build it to library .dll file with some function util.
From an other website (with diffirence solution). I added reference the .dll before to website.
In website, I declaration to using the function in library (dll file before). But I found error: Error 1 Type 'LibraryName' is not defined.
And in VS2010 the problem is same.
But, run website on an other computer, it work normally.
Thanks and Best regards.
i am developing a website using visual studio 2010
i want to develop reports for which i am using reportviewer control
I am having a seperate project (MyControl.Model.dll) which is referenced in my website
now when i try to create a report.rdlc file using Report wizard, i gives me error "Could not load assembly MyControl.Model.dll version=184.108.40.206.0 publickeytoken = null or one of its dependencies. The system cannot find the file specified".
I dont understand what this model project has to do with report.rdlc?
can anybody give me solution for this. its urgent
Thanks in advance
please help me to create a visual web part using visual studio 2010 to upload a file and store it to database.