Sitefinity throws exception with IIS
Dear Sitefinity Team,
I have started evaluating SiteFinity CMS. Sitefinity seems to be working fine with its own Admin Console (Cassini). However if I create a virtual directory for the folder so that my team member could view the changes it throws an error like 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. |
|
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. |
|
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. |
|
Hello Deepak Vasudevan,
Make sure that you have set your project on IIS as described in this article: Configuring the IIS to host Sitefinity projects (section Configuring folder permissions).
The most common reason for getting this exception is if your application pool identity does not have sufficient permissions over the App_Data folder and its content. If your website is added to source safe make sure it is checked out and is not read only.
Best wishes,
Victor Velev
the Telerik team
Now I have given full WRITE_ACCESS to App_Data and its descendants. Now it throws an error message as below. From where does it pick up the connection string.
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.
|
|
Hi Deepak,
This is a general issue with the database permissions. I suggest that you should use SQL server. You should create the database manually and then set the name and user in Sitefinity.
Kind regards,
Ivan Dimitrov
the Telerik team
Dear Sitefinity Support,
I am using SQL Server only. I am able to launch Start -> All Programs -> Telerik -> Sitefinity 4.1 -> Project Manager. This is using the same files and database. It works. When I wanted to create a virtual directory for it in IIS I am not able to.
Can you guide me please?
Hi Deepak,
Please make sure that the user that runs your application pool is added as a user to your SQL server. It looks like this use has sufficient permissions.
Best wishes,
Ivan Dimitrov
the Telerik team
Hi,
I am uploading the latest version from my test server to the production server and I am getting the same error. I am not sure why Sitefinity is trying to install anything here. I am moving the 1339 version from the test server to the production. All the files and DB's have been moved and I get the following message. Please let me know how to fix this. The site was working fine on the 1098 version.
-------------------
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. |
|
Hello Madhavan,
I have replied to you in the support thread you have opened, you can check my response there. For your convenience I'm also pasting my reply below:
"Could it be that your DB was created with windows authentication so the owner was the my user account on your local machine? If that's the case, then after uploading the project to the server , the owner will be "null" because my there is no such login in server SQL.The error you are experiencing is pretty generic, and seems to be related to improper user permissions, can you please verify if everything is set up properly?"
Regards,
Boyan Barnev
the Telerik team
Hi Boyan,
In the Microsoft Windows Server 2008 with IIS 7.0 section of the Configuring the IIS to host Sitefinity projects article it lists Desktop Experience as a requirement. Can you please explain why this is required?
Thanks!
Devin
Hello Devin,
You need Desktop Experience set to be able to generate thumbnails for videos in Sitefinity.
Kind regards,
Boyan Barnev
the Telerik team
hello,
I was still working on sitefinity,I rebooted it so I got this error :
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. |
Please I need a solution for the bug