Why do i need an Offline Installer? Answer - With an Offline Installer, i can install visual Studio; just by clicking the Setup.EXE executable file. How
can I get this offline installer?
Answer:
Here, we will highlight Visual Studio Enterprise
2019 for Windows 10; however the same process should work for Windows 8.1 and
Windows 7.
This is a 2-Step
process
Step 1. Download the Visual Studio bootstrapper file
Download
the Visual Studio bootstrapper file for your chosen edition of Visual
Studio.
Scenario: ERROR - "the 'microsoft.ace.oledb.12.0' provider is not registered on the local machine" RESOLUTION : There are lot of scenarios for which we might get "The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine" error when attempting to connect to either an accdb or an xlsx file. I have spent a couple of hours searching Google for a resolution of this issue but somehow I was not getting the correct solution. Ultimately, the below solution worked best for me 100%.
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:
Problem scenario: Entity Framework 5 to 6 Conversion Error - Cannot implicitly convert type 'System.Data.EntityState' to 'System.Data.Entity.EntityState'. An explicit conversion exists (are you missing a cast?) Solution: When you are using EF 6 or moving from EF 5 to EF 6, you should use System.Data.Entity.EntityState instead of System.Data.EntityState. This error happens when your project has reference to EF6 but you have code for EF5. Sample Code in EF6 public virtual void Update(T entity) { dbSet.Attach(entity); _unitOfWork.Db.Entry(entity).State = System.Data.Entity.EntityState.Modified; this._unitOfWork.Db.SaveChanges(); }
HTTP (Hypertext Transfer Protocol) is the set of rules for
transferring files (text, graphic images, sound, video, and other multimedia
files) on the World Wide Web.
Web browser is an HTTP client, sending
requests to server machines. As soon as a Web user opens their Web browser,
the user is indirectly making use of HTTP. When we browse a web site using any
browser (say Internet Explorer, Google Chrome, Mozilla Firefox etc.), all our
actions produces HTTP requests; which are sent to the web server. Web Server
replies to each of these requests. The browser uses these server responses/replies
to build each page that web user see in its browser window. Some of the
responses contain page text in form of HTML code, some contain images that we
see on the page, and some carry additional data that is also used to display
the page correctly.
Each HTTP request consists of 3 sections: request, header and body.
HTTP
Methods
Two commonly used HTTP methods are GET and POST.
·A GET-request is used to download a resource
(page, image, etc.) from the server. GET-method requests data from a specified
resource.
·POST-requests are used to pass some data to the
server. They can contain form data, a file that needs to be uploaded, etc. The
POST-method submits data to be processed to a specified resource.
Both GET and POST requests can contain parameters.
Each parameter has a name and a value; different ones are separated by “&”.
For GET-requests parameters are passed inside the URI after
the “?” sign.
Scenario: In WCF, I was receiving the below error while trying to run the WCF client application. HTTP Error 403.14 - Forbidden - the web server is configured to not list the contents of this directory Solution:
Adding the below lines within the WCF Client application's web.config file, I could finally get rid of the issue and I could run the client application successfully..