Question: Check-box 'Prefer 32-bit' disabled in Visual Studio 2012. Why? Answer:
In Visual Studio, Switch the project to .NET 4.5 (on the Build tab of the project properties). This would re-enable the check-box "Prefer 32 bit" for AnyCPU.
Steps to Import Microsoft Access .accdb File to MS SQL Server
Open MS SQL Server Import and Export Wizard.
For “Data Source” choose “Microsoft Office 12.0 Access Database Engine OLE DB Provider”.
Click “Properties” enter the location of the .accdb file in the “Data Source” field.
Under login information, choose a blank username and be sure to check “Blank Password”.
Test the connection. If it works, click OK.
For the “Data Destination” choose “Microsoft OLE DB Provider for SQL Server”.
Enter the MS SQL server name or choose from the dropdown menu.
Enter your SQL credentials and select the database you wish to import the data to, the database should show up in the dropdown menu if your MS SQL info is correct.
Select “Copy data from one or more tables or views”.
Select the tables you want copied and edit the mappings if needed.
Continue through the wizard and hit finish to begin the import.
I was getting the below error message when trying to run my application having .svc file. HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map. Screenshot of the error page:
Solution 2: In Windows 7 and earlier, runaspnet_regiis -i Note: but this command seems to have been deprecated in Windows 8 yielding response This option is not supported on this version of the operating system. (...).
I was attempting to create a Stored Procedure in my database. However, the SSMS intellisense does not recognize lot of the tables which exists in the database.
Problem Scenario 2:
While writing the select queries, the Intellisense does not work as expected and is not showing the DB Objects (say, Table names) in Query Analyzer Window
Solution:
Try:
Edit -> IntelliSense -> Refresh Local Cache
This should refresh the data cached by Intellisense to provide typeahead support and pre-execution error detection.
Note: Pressing Ctrl + Shift + R refreshes intellisense in management studio 2008 as well.
Once we create a new SQL Server object, the newly created object does not get updated in the IntelliSence Local Cache and due to this, it shows red line underneath that object. So we need to refresh SSMS IntelliSence Local Cache and once we refresh it, IntelliSence will automatically add newly created object in the cache and the red line will disappear.
Scenario:
XBAP Applications does not open in browser when run using Visual studio 2013. Instead, this gives download option.. Solution: XAML browser applications (XBAPs) run within a partial-trust security sandbox that is restricted to the Internet zone set of permissions. So, we need to configure Visual Studio to run the XBAP applications in browser.. Steps to configure:
To configure Microsoft Visual Studio to debug an XBAP :
With a project selected in Solution Explorer, on the Project menu, click Properties.
In the Project Designer, click the Debug tab.
In the Start Action section, select Start external program and enter the following:
C:\WINDOWS\System32\PresentationHost.exe
In the Start Options section, enter the following into the Command line arguments text box:
-debug filename
The filename value for the -debug parameter is the .xbap filename; for example: