Monodevelop debugging asp.net with xps Metadata file error - asp.net

I'm trying to run the simple asp.net application created by Monodevelop but i get a strange error
CS0006: Metadata file `/path_to_myhome/c' could not be found
Actually i don't know how to fix it. I've done several search on the internet without success. Any help would be appreciated.

Related

dump_sys.exe google breakpad for mingw not working

I am trying to integrate google breakpad with my qt application in order to generate the dump file. this is working fine. dump file is getting generated whenever application is crashing but next step is to generate the symbol file for that exe.
to accomplish this dump_sys.exe is provided by the google breakpad, but whenver I am running that dump_sys.exe. I am getting the following error.
CoCreateInstance CLSID_DiaSource {4C41678E-887B-4365-A09E-925D28DB33C2} failed (msdia*.dll unregistered?)
I tried to install visual studio 2013 and registered all the needed msdia*.dll but still getting the same error. Please tell me how to resolve this. I am stuck at this from quite a time now.

Trouble installing Umbraco

This is my first time working with this CMS.
I uploaded the latest release of umbraco to my host and instead of the "installation wizard" i get the following error:
Internal server error - 500
There is a problem with the resource you are looking for and it cannot be displayed
Does this error indicate a error on the server-side or is this something that i can fix?
URL to the website
Thanks for all the help!
Regards
Hi c0ral 500 is a soft error which you will need to switch debug on in the web.config file to see the actual error. You might find your hosting partner doesn't support the required dependencies for umbraco to run like ASP.Net 4.5.
https://our.umbraco.org/documentation/Getting-Started/Setup/Requirements/

Operation failed, unable to locate the solution directory

I'm new to ASP.NET and have been working through some tutorials in VS 2013. I just tried to open up Nuget by clicking on Website > Manage Nuget Packages, but got this error message:
"Operation failed. Unable to locate solution directory. Please ensure that the solution has been saved."
I can't seem to find anything online about how to fix this, and Nuget is definitely installed and everything is saved. Any thoughts?
In VS2010 ctrl+shift+S saves everything.
Selecting the solution in the Solution Explorer and then choose
File | Save
saves the solution.
Keep in mind that if you donwload files from the internet those files can be blocked. You can unblock them by going to the properties of the file in the windows explorer and click unblock. Or you could use powershell as shown in this question

No relevant source lines error. Compilation error

It has been answered before, but i don't know the way to find the exact solution. I took whole day to find the solution but i entirely stuck with this.
I was worked with my project nicely on day before yesterday. I designed many modules for doing my project further. AS usual i opened and started doing (I didn't get any errors) my project today in visual studio. To execute my old project(coding) once again, i checked in browser, as soon as i did, my face gone too bad :( because of this strange error. Error is,
Compilation Error
Description : An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
*Compiler Error Message:*CS0009: Metadata file 'c:\Windows\Microsoft.NET\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' could not be opened -- 'Error importing module 'System.EnterpriseServices.Wrapper.dll' of assembly 'c:\Windows\Microsoft.NET\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' -- An attempt was made to load a program with an incorrect format. '
Source Error:
[No relevant source lines]
I did deleting temporary files in this area : C:\Users\username\AppData\Local\Temp\Temporary ASP.NET Files. But again I'm getting the root folder when am running the project
Any help, would be more and more helpful to me. Thanks in advance.
The error message
An attempt was made to load a program with an incorrect format
means that there is an incompatibility in processor architecture. I think you installed either the 32- or 64-bit version of .NET and try to run your website in the opposite architecture.
You should install both the .NET framework versions, or change your application pool to use the right processor architecture.

Visual Studio 2010 giving error "External Component has thrown an exception"

I am running Visual Studio Ultimate on Windows 7. Here is the description of my problem:
My VS 2010 had been running absolutely fine until today when it started giving error "External Component has thrown an exception" when I try to open a new website. Creating a new web application works fine though but I am unable to run any of them.
While trying to run the previously created websites/webapps, its giving error as "Unable to launch ASP.NET development server".
And when I try to debug the website/web app, I am getting error: "Unable to launch ASP.NET development server. An attempt was made to perform an initialization operation when initialization has already been completed".
Similar errors are coming when I try to open Windows Form Applications and other projects.
No errors are getting logged on event viewer and I cannot see any other error information apart from what is mentioned above.
I searched all over internet but no help. I have already trying un-installing VS2010 using the script at this link (provided by MS). But when I re-install VS2010, it still shows me same error. To my surprise, after re-installing VS still shows the previous project list in "Recent Projects". I really doubt if VS is getting uninstalled.
I am totally clueless and any help would be highly appreciated. I am left with no other option but to format my OS if I don't find a solution here :( Please do let me know if any other details are required...
It might be caused by an adding or extension that you've installed, maybe without being aware of.
there are several ways to deal with that - one is to get inside add in manager and remove/ deactivate them.
if VS can't load there is a flag that should do the trick.
check this link for instructions on devenv flags.
you can use: /ResetAddin or /SafeMode

Resources