ApplicationException: The path '....\SitefinityWebApp.csproj' does not exist.
Hi,
Apologies if this has a obvious fix, but I'm kind of learning sitefinity 4.1 SP2 and couldn't figure various things yet.
I've created a new project and it created a default name "SitefinityWebApp". I was able to browse the front and backend sites without changing anything. Then I rename the project via Visual Studio with project specific non dot or underscored name and I now get this error when I try to launch solution via Project Manager:
ApplicationException: The path '....\SitefinityWebApp.csproj' does not exist.
I'm still able to build my solution with renamed project successfully. But when I browse the front end, I get error:
Please wait a few seconds. You will be redirected automatically
Could someone help me how to resolve this issue please.
Hi May,
The error you get is probably caused by the fact that the system cannot find the initial path ( or file ) which was used to run the project at first. When you rename the project name, all the reference which point to the old project appear not be valid thus throwing you the exception. Please consider checking the following article in which the same issue is being discussed:
www.sitefinity.com/.../i-create-a-new-project-and-add-usercontrol-then-system-error-occured.aspx
Regards,
Victor Velev
the Telerik team
Thanks for your reply and I've already seen those posts before creating this post. They don't mention any specific fix for the issue and just clearing cache and rebuilding did not work for me.
Before doing any build I have moved all the very initial state dlls from bin to a separate folder, added all as solution items and rereference them in the project. Only then I build my project and it's been working fine until I decided to rename the project from the default to a project specific name.
As stated, there are two issues, not being able to launch the solution via Project Manager and getting the two errors when I run the project via visual studio.
Hello May,
Could you please send me your project ( the files and the database ) so I can investigate the issues further on our local environment.
Kind regards,
Victor Velev
the Telerik team
Hi please grab the files from below links:
Project: www.mediafire.com/
DB: www.mediafire.com/
DB Version: Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64)
Enterprise Edition (64-bit)
Thanks.
Hello May,
I was able to fix your project - the problem was coming from some missing dlls in your bin folder. I copied the proper dll files from blank SP2 project and replaced them. Now you have project which has different name and functions properly. Please review the attached archives.
Greetings,
Victor Velev
the Telerik team
Thanks for your reply. I wasn't able to test out your sample fully but was able to get rid of the error by rereferencing all the assemblies properly.
But another issue still exists.
Could you tell me how to update the "Project Manger" when the project name's been changed from default "SitefinityWebApp.csproj" to any other please? At the moment, I'm getting the error as follow:
ApplicationException: The path '....\SitefinityWebApp.csproj' does not exist.
Would be great if I can get rid of that error from "Project Manager" as well.
Thanks.
Hello May,
You can edit the Projects.xml file located in your Sitefinity Project Manager default installation folder. The file contains an XML structure of all your projects, including their location on the filesystem, name etc - you'll need to adjust the project's new location and save the file. If there's anything else we can help you with, please let us know.
Greetings,
Boyan Barnev
the Telerik team
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
|
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
|