Project Startup - Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
When I hit continue after entering in SQL credentials I get this error:
* There was an error trying to connect to the Database Server:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
I tried looking in the Log folder but the log folder doesn't exist.
Any ideas how I can troubleshoot this?
Todd
Here is the error message in more detail:
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 Todd,
This error might occur if you have mismatching references for example if you rebuilt the project - this action removes the dlls from the bin folder and results into the exception you were getting.
Could you please check the following article which contain information which might be helpful to you:
www.sitefinity.com/.../server-error-in-firstproject-application-unable-to-load-one-or-more-of-the-requested-types-retrieve-the-loaderexceptions-property-for-more-information.aspx
Regards,
Victor Velev
the Telerik team
Hi Victor,
I have the some problem. I uploaded new project to local host a then, when I tried go to admin mode, I got the some error. I checked bin directory, but dll is there. Your link not working. Please, can you help me with this ?
Thank you.
Jiri Vrabec
Hi Vrabec,
I have answered you in the support ticket you have opened.
Kind regards,
Victor Velev
the Telerik team
In what world do you think it is a good idea to respond to someones post about an error by stating "I have answered it in a support ticket you opened"... That is so stupid... sigh... I have been getting nothing but errors from working with sitefinity and about 75% of those errors I find a forum post where someone has experienced the exact same issue and either you either a) solve the issue in some private support ticket so no one else can see it, or b) never provide an answer, or c) provide an obvious answer that doesn't help. For example, I get an error about how the default provider should be in the security.config file when i try to do a fresh install... I find a forum post about it and all you do is tell the user exactly that... so frustrated... ANSWER FULLY ON FORUM POSTS PLEASE!!! Otherwise you wouldn't have so many people having "hate telerik" type blogs and the such...
Hi Scott,
My previous reply in the thread was related to the fact that Vrabec, decided to open a support ticket, where we discussed the issue, but did not want to leave the thread opened. However it is up to him to decide whether the answer can be shared in the forums.
If you are experiencing it would be great if you can share some more information on the process of setting up the project ( if possible, you can attach a screencast ) so we could help you!
Regards,
Victor Velev
the Telerik team
Hello Vrabec,
The Telerik.OpenAccess.Adonet2 assembly is not being used in Sitefinity from 4.2 +. The file was used by earlier versions of Open Access, but it is not required anymore. Because of the new version of Open Access and the improved performace of the Sitefinity LINQ parser we managed to remove the ado.net dependancy and the ado.net dll is no longer needed.
Please note in Sitefinity 4.2 we have 40% performance increase and we have dramatically decreased the queries to the database.
Kind regards,
Victor Velev
the Telerik team
Hello,
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 Berrabah,
The LoaderExceptions error can be thrown if you have mismatching references for example, when you rebuilt the project - this action removes the dlls from the bin folder and results into the exception you are getting.
Check the following article which contain information which might be helpful to you (if you have not read it already):
www.sitefinity.com/.../server-error-in-firstproject-application-unable-to-load-one-or-more-of-the-requested-types-retrieve-the-loaderexceptions-property-for-more-information.aspx
Greetings,
Victor Velev
the Telerik team
Hello Victor,
Thankx for help .
Hi
Can you inform how this issue got solved as i am facing the same problem right after i moved the site to the production server.
qinvestc.w07.winhost.com/
i copied all DLL files and also tried to copy those that in the _EmptyProject as well. still the same error.
thanks
I installed the latest version of Sitefinity on a complete new Windows 7 X64 machine and got this error after creating a new project through the Project Manager and attempting to create a database on my local MSSQL 2008 R2 Server.
Okay for me it was a case of deleting the project and rebuilding it so I am assuming some references are getting screwed up somewhere?
I have created a Sitefinity 6.0 project locally, using the Microsoft SQL Server Express with 2008 installed. I did not realize, that the department I am now in, uses SQL Server 2005
on the servers. Our DBA was able to convert the 2008 Express DB to a 2005 Server DB, modifying the DateTime datatype. I am now trying to move the complete project from local to our test server enviroment. I pushed the Sitefinity files on to the server and am now running the startup. Using the information supplied by the DBA, I entered the below. I then get the error shown in the second graphic (There was an error trying to connect to the Database Server:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.) no matter what I do. Any suggestions.