Tuesday, 23 January 2018

Chrome script debugging in Visual Studio is enabled.

In this article, We will discuss about Chrome script debugging in Visual Studio is enabled.

Well this is not a Issue but rather than it is just a Warning.

This Warning arises When there is a debugger or debugger; in Client Side Scripting Exists and also Enable JavaScript debugging for ASP.NET(Chrome and IE) is Enabled in Visual Studio.

And this Warning will arise only in Google Chrome and IE Browser.

To Resolve this Warning Either Remove debugger or debugger; from Client Side Scripting Code or Uncheck the Checkbox "Enable JavaScript debugging for ASP.NET(Chrome and IE)" from Tools -> Options -> Debugging -> General Window and which is shown in below figure,


Read More

Monday, 22 January 2018

Unable to start debugging on the web server. The remote server returned an error(404) Not Found.

In this article, We will discuss about How to resolve Unable to start debugging on the web server. The remote server returned an error:(404) Not Found Error.

This issue is basically related to IIS and reason behind is Sometimes IIS Stopped and due to Which this Issue Came into Picture.

There are 2 Ways exists to Resolve this Error,

1/ To Resolve this Error Open IIS Manager and in the top right Side You can find there are Restart,Start and Stop Link Button.

With in that, Click on Start button if Stop Otherwise you can also Click on Restart button also Which is Shown in below figure,


2/ Open Command Prompt in Administrator Mode and type iisreset and after Sometime the IIS will reset and Which is Shown in below figure,


Read More

Monday, 20 November 2017

Copying file Content\Images\tab-close.gif to obj\Release\Package\PackageTmp\Content\Images\tab-close.gif failed. Could not find file 'Content\Images\tab-close.gif' While Publishing through File System in Visual Studio.

2 Comments
In this article, We will discuss How to resolve issue Could not find file 'Content\Images\tab-close.gif' While Publishing through File System in Visual Studio.

Well to resolve this issue, first we have to know What is the issue all about.

It is saying that "tab-close.gif" Could not find under Content\Images location.

To Resolve this Issue We need to goto Content\Images location and check Whether "tab-close.gif" exists or not. If not Exists we need to add that image. 

OtherWise there Will be another case that previously this image was exists but now removed and that Will Show in a "Yellow Color" mark. To make it resolve We need to either remove that "Yellow Color" mark by right click on it otherwise need to add that image.

After this, Publish again and it will Succeed.
Read More

Tuesday, 7 November 2017

Install or UnInstall Windows Service With or Without using Visual Studio Command Prompt

Using Visual Studio Command Prompt:-
Install:-
Go to "Start" >> "All Programs" >> "Microsoft Visual Studio 2012" >> "Visual Studio Tools" then click "Developer Command Prompt for VS2012".
Type the following command:   cd <physical location of your TestWindowService.exe file>
in my case it is :
cd C:\Sandbox\WindowServices\TestWindowService\TestWindowService\bin\Debug
Next type the following command:
InstallUtil.exe “TestWindowService.exe” and press Enter.
UnInstall:-
Go to "Start" >> "All Programs" >> "Microsoft Visual Studio 2012" >> "Visual Studio Tools" then click "Developer Command Prompt for VS2012".
Type the following command: cd <physical location of your TestWindowService.exe file>
in my case it is :
cd C:\Sandbox\WindowServices\TestWindowService\TestWindowService\bin\Debug
Next type the following command:
InstallUtil.exe /u “TestWindowService.exe” and press Enter.

Without Using Visual Studio Command prompt:-
In Certain Situation we don't have Visual Studio installed in certain System or in Server so that there is no "Developer Command Prompt" exist. But in each System Command Prompt Exists. So we can use Comman Prompt in each and every System to Install as well as UnInstall Windows Service.
Install:-
sc create TestWindowService binpath=  "C:\Sandbox\WindowServices\TestWindowService\ TestWindowService\bin\Debug\TestWindowService.exe" and press enter.
Note:- Please make sure that there should be one Space present after binpath=
UnInstall:-

sc delete TestWindowService
Read More

Tuesday, 17 October 2017

Run Visual Studio Always in Administrator Mode.

In this article i will explain about How to run Visual Studio always  in Administrator Mode.

I saw many times, people usually Right click on Visual Studio and set Run as Administrator. But my concern is Without doing it each time you need to set Just Once and Each time it will Run as Administrator Mode.

Steps are as follows:-

Goto Windows -> Type "Visual Studio 2015" or whatever version you have -> Right Click on it and Select "Open File Location" -> Again Right Click on that Visual Studio Version (For me Visual Studio 2015) -> Click Properties -> Click Advanced -> Please check "Run as administrator" Checkbox -> click ok.

After that each and every time Visual Studio will run in Administrator Mode.
Read More

There was a problem getting an AppDomain to run the transformation from the host.The process cannot continue. while adding a View or Controller in asp.net mvc.

This is generally a Common Problem or the error could be like this,



To Resolve this error, One Small Solution is Exists which is as below,

1/ Close the Visual Studio.
2/ Open the Visual Studio as Run as Administrator and After that you can able to add View or Controller.

The main reason behind the issue is Permission Issue.


Read More