Background:
I am trying to use my office machine, where I have some limited rights, from home. All products are installed through when I was connected with my network drives, where my profile exists.
Now, I am at home where I don't have an access to these network drives.
Problem:
Whenever I am trying to create a project in visual studio I am getting the following errors:
---------------------------
Microsoft Visual Studio
---------------------------
Package 'ProviderPackage' failed to load.
---------------------------
Finding:
After doing some research I found that it is due to IISExpress. I have ensured that from Tools > options > Web project that IIS express is not enabled for all new web project.
I also got an error as:
---------------------------
Microsoft Visual Studio
---------------------------
Configuring IIS Express failed with the following error:
Filename: redirection.config
Error: Cannot read configuration file
---------------------------
Then I realized that may be it is not able to instantiate with IIS. Then I have tried to run an IIS express from the command prompt and I got this error:
C:Program FilesIIS Express>iisexpress.exe
An error occurred while reading configuration information. Make sure
that the configuration file
NAUNSW001MalhAmIISExpressconfigapplicationhost.config exi sts,
it is accessible, and contains valid configuration information.
I don't have an access to the registry where this path might be picked by the IISexpress.
I have tried to execute the IISexpress /path: c:vs it worked.
However, even then also when I am trying to create a new project I got an error as:
---------------------------
Microsoft Visual Studio
---------------------------
Configuring IIS Express failed with the following error:
Filename: redirection.config
Error: Cannot read configuration file
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…